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
@@ -77,7 +77,7 @@ module Google
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
79
  def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
80
+ command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
81
81
  command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
82
82
  command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
83
83
  command.params['packageName'] = package_name unless package_name.nil?
@@ -116,7 +116,7 @@ module Google
116
116
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
117
  # @raise [Google::Apis::AuthorizationError] Authorization is required
118
118
  def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
119
- command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
119
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
120
120
  command.params['packageName'] = package_name unless package_name.nil?
121
121
  command.params['editId'] = edit_id unless edit_id.nil?
122
122
  command.query['fields'] = fields unless fields.nil?
@@ -152,7 +152,7 @@ module Google
152
152
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
153
153
  # @raise [Google::Apis::AuthorizationError] Authorization is required
154
154
  def get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
155
- command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
155
+ command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
156
156
  command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
157
157
  command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
158
158
  command.params['packageName'] = package_name unless package_name.nil?
@@ -188,7 +188,7 @@ module Google
188
188
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
189
189
  # @raise [Google::Apis::AuthorizationError] Authorization is required
190
190
  def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
191
- command = make_simple_command(:post, '{packageName}/edits', options)
191
+ command = make_simple_command(:post, '{packageName}/edits', options)
192
192
  command.request_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
193
193
  command.request_object = app_edit_object
194
194
  command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
@@ -227,7 +227,7 @@ module Google
227
227
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
228
228
  # @raise [Google::Apis::AuthorizationError] Authorization is required
229
229
  def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
230
- command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
230
+ command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
231
231
  command.response_representation = Google::Apis::AndroidpublisherV3::AppEdit::Representation
232
232
  command.response_class = Google::Apis::AndroidpublisherV3::AppEdit
233
233
  command.params['packageName'] = package_name unless package_name.nil?
@@ -268,7 +268,7 @@ module Google
268
268
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
269
269
  # @raise [Google::Apis::AuthorizationError] Authorization is required
270
270
  def addexternallyhosted_edit_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
271
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
271
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
272
272
  command.request_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedRequest::Representation
273
273
  command.request_object = apks_add_externally_hosted_request_object
274
274
  command.response_representation = Google::Apis::AndroidpublisherV3::ApksAddExternallyHostedResponse::Representation
@@ -307,7 +307,7 @@ module Google
307
307
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
308
308
  # @raise [Google::Apis::AuthorizationError] Authorization is required
309
309
  def list_edit_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
310
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
310
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
311
311
  command.response_representation = Google::Apis::AndroidpublisherV3::ApksListResponse::Representation
312
312
  command.response_class = Google::Apis::AndroidpublisherV3::ApksListResponse
313
313
  command.params['packageName'] = package_name unless package_name.nil?
@@ -349,7 +349,7 @@ module Google
349
349
  # @raise [Google::Apis::AuthorizationError] Authorization is required
350
350
  def upload_edit_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
351
351
  if upload_source.nil?
352
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
352
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
353
353
  else
354
354
  command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
355
355
  command.upload_source = upload_source
@@ -391,7 +391,7 @@ module Google
391
391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
392
392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
393
393
  def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
394
- command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
394
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
395
395
  command.response_representation = Google::Apis::AndroidpublisherV3::BundlesListResponse::Representation
396
396
  command.response_class = Google::Apis::AndroidpublisherV3::BundlesListResponse
397
397
  command.params['packageName'] = package_name unless package_name.nil?
@@ -441,7 +441,7 @@ module Google
441
441
  # @raise [Google::Apis::AuthorizationError] Authorization is required
442
442
  def upload_edit_bundle(package_name, edit_id, ack_bundle_installation_warning: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
443
443
  if upload_source.nil?
444
- command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
444
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
445
445
  else
446
446
  command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
447
447
  command.upload_source = upload_source
@@ -493,7 +493,7 @@ module Google
493
493
  # @raise [Google::Apis::AuthorizationError] Authorization is required
494
494
  def upload_edit_deobfuscationfile(package_name, edit_id, apk_version_code, deobfuscation_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
495
495
  if upload_source.nil?
496
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
496
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
497
497
  else
498
498
  command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
499
499
  command.upload_source = upload_source
@@ -538,7 +538,7 @@ module Google
538
538
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
539
539
  # @raise [Google::Apis::AuthorizationError] Authorization is required
540
540
  def get_edit_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
541
- command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
541
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
542
542
  command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
543
543
  command.response_class = Google::Apis::AndroidpublisherV3::AppDetails
544
544
  command.params['packageName'] = package_name unless package_name.nil?
@@ -576,7 +576,7 @@ module Google
576
576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
577
577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
578
578
  def patch_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
579
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
579
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
580
580
  command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
581
581
  command.request_object = app_details_object
582
582
  command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
@@ -616,7 +616,7 @@ module Google
616
616
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
617
617
  # @raise [Google::Apis::AuthorizationError] Authorization is required
618
618
  def update_edit_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
619
- command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
619
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
620
620
  command.request_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
621
621
  command.request_object = app_details_object
622
622
  command.response_representation = Google::Apis::AndroidpublisherV3::AppDetails::Representation
@@ -659,7 +659,7 @@ module Google
659
659
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
660
660
  # @raise [Google::Apis::AuthorizationError] Authorization is required
661
661
  def get_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
662
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
662
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
663
663
  command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
664
664
  command.response_class = Google::Apis::AndroidpublisherV3::ExpansionFile
665
665
  command.params['packageName'] = package_name unless package_name.nil?
@@ -705,7 +705,7 @@ module Google
705
705
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
706
706
  # @raise [Google::Apis::AuthorizationError] Authorization is required
707
707
  def patch_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
708
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
708
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
709
709
  command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
710
710
  command.request_object = expansion_file_object
711
711
  command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
@@ -752,7 +752,7 @@ module Google
752
752
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
753
  # @raise [Google::Apis::AuthorizationError] Authorization is required
754
754
  def update_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
755
- command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
755
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
756
756
  command.request_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
757
757
  command.request_object = expansion_file_object
758
758
  command.response_representation = Google::Apis::AndroidpublisherV3::ExpansionFile::Representation
@@ -802,7 +802,7 @@ module Google
802
802
  # @raise [Google::Apis::AuthorizationError] Authorization is required
803
803
  def upload_edit_expansionfile(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
804
804
  if upload_source.nil?
805
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
805
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
806
806
  else
807
807
  command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
808
808
  command.upload_source = upload_source
@@ -853,7 +853,7 @@ module Google
853
853
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
854
854
  # @raise [Google::Apis::AuthorizationError] Authorization is required
855
855
  def delete_edit_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
856
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
856
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
857
857
  command.params['packageName'] = package_name unless package_name.nil?
858
858
  command.params['editId'] = edit_id unless edit_id.nil?
859
859
  command.params['language'] = language unless language.nil?
@@ -896,7 +896,7 @@ module Google
896
896
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
897
897
  # @raise [Google::Apis::AuthorizationError] Authorization is required
898
898
  def deleteall_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
899
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
899
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
900
900
  command.response_representation = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse::Representation
901
901
  command.response_class = Google::Apis::AndroidpublisherV3::ImagesDeleteAllResponse
902
902
  command.params['packageName'] = package_name unless package_name.nil?
@@ -940,7 +940,7 @@ module Google
940
940
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
941
941
  # @raise [Google::Apis::AuthorizationError] Authorization is required
942
942
  def list_edit_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
943
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
943
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
944
944
  command.response_representation = Google::Apis::AndroidpublisherV3::ImagesListResponse::Representation
945
945
  command.response_class = Google::Apis::AndroidpublisherV3::ImagesListResponse
946
946
  command.params['packageName'] = package_name unless package_name.nil?
@@ -990,7 +990,7 @@ module Google
990
990
  # @raise [Google::Apis::AuthorizationError] Authorization is required
991
991
  def upload_edit_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
992
992
  if upload_source.nil?
993
- command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
993
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
994
994
  else
995
995
  command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
996
996
  command.upload_source = upload_source
@@ -1037,7 +1037,7 @@ module Google
1037
1037
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1038
1038
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1039
1039
  def delete_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1040
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
1040
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
1041
1041
  command.params['packageName'] = package_name unless package_name.nil?
1042
1042
  command.params['editId'] = edit_id unless edit_id.nil?
1043
1043
  command.params['language'] = language unless language.nil?
@@ -1073,7 +1073,7 @@ module Google
1073
1073
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1074
1074
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1075
1075
  def deleteall_edit_listing(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1076
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
1076
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
1077
1077
  command.params['packageName'] = package_name unless package_name.nil?
1078
1078
  command.params['editId'] = edit_id unless edit_id.nil?
1079
1079
  command.query['fields'] = fields unless fields.nil?
@@ -1111,7 +1111,7 @@ module Google
1111
1111
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1112
1112
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1113
1113
  def get_edit_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1114
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
1114
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
1115
1115
  command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
1116
1116
  command.response_class = Google::Apis::AndroidpublisherV3::Listing
1117
1117
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1149,7 +1149,7 @@ module Google
1149
1149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1150
1150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1151
1151
  def list_edit_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1152
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
1152
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
1153
1153
  command.response_representation = Google::Apis::AndroidpublisherV3::ListingsListResponse::Representation
1154
1154
  command.response_class = Google::Apis::AndroidpublisherV3::ListingsListResponse
1155
1155
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1191,7 +1191,7 @@ module Google
1191
1191
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1192
1192
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1193
1193
  def patch_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1194
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
1194
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
1195
1195
  command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
1196
1196
  command.request_object = listing_object
1197
1197
  command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
@@ -1235,7 +1235,7 @@ module Google
1235
1235
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1236
1236
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1237
1237
  def update_edit_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1238
- command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
1238
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
1239
1239
  command.request_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
1240
1240
  command.request_object = listing_object
1241
1241
  command.response_representation = Google::Apis::AndroidpublisherV3::Listing::Representation
@@ -1277,7 +1277,7 @@ module Google
1277
1277
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1278
1278
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1279
1279
  def get_edit_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1280
- command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
1280
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
1281
1281
  command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
1282
1282
  command.response_class = Google::Apis::AndroidpublisherV3::Testers
1283
1283
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1318,7 +1318,7 @@ module Google
1318
1318
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1319
1319
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1320
1320
  def patch_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1321
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
1321
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
1322
1322
  command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
1323
1323
  command.request_object = testers_object
1324
1324
  command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
@@ -1361,7 +1361,7 @@ module Google
1361
1361
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1362
1362
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1363
1363
  def update_edit_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1364
- command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
1364
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
1365
1365
  command.request_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
1366
1366
  command.request_object = testers_object
1367
1367
  command.response_representation = Google::Apis::AndroidpublisherV3::Testers::Representation
@@ -1404,7 +1404,7 @@ module Google
1404
1404
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1405
1405
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1406
1406
  def get_edit_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1407
- command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
1407
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
1408
1408
  command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
1409
1409
  command.response_class = Google::Apis::AndroidpublisherV3::Track
1410
1410
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1442,7 +1442,7 @@ module Google
1442
1442
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1443
1443
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1444
1444
  def list_edit_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1445
- command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
1445
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
1446
1446
  command.response_representation = Google::Apis::AndroidpublisherV3::TracksListResponse::Representation
1447
1447
  command.response_class = Google::Apis::AndroidpublisherV3::TracksListResponse
1448
1448
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1483,7 +1483,7 @@ module Google
1483
1483
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1484
1484
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1485
1485
  def patch_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1486
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
1486
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
1487
1487
  command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
1488
1488
  command.request_object = track_object
1489
1489
  command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
@@ -1526,7 +1526,7 @@ module Google
1526
1526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1527
1527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1528
1528
  def update_edit_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1529
- command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
1529
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
1530
1530
  command.request_representation = Google::Apis::AndroidpublisherV3::Track::Representation
1531
1531
  command.request_object = track_object
1532
1532
  command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
@@ -1566,7 +1566,7 @@ module Google
1566
1566
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1567
1567
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1568
1568
  def delete_inappproduct(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1569
- command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
1569
+ command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
1570
1570
  command.params['packageName'] = package_name unless package_name.nil?
1571
1571
  command.params['sku'] = sku unless sku.nil?
1572
1572
  command.query['fields'] = fields unless fields.nil?
@@ -1599,7 +1599,7 @@ module Google
1599
1599
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1600
1600
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1601
1601
  def get_inappproduct(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1602
- command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
1602
+ command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
1603
1603
  command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
1604
1604
  command.response_class = Google::Apis::AndroidpublisherV3::InAppProduct
1605
1605
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1638,7 +1638,7 @@ module Google
1638
1638
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1639
1639
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1640
1640
  def insert_inappproduct(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1641
- command = make_simple_command(:post, '{packageName}/inappproducts', options)
1641
+ command = make_simple_command(:post, '{packageName}/inappproducts', options)
1642
1642
  command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
1643
1643
  command.request_object = in_app_product_object
1644
1644
  command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@@ -1679,7 +1679,7 @@ module Google
1679
1679
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1680
1680
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1681
1681
  def list_inappproducts(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1682
- command = make_simple_command(:get, '{packageName}/inappproducts', options)
1682
+ command = make_simple_command(:get, '{packageName}/inappproducts', options)
1683
1683
  command.response_representation = Google::Apis::AndroidpublisherV3::InappproductsListResponse::Representation
1684
1684
  command.response_class = Google::Apis::AndroidpublisherV3::InappproductsListResponse
1685
1685
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1723,7 +1723,7 @@ module Google
1723
1723
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1724
1724
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1725
1725
  def patch_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1726
- command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
1726
+ command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
1727
1727
  command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
1728
1728
  command.request_object = in_app_product_object
1729
1729
  command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@@ -1768,7 +1768,7 @@ module Google
1768
1768
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1769
1769
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1770
1770
  def update_inappproduct(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1771
- command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
1771
+ command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
1772
1772
  command.request_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
1773
1773
  command.request_object = in_app_product_object
1774
1774
  command.response_representation = Google::Apis::AndroidpublisherV3::InAppProduct::Representation
@@ -1782,6 +1782,100 @@ module Google
1782
1782
  execute_or_queue_command(command, &block)
1783
1783
  end
1784
1784
 
1785
+ # Uploads an APK to internal app sharing. If you are using the Google API client
1786
+ # libraries, please increase the timeout of the http request before calling this
1787
+ # endpoint (a timeout of 2 minutes is recommended). See: https://developers.
1788
+ # google.com/api-client-library/java/google-api-java-client/errors for an
1789
+ # example in java.
1790
+ # @param [String] package_name
1791
+ # Unique identifier for the Android app; for example, "com.spiffygame".
1792
+ # @param [String] fields
1793
+ # Selector specifying which fields to include in a partial response.
1794
+ # @param [String] quota_user
1795
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1796
+ # characters.
1797
+ # @param [String] user_ip
1798
+ # Deprecated. Please use quotaUser instead.
1799
+ # @param [IO, String] upload_source
1800
+ # IO stream or filename containing content to upload
1801
+ # @param [String] content_type
1802
+ # Content type of the uploaded content.
1803
+ # @param [Google::Apis::RequestOptions] options
1804
+ # Request-specific options
1805
+ #
1806
+ # @yield [result, err] Result & error if block supplied
1807
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object
1808
+ # @yieldparam err [StandardError] error object if request failed
1809
+ #
1810
+ # @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact]
1811
+ #
1812
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1813
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1814
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1815
+ def uploadapk_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1816
+ if upload_source.nil?
1817
+ command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
1818
+ else
1819
+ command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/apk', options)
1820
+ command.upload_source = upload_source
1821
+ command.upload_content_type = content_type
1822
+ end
1823
+ command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation
1824
+ command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
1825
+ command.params['packageName'] = package_name unless package_name.nil?
1826
+ command.query['fields'] = fields unless fields.nil?
1827
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1828
+ command.query['userIp'] = user_ip unless user_ip.nil?
1829
+ execute_or_queue_command(command, &block)
1830
+ end
1831
+
1832
+ # Uploads an app bundle to internal app sharing. If you are using the Google API
1833
+ # client libraries, please increase the timeout of the http request before
1834
+ # calling this endpoint (a timeout of 2 minutes is recommended). See: https://
1835
+ # developers.google.com/api-client-library/java/google-api-java-client/errors
1836
+ # for an example in java.
1837
+ # @param [String] package_name
1838
+ # Unique identifier for the Android app; for example, "com.spiffygame".
1839
+ # @param [String] fields
1840
+ # Selector specifying which fields to include in a partial response.
1841
+ # @param [String] quota_user
1842
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1843
+ # characters.
1844
+ # @param [String] user_ip
1845
+ # Deprecated. Please use quotaUser instead.
1846
+ # @param [IO, String] upload_source
1847
+ # IO stream or filename containing content to upload
1848
+ # @param [String] content_type
1849
+ # Content type of the uploaded content.
1850
+ # @param [Google::Apis::RequestOptions] options
1851
+ # Request-specific options
1852
+ #
1853
+ # @yield [result, err] Result & error if block supplied
1854
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact] parsed result object
1855
+ # @yieldparam err [StandardError] error object if request failed
1856
+ #
1857
+ # @return [Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact]
1858
+ #
1859
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1860
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1861
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1862
+ def uploadbundle_internalappsharingartifact(package_name, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1863
+ if upload_source.nil?
1864
+ command = make_simple_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
1865
+ else
1866
+ command = make_upload_command(:post, 'internalappsharing/{packageName}/artifacts/bundle', options)
1867
+ command.upload_source = upload_source
1868
+ command.upload_content_type = content_type
1869
+ end
1870
+ command.response_representation = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact::Representation
1871
+ command.response_class = Google::Apis::AndroidpublisherV3::InternalAppSharingArtifact
1872
+ command.params['packageName'] = package_name unless package_name.nil?
1873
+ command.query['fields'] = fields unless fields.nil?
1874
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1875
+ command.query['userIp'] = user_ip unless user_ip.nil?
1876
+ execute_or_queue_command(command, &block)
1877
+ end
1878
+
1785
1879
  # Refund a user's subscription or in-app purchase order.
1786
1880
  # @param [String] package_name
1787
1881
  # The package name of the application for which this subscription or in-app item
@@ -1814,7 +1908,7 @@ module Google
1814
1908
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1815
1909
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1816
1910
  def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1817
- command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
1911
+ command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
1818
1912
  command.params['packageName'] = package_name unless package_name.nil?
1819
1913
  command.params['orderId'] = order_id unless order_id.nil?
1820
1914
  command.query['revoke'] = revoke unless revoke.nil?
@@ -1824,6 +1918,47 @@ module Google
1824
1918
  execute_or_queue_command(command, &block)
1825
1919
  end
1826
1920
 
1921
+ # Acknowledges a purchase of an inapp item.
1922
+ # @param [String] package_name
1923
+ # The package name of the application the inapp product was sold in (for example,
1924
+ # 'com.some.thing').
1925
+ # @param [String] product_id
1926
+ # The inapp product SKU (for example, 'com.some.thing.inapp1').
1927
+ # @param [String] token
1928
+ # The token provided to the user's device when the subscription was purchased.
1929
+ # @param [Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest] product_purchases_acknowledge_request_object
1930
+ # @param [String] fields
1931
+ # Selector specifying which fields to include in a partial response.
1932
+ # @param [String] quota_user
1933
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
1934
+ # characters.
1935
+ # @param [String] user_ip
1936
+ # Deprecated. Please use quotaUser instead.
1937
+ # @param [Google::Apis::RequestOptions] options
1938
+ # Request-specific options
1939
+ #
1940
+ # @yield [result, err] Result & error if block supplied
1941
+ # @yieldparam result [NilClass] No result returned for this method
1942
+ # @yieldparam err [StandardError] error object if request failed
1943
+ #
1944
+ # @return [void]
1945
+ #
1946
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1947
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1948
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1949
+ def acknowledge_purchase_product(package_name, product_id, token, product_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1950
+ command = make_simple_command(:post, '{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge', options)
1951
+ command.request_representation = Google::Apis::AndroidpublisherV3::ProductPurchasesAcknowledgeRequest::Representation
1952
+ command.request_object = product_purchases_acknowledge_request_object
1953
+ command.params['packageName'] = package_name unless package_name.nil?
1954
+ command.params['productId'] = product_id unless product_id.nil?
1955
+ command.params['token'] = token unless token.nil?
1956
+ command.query['fields'] = fields unless fields.nil?
1957
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1958
+ command.query['userIp'] = user_ip unless user_ip.nil?
1959
+ execute_or_queue_command(command, &block)
1960
+ end
1961
+
1827
1962
  # Checks the purchase and consumption status of an inapp item.
1828
1963
  # @param [String] package_name
1829
1964
  # The package name of the application the inapp product was sold in (for example,
@@ -1852,7 +1987,7 @@ module Google
1852
1987
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1853
1988
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1854
1989
  def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1855
- command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
1990
+ command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
1856
1991
  command.response_representation = Google::Apis::AndroidpublisherV3::ProductPurchase::Representation
1857
1992
  command.response_class = Google::Apis::AndroidpublisherV3::ProductPurchase
1858
1993
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1864,6 +1999,47 @@ module Google
1864
1999
  execute_or_queue_command(command, &block)
1865
2000
  end
1866
2001
 
2002
+ # Acknowledges a subscription purchase.
2003
+ # @param [String] package_name
2004
+ # The package name of the application for which this subscription was purchased (
2005
+ # for example, 'com.some.thing').
2006
+ # @param [String] subscription_id
2007
+ # The purchased subscription ID (for example, 'monthly001').
2008
+ # @param [String] token
2009
+ # The token provided to the user's device when the subscription was purchased.
2010
+ # @param [Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest] subscription_purchases_acknowledge_request_object
2011
+ # @param [String] fields
2012
+ # Selector specifying which fields to include in a partial response.
2013
+ # @param [String] quota_user
2014
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2015
+ # characters.
2016
+ # @param [String] user_ip
2017
+ # Deprecated. Please use quotaUser instead.
2018
+ # @param [Google::Apis::RequestOptions] options
2019
+ # Request-specific options
2020
+ #
2021
+ # @yield [result, err] Result & error if block supplied
2022
+ # @yieldparam result [NilClass] No result returned for this method
2023
+ # @yieldparam err [StandardError] error object if request failed
2024
+ #
2025
+ # @return [void]
2026
+ #
2027
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2028
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2029
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2030
+ def acknowledge_purchase_subscription(package_name, subscription_id, token, subscription_purchases_acknowledge_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2031
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge', options)
2032
+ command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesAcknowledgeRequest::Representation
2033
+ command.request_object = subscription_purchases_acknowledge_request_object
2034
+ command.params['packageName'] = package_name unless package_name.nil?
2035
+ command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2036
+ command.params['token'] = token unless token.nil?
2037
+ command.query['fields'] = fields unless fields.nil?
2038
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2039
+ command.query['userIp'] = user_ip unless user_ip.nil?
2040
+ execute_or_queue_command(command, &block)
2041
+ end
2042
+
1867
2043
  # Cancels a user's subscription purchase. The subscription remains valid until
1868
2044
  # its expiration time.
1869
2045
  # @param [String] package_name
@@ -1893,7 +2069,7 @@ module Google
1893
2069
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1894
2070
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1895
2071
  def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1896
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
2072
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
1897
2073
  command.params['packageName'] = package_name unless package_name.nil?
1898
2074
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
1899
2075
  command.params['token'] = token unless token.nil?
@@ -1932,7 +2108,7 @@ module Google
1932
2108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1933
2109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1934
2110
  def defer_purchase_subscription(package_name, subscription_id, token, subscription_purchases_defer_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1935
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
2111
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
1936
2112
  command.request_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferRequest::Representation
1937
2113
  command.request_object = subscription_purchases_defer_request_object
1938
2114
  command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchasesDeferResponse::Representation
@@ -1975,7 +2151,7 @@ module Google
1975
2151
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1976
2152
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1977
2153
  def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1978
- command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
2154
+ command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
1979
2155
  command.response_representation = Google::Apis::AndroidpublisherV3::SubscriptionPurchase::Representation
1980
2156
  command.response_class = Google::Apis::AndroidpublisherV3::SubscriptionPurchase
1981
2157
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2016,7 +2192,7 @@ module Google
2016
2192
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2017
2193
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2018
2194
  def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2019
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
2195
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
2020
2196
  command.params['packageName'] = package_name unless package_name.nil?
2021
2197
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2022
2198
  command.params['token'] = token unless token.nil?
@@ -2055,7 +2231,7 @@ module Google
2055
2231
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2056
2232
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2057
2233
  def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2058
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
2234
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
2059
2235
  command.params['packageName'] = package_name unless package_name.nil?
2060
2236
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2061
2237
  command.params['token'] = token unless token.nil?
@@ -2106,7 +2282,7 @@ module Google
2106
2282
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2107
2283
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2108
2284
  def list_purchase_voidedpurchases(package_name, end_time: nil, max_results: nil, start_index: nil, start_time: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2109
- command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
2285
+ command = make_simple_command(:get, '{packageName}/purchases/voidedpurchases', options)
2110
2286
  command.response_representation = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse::Representation
2111
2287
  command.response_class = Google::Apis::AndroidpublisherV3::VoidedPurchasesListResponse
2112
2288
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2147,7 +2323,7 @@ module Google
2147
2323
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2148
2324
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2149
2325
  def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2150
- command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
2326
+ command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
2151
2327
  command.response_representation = Google::Apis::AndroidpublisherV3::Review::Representation
2152
2328
  command.response_class = Google::Apis::AndroidpublisherV3::Review
2153
2329
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2187,7 +2363,7 @@ module Google
2187
2363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2188
2364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2189
2365
  def list_reviews(package_name, max_results: nil, start_index: nil, token: nil, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2190
- command = make_simple_command(:get, '{packageName}/reviews', options)
2366
+ command = make_simple_command(:get, '{packageName}/reviews', options)
2191
2367
  command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsListResponse::Representation
2192
2368
  command.response_class = Google::Apis::AndroidpublisherV3::ReviewsListResponse
2193
2369
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2227,7 +2403,7 @@ module Google
2227
2403
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2228
2404
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2229
2405
  def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2230
- command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
2406
+ command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
2231
2407
  command.request_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyRequest::Representation
2232
2408
  command.request_object = reviews_reply_request_object
2233
2409
  command.response_representation = Google::Apis::AndroidpublisherV3::ReviewsReplyResponse::Representation