google-api-client 0.29.0 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +122 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  8. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  9. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  10. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  16. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  36. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  39. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  40. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  41. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  46. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  47. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  50. data/generated/google/apis/appengine_v1/service.rb +38 -38
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  53. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  54. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  56. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  57. data/generated/google/apis/appengine_v1beta.rb +1 -1
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2/classes.rb +53 -33
  64. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  65. data/generated/google/apis/bigquery_v2/service.rb +26 -26
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +45 -45
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/chat_v1/service.rb +8 -8
  79. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  80. data/generated/google/apis/classroom_v1/service.rb +57 -56
  81. data/generated/google/apis/classroom_v1.rb +1 -1
  82. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  84. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  85. data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
  86. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  88. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  89. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  90. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  91. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  92. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  94. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  96. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  97. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  100. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  101. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  103. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  105. data/generated/google/apis/cloudiot_v1.rb +1 -1
  106. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  107. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  108. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  109. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  110. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  111. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  112. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  113. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  115. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  119. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  122. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  124. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  125. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  130. data/generated/google/apis/cloudshell_v1.rb +1 -1
  131. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  132. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  133. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  134. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  135. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  136. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  137. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  138. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  139. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  140. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  141. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  142. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  143. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  144. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  145. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  146. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  147. data/generated/google/apis/composer_v1/service.rb +9 -9
  148. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  149. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  150. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  151. data/generated/google/apis/compute_alpha/service.rb +625 -623
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_beta/service.rb +504 -503
  154. data/generated/google/apis/compute_beta.rb +1 -1
  155. data/generated/google/apis/compute_v1/service.rb +411 -410
  156. data/generated/google/apis/compute_v1.rb +1 -1
  157. data/generated/google/apis/container_v1/classes.rb +2 -1
  158. data/generated/google/apis/container_v1/service.rb +63 -63
  159. data/generated/google/apis/container_v1.rb +1 -1
  160. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  161. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  162. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  163. data/generated/google/apis/container_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  165. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  166. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  167. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  168. data/generated/google/apis/content_v2/classes.rb +9 -3
  169. data/generated/google/apis/content_v2/service.rb +101 -105
  170. data/generated/google/apis/content_v2.rb +1 -1
  171. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  172. data/generated/google/apis/content_v2_1/service.rb +89 -93
  173. data/generated/google/apis/content_v2_1.rb +1 -1
  174. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  175. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  176. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  177. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  178. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  179. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  180. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  183. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  184. data/generated/google/apis/dataproc_v1.rb +1 -1
  185. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  186. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  187. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  188. data/generated/google/apis/datastore_v1/service.rb +15 -15
  189. data/generated/google/apis/datastore_v1.rb +1 -1
  190. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  191. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  192. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  193. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  194. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  195. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  196. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  197. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  198. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  199. data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
  200. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  201. data/generated/google/apis/dialogflow_v2.rb +1 -1
  202. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  203. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  204. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  205. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  206. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  207. data/generated/google/apis/discovery_v1/service.rb +2 -2
  208. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  209. data/generated/google/apis/dlp_v2/service.rb +51 -46
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dns_v1/service.rb +15 -15
  212. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  213. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  214. data/generated/google/apis/dns_v2beta1.rb +1 -1
  215. data/generated/google/apis/docs_v1/classes.rb +137 -0
  216. data/generated/google/apis/docs_v1/representations.rb +57 -0
  217. data/generated/google/apis/docs_v1/service.rb +3 -3
  218. data/generated/google/apis/docs_v1.rb +1 -1
  219. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  220. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  221. data/generated/google/apis/drive_v2/classes.rb +10 -21
  222. data/generated/google/apis/drive_v2/service.rb +152 -100
  223. data/generated/google/apis/drive_v2.rb +1 -1
  224. data/generated/google/apis/drive_v3/classes.rb +9 -20
  225. data/generated/google/apis/drive_v3/service.rb +100 -64
  226. data/generated/google/apis/drive_v3.rb +1 -1
  227. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  228. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  229. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  230. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  231. data/generated/google/apis/fcm_v1/service.rb +97 -0
  232. data/generated/google/apis/fcm_v1.rb +35 -0
  233. data/generated/google/apis/file_v1/classes.rb +52 -1
  234. data/generated/google/apis/file_v1/representations.rb +16 -0
  235. data/generated/google/apis/file_v1/service.rb +11 -11
  236. data/generated/google/apis/file_v1.rb +1 -1
  237. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  238. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  239. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  240. data/generated/google/apis/file_v1beta1.rb +1 -1
  241. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  242. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  243. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  244. data/generated/google/apis/firestore_v1/service.rb +28 -28
  245. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  246. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  247. data/generated/google/apis/fitness_v1/service.rb +13 -13
  248. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  249. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  250. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  251. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  252. data/generated/google/apis/games_v1/service.rb +53 -53
  253. data/generated/google/apis/genomics_v1/service.rb +3 -3
  254. data/generated/google/apis/genomics_v1.rb +1 -1
  255. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  256. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  257. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  258. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  259. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  260. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  261. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  262. data/generated/google/apis/gmail_v1/service.rb +68 -68
  263. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  264. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  265. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  266. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  267. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  268. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  269. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  270. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  271. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  272. data/generated/google/apis/iam_v1/classes.rb +48 -0
  273. data/generated/google/apis/iam_v1/representations.rb +28 -0
  274. data/generated/google/apis/iam_v1/service.rb +59 -42
  275. data/generated/google/apis/iam_v1.rb +1 -1
  276. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  277. data/generated/google/apis/iap_v1/service.rb +3 -3
  278. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  279. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  280. data/generated/google/apis/indexing_v3/service.rb +2 -2
  281. data/generated/google/apis/jobs_v2/service.rb +17 -17
  282. data/generated/google/apis/jobs_v3/service.rb +15 -15
  283. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  284. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  285. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  287. data/generated/google/apis/language_v1/service.rb +6 -6
  288. data/generated/google/apis/language_v1.rb +1 -1
  289. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  290. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  291. data/generated/google/apis/language_v1beta2.rb +1 -1
  292. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  293. data/generated/google/apis/licensing_v1/service.rb +7 -7
  294. data/generated/google/apis/logging_v2/classes.rb +6 -0
  295. data/generated/google/apis/logging_v2/representations.rb +1 -0
  296. data/generated/google/apis/logging_v2/service.rb +72 -72
  297. data/generated/google/apis/logging_v2.rb +1 -1
  298. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  299. data/generated/google/apis/mirror_v1/service.rb +24 -24
  300. data/generated/google/apis/ml_v1/classes.rb +73 -55
  301. data/generated/google/apis/ml_v1/service.rb +31 -31
  302. data/generated/google/apis/ml_v1.rb +1 -1
  303. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  304. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  305. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  306. data/generated/google/apis/monitoring_v3.rb +1 -1
  307. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  308. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  309. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  310. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  311. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  312. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  313. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  314. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  315. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  316. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  317. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  318. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  319. data/generated/google/apis/people_v1/service.rb +13 -13
  320. data/generated/google/apis/people_v1.rb +1 -1
  321. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  322. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  323. data/generated/google/apis/plus_v1/service.rb +9 -9
  324. data/generated/google/apis/poly_v1/service.rb +4 -4
  325. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  326. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  327. data/generated/google/apis/pubsub_v1.rb +1 -1
  328. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  329. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  330. data/generated/google/apis/redis_v1/service.rb +19 -19
  331. data/generated/google/apis/redis_v1.rb +1 -1
  332. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  333. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  334. data/generated/google/apis/redis_v1beta1.rb +1 -1
  335. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  336. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  337. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  343. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  344. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  345. data/generated/google/apis/reseller_v1/service.rb +17 -17
  346. data/generated/google/apis/run_v1/service.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  348. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  349. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  350. data/generated/google/apis/run_v1alpha1.rb +1 -1
  351. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  353. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  354. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  355. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  356. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  357. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  358. data/generated/google/apis/script_v1/classes.rb +167 -0
  359. data/generated/google/apis/script_v1/representations.rb +79 -0
  360. data/generated/google/apis/script_v1/service.rb +16 -16
  361. data/generated/google/apis/script_v1.rb +1 -1
  362. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  363. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  365. data/generated/google/apis/securitycenter_v1.rb +1 -1
  366. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  368. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  369. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  370. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  371. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  375. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  376. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  377. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  378. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  379. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  380. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  381. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  382. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  383. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
  386. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  387. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  388. data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
  389. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  391. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
  393. data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
  394. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  395. data/generated/google/apis/serviceusage_v1.rb +1 -1
  396. data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
  397. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
  398. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  399. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  400. data/generated/google/apis/sheets_v4/service.rb +17 -17
  401. data/generated/google/apis/sheets_v4.rb +1 -1
  402. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  403. data/generated/google/apis/slides_v1/service.rb +5 -5
  404. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  405. data/generated/google/apis/spanner_v1/classes.rb +51 -9
  406. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  407. data/generated/google/apis/spanner_v1/service.rb +41 -41
  408. data/generated/google/apis/spanner_v1.rb +1 -1
  409. data/generated/google/apis/speech_v1/classes.rb +2 -2
  410. data/generated/google/apis/speech_v1/service.rb +7 -7
  411. data/generated/google/apis/speech_v1.rb +1 -1
  412. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  413. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  414. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  415. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  416. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  417. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  418. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  419. data/generated/google/apis/storage_v1/classes.rb +2 -2
  420. data/generated/google/apis/storage_v1/representations.rb +2 -1
  421. data/generated/google/apis/storage_v1/service.rb +52 -52
  422. data/generated/google/apis/storage_v1.rb +1 -1
  423. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  424. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  425. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  426. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  427. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  428. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  429. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  430. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  431. data/generated/google/apis/surveys_v2/service.rb +8 -8
  432. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  433. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  434. data/generated/google/apis/tasks_v1/service.rb +14 -14
  435. data/generated/google/apis/testing_v1/classes.rb +25 -12
  436. data/generated/google/apis/testing_v1/representations.rb +2 -0
  437. data/generated/google/apis/testing_v1/service.rb +5 -5
  438. data/generated/google/apis/testing_v1.rb +1 -1
  439. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  440. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  441. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  442. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  443. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  444. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  445. data/generated/google/apis/tpu_v1/service.rb +17 -17
  446. data/generated/google/apis/tpu_v1.rb +1 -1
  447. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  448. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  449. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  450. data/generated/google/apis/translate_v2/service.rb +5 -5
  451. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  452. data/generated/google/apis/vault_v1/service.rb +28 -28
  453. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  454. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  455. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  456. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  458. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  459. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  460. data/generated/google/apis/vision_v1/service.rb +98 -35
  461. data/generated/google/apis/vision_v1.rb +1 -1
  462. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  463. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  464. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  465. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  466. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  467. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  468. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  469. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  470. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  471. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  472. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  473. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  474. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  475. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  476. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  477. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  478. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  479. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  480. data/generated/google/apis/youtube_v3/service.rb +71 -71
  481. data/generated/google/apis/youtube_v3.rb +1 -1
  482. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  483. data/google-api-client.gemspec +1 -1
  484. data/lib/google/apis/core/json_representation.rb +4 -0
  485. data/lib/google/apis/core/upload.rb +3 -3
  486. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  487. data/lib/google/apis/version.rb +1 -1
  488. metadata +13 -6
  489. data/samples/web/.env +0 -2
@@ -365,6 +365,30 @@ module Google
365
365
  end
366
366
  end
367
367
 
368
+ # An action to block access to apps and data on a fully managed device or in a
369
+ # work profile. This action also triggers a device or work profile to displays a
370
+ # user-facing notification with information (where possible) on how to correct
371
+ # the compliance issue. Note: wipeAction must also be specified.
372
+ class BlockAction
373
+ include Google::Apis::Core::Hashable
374
+
375
+ # Number of days the policy is non-compliant before the device or work profile
376
+ # is blocked. To block access immediately, set to 0. blockAfterDays must be less
377
+ # than wipeAfterDays.
378
+ # Corresponds to the JSON property `blockAfterDays`
379
+ # @return [Fixnum]
380
+ attr_accessor :block_after_days
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @block_after_days = args[:block_after_days] if args.key?(:block_after_days)
389
+ end
390
+ end
391
+
368
392
  # A rule for automatically choosing a private key and certificate to
369
393
  # authenticate the device to a server.
370
394
  class ChoosePrivateKeyRule
@@ -688,6 +712,11 @@ module Google
688
712
  # @return [String]
689
713
  attr_accessor :state
690
714
 
715
+ # Map of selected system properties name and value related to the device.
716
+ # Corresponds to the JSON property `systemProperties`
717
+ # @return [Hash<String,String>]
718
+ attr_accessor :system_properties
719
+
691
720
  # A user belonging to an enterprise.
692
721
  # Corresponds to the JSON property `user`
693
722
  # @return [Google::Apis::AndroidmanagementV1::User]
@@ -733,6 +762,7 @@ module Google
733
762
  @previous_device_names = args[:previous_device_names] if args.key?(:previous_device_names)
734
763
  @software_info = args[:software_info] if args.key?(:software_info)
735
764
  @state = args[:state] if args.key?(:state)
765
+ @system_properties = args[:system_properties] if args.key?(:system_properties)
736
766
  @user = args[:user] if args.key?(:user)
737
767
  @user_name = args[:user_name] if args.key?(:user_name)
738
768
  end
@@ -1764,8 +1794,8 @@ module Google
1764
1794
  attr_accessor :metadata
1765
1795
 
1766
1796
  # The server-assigned name, which is only unique within the same service that
1767
- # originally returns it. If you use the default HTTP mapping, the name should
1768
- # have the format of operations/some/unique/name.
1797
+ # originally returns it. If you use the default HTTP mapping, the name should be
1798
+ # a resource name ending with operations/`unique_id`.
1769
1799
  # Corresponds to the JSON property `name`
1770
1800
  # @return [String]
1771
1801
  attr_accessor :name
@@ -2204,6 +2234,11 @@ module Google
2204
2234
  # @return [Fixnum]
2205
2235
  attr_accessor :maximum_time_to_lock
2206
2236
 
2237
+ # The minimum allowed Android API level.
2238
+ # Corresponds to the JSON property `minimumApiLevel`
2239
+ # @return [Fixnum]
2240
+ attr_accessor :minimum_api_level
2241
+
2207
2242
  # Whether configuring mobile networks is disabled.
2208
2243
  # Corresponds to the JSON property `mobileNetworksConfigDisabled`
2209
2244
  # @return [Boolean]
@@ -2297,6 +2332,12 @@ module Google
2297
2332
  # @return [String]
2298
2333
  attr_accessor :play_store_mode
2299
2334
 
2335
+ # Rules that define the behavior when a particular policy can not be applied on
2336
+ # device
2337
+ # Corresponds to the JSON property `policyEnforcementRules`
2338
+ # @return [Array<Google::Apis::AndroidmanagementV1::PolicyEnforcementRule>]
2339
+ attr_accessor :policy_enforcement_rules
2340
+
2300
2341
  # Allows showing UI on a device for a user to choose a private key alias if
2301
2342
  # there are no matching rules in ChoosePrivateKeyRules. For devices below
2302
2343
  # Android P, setting this may leave enterprise keys vulnerable.
@@ -2491,6 +2532,7 @@ module Google
2491
2532
  @location_mode = args[:location_mode] if args.key?(:location_mode)
2492
2533
  @long_support_message = args[:long_support_message] if args.key?(:long_support_message)
2493
2534
  @maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock)
2535
+ @minimum_api_level = args[:minimum_api_level] if args.key?(:minimum_api_level)
2494
2536
  @mobile_networks_config_disabled = args[:mobile_networks_config_disabled] if args.key?(:mobile_networks_config_disabled)
2495
2537
  @modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled)
2496
2538
  @mount_physical_media_disabled = args[:mount_physical_media_disabled] if args.key?(:mount_physical_media_disabled)
@@ -2506,6 +2548,7 @@ module Google
2506
2548
  @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
2507
2549
  @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
2508
2550
  @play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
2551
+ @policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
2509
2552
  @private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
2510
2553
  @recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
2511
2554
  @remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
@@ -2534,6 +2577,43 @@ module Google
2534
2577
  end
2535
2578
  end
2536
2579
 
2580
+ # A rule that defines the actions to take if a device or work profile is not
2581
+ # compliant with the policy specified in settingName.
2582
+ class PolicyEnforcementRule
2583
+ include Google::Apis::Core::Hashable
2584
+
2585
+ # An action to block access to apps and data on a fully managed device or in a
2586
+ # work profile. This action also triggers a device or work profile to displays a
2587
+ # user-facing notification with information (where possible) on how to correct
2588
+ # the compliance issue. Note: wipeAction must also be specified.
2589
+ # Corresponds to the JSON property `blockAction`
2590
+ # @return [Google::Apis::AndroidmanagementV1::BlockAction]
2591
+ attr_accessor :block_action
2592
+
2593
+ # The top-level policy to enforce. For example, applications or
2594
+ # passwordRequirements.
2595
+ # Corresponds to the JSON property `settingName`
2596
+ # @return [String]
2597
+ attr_accessor :setting_name
2598
+
2599
+ # An action to reset a fully managed device or delete a work profile. Note:
2600
+ # blockAction must also be specified.
2601
+ # Corresponds to the JSON property `wipeAction`
2602
+ # @return [Google::Apis::AndroidmanagementV1::WipeAction]
2603
+ attr_accessor :wipe_action
2604
+
2605
+ def initialize(**args)
2606
+ update!(**args)
2607
+ end
2608
+
2609
+ # Update properties of this object
2610
+ def update!(**args)
2611
+ @block_action = args[:block_action] if args.key?(:block_action)
2612
+ @setting_name = args[:setting_name] if args.key?(:setting_name)
2613
+ @wipe_action = args[:wipe_action] if args.key?(:wipe_action)
2614
+ end
2615
+ end
2616
+
2537
2617
  # A power management event.
2538
2618
  class PowerManagementEvent
2539
2619
  include Google::Apis::Core::Hashable
@@ -3157,6 +3237,35 @@ module Google
3157
3237
  @value = args[:value] if args.key?(:value)
3158
3238
  end
3159
3239
  end
3240
+
3241
+ # An action to reset a fully managed device or delete a work profile. Note:
3242
+ # blockAction must also be specified.
3243
+ class WipeAction
3244
+ include Google::Apis::Core::Hashable
3245
+
3246
+ # Whether the factory-reset protection data is preserved on the device. This
3247
+ # setting doesn’t apply to work profiles.
3248
+ # Corresponds to the JSON property `preserveFrp`
3249
+ # @return [Boolean]
3250
+ attr_accessor :preserve_frp
3251
+ alias_method :preserve_frp?, :preserve_frp
3252
+
3253
+ # Number of days the policy is non-compliant before the device or work profile
3254
+ # is wiped. wipeAfterDays must be greater than blockAfterDays.
3255
+ # Corresponds to the JSON property `wipeAfterDays`
3256
+ # @return [Fixnum]
3257
+ attr_accessor :wipe_after_days
3258
+
3259
+ def initialize(**args)
3260
+ update!(**args)
3261
+ end
3262
+
3263
+ # Update properties of this object
3264
+ def update!(**args)
3265
+ @preserve_frp = args[:preserve_frp] if args.key?(:preserve_frp)
3266
+ @wipe_after_days = args[:wipe_after_days] if args.key?(:wipe_after_days)
3267
+ end
3268
+ end
3160
3269
  end
3161
3270
  end
3162
3271
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BlockAction
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class ChoosePrivateKeyRule
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class PolicyEnforcementRule
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class PowerManagementEvent
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -352,6 +364,12 @@ module Google
352
364
  include Google::Apis::Core::JsonObjectSupport
353
365
  end
354
366
 
367
+ class WipeAction
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class AlwaysOnVpnPackage
356
374
  # @private
357
375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -440,6 +458,13 @@ module Google
440
458
  end
441
459
  end
442
460
 
461
+ class BlockAction
462
+ # @private
463
+ class Representation < Google::Apis::Core::JsonRepresentation
464
+ property :block_after_days, as: 'blockAfterDays'
465
+ end
466
+ end
467
+
443
468
  class ChoosePrivateKeyRule
444
469
  # @private
445
470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -517,6 +542,7 @@ module Google
517
542
  property :software_info, as: 'softwareInfo', class: Google::Apis::AndroidmanagementV1::SoftwareInfo, decorator: Google::Apis::AndroidmanagementV1::SoftwareInfo::Representation
518
543
 
519
544
  property :state, as: 'state'
545
+ hash :system_properties, as: 'systemProperties'
520
546
  property :user, as: 'user', class: Google::Apis::AndroidmanagementV1::User, decorator: Google::Apis::AndroidmanagementV1::User::Representation
521
547
 
522
548
  property :user_name, as: 'userName'
@@ -862,6 +888,7 @@ module Google
862
888
  property :long_support_message, as: 'longSupportMessage', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
863
889
 
864
890
  property :maximum_time_to_lock, :numeric_string => true, as: 'maximumTimeToLock'
891
+ property :minimum_api_level, as: 'minimumApiLevel'
865
892
  property :mobile_networks_config_disabled, as: 'mobileNetworksConfigDisabled'
866
893
  property :modify_accounts_disabled, as: 'modifyAccountsDisabled'
867
894
  property :mount_physical_media_disabled, as: 'mountPhysicalMediaDisabled'
@@ -882,6 +909,8 @@ module Google
882
909
  collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
883
910
 
884
911
  property :play_store_mode, as: 'playStoreMode'
912
+ collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
913
+
885
914
  property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
886
915
  property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
887
916
 
@@ -915,6 +944,17 @@ module Google
915
944
  end
916
945
  end
917
946
 
947
+ class PolicyEnforcementRule
948
+ # @private
949
+ class Representation < Google::Apis::Core::JsonRepresentation
950
+ property :block_action, as: 'blockAction', class: Google::Apis::AndroidmanagementV1::BlockAction, decorator: Google::Apis::AndroidmanagementV1::BlockAction::Representation
951
+
952
+ property :setting_name, as: 'settingName'
953
+ property :wipe_action, as: 'wipeAction', class: Google::Apis::AndroidmanagementV1::WipeAction, decorator: Google::Apis::AndroidmanagementV1::WipeAction::Representation
954
+
955
+ end
956
+ end
957
+
918
958
  class PowerManagementEvent
919
959
  # @private
920
960
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1067,6 +1107,14 @@ module Google
1067
1107
  property :value, as: 'value'
1068
1108
  end
1069
1109
  end
1110
+
1111
+ class WipeAction
1112
+ # @private
1113
+ class Representation < Google::Apis::Core::JsonRepresentation
1114
+ property :preserve_frp, as: 'preserveFrp'
1115
+ property :wipe_after_days, as: 'wipeAfterDays'
1116
+ end
1117
+ end
1070
1118
  end
1071
1119
  end
1072
1120
  end
@@ -74,7 +74,7 @@ module Google
74
74
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
75
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
76
  def create_enterprise(enterprise_object = nil, enterprise_token: nil, project_id: nil, signup_url_name: nil, fields: nil, quota_user: nil, options: nil, &block)
77
- command = make_simple_command(:post, 'v1/enterprises', options)
77
+ command = make_simple_command(:post, 'v1/enterprises', options)
78
78
  command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
79
79
  command.request_object = enterprise_object
80
80
  command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
@@ -108,7 +108,7 @@ module Google
108
108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
110
  def get_enterprise(name, fields: nil, quota_user: nil, options: nil, &block)
111
- command = make_simple_command(:get, 'v1/{+name}', options)
111
+ command = make_simple_command(:get, 'v1/{+name}', options)
112
112
  command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
113
113
  command.response_class = Google::Apis::AndroidmanagementV1::Enterprise
114
114
  command.params['name'] = name unless name.nil?
@@ -142,7 +142,7 @@ module Google
142
142
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
143
  # @raise [Google::Apis::AuthorizationError] Authorization is required
144
144
  def patch_enterprise(name, enterprise_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
145
- command = make_simple_command(:patch, 'v1/{+name}', options)
145
+ command = make_simple_command(:patch, 'v1/{+name}', options)
146
146
  command.request_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
147
147
  command.request_object = enterprise_object
148
148
  command.response_representation = Google::Apis::AndroidmanagementV1::Enterprise::Representation
@@ -180,7 +180,7 @@ module Google
180
180
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
181
  # @raise [Google::Apis::AuthorizationError] Authorization is required
182
182
  def get_enterprise_application(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
183
- command = make_simple_command(:get, 'v1/{+name}', options)
183
+ command = make_simple_command(:get, 'v1/{+name}', options)
184
184
  command.response_representation = Google::Apis::AndroidmanagementV1::Application::Representation
185
185
  command.response_class = Google::Apis::AndroidmanagementV1::Application
186
186
  command.params['name'] = name unless name.nil?
@@ -214,7 +214,7 @@ module Google
214
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
215
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
216
216
  def delete_enterprise_device(name, wipe_data_flags: nil, fields: nil, quota_user: nil, options: nil, &block)
217
- command = make_simple_command(:delete, 'v1/{+name}', options)
217
+ command = make_simple_command(:delete, 'v1/{+name}', options)
218
218
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
219
219
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
220
220
  command.params['name'] = name unless name.nil?
@@ -246,7 +246,7 @@ module Google
246
246
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
247
  # @raise [Google::Apis::AuthorizationError] Authorization is required
248
248
  def get_enterprise_device(name, fields: nil, quota_user: nil, options: nil, &block)
249
- command = make_simple_command(:get, 'v1/{+name}', options)
249
+ command = make_simple_command(:get, 'v1/{+name}', options)
250
250
  command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
251
251
  command.response_class = Google::Apis::AndroidmanagementV1::Device
252
252
  command.params['name'] = name unless name.nil?
@@ -280,7 +280,7 @@ module Google
280
280
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
281
  # @raise [Google::Apis::AuthorizationError] Authorization is required
282
282
  def issue_enterprise_device_command(name, command_object = nil, fields: nil, quota_user: nil, options: nil, &block)
283
- command = make_simple_command(:post, 'v1/{+name}:issueCommand', options)
283
+ command = make_simple_command(:post, 'v1/{+name}:issueCommand', options)
284
284
  command.request_representation = Google::Apis::AndroidmanagementV1::Command::Representation
285
285
  command.request_object = command_object
286
286
  command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
@@ -317,7 +317,7 @@ module Google
317
317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
318
318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
319
319
  def list_enterprise_devices(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
320
- command = make_simple_command(:get, 'v1/{+parent}/devices', options)
320
+ command = make_simple_command(:get, 'v1/{+parent}/devices', options)
321
321
  command.response_representation = Google::Apis::AndroidmanagementV1::ListDevicesResponse::Representation
322
322
  command.response_class = Google::Apis::AndroidmanagementV1::ListDevicesResponse
323
323
  command.params['parent'] = parent unless parent.nil?
@@ -354,7 +354,7 @@ module Google
354
354
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
355
355
  # @raise [Google::Apis::AuthorizationError] Authorization is required
356
356
  def patch_enterprise_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
357
- command = make_simple_command(:patch, 'v1/{+name}', options)
357
+ command = make_simple_command(:patch, 'v1/{+name}', options)
358
358
  command.request_representation = Google::Apis::AndroidmanagementV1::Device::Representation
359
359
  command.request_object = device_object
360
360
  command.response_representation = Google::Apis::AndroidmanagementV1::Device::Representation
@@ -394,7 +394,7 @@ module Google
394
394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
396
396
  def cancel_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
397
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
397
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
398
398
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
399
399
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
400
400
  command.params['name'] = name unless name.nil?
@@ -427,7 +427,7 @@ module Google
427
427
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
428
428
  # @raise [Google::Apis::AuthorizationError] Authorization is required
429
429
  def delete_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
430
- command = make_simple_command(:delete, 'v1/{+name}', options)
430
+ command = make_simple_command(:delete, 'v1/{+name}', options)
431
431
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
432
432
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
433
433
  command.params['name'] = name unless name.nil?
@@ -458,7 +458,7 @@ module Google
458
458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
459
459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
460
460
  def get_enterprise_device_operation(name, fields: nil, quota_user: nil, options: nil, &block)
461
- command = make_simple_command(:get, 'v1/{+name}', options)
461
+ command = make_simple_command(:get, 'v1/{+name}', options)
462
462
  command.response_representation = Google::Apis::AndroidmanagementV1::Operation::Representation
463
463
  command.response_class = Google::Apis::AndroidmanagementV1::Operation
464
464
  command.params['name'] = name unless name.nil?
@@ -501,7 +501,7 @@ module Google
501
501
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
502
502
  # @raise [Google::Apis::AuthorizationError] Authorization is required
503
503
  def list_enterprise_device_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
504
- command = make_simple_command(:get, 'v1/{+name}', options)
504
+ command = make_simple_command(:get, 'v1/{+name}', options)
505
505
  command.response_representation = Google::Apis::AndroidmanagementV1::ListOperationsResponse::Representation
506
506
  command.response_class = Google::Apis::AndroidmanagementV1::ListOperationsResponse
507
507
  command.params['name'] = name unless name.nil?
@@ -535,7 +535,7 @@ module Google
535
535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
536
536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
537
537
  def create_enterprise_enrollment_token(parent, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
538
- command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options)
538
+ command = make_simple_command(:post, 'v1/{+parent}/enrollmentTokens', options)
539
539
  command.request_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
540
540
  command.request_object = enrollment_token_object
541
541
  command.response_representation = Google::Apis::AndroidmanagementV1::EnrollmentToken::Representation
@@ -569,7 +569,7 @@ module Google
569
569
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
570
570
  # @raise [Google::Apis::AuthorizationError] Authorization is required
571
571
  def delete_enterprise_enrollment_token(name, fields: nil, quota_user: nil, options: nil, &block)
572
- command = make_simple_command(:delete, 'v1/{+name}', options)
572
+ command = make_simple_command(:delete, 'v1/{+name}', options)
573
573
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
574
574
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
575
575
  command.params['name'] = name unless name.nil?
@@ -601,7 +601,7 @@ module Google
601
601
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
602
602
  # @raise [Google::Apis::AuthorizationError] Authorization is required
603
603
  def delete_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
604
- command = make_simple_command(:delete, 'v1/{+name}', options)
604
+ command = make_simple_command(:delete, 'v1/{+name}', options)
605
605
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
606
606
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
607
607
  command.params['name'] = name unless name.nil?
@@ -632,7 +632,7 @@ module Google
632
632
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
633
633
  # @raise [Google::Apis::AuthorizationError] Authorization is required
634
634
  def get_enterprise_policy(name, fields: nil, quota_user: nil, options: nil, &block)
635
- command = make_simple_command(:get, 'v1/{+name}', options)
635
+ command = make_simple_command(:get, 'v1/{+name}', options)
636
636
  command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
637
637
  command.response_class = Google::Apis::AndroidmanagementV1::Policy
638
638
  command.params['name'] = name unless name.nil?
@@ -667,7 +667,7 @@ module Google
667
667
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
668
668
  # @raise [Google::Apis::AuthorizationError] Authorization is required
669
669
  def list_enterprise_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
670
- command = make_simple_command(:get, 'v1/{+parent}/policies', options)
670
+ command = make_simple_command(:get, 'v1/{+parent}/policies', options)
671
671
  command.response_representation = Google::Apis::AndroidmanagementV1::ListPoliciesResponse::Representation
672
672
  command.response_class = Google::Apis::AndroidmanagementV1::ListPoliciesResponse
673
673
  command.params['parent'] = parent unless parent.nil?
@@ -704,7 +704,7 @@ module Google
704
704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
706
706
  def patch_enterprise_policy(name, policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
707
- command = make_simple_command(:patch, 'v1/{+name}', options)
707
+ command = make_simple_command(:patch, 'v1/{+name}', options)
708
708
  command.request_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
709
709
  command.request_object = policy_object
710
710
  command.response_representation = Google::Apis::AndroidmanagementV1::Policy::Representation
@@ -738,7 +738,7 @@ module Google
738
738
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
739
  # @raise [Google::Apis::AuthorizationError] Authorization is required
740
740
  def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
741
- command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
741
+ command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
742
742
  command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
743
743
  command.request_object = web_app_object
744
744
  command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
@@ -771,7 +771,7 @@ module Google
771
771
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
772
772
  # @raise [Google::Apis::AuthorizationError] Authorization is required
773
773
  def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
774
- command = make_simple_command(:delete, 'v1/{+name}', options)
774
+ command = make_simple_command(:delete, 'v1/{+name}', options)
775
775
  command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
776
776
  command.response_class = Google::Apis::AndroidmanagementV1::Empty
777
777
  command.params['name'] = name unless name.nil?
@@ -802,7 +802,7 @@ module Google
802
802
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
803
  # @raise [Google::Apis::AuthorizationError] Authorization is required
804
804
  def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
805
- command = make_simple_command(:get, 'v1/{+name}', options)
805
+ command = make_simple_command(:get, 'v1/{+name}', options)
806
806
  command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
807
807
  command.response_class = Google::Apis::AndroidmanagementV1::WebApp
808
808
  command.params['name'] = name unless name.nil?
@@ -837,7 +837,7 @@ module Google
837
837
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
838
  # @raise [Google::Apis::AuthorizationError] Authorization is required
839
839
  def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
840
- command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
840
+ command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
841
841
  command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
842
842
  command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
843
843
  command.params['parent'] = parent unless parent.nil?
@@ -874,7 +874,7 @@ module Google
874
874
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
875
  # @raise [Google::Apis::AuthorizationError] Authorization is required
876
876
  def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
877
- command = make_simple_command(:patch, 'v1/{+name}', options)
877
+ command = make_simple_command(:patch, 'v1/{+name}', options)
878
878
  command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
879
879
  command.request_object = web_app_object
880
880
  command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
@@ -909,7 +909,7 @@ module Google
909
909
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
910
910
  # @raise [Google::Apis::AuthorizationError] Authorization is required
911
911
  def create_enterprise_web_token(parent, web_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
912
- command = make_simple_command(:post, 'v1/{+parent}/webTokens', options)
912
+ command = make_simple_command(:post, 'v1/{+parent}/webTokens', options)
913
913
  command.request_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
914
914
  command.request_object = web_token_object
915
915
  command.response_representation = Google::Apis::AndroidmanagementV1::WebToken::Representation
@@ -948,7 +948,7 @@ module Google
948
948
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
949
949
  # @raise [Google::Apis::AuthorizationError] Authorization is required
950
950
  def create_signup_url(callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
951
- command = make_simple_command(:post, 'v1/signupUrls', options)
951
+ command = make_simple_command(:post, 'v1/signupUrls', options)
952
952
  command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
953
953
  command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
954
954
  command.query['callbackUrl'] = callback_url unless callback_url.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190416'
29
+ REVISION = '20190506'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -80,7 +80,7 @@ module Google
80
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
82
  def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
- command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
83
+ command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
84
84
  command.params['packageName'] = package_name unless package_name.nil?
85
85
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
86
86
  command.params['token'] = token unless token.nil?
@@ -119,7 +119,7 @@ module Google
119
119
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
120
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
121
  def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
- command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
122
+ command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
123
123
  command.response_representation = Google::Apis::AndroidpublisherV1::SubscriptionPurchase::Representation
124
124
  command.response_class = Google::Apis::AndroidpublisherV1::SubscriptionPurchase
125
125
  command.params['packageName'] = package_name unless package_name.nil?
@@ -79,7 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
80
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
81
  def get_inapppurchase(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
82
- command = make_simple_command(:get, '{packageName}/inapp/{productId}/purchases/{token}', options)
82
+ command = make_simple_command(:get, '{packageName}/inapp/{productId}/purchases/{token}', options)
83
83
  command.response_representation = Google::Apis::AndroidpublisherV1_1::InappPurchase::Representation
84
84
  command.response_class = Google::Apis::AndroidpublisherV1_1::InappPurchase
85
85
  command.params['packageName'] = package_name unless package_name.nil?
@@ -120,7 +120,7 @@ module Google
120
120
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
121
  # @raise [Google::Apis::AuthorizationError] Authorization is required
122
122
  def cancel_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
123
- command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
123
+ command = make_simple_command(:post, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel', options)
124
124
  command.params['packageName'] = package_name unless package_name.nil?
125
125
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
126
126
  command.params['token'] = token unless token.nil?
@@ -159,7 +159,7 @@ module Google
159
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
160
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
161
161
  def get_purchase(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
162
- command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
162
+ command = make_simple_command(:get, '{packageName}/subscriptions/{subscriptionId}/purchases/{token}', options)
163
163
  command.response_representation = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase::Representation
164
164
  command.response_class = Google::Apis::AndroidpublisherV1_1::SubscriptionPurchase
165
165
  command.params['packageName'] = package_name unless package_name.nil?