google-api-client 0.32.1 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +159 -0
  3. data/README.md +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  12. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
  15. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
  17. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  18. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  20. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  22. data/generated/google/apis/admin_directory_v1.rb +4 -1
  23. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  24. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  25. data/generated/google/apis/admin_reports_v1.rb +2 -2
  26. data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
  27. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/appengine_v1/service.rb +10 -6
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +25 -19
  34. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  35. data/generated/google/apis/bigquery_v2.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
  39. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  41. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  43. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  44. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  45. data/generated/google/apis/civicinfo_v2.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
  47. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  48. data/generated/google/apis/cloudasset_v1.rb +1 -1
  49. data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
  50. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  51. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  52. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  53. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  59. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  60. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  61. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  62. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  63. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  64. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  65. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  68. data/generated/google/apis/cloudkms_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
  70. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  71. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
  72. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
  75. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  77. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
  78. data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
  79. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  80. data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
  81. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  82. data/generated/google/apis/cloudshell_v1.rb +1 -1
  83. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
  84. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/compute_alpha/classes.rb +519 -152
  87. data/generated/google/apis/compute_alpha/representations.rb +108 -2
  88. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  89. data/generated/google/apis/compute_alpha.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +1016 -266
  91. data/generated/google/apis/compute_beta/representations.rb +284 -0
  92. data/generated/google/apis/compute_beta/service.rb +1242 -532
  93. data/generated/google/apis/compute_beta.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +283 -125
  95. data/generated/google/apis/compute_v1/representations.rb +24 -0
  96. data/generated/google/apis/compute_v1/service.rb +759 -473
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/container_v1/classes.rb +207 -5
  99. data/generated/google/apis/container_v1/representations.rb +85 -0
  100. data/generated/google/apis/container_v1.rb +1 -1
  101. data/generated/google/apis/container_v1beta1/classes.rb +125 -3
  102. data/generated/google/apis/container_v1beta1/representations.rb +22 -0
  103. data/generated/google/apis/container_v1beta1.rb +1 -1
  104. data/generated/google/apis/content_v2/classes.rb +23 -220
  105. data/generated/google/apis/content_v2/representations.rb +0 -115
  106. data/generated/google/apis/content_v2/service.rb +0 -160
  107. data/generated/google/apis/content_v2.rb +1 -1
  108. data/generated/google/apis/content_v2_1/classes.rb +57 -18
  109. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  110. data/generated/google/apis/content_v2_1.rb +1 -1
  111. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  112. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  113. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  114. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  115. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  116. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  117. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  118. data/generated/google/apis/datastore_v1/service.rb +85 -1
  119. data/generated/google/apis/datastore_v1.rb +1 -1
  120. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  121. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  122. data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
  123. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  124. data/generated/google/apis/dialogflow_v2.rb +1 -1
  125. data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
  126. data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/dlp_v2/classes.rb +19 -11
  129. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  130. data/generated/google/apis/dlp_v2/service.rb +43 -0
  131. data/generated/google/apis/dlp_v2.rb +1 -1
  132. data/generated/google/apis/docs_v1/classes.rb +175 -0
  133. data/generated/google/apis/docs_v1/representations.rb +77 -0
  134. data/generated/google/apis/docs_v1.rb +1 -1
  135. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  136. data/generated/google/apis/drive_v2/classes.rb +2 -1
  137. data/generated/google/apis/drive_v2/service.rb +3 -3
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v3.rb +1 -1
  140. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
  141. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  142. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  143. data/generated/google/apis/firestore_v1.rb +1 -1
  144. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  145. data/generated/google/apis/fitness_v1/service.rb +1 -1
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  148. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  149. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  150. data/generated/google/apis/games_management_v1management.rb +1 -1
  151. data/generated/google/apis/games_v1/classes.rb +6 -292
  152. data/generated/google/apis/games_v1/representations.rb +1 -98
  153. data/generated/google/apis/games_v1/service.rb +0 -123
  154. data/generated/google/apis/games_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
  156. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  157. data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
  158. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +9 -2
  160. data/generated/google/apis/iam_v1/representations.rb +1 -0
  161. data/generated/google/apis/iam_v1.rb +1 -1
  162. data/generated/google/apis/iap_v1/classes.rb +187 -2
  163. data/generated/google/apis/iap_v1/representations.rb +102 -0
  164. data/generated/google/apis/iap_v1/service.rb +72 -0
  165. data/generated/google/apis/iap_v1.rb +1 -1
  166. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  167. data/generated/google/apis/iap_v1beta1.rb +1 -1
  168. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  169. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  170. data/generated/google/apis/jobs_v2.rb +1 -1
  171. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  172. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  173. data/generated/google/apis/jobs_v3.rb +1 -1
  174. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  175. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  176. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  178. data/generated/google/apis/licensing_v1/service.rb +81 -37
  179. data/generated/google/apis/licensing_v1.rb +4 -4
  180. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  181. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  182. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  183. data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
  184. data/generated/google/apis/logging_v2/classes.rb +12 -0
  185. data/generated/google/apis/logging_v2/representations.rb +2 -0
  186. data/generated/google/apis/logging_v2/service.rb +10 -5
  187. data/generated/google/apis/logging_v2.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +66 -23
  189. data/generated/google/apis/ml_v1/representations.rb +1 -0
  190. data/generated/google/apis/ml_v1/service.rb +7 -3
  191. data/generated/google/apis/ml_v1.rb +2 -2
  192. data/generated/google/apis/monitoring_v1/classes.rb +260 -0
  193. data/generated/google/apis/monitoring_v1/representations.rb +123 -0
  194. data/generated/google/apis/monitoring_v1/service.rb +64 -0
  195. data/generated/google/apis/monitoring_v1.rb +36 -0
  196. data/generated/google/apis/monitoring_v3/classes.rb +27 -13
  197. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  198. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  199. data/generated/google/apis/monitoring_v3.rb +1 -1
  200. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  201. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  202. data/generated/google/apis/oslogin_v1.rb +1 -1
  203. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  204. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  205. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  206. data/generated/google/apis/people_v1/classes.rb +67 -63
  207. data/generated/google/apis/people_v1/service.rb +53 -44
  208. data/generated/google/apis/people_v1.rb +1 -1
  209. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
  210. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  211. data/generated/google/apis/pubsub_v1/service.rb +3 -0
  212. data/generated/google/apis/pubsub_v1.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  214. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  215. data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
  216. data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
  217. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  218. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
  219. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
  220. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  221. data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
  222. data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
  223. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  224. data/generated/google/apis/reseller_v1/service.rb +1 -1
  225. data/generated/google/apis/reseller_v1.rb +1 -1
  226. data/generated/google/apis/run_v1/classes.rb +0 -7
  227. data/generated/google/apis/run_v1/service.rb +156 -94
  228. data/generated/google/apis/run_v1.rb +1 -1
  229. data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
  230. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  231. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
  236. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  237. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
  238. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  239. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  240. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
  241. data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
  244. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  245. data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
  248. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  249. data/generated/google/apis/serviceusage_v1.rb +1 -1
  250. data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
  251. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  252. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  253. data/generated/google/apis/sheets_v4/classes.rb +389 -0
  254. data/generated/google/apis/sheets_v4/representations.rb +79 -0
  255. data/generated/google/apis/sheets_v4.rb +1 -1
  256. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  257. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  258. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  259. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  260. data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
  261. data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
  262. data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
  263. data/generated/google/apis/sql_v1beta4.rb +37 -0
  264. data/generated/google/apis/storage_v1.rb +1 -1
  265. data/generated/google/apis/testing_v1/classes.rb +142 -1
  266. data/generated/google/apis/testing_v1/representations.rb +76 -0
  267. data/generated/google/apis/testing_v1.rb +1 -1
  268. data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
  269. data/generated/google/apis/videointelligence_v1.rb +1 -1
  270. data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
  271. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  272. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
  273. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
  275. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  276. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
  277. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  278. data/generated/google/apis/vision_v1.rb +1 -1
  279. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  281. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  282. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  283. data/google-api-client.gemspec +6 -3
  284. data/lib/google/apis/version.rb +1 -1
  285. metadata +28 -30
  286. data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
  287. data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
  288. data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
  289. data/generated/google/apis/dfareporting_v3_2.rb +0 -40
  290. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  291. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  292. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -31,7 +31,7 @@ module Google
31
31
  # Admin = Google::Apis::AdminReportsV1 # Alias the module
32
32
  # service = Admin::ReportsService.new
33
33
  #
34
- # @see https://developers.google.com/admin-sdk/reports/
34
+ # @see /admin-sdk/reports/
35
35
  class ReportsService < Google::Apis::Core::BaseService
36
36
  # @return [String]
37
37
  # API key. Your API key identifies your project and provides you with API access,
@@ -52,34 +52,109 @@ module Google
52
52
  @batch_path = 'batch/admin/reports_v1'
53
53
  end
54
54
 
55
- # Retrieves a list of activities for a specific customer and application.
55
+ # Retrieves a list of activities for a specific customer's account and
56
+ # application such as the Admin console application or the Google Drive
57
+ # application. For more information, see the guides for administrator and Google
58
+ # Drive activity reports. For more information about the activity report's
59
+ # parameters, see the activity parameters reference guides.
56
60
  # @param [String] user_key
57
- # Represents the profile id or the user email for which the data should be
58
- # filtered. When 'all' is specified as the userKey, it returns usageReports for
59
- # all users.
61
+ # Represents the profile ID or the user email for which the data should be
62
+ # filtered. Can be all for all information, or userKey for a user's unique G
63
+ # Suite profile ID or their primary email address.
60
64
  # @param [String] application_name
61
65
  # Application name for which the events are to be retrieved.
62
66
  # @param [String] actor_ip_address
63
- # IP Address of host where the event was performed. Supports both IPv4 and IPv6
64
- # addresses.
67
+ # The Internet Protocol (IP) Address of host where the event was performed. This
68
+ # is an additional way to filter a report's summary using the IP address of the
69
+ # user whose activity is being reported. This IP address may or may not reflect
70
+ # the user's physical location. For example, the IP address can be the user's
71
+ # proxy server's address or a virtual private network (VPN) address. This
72
+ # parameter supports both IPv4 and IPv6 address versions.
65
73
  # @param [String] customer_id
66
- # Represents the customer for which the data is to be fetched.
74
+ # The unique ID of the customer to retrieve data for.
67
75
  # @param [String] end_time
68
- # Return events which occurred at or before this time.
76
+ # Sets the end of the range of time shown in the report. The date is in the RFC
77
+ # 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
78
+ # approximate time of the API request. An API report has three basic time
79
+ # concepts:
80
+ # - Date of the API's request for a report: When the API created and retrieved
81
+ # the report.
82
+ # - Report's start time: The beginning of the timespan shown in the report. The
83
+ # startTime must be before the endTime (if specified) and the current time when
84
+ # the request is made, or the API returns an error.
85
+ # - Report's end time: The end of the timespan shown in the report. For example,
86
+ # the timespan of events summarized in a report can start in April and end in
87
+ # May. The report itself can be requested in August. If the endTime is not
88
+ # specified, the report returns all activities from the startTime until the
89
+ # current time or the most recent 180 days if the startTime is more than 180
90
+ # days in the past.
69
91
  # @param [String] event_name
70
- # Name of the event being queried.
92
+ # The name of the event being queried by the API. Each eventName is related to a
93
+ # specific G Suite service or feature which the API organizes into types of
94
+ # events. An example is the Google Calendar events in the Admin console
95
+ # application's reports. The Calendar Settings type structure has all of the
96
+ # Calendar eventName activities reported by the API. When an administrator
97
+ # changes a Calendar setting, the API reports this activity in the Calendar
98
+ # Settings type and eventName parameters. For more information about eventName
99
+ # query strings and parameters, see the list of event names for various
100
+ # applications above in applicationName.
71
101
  # @param [String] filters
72
- # Event parameters in the form [parameter1 name][operator][parameter1 value],[
73
- # parameter2 name][operator][parameter2 value],...
102
+ # The filters query string is a comma-separated list. The list is composed of
103
+ # event parameters that are manipulated by relational operators. Event
104
+ # parameters are in the form [parameter1 name][relational operator][parameter1
105
+ # value],[parameter2 name][relational operator][parameter2 value],...
106
+ # These event parameters are associated with a specific eventName. An empty
107
+ # report is returned if the filtered request's parameter does not belong to the
108
+ # eventName. For more information about eventName parameters, see the list of
109
+ # event names for various applications above in applicationName.
110
+ # In the following Admin Activity example, the <> operator is URL-encoded in the
111
+ # request's query string (%3C%3E):
112
+ # GET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%
113
+ # 3EREAD_ONLY_ACCESS
114
+ # In the following Drive example, the list can be a view or edit event's doc_id
115
+ # parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
116
+ # to' (<>) relational operator. In the first example, the report returns each
117
+ # edited document's doc_id. In the second example, the report returns each
118
+ # viewed document's doc_id that equals the value 12345 and does not return any
119
+ # viewed document's which have a doc_id value of 98765. The <> operator is URL-
120
+ # encoded in the request's query string (%3C%3E):
121
+ # GET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==
122
+ # 12345,doc_id%3C%3E98765
123
+ # The relational operators include:
124
+ # - == - 'equal to'.
125
+ # - <> - 'not equal to'. It is URL-encoded (%3C%3E).
126
+ # - < - 'less than'. It is URL-encoded (%3C).
127
+ # - <= - 'less than or equal to'. It is URL-encoded (%3C=).
128
+ # - > - 'greater than'. It is URL-encoded (%3E).
129
+ # - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
130
+ # Note: The API doesn't accept multiple values of a parameter. If a particular
131
+ # parameter is supplied more than once in the API request, the API only accepts
132
+ # the last value of that request parameter.
133
+ # In addition, if an invalid request parameter is supplied in the API request,
134
+ # the API ignores that request parameter and returns the response corresponding
135
+ # to the remaining valid request parameters. If no parameters are requested, all
136
+ # parameters are returned.
74
137
  # @param [Fixnum] max_results
75
- # Number of activity records to be shown in each page.
138
+ # Determines how many activity records are shown on each response page. For
139
+ # example, if the request sets maxResults=1 and the report has two activities,
140
+ # the report has two pages. The response's nextPageToken property has the token
141
+ # to the second page. The maxResults query string is optional in the request.
142
+ # The default value is 1000.
76
143
  # @param [String] org_unit_id
77
- # the organizational unit's(OU) ID to filter activities from users belonging to
78
- # a specific OU or one of its sub-OU(s)
144
+ # ID of the organizational unit to report on. Activity records will be shown
145
+ # only for users who belong to the specified organizational unit. Data before
146
+ # Dec 17, 2018 doesn't appear in the filtered results.
79
147
  # @param [String] page_token
80
- # Token to specify next page.
148
+ # The token to specify next page. A report with multiple pages has a
149
+ # nextPageToken property in the response. In your follow-on request getting the
150
+ # next page of the report, enter the nextPageToken value in the pageToken query
151
+ # string.
81
152
  # @param [String] start_time
82
- # Return events which occurred at or after this time.
153
+ # Sets the beginning of the range of time shown in the report. The date is in
154
+ # the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
155
+ # all activities from startTime until endTime. The startTime must be before the
156
+ # endTime (if specified) and the current time when the request is made, or the
157
+ # API returns an error.
83
158
  # @param [String] fields
84
159
  # Selector specifying which fields to include in a partial response.
85
160
  # @param [String] quota_user
@@ -120,35 +195,107 @@ module Google
120
195
  execute_or_queue_command(command, &block)
121
196
  end
122
197
 
123
- # Push changes to activities
198
+ # Start receiving notifications for account activities. For more information,
199
+ # see Receiving Push Notifications.
124
200
  # @param [String] user_key
125
- # Represents the profile id or the user email for which the data should be
126
- # filtered. When 'all' is specified as the userKey, it returns usageReports for
127
- # all users.
201
+ # Represents the profile ID or the user email for which the data should be
202
+ # filtered. Can be all for all information, or userKey for a user's unique G
203
+ # Suite profile ID or their primary email address.
128
204
  # @param [String] application_name
129
205
  # Application name for which the events are to be retrieved.
130
206
  # @param [Google::Apis::AdminReportsV1::Channel] channel_object
131
207
  # @param [String] actor_ip_address
132
- # IP Address of host where the event was performed. Supports both IPv4 and IPv6
133
- # addresses.
208
+ # The Internet Protocol (IP) Address of host where the event was performed. This
209
+ # is an additional way to filter a report's summary using the IP address of the
210
+ # user whose activity is being reported. This IP address may or may not reflect
211
+ # the user's physical location. For example, the IP address can be the user's
212
+ # proxy server's address or a virtual private network (VPN) address. This
213
+ # parameter supports both IPv4 and IPv6 address versions.
134
214
  # @param [String] customer_id
135
- # Represents the customer for which the data is to be fetched.
215
+ # The unique ID of the customer to retrieve data for.
136
216
  # @param [String] end_time
137
- # Return events which occurred at or before this time.
217
+ # Sets the end of the range of time shown in the report. The date is in the RFC
218
+ # 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the
219
+ # approximate time of the API request. An API report has three basic time
220
+ # concepts:
221
+ # - Date of the API's request for a report: When the API created and retrieved
222
+ # the report.
223
+ # - Report's start time: The beginning of the timespan shown in the report. The
224
+ # startTime must be before the endTime (if specified) and the current time when
225
+ # the request is made, or the API returns an error.
226
+ # - Report's end time: The end of the timespan shown in the report. For example,
227
+ # the timespan of events summarized in a report can start in April and end in
228
+ # May. The report itself can be requested in August. If the endTime is not
229
+ # specified, the report returns all activities from the startTime until the
230
+ # current time or the most recent 180 days if the startTime is more than 180
231
+ # days in the past.
138
232
  # @param [String] event_name
139
- # Name of the event being queried.
233
+ # The name of the event being queried by the API. Each eventName is related to a
234
+ # specific G Suite service or feature which the API organizes into types of
235
+ # events. An example is the Google Calendar events in the Admin console
236
+ # application's reports. The Calendar Settings type structure has all of the
237
+ # Calendar eventName activities reported by the API. When an administrator
238
+ # changes a Calendar setting, the API reports this activity in the Calendar
239
+ # Settings type and eventName parameters. For more information about eventName
240
+ # query strings and parameters, see the list of event names for various
241
+ # applications above in applicationName.
140
242
  # @param [String] filters
141
- # Event parameters in the form [parameter1 name][operator][parameter1 value],[
142
- # parameter2 name][operator][parameter2 value],...
243
+ # The filters query string is a comma-separated list. The list is composed of
244
+ # event parameters that are manipulated by relational operators. Event
245
+ # parameters are in the form [parameter1 name][relational operator][parameter1
246
+ # value],[parameter2 name][relational operator][parameter2 value],...
247
+ # These event parameters are associated with a specific eventName. An empty
248
+ # report is returned if the filtered request's parameter does not belong to the
249
+ # eventName. For more information about eventName parameters, see the list of
250
+ # event names for various applications above in applicationName.
251
+ # In the following Admin Activity example, the <> operator is URL-encoded in the
252
+ # request's query string (%3C%3E):
253
+ # GET...&eventName=CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%
254
+ # 3EREAD_ONLY_ACCESS
255
+ # In the following Drive example, the list can be a view or edit event's doc_id
256
+ # parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
257
+ # to' (<>) relational operator. In the first example, the report returns each
258
+ # edited document's doc_id. In the second example, the report returns each
259
+ # viewed document's doc_id that equals the value 12345 and does not return any
260
+ # viewed document's which have a doc_id value of 98765. The <> operator is URL-
261
+ # encoded in the request's query string (%3C%3E):
262
+ # GET...&eventName=edit&filters=doc_id GET...&eventName=view&filters=doc_id==
263
+ # 12345,doc_id%3C%3E98765
264
+ # The relational operators include:
265
+ # - == - 'equal to'.
266
+ # - <> - 'not equal to'. It is URL-encoded (%3C%3E).
267
+ # - < - 'less than'. It is URL-encoded (%3C).
268
+ # - <= - 'less than or equal to'. It is URL-encoded (%3C=).
269
+ # - > - 'greater than'. It is URL-encoded (%3E).
270
+ # - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
271
+ # Note: The API doesn't accept multiple values of a parameter. If a particular
272
+ # parameter is supplied more than once in the API request, the API only accepts
273
+ # the last value of that request parameter.
274
+ # In addition, if an invalid request parameter is supplied in the API request,
275
+ # the API ignores that request parameter and returns the response corresponding
276
+ # to the remaining valid request parameters. If no parameters are requested, all
277
+ # parameters are returned.
143
278
  # @param [Fixnum] max_results
144
- # Number of activity records to be shown in each page.
279
+ # Determines how many activity records are shown on each response page. For
280
+ # example, if the request sets maxResults=1 and the report has two activities,
281
+ # the report has two pages. The response's nextPageToken property has the token
282
+ # to the second page. The maxResults query string is optional in the request.
283
+ # The default value is 1000.
145
284
  # @param [String] org_unit_id
146
- # the organizational unit's(OU) ID to filter activities from users belonging to
147
- # a specific OU or one of its sub-OU(s)
285
+ # ID of the organizational unit to report on. Activity records will be shown
286
+ # only for users who belong to the specified organizational unit. Data before
287
+ # Dec 17, 2018 doesn't appear in the filtered results.
148
288
  # @param [String] page_token
149
- # Token to specify next page.
289
+ # The token to specify next page. A report with multiple pages has a
290
+ # nextPageToken property in the response. In your follow-on request getting the
291
+ # next page of the report, enter the nextPageToken value in the pageToken query
292
+ # string.
150
293
  # @param [String] start_time
151
- # Return events which occurred at or after this time.
294
+ # Sets the beginning of the range of time shown in the report. The date is in
295
+ # the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
296
+ # all activities from startTime until endTime. The startTime must be before the
297
+ # endTime (if specified) and the current time when the request is made, or the
298
+ # API returns an error.
152
299
  # @param [String] fields
153
300
  # Selector specifying which fields to include in a partial response.
154
301
  # @param [String] quota_user
@@ -222,17 +369,35 @@ module Google
222
369
  execute_or_queue_command(command, &block)
223
370
  end
224
371
 
225
- # Retrieves a report which is a collection of properties / statistics for a
226
- # specific customer.
372
+ # Retrieves a report which is a collection of properties and statistics for a
373
+ # specific customer's account. For more information, see the Customers Usage
374
+ # Report guide. For more information about the customer report's parameters, see
375
+ # the Customers Usage parameters reference guides.
227
376
  # @param [String] date
228
- # Represents the date in yyyy-mm-dd format for which the data is to be fetched.
377
+ # Represents the date the usage occurred. The timestamp is in the ISO 8601
378
+ # format, yyyy-mm-dd. We recommend you use your account's time zone for this.
229
379
  # @param [String] customer_id
230
- # Represents the customer for which the data is to be fetched.
380
+ # The unique ID of the customer to retrieve data for.
231
381
  # @param [String] page_token
232
- # Token to specify next page.
382
+ # Token to specify next page. A report with multiple pages has a nextPageToken
383
+ # property in the response. For your follow-on requests getting all of the
384
+ # report's pages, enter the nextPageToken value in the pageToken query string.
233
385
  # @param [String] parameters
234
- # Represents the application name, parameter name pairs to fetch in csv as
235
- # app_name1:param_name1, app_name2:param_name2.
386
+ # The parameters query string is a comma-separated list of event parameters that
387
+ # refine a report's results. The parameter is associated with a specific
388
+ # application. The application values for the Customers usage report include
389
+ # accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
390
+ # gplus, device_management, meet, and sites.
391
+ # A parameters query string is in the CSV form of app_name1:param_name1,
392
+ # app_name2:param_name2.
393
+ # Note: The API doesn't accept multiple values of a parameter. If a particular
394
+ # parameter is supplied more than once in the API request, the API only accepts
395
+ # the last value of that request parameter.
396
+ # In addition, if an invalid request parameter is supplied in the API request,
397
+ # the API ignores that request parameter and returns the response corresponding
398
+ # to the remaining valid request parameters.
399
+ # An example of an invalid request parameter is one that does not belong to the
400
+ # application. If no parameters are requested, all parameters are returned.
236
401
  # @param [String] fields
237
402
  # Selector specifying which fields to include in a partial response.
238
403
  # @param [String] quota_user
@@ -266,25 +431,64 @@ module Google
266
431
  execute_or_queue_command(command, &block)
267
432
  end
268
433
 
269
- # Retrieves a report which is a collection of properties / statistics for a set
270
- # of objects.
434
+ # Retrieves a report which is a collection of properties and statistics for
435
+ # entities used by users within the account. For more information, see the
436
+ # Entities Usage Report guide. For more information about the entities report's
437
+ # parameters, see the Entities Usage parameters reference guides.
271
438
  # @param [String] entity_type
272
- # Type of object. Should be one of - gplus_communities.
439
+ # Represents the type of entity for the report.
273
440
  # @param [String] entity_key
274
- # Represents the key of object for which the data should be filtered.
441
+ # Represents the key of the object to filter the data with.
275
442
  # @param [String] date
276
- # Represents the date in yyyy-mm-dd format for which the data is to be fetched.
443
+ # Represents the date the usage occurred. The timestamp is in the ISO 8601
444
+ # format, yyyy-mm-dd. We recommend you use your account's time zone for this.
277
445
  # @param [String] customer_id
278
- # Represents the customer for which the data is to be fetched.
446
+ # The unique ID of the customer to retrieve data for.
279
447
  # @param [String] filters
280
- # Represents the set of filters including parameter operator value.
448
+ # The filters query string is a comma-separated list of an application's event
449
+ # parameters where the parameter's value is manipulated by a relational operator.
450
+ # The filters query string includes the name of the application whose usage is
451
+ # returned in the report. The application values for the Entities usage report
452
+ # include accounts, docs, and gmail.
453
+ # Filters are in the form [application name]:[parameter name][relational
454
+ # operator][parameter value],....
455
+ # In this example, the <> 'not equal to' operator is URL-encoded in the request'
456
+ # s query string (%3C%3E):
457
+ # GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/
458
+ # dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &
459
+ # filters=gplus:num_total_members>0
460
+ # The relational operators include:
461
+ # - == - 'equal to'.
462
+ # - <> - 'not equal to'. It is URL-encoded (%3C%3E).
463
+ # - < - 'less than'. It is URL-encoded (%3C).
464
+ # - <= - 'less than or equal to'. It is URL-encoded (%3C=).
465
+ # - > - 'greater than'. It is URL-encoded (%3E).
466
+ # - >= - 'greater than or equal to'. It is URL-encoded (%3E=). Filters can only
467
+ # be applied to numeric parameters.
281
468
  # @param [Fixnum] max_results
282
- # Maximum number of results to return. Maximum allowed is 1000
469
+ # Determines how many activity records are shown on each response page. For
470
+ # example, if the request sets maxResults=1 and the report has two activities,
471
+ # the report has two pages. The response's nextPageToken property has the token
472
+ # to the second page.
283
473
  # @param [String] page_token
284
- # Token to specify next page.
474
+ # Token to specify next page. A report with multiple pages has a nextPageToken
475
+ # property in the response. In your follow-on request getting the next page of
476
+ # the report, enter the nextPageToken value in the pageToken query string.
285
477
  # @param [String] parameters
286
- # Represents the application name, parameter name pairs to fetch in csv as
287
- # app_name1:param_name1, app_name2:param_name2.
478
+ # The parameters query string is a comma-separated list of event parameters that
479
+ # refine a report's results. The parameter is associated with a specific
480
+ # application. The application values for the Entities usage report are only
481
+ # gplus.
482
+ # A parameter query string is in the CSV form of [app_name1:param_name1], [
483
+ # app_name2:param_name2]....
484
+ # Note: The API doesn't accept multiple values of a parameter. If a particular
485
+ # parameter is supplied more than once in the API request, the API only accepts
486
+ # the last value of that request parameter.
487
+ # In addition, if an invalid request parameter is supplied in the API request,
488
+ # the API ignores that request parameter and returns the response corresponding
489
+ # to the remaining valid request parameters.
490
+ # An example of an invalid request parameter is one that does not belong to the
491
+ # application. If no parameters are requested, all parameters are returned.
288
492
  # @param [String] fields
289
493
  # Selector specifying which fields to include in a partial response.
290
494
  # @param [String] quota_user
@@ -322,27 +526,69 @@ module Google
322
526
  execute_or_queue_command(command, &block)
323
527
  end
324
528
 
325
- # Retrieves a report which is a collection of properties / statistics for a set
326
- # of users.
529
+ # Retrieves a report which is a collection of properties and statistics for a
530
+ # set of users with the account. For more information, see the User Usage Report
531
+ # guide. For more information about the user report's parameters, see the Users
532
+ # Usage parameters reference guides.
327
533
  # @param [String] user_key
328
- # Represents the profile id or the user email for which the data should be
329
- # filtered.
534
+ # Represents the profile ID or the user email for which the data should be
535
+ # filtered. Can be all for all information, or userKey for a user's unique G
536
+ # Suite profile ID or their primary email address.
330
537
  # @param [String] date
331
- # Represents the date in yyyy-mm-dd format for which the data is to be fetched.
538
+ # Represents the date the usage occurred. The timestamp is in the ISO 8601
539
+ # format, yyyy-mm-dd. We recommend you use your account's time zone for this.
332
540
  # @param [String] customer_id
333
- # Represents the customer for which the data is to be fetched.
541
+ # The unique ID of the customer to retrieve data for.
334
542
  # @param [String] filters
335
- # Represents the set of filters including parameter operator value.
543
+ # The filters query string is a comma-separated list of an application's event
544
+ # parameters where the parameter's value is manipulated by a relational operator.
545
+ # The filters query string includes the name of the application whose usage is
546
+ # returned in the report. The application values for the Users Usage Report
547
+ # include accounts, docs, and gmail.
548
+ # Filters are in the form [application name]:[parameter name][relational
549
+ # operator][parameter value],....
550
+ # In this example, the <> 'not equal to' operator is URL-encoded in the request'
551
+ # s query string (%3C%3E):
552
+ # GET https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-
553
+ # 03 ?parameters=accounts:last_login_time &filters=accounts:last_login_time>2010-
554
+ # 10-28T10:26:35.000Z
555
+ # The relational operators include:
556
+ # - == - 'equal to'.
557
+ # - <> - 'not equal to'. It is URL-encoded (%3C%3E).
558
+ # - < - 'less than'. It is URL-encoded (%3C).
559
+ # - <= - 'less than or equal to'. It is URL-encoded (%3C=).
560
+ # - > - 'greater than'. It is URL-encoded (%3E).
561
+ # - >= - 'greater than or equal to'. It is URL-encoded (%3E=).
336
562
  # @param [Fixnum] max_results
337
- # Maximum number of results to return. Maximum allowed is 1000
563
+ # Determines how many activity records are shown on each response page. For
564
+ # example, if the request sets maxResults=1 and the report has two activities,
565
+ # the report has two pages. The response's nextPageToken property has the token
566
+ # to the second page.
567
+ # The maxResults query string is optional.
338
568
  # @param [String] org_unit_id
339
- # the organizational unit's ID to filter usage parameters from users belonging
340
- # to a specific OU or one of its sub-OU(s).
569
+ # ID of the organizational unit to report on. User activity will be shown only
570
+ # for users who belong to the specified organizational unit. Data before Dec 17,
571
+ # 2018 doesn't appear in the filtered results.
341
572
  # @param [String] page_token
342
- # Token to specify next page.
573
+ # Token to specify next page. A report with multiple pages has a nextPageToken
574
+ # property in the response. In your follow-on request getting the next page of
575
+ # the report, enter the nextPageToken value in the pageToken query string.
343
576
  # @param [String] parameters
344
- # Represents the application name, parameter name pairs to fetch in csv as
345
- # app_name1:param_name1, app_name2:param_name2.
577
+ # The parameters query string is a comma-separated list of event parameters that
578
+ # refine a report's results. The parameter is associated with a specific
579
+ # application. The application values for the Customers usage report include
580
+ # accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
581
+ # gplus, device_management, meet, and sites.
582
+ # A parameters query string is in the CSV form of app_name1:param_name1,
583
+ # app_name2:param_name2.
584
+ # Note: The API doesn't accept multiple values of a parameter.
585
+ # If a particular parameter is supplied more than once in the API request, the
586
+ # API only accepts the last value of that request parameter. In addition, if an
587
+ # invalid request parameter is supplied in the API request, the API ignores that
588
+ # request parameter and returns the response corresponding to the remaining
589
+ # valid request parameters.
590
+ # An example of an invalid request parameter is one that does not belong to the
591
+ # application. If no parameters are requested, all parameters are returned.
346
592
  # @param [String] fields
347
593
  # Selector specifying which fields to include in a partial response.
348
594
  # @param [String] quota_user
@@ -23,10 +23,10 @@ module Google
23
23
  # Fetches reports for the administrators of G Suite customers about the usage,
24
24
  # collaboration, security, and risk for their users.
25
25
  #
26
- # @see https://developers.google.com/admin-sdk/reports/
26
+ # @see /admin-sdk/reports/
27
27
  module AdminReportsV1
28
28
  VERSION = 'ReportsV1'
29
- REVISION = '20190521'
29
+ REVISION = '20191014'
30
30
 
31
31
  # View audit reports for your G Suite domain
32
32
  AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
@@ -1184,6 +1184,11 @@ module Google
1184
1184
  # @return [String]
1185
1185
  attr_accessor :order_id
1186
1186
 
1187
+ # The inapp product SKU.
1188
+ # Corresponds to the JSON property `productId`
1189
+ # @return [String]
1190
+ attr_accessor :product_id
1191
+
1187
1192
  # The purchase state of the order. Possible values are:
1188
1193
  # - Purchased
1189
1194
  # - Canceled
@@ -1198,6 +1203,11 @@ module Google
1198
1203
  # @return [Fixnum]
1199
1204
  attr_accessor :purchase_time_millis
1200
1205
 
1206
+ # The purchase token generated to identify this purchase.
1207
+ # Corresponds to the JSON property `purchaseToken`
1208
+ # @return [String]
1209
+ attr_accessor :purchase_token
1210
+
1201
1211
  # The type of purchase of the inapp product. This field is only set if this
1202
1212
  # purchase was not made using the standard in-app billing flow. Possible values
1203
1213
  # are:
@@ -1219,8 +1229,10 @@ module Google
1219
1229
  @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1220
1230
  @kind = args[:kind] if args.key?(:kind)
1221
1231
  @order_id = args[:order_id] if args.key?(:order_id)
1232
+ @product_id = args[:product_id] if args.key?(:product_id)
1222
1233
  @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
1223
1234
  @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
1235
+ @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
1224
1236
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1225
1237
  end
1226
1238
  end
@@ -716,8 +716,10 @@ module Google
716
716
  property :developer_payload, as: 'developerPayload'
717
717
  property :kind, as: 'kind'
718
718
  property :order_id, as: 'orderId'
719
+ property :product_id, as: 'productId'
719
720
  property :purchase_state, as: 'purchaseState'
720
721
  property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
722
+ property :purchase_token, as: 'purchaseToken'
721
723
  property :purchase_type, as: 'purchaseType'
722
724
  end
723
725
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20190910'
28
+ REVISION = '20191013'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -1427,12 +1427,16 @@ module Google
1427
1427
  execute_or_queue_command(command, &block)
1428
1428
  end
1429
1429
 
1430
- # Stops a running instance.The instance will be automatically recreated based on
1431
- # the scaling settings of the version. If you want to stop all instances without
1432
- # re-creation (e.g. to avoid getting billed) use the apps.services.versions.
1433
- # patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/
1434
- # apps.services.versions/patch) method and change the serving status of the
1435
- # version to STOPPED.
1430
+ # Stops a running instance.The instance might be automatically recreated based
1431
+ # on the scaling settings of the version. For more information, see "How
1432
+ # Instances are Managed" (standard environment (https://cloud.google.com/
1433
+ # appengine/docs/standard/python/how-instances-are-managed) | flexible
1434
+ # environment (https://cloud.google.com/appengine/docs/flexible/python/how-
1435
+ # instances-are-managed)).To ensure that instances are not re-created and avoid
1436
+ # getting billed, you can stop all instances within the target version by
1437
+ # changing the serving status of the version to STOPPED with the apps.services.
1438
+ # versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
1439
+ # rest/v1/apps.services.versions/patch) method.
1436
1440
  # @param [String] apps_id
1437
1441
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
1438
1442
  # default/versions/v1/instances/instance-1.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190926'
28
+ REVISION = '20191016'
29
29
 
30
30
  # View and manage your applications deployed on Google App Engine
31
31
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
@@ -1427,12 +1427,16 @@ module Google
1427
1427
  execute_or_queue_command(command, &block)
1428
1428
  end
1429
1429
 
1430
- # Stops a running instance.The instance will be automatically recreated based on
1431
- # the scaling settings of the version. If you want to stop all instances without
1432
- # re-creation (e.g. to avoid getting billed) use the apps.services.versions.
1433
- # patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/
1434
- # apps.services.versions/patch) method and change the serving status of the
1435
- # version to STOPPED.
1430
+ # Stops a running instance.The instance might be automatically recreated based
1431
+ # on the scaling settings of the version. For more information, see "How
1432
+ # Instances are Managed" (standard environment (https://cloud.google.com/
1433
+ # appengine/docs/standard/python/how-instances-are-managed) | flexible
1434
+ # environment (https://cloud.google.com/appengine/docs/flexible/python/how-
1435
+ # instances-are-managed)).To ensure that instances are not re-created and avoid
1436
+ # getting billed, you can stop all instances within the target version by
1437
+ # changing the serving status of the version to STOPPED with the apps.services.
1438
+ # versions.patch (https://cloud.google.com/appengine/docs/admin-api/reference/
1439
+ # rest/v1/apps.services.versions/patch) method.
1436
1440
  # @param [String] apps_id
1437
1441
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
1438
1442
  # default/versions/v1/instances/instance-1.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/appengine/docs/admin-api/
26
26
  module AppengineV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20190926'
28
+ REVISION = '20191016'
29
29
 
30
30
  # View and manage your applications deployed on Google App Engine
31
31
  AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'