google-api-client 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -51,2045 +51,6 @@ module Google
51
51
  @batch_path = 'batch/androidpublisher/v2'
52
52
  end
53
53
 
54
- # Commits/applies the changes made in this edit back to the app.
55
- # @param [String] package_name
56
- # Unique identifier for the Android app that is being updated; for example, "com.
57
- # spiffygame".
58
- # @param [String] edit_id
59
- # Unique identifier for this edit.
60
- # @param [String] fields
61
- # Selector specifying which fields to include in a partial response.
62
- # @param [String] quota_user
63
- # An opaque string that represents a user for quota purposes. Must not exceed 40
64
- # characters.
65
- # @param [String] user_ip
66
- # Deprecated. Please use quotaUser instead.
67
- # @param [Google::Apis::RequestOptions] options
68
- # Request-specific options
69
- #
70
- # @yield [result, err] Result & error if block supplied
71
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppEdit] parsed result object
72
- # @yieldparam err [StandardError] error object if request failed
73
- #
74
- # @return [Google::Apis::AndroidpublisherV2::AppEdit]
75
- #
76
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
- # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
81
- command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
82
- command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
83
- command.params['packageName'] = package_name unless package_name.nil?
84
- command.params['editId'] = edit_id unless edit_id.nil?
85
- command.query['fields'] = fields unless fields.nil?
86
- command.query['quotaUser'] = quota_user unless quota_user.nil?
87
- command.query['userIp'] = user_ip unless user_ip.nil?
88
- execute_or_queue_command(command, &block)
89
- end
90
-
91
- # Deletes an edit for an app. Creating a new edit will automatically delete any
92
- # of your previous edits so this method need only be called if you want to
93
- # preemptively abandon an edit.
94
- # @param [String] package_name
95
- # Unique identifier for the Android app that is being updated; for example, "com.
96
- # spiffygame".
97
- # @param [String] edit_id
98
- # Unique identifier for this edit.
99
- # @param [String] fields
100
- # Selector specifying which fields to include in a partial response.
101
- # @param [String] quota_user
102
- # An opaque string that represents a user for quota purposes. Must not exceed 40
103
- # characters.
104
- # @param [String] user_ip
105
- # Deprecated. Please use quotaUser instead.
106
- # @param [Google::Apis::RequestOptions] options
107
- # Request-specific options
108
- #
109
- # @yield [result, err] Result & error if block supplied
110
- # @yieldparam result [NilClass] No result returned for this method
111
- # @yieldparam err [StandardError] error object if request failed
112
- #
113
- # @return [void]
114
- #
115
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
- # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
120
- command.params['packageName'] = package_name unless package_name.nil?
121
- command.params['editId'] = edit_id unless edit_id.nil?
122
- command.query['fields'] = fields unless fields.nil?
123
- command.query['quotaUser'] = quota_user unless quota_user.nil?
124
- command.query['userIp'] = user_ip unless user_ip.nil?
125
- execute_or_queue_command(command, &block)
126
- end
127
-
128
- # Returns information about the edit specified. Calls will fail if the edit is
129
- # no long active (e.g. has been deleted, superseded or expired).
130
- # @param [String] package_name
131
- # Unique identifier for the Android app that is being updated; for example, "com.
132
- # spiffygame".
133
- # @param [String] edit_id
134
- # Unique identifier for this edit.
135
- # @param [String] fields
136
- # Selector specifying which fields to include in a partial response.
137
- # @param [String] quota_user
138
- # An opaque string that represents a user for quota purposes. Must not exceed 40
139
- # characters.
140
- # @param [String] user_ip
141
- # Deprecated. Please use quotaUser instead.
142
- # @param [Google::Apis::RequestOptions] options
143
- # Request-specific options
144
- #
145
- # @yield [result, err] Result & error if block supplied
146
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppEdit] parsed result object
147
- # @yieldparam err [StandardError] error object if request failed
148
- #
149
- # @return [Google::Apis::AndroidpublisherV2::AppEdit]
150
- #
151
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
152
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
153
- # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
156
- command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
157
- command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
158
- command.params['packageName'] = package_name unless package_name.nil?
159
- command.params['editId'] = edit_id unless edit_id.nil?
160
- command.query['fields'] = fields unless fields.nil?
161
- command.query['quotaUser'] = quota_user unless quota_user.nil?
162
- command.query['userIp'] = user_ip unless user_ip.nil?
163
- execute_or_queue_command(command, &block)
164
- end
165
-
166
- # Creates a new edit for an app, populated with the app's current state.
167
- # @param [String] package_name
168
- # Unique identifier for the Android app that is being updated; for example, "com.
169
- # spiffygame".
170
- # @param [Google::Apis::AndroidpublisherV2::AppEdit] app_edit_object
171
- # @param [String] fields
172
- # Selector specifying which fields to include in a partial response.
173
- # @param [String] quota_user
174
- # An opaque string that represents a user for quota purposes. Must not exceed 40
175
- # characters.
176
- # @param [String] user_ip
177
- # Deprecated. Please use quotaUser instead.
178
- # @param [Google::Apis::RequestOptions] options
179
- # Request-specific options
180
- #
181
- # @yield [result, err] Result & error if block supplied
182
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppEdit] parsed result object
183
- # @yieldparam err [StandardError] error object if request failed
184
- #
185
- # @return [Google::Apis::AndroidpublisherV2::AppEdit]
186
- #
187
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
188
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
189
- # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
192
- command.request_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
193
- command.request_object = app_edit_object
194
- command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
195
- command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
196
- command.params['packageName'] = package_name unless package_name.nil?
197
- command.query['fields'] = fields unless fields.nil?
198
- command.query['quotaUser'] = quota_user unless quota_user.nil?
199
- command.query['userIp'] = user_ip unless user_ip.nil?
200
- execute_or_queue_command(command, &block)
201
- end
202
-
203
- # Checks that the edit can be successfully committed. The edit's changes are not
204
- # applied to the live app.
205
- # @param [String] package_name
206
- # Unique identifier for the Android app that is being updated; for example, "com.
207
- # spiffygame".
208
- # @param [String] edit_id
209
- # Unique identifier for this edit.
210
- # @param [String] fields
211
- # Selector specifying which fields to include in a partial response.
212
- # @param [String] quota_user
213
- # An opaque string that represents a user for quota purposes. Must not exceed 40
214
- # characters.
215
- # @param [String] user_ip
216
- # Deprecated. Please use quotaUser instead.
217
- # @param [Google::Apis::RequestOptions] options
218
- # Request-specific options
219
- #
220
- # @yield [result, err] Result & error if block supplied
221
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppEdit] parsed result object
222
- # @yieldparam err [StandardError] error object if request failed
223
- #
224
- # @return [Google::Apis::AndroidpublisherV2::AppEdit]
225
- #
226
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
227
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
228
- # @raise [Google::Apis::AuthorizationError] Authorization is required
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)
231
- command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
232
- command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
233
- command.params['packageName'] = package_name unless package_name.nil?
234
- command.params['editId'] = edit_id unless edit_id.nil?
235
- command.query['fields'] = fields unless fields.nil?
236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
237
- command.query['userIp'] = user_ip unless user_ip.nil?
238
- execute_or_queue_command(command, &block)
239
- end
240
-
241
- # Deletes the APK-specific localized listing for a specified APK and language
242
- # code.
243
- # @param [String] package_name
244
- # Unique identifier for the Android app that is being updated; for example, "com.
245
- # spiffygame".
246
- # @param [String] edit_id
247
- # Unique identifier for this edit.
248
- # @param [Fixnum] apk_version_code
249
- # The APK version code whose APK-specific listings should be read or modified.
250
- # @param [String] language
251
- # The language code (a BCP-47 language tag) of the APK-specific localized
252
- # listing to read or modify. For example, to select Austrian German, pass "de-AT"
253
- # .
254
- # @param [String] fields
255
- # Selector specifying which fields to include in a partial response.
256
- # @param [String] quota_user
257
- # An opaque string that represents a user for quota purposes. Must not exceed 40
258
- # characters.
259
- # @param [String] user_ip
260
- # Deprecated. Please use quotaUser instead.
261
- # @param [Google::Apis::RequestOptions] options
262
- # Request-specific options
263
- #
264
- # @yield [result, err] Result & error if block supplied
265
- # @yieldparam result [NilClass] No result returned for this method
266
- # @yieldparam err [StandardError] error object if request failed
267
- #
268
- # @return [void]
269
- #
270
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
271
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
272
- # @raise [Google::Apis::AuthorizationError] Authorization is required
273
- def delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
274
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
275
- command.params['packageName'] = package_name unless package_name.nil?
276
- command.params['editId'] = edit_id unless edit_id.nil?
277
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
278
- command.params['language'] = language unless language.nil?
279
- command.query['fields'] = fields unless fields.nil?
280
- command.query['quotaUser'] = quota_user unless quota_user.nil?
281
- command.query['userIp'] = user_ip unless user_ip.nil?
282
- execute_or_queue_command(command, &block)
283
- end
284
-
285
- # Deletes all the APK-specific localized listings for a specified APK.
286
- # @param [String] package_name
287
- # Unique identifier for the Android app that is being updated; for example, "com.
288
- # spiffygame".
289
- # @param [String] edit_id
290
- # Unique identifier for this edit.
291
- # @param [Fixnum] apk_version_code
292
- # The APK version code whose APK-specific listings should be read or modified.
293
- # @param [String] fields
294
- # Selector specifying which fields to include in a partial response.
295
- # @param [String] quota_user
296
- # An opaque string that represents a user for quota purposes. Must not exceed 40
297
- # characters.
298
- # @param [String] user_ip
299
- # Deprecated. Please use quotaUser instead.
300
- # @param [Google::Apis::RequestOptions] options
301
- # Request-specific options
302
- #
303
- # @yield [result, err] Result & error if block supplied
304
- # @yieldparam result [NilClass] No result returned for this method
305
- # @yieldparam err [StandardError] error object if request failed
306
- #
307
- # @return [void]
308
- #
309
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
- # @raise [Google::Apis::AuthorizationError] Authorization is required
312
- def delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
313
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
314
- command.params['packageName'] = package_name unless package_name.nil?
315
- command.params['editId'] = edit_id unless edit_id.nil?
316
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
317
- command.query['fields'] = fields unless fields.nil?
318
- command.query['quotaUser'] = quota_user unless quota_user.nil?
319
- command.query['userIp'] = user_ip unless user_ip.nil?
320
- execute_or_queue_command(command, &block)
321
- end
322
-
323
- # Fetches the APK-specific localized listing for a specified APK and language
324
- # code.
325
- # @param [String] package_name
326
- # Unique identifier for the Android app that is being updated; for example, "com.
327
- # spiffygame".
328
- # @param [String] edit_id
329
- # Unique identifier for this edit.
330
- # @param [Fixnum] apk_version_code
331
- # The APK version code whose APK-specific listings should be read or modified.
332
- # @param [String] language
333
- # The language code (a BCP-47 language tag) of the APK-specific localized
334
- # listing to read or modify. For example, to select Austrian German, pass "de-AT"
335
- # .
336
- # @param [String] fields
337
- # Selector specifying which fields to include in a partial response.
338
- # @param [String] quota_user
339
- # An opaque string that represents a user for quota purposes. Must not exceed 40
340
- # characters.
341
- # @param [String] user_ip
342
- # Deprecated. Please use quotaUser instead.
343
- # @param [Google::Apis::RequestOptions] options
344
- # Request-specific options
345
- #
346
- # @yield [result, err] Result & error if block supplied
347
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ApkListing] parsed result object
348
- # @yieldparam err [StandardError] error object if request failed
349
- #
350
- # @return [Google::Apis::AndroidpublisherV2::ApkListing]
351
- #
352
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
353
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
354
- # @raise [Google::Apis::AuthorizationError] Authorization is required
355
- def get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
356
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
357
- command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
358
- command.response_class = Google::Apis::AndroidpublisherV2::ApkListing
359
- command.params['packageName'] = package_name unless package_name.nil?
360
- command.params['editId'] = edit_id unless edit_id.nil?
361
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
362
- command.params['language'] = language unless language.nil?
363
- command.query['fields'] = fields unless fields.nil?
364
- command.query['quotaUser'] = quota_user unless quota_user.nil?
365
- command.query['userIp'] = user_ip unless user_ip.nil?
366
- execute_or_queue_command(command, &block)
367
- end
368
-
369
- # Lists all the APK-specific localized listings for a specified APK.
370
- # @param [String] package_name
371
- # Unique identifier for the Android app that is being updated; for example, "com.
372
- # spiffygame".
373
- # @param [String] edit_id
374
- # Unique identifier for this edit.
375
- # @param [Fixnum] apk_version_code
376
- # The APK version code whose APK-specific listings should be read or modified.
377
- # @param [String] fields
378
- # Selector specifying which fields to include in a partial response.
379
- # @param [String] quota_user
380
- # An opaque string that represents a user for quota purposes. Must not exceed 40
381
- # characters.
382
- # @param [String] user_ip
383
- # Deprecated. Please use quotaUser instead.
384
- # @param [Google::Apis::RequestOptions] options
385
- # Request-specific options
386
- #
387
- # @yield [result, err] Result & error if block supplied
388
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListApkListingsResponse] parsed result object
389
- # @yieldparam err [StandardError] error object if request failed
390
- #
391
- # @return [Google::Apis::AndroidpublisherV2::ListApkListingsResponse]
392
- #
393
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
394
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
- # @raise [Google::Apis::AuthorizationError] Authorization is required
396
- def list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
397
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
398
- command.response_representation = Google::Apis::AndroidpublisherV2::ListApkListingsResponse::Representation
399
- command.response_class = Google::Apis::AndroidpublisherV2::ListApkListingsResponse
400
- command.params['packageName'] = package_name unless package_name.nil?
401
- command.params['editId'] = edit_id unless edit_id.nil?
402
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
403
- command.query['fields'] = fields unless fields.nil?
404
- command.query['quotaUser'] = quota_user unless quota_user.nil?
405
- command.query['userIp'] = user_ip unless user_ip.nil?
406
- execute_or_queue_command(command, &block)
407
- end
408
-
409
- # Updates or creates the APK-specific localized listing for a specified APK and
410
- # language code. This method supports patch semantics.
411
- # @param [String] package_name
412
- # Unique identifier for the Android app that is being updated; for example, "com.
413
- # spiffygame".
414
- # @param [String] edit_id
415
- # Unique identifier for this edit.
416
- # @param [Fixnum] apk_version_code
417
- # The APK version code whose APK-specific listings should be read or modified.
418
- # @param [String] language
419
- # The language code (a BCP-47 language tag) of the APK-specific localized
420
- # listing to read or modify. For example, to select Austrian German, pass "de-AT"
421
- # .
422
- # @param [Google::Apis::AndroidpublisherV2::ApkListing] apk_listing_object
423
- # @param [String] fields
424
- # Selector specifying which fields to include in a partial response.
425
- # @param [String] quota_user
426
- # An opaque string that represents a user for quota purposes. Must not exceed 40
427
- # characters.
428
- # @param [String] user_ip
429
- # Deprecated. Please use quotaUser instead.
430
- # @param [Google::Apis::RequestOptions] options
431
- # Request-specific options
432
- #
433
- # @yield [result, err] Result & error if block supplied
434
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ApkListing] parsed result object
435
- # @yieldparam err [StandardError] error object if request failed
436
- #
437
- # @return [Google::Apis::AndroidpublisherV2::ApkListing]
438
- #
439
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
440
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
441
- # @raise [Google::Apis::AuthorizationError] Authorization is required
442
- def patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
443
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
444
- command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
445
- command.request_object = apk_listing_object
446
- command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
447
- command.response_class = Google::Apis::AndroidpublisherV2::ApkListing
448
- command.params['packageName'] = package_name unless package_name.nil?
449
- command.params['editId'] = edit_id unless edit_id.nil?
450
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
451
- command.params['language'] = language unless language.nil?
452
- command.query['fields'] = fields unless fields.nil?
453
- command.query['quotaUser'] = quota_user unless quota_user.nil?
454
- command.query['userIp'] = user_ip unless user_ip.nil?
455
- execute_or_queue_command(command, &block)
456
- end
457
-
458
- # Updates or creates the APK-specific localized listing for a specified APK and
459
- # language code.
460
- # @param [String] package_name
461
- # Unique identifier for the Android app that is being updated; for example, "com.
462
- # spiffygame".
463
- # @param [String] edit_id
464
- # Unique identifier for this edit.
465
- # @param [Fixnum] apk_version_code
466
- # The APK version code whose APK-specific listings should be read or modified.
467
- # @param [String] language
468
- # The language code (a BCP-47 language tag) of the APK-specific localized
469
- # listing to read or modify. For example, to select Austrian German, pass "de-AT"
470
- # .
471
- # @param [Google::Apis::AndroidpublisherV2::ApkListing] apk_listing_object
472
- # @param [String] fields
473
- # Selector specifying which fields to include in a partial response.
474
- # @param [String] quota_user
475
- # An opaque string that represents a user for quota purposes. Must not exceed 40
476
- # characters.
477
- # @param [String] user_ip
478
- # Deprecated. Please use quotaUser instead.
479
- # @param [Google::Apis::RequestOptions] options
480
- # Request-specific options
481
- #
482
- # @yield [result, err] Result & error if block supplied
483
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ApkListing] parsed result object
484
- # @yieldparam err [StandardError] error object if request failed
485
- #
486
- # @return [Google::Apis::AndroidpublisherV2::ApkListing]
487
- #
488
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
489
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
490
- # @raise [Google::Apis::AuthorizationError] Authorization is required
491
- def update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
492
- command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
493
- command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
494
- command.request_object = apk_listing_object
495
- command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
496
- command.response_class = Google::Apis::AndroidpublisherV2::ApkListing
497
- command.params['packageName'] = package_name unless package_name.nil?
498
- command.params['editId'] = edit_id unless edit_id.nil?
499
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
500
- command.params['language'] = language unless language.nil?
501
- command.query['fields'] = fields unless fields.nil?
502
- command.query['quotaUser'] = quota_user unless quota_user.nil?
503
- command.query['userIp'] = user_ip unless user_ip.nil?
504
- execute_or_queue_command(command, &block)
505
- end
506
-
507
- # Creates a new APK without uploading the APK itself to Google Play, instead
508
- # hosting the APK at a specified URL. This function is only available to
509
- # enterprises using Google Play for Work whose application is configured to
510
- # restrict distribution to the enterprise domain.
511
- # @param [String] package_name
512
- # Unique identifier for the Android app that is being updated; for example, "com.
513
- # spiffygame".
514
- # @param [String] edit_id
515
- # Unique identifier for this edit.
516
- # @param [Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest] apks_add_externally_hosted_request_object
517
- # @param [String] fields
518
- # Selector specifying which fields to include in a partial response.
519
- # @param [String] quota_user
520
- # An opaque string that represents a user for quota purposes. Must not exceed 40
521
- # characters.
522
- # @param [String] user_ip
523
- # Deprecated. Please use quotaUser instead.
524
- # @param [Google::Apis::RequestOptions] options
525
- # Request-specific options
526
- #
527
- # @yield [result, err] Result & error if block supplied
528
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse] parsed result object
529
- # @yieldparam err [StandardError] error object if request failed
530
- #
531
- # @return [Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse]
532
- #
533
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
534
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
- # @raise [Google::Apis::AuthorizationError] Authorization is required
536
- def add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
537
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
538
- command.request_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest::Representation
539
- command.request_object = apks_add_externally_hosted_request_object
540
- command.response_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse::Representation
541
- command.response_class = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse
542
- command.params['packageName'] = package_name unless package_name.nil?
543
- command.params['editId'] = edit_id unless edit_id.nil?
544
- command.query['fields'] = fields unless fields.nil?
545
- command.query['quotaUser'] = quota_user unless quota_user.nil?
546
- command.query['userIp'] = user_ip unless user_ip.nil?
547
- execute_or_queue_command(command, &block)
548
- end
549
-
550
- #
551
- # @param [String] package_name
552
- # Unique identifier for the Android app that is being updated; for example, "com.
553
- # spiffygame".
554
- # @param [String] edit_id
555
- # Unique identifier for this edit.
556
- # @param [String] fields
557
- # Selector specifying which fields to include in a partial response.
558
- # @param [String] quota_user
559
- # An opaque string that represents a user for quota purposes. Must not exceed 40
560
- # characters.
561
- # @param [String] user_ip
562
- # Deprecated. Please use quotaUser instead.
563
- # @param [Google::Apis::RequestOptions] options
564
- # Request-specific options
565
- #
566
- # @yield [result, err] Result & error if block supplied
567
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListApksResponse] parsed result object
568
- # @yieldparam err [StandardError] error object if request failed
569
- #
570
- # @return [Google::Apis::AndroidpublisherV2::ListApksResponse]
571
- #
572
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
573
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
574
- # @raise [Google::Apis::AuthorizationError] Authorization is required
575
- def list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
576
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
577
- command.response_representation = Google::Apis::AndroidpublisherV2::ListApksResponse::Representation
578
- command.response_class = Google::Apis::AndroidpublisherV2::ListApksResponse
579
- command.params['packageName'] = package_name unless package_name.nil?
580
- command.params['editId'] = edit_id unless edit_id.nil?
581
- command.query['fields'] = fields unless fields.nil?
582
- command.query['quotaUser'] = quota_user unless quota_user.nil?
583
- command.query['userIp'] = user_ip unless user_ip.nil?
584
- execute_or_queue_command(command, &block)
585
- end
586
-
587
- #
588
- # @param [String] package_name
589
- # Unique identifier for the Android app that is being updated; for example, "com.
590
- # spiffygame".
591
- # @param [String] edit_id
592
- # Unique identifier for this edit.
593
- # @param [String] fields
594
- # Selector specifying which fields to include in a partial response.
595
- # @param [String] quota_user
596
- # An opaque string that represents a user for quota purposes. Must not exceed 40
597
- # characters.
598
- # @param [String] user_ip
599
- # Deprecated. Please use quotaUser instead.
600
- # @param [IO, String] upload_source
601
- # IO stream or filename containing content to upload
602
- # @param [String] content_type
603
- # Content type of the uploaded content.
604
- # @param [Google::Apis::RequestOptions] options
605
- # Request-specific options
606
- #
607
- # @yield [result, err] Result & error if block supplied
608
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Apk] parsed result object
609
- # @yieldparam err [StandardError] error object if request failed
610
- #
611
- # @return [Google::Apis::AndroidpublisherV2::Apk]
612
- #
613
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
614
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
615
- # @raise [Google::Apis::AuthorizationError] Authorization is required
616
- def upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
617
- if upload_source.nil?
618
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
619
- else
620
- command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
621
- command.upload_source = upload_source
622
- command.upload_content_type = content_type
623
- end
624
- command.response_representation = Google::Apis::AndroidpublisherV2::Apk::Representation
625
- command.response_class = Google::Apis::AndroidpublisherV2::Apk
626
- command.params['packageName'] = package_name unless package_name.nil?
627
- command.params['editId'] = edit_id unless edit_id.nil?
628
- command.query['fields'] = fields unless fields.nil?
629
- command.query['quotaUser'] = quota_user unless quota_user.nil?
630
- command.query['userIp'] = user_ip unless user_ip.nil?
631
- execute_or_queue_command(command, &block)
632
- end
633
-
634
- #
635
- # @param [String] package_name
636
- # Unique identifier for the Android app that is being updated; for example, "com.
637
- # spiffygame".
638
- # @param [String] edit_id
639
- # Unique identifier for this edit.
640
- # @param [String] fields
641
- # Selector specifying which fields to include in a partial response.
642
- # @param [String] quota_user
643
- # An opaque string that represents a user for quota purposes. Must not exceed 40
644
- # characters.
645
- # @param [String] user_ip
646
- # Deprecated. Please use quotaUser instead.
647
- # @param [Google::Apis::RequestOptions] options
648
- # Request-specific options
649
- #
650
- # @yield [result, err] Result & error if block supplied
651
- # @yieldparam result [Google::Apis::AndroidpublisherV2::BundlesListResponse] parsed result object
652
- # @yieldparam err [StandardError] error object if request failed
653
- #
654
- # @return [Google::Apis::AndroidpublisherV2::BundlesListResponse]
655
- #
656
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
657
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
658
- # @raise [Google::Apis::AuthorizationError] Authorization is required
659
- def list_edit_bundles(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
660
- command = make_simple_command(:get, '{packageName}/edits/{editId}/bundles', options)
661
- command.response_representation = Google::Apis::AndroidpublisherV2::BundlesListResponse::Representation
662
- command.response_class = Google::Apis::AndroidpublisherV2::BundlesListResponse
663
- command.params['packageName'] = package_name unless package_name.nil?
664
- command.params['editId'] = edit_id unless edit_id.nil?
665
- command.query['fields'] = fields unless fields.nil?
666
- command.query['quotaUser'] = quota_user unless quota_user.nil?
667
- command.query['userIp'] = user_ip unless user_ip.nil?
668
- execute_or_queue_command(command, &block)
669
- end
670
-
671
- # Uploads a new Android App Bundle to this edit. If you are using the Google API
672
- # client libraries, please increase the timeout of the http request before
673
- # calling this endpoint (a timeout of 2 minutes is recommended). See: https://
674
- # developers.google.com/api-client-library/java/google-api-java-client/errors
675
- # for an example in java.
676
- # @param [String] package_name
677
- # Unique identifier for the Android app that is being updated; for example, "com.
678
- # spiffygame".
679
- # @param [String] edit_id
680
- # Unique identifier for this edit.
681
- # @param [Boolean] ack_bundle_installation_warning
682
- # Must be set to true if the bundle installation may trigger a warning on user
683
- # devices (for example, if installation size may be over a threshold, typically
684
- # 100 MB).
685
- # @param [String] fields
686
- # Selector specifying which fields to include in a partial response.
687
- # @param [String] quota_user
688
- # An opaque string that represents a user for quota purposes. Must not exceed 40
689
- # characters.
690
- # @param [String] user_ip
691
- # Deprecated. Please use quotaUser instead.
692
- # @param [IO, String] upload_source
693
- # IO stream or filename containing content to upload
694
- # @param [String] content_type
695
- # Content type of the uploaded content.
696
- # @param [Google::Apis::RequestOptions] options
697
- # Request-specific options
698
- #
699
- # @yield [result, err] Result & error if block supplied
700
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Bundle] parsed result object
701
- # @yieldparam err [StandardError] error object if request failed
702
- #
703
- # @return [Google::Apis::AndroidpublisherV2::Bundle]
704
- #
705
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
706
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
707
- # @raise [Google::Apis::AuthorizationError] Authorization is required
708
- 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)
709
- if upload_source.nil?
710
- command = make_simple_command(:post, '{packageName}/edits/{editId}/bundles', options)
711
- else
712
- command = make_upload_command(:post, '{packageName}/edits/{editId}/bundles', options)
713
- command.upload_source = upload_source
714
- command.upload_content_type = content_type
715
- end
716
- command.response_representation = Google::Apis::AndroidpublisherV2::Bundle::Representation
717
- command.response_class = Google::Apis::AndroidpublisherV2::Bundle
718
- command.params['packageName'] = package_name unless package_name.nil?
719
- command.params['editId'] = edit_id unless edit_id.nil?
720
- command.query['ackBundleInstallationWarning'] = ack_bundle_installation_warning unless ack_bundle_installation_warning.nil?
721
- command.query['fields'] = fields unless fields.nil?
722
- command.query['quotaUser'] = quota_user unless quota_user.nil?
723
- command.query['userIp'] = user_ip unless user_ip.nil?
724
- execute_or_queue_command(command, &block)
725
- end
726
-
727
- # Uploads the deobfuscation file of the specified APK. If a deobfuscation file
728
- # already exists, it will be replaced.
729
- # @param [String] package_name
730
- # Unique identifier of the Android app for which the deobfuscatiuon files are
731
- # being uploaded; for example, "com.spiffygame".
732
- # @param [String] edit_id
733
- # Unique identifier for this edit.
734
- # @param [Fixnum] apk_version_code
735
- # The version code of the APK whose deobfuscation file is being uploaded.
736
- # @param [String] deobfuscation_file_type
737
- # @param [String] fields
738
- # Selector specifying which fields to include in a partial response.
739
- # @param [String] quota_user
740
- # An opaque string that represents a user for quota purposes. Must not exceed 40
741
- # characters.
742
- # @param [String] user_ip
743
- # Deprecated. Please use quotaUser instead.
744
- # @param [IO, String] upload_source
745
- # IO stream or filename containing content to upload
746
- # @param [String] content_type
747
- # Content type of the uploaded content.
748
- # @param [Google::Apis::RequestOptions] options
749
- # Request-specific options
750
- #
751
- # @yield [result, err] Result & error if block supplied
752
- # @yieldparam result [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse] parsed result object
753
- # @yieldparam err [StandardError] error object if request failed
754
- #
755
- # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse]
756
- #
757
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
758
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
759
- # @raise [Google::Apis::AuthorizationError] Authorization is required
760
- 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)
761
- if upload_source.nil?
762
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
763
- else
764
- command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}', options)
765
- command.upload_source = upload_source
766
- command.upload_content_type = content_type
767
- end
768
- command.response_representation = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse::Representation
769
- command.response_class = Google::Apis::AndroidpublisherV2::DeobfuscationFilesUploadResponse
770
- command.params['packageName'] = package_name unless package_name.nil?
771
- command.params['editId'] = edit_id unless edit_id.nil?
772
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
773
- command.params['deobfuscationFileType'] = deobfuscation_file_type unless deobfuscation_file_type.nil?
774
- command.query['fields'] = fields unless fields.nil?
775
- command.query['quotaUser'] = quota_user unless quota_user.nil?
776
- command.query['userIp'] = user_ip unless user_ip.nil?
777
- execute_or_queue_command(command, &block)
778
- end
779
-
780
- # Fetches app details for this edit. This includes the default language and
781
- # developer support contact information.
782
- # @param [String] package_name
783
- # Unique identifier for the Android app that is being updated; for example, "com.
784
- # spiffygame".
785
- # @param [String] edit_id
786
- # Unique identifier for this edit.
787
- # @param [String] fields
788
- # Selector specifying which fields to include in a partial response.
789
- # @param [String] quota_user
790
- # An opaque string that represents a user for quota purposes. Must not exceed 40
791
- # characters.
792
- # @param [String] user_ip
793
- # Deprecated. Please use quotaUser instead.
794
- # @param [Google::Apis::RequestOptions] options
795
- # Request-specific options
796
- #
797
- # @yield [result, err] Result & error if block supplied
798
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppDetails] parsed result object
799
- # @yieldparam err [StandardError] error object if request failed
800
- #
801
- # @return [Google::Apis::AndroidpublisherV2::AppDetails]
802
- #
803
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
804
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
805
- # @raise [Google::Apis::AuthorizationError] Authorization is required
806
- def get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
807
- command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
808
- command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
809
- command.response_class = Google::Apis::AndroidpublisherV2::AppDetails
810
- command.params['packageName'] = package_name unless package_name.nil?
811
- command.params['editId'] = edit_id unless edit_id.nil?
812
- command.query['fields'] = fields unless fields.nil?
813
- command.query['quotaUser'] = quota_user unless quota_user.nil?
814
- command.query['userIp'] = user_ip unless user_ip.nil?
815
- execute_or_queue_command(command, &block)
816
- end
817
-
818
- # Updates app details for this edit. This method supports patch semantics.
819
- # @param [String] package_name
820
- # Unique identifier for the Android app that is being updated; for example, "com.
821
- # spiffygame".
822
- # @param [String] edit_id
823
- # Unique identifier for this edit.
824
- # @param [Google::Apis::AndroidpublisherV2::AppDetails] app_details_object
825
- # @param [String] fields
826
- # Selector specifying which fields to include in a partial response.
827
- # @param [String] quota_user
828
- # An opaque string that represents a user for quota purposes. Must not exceed 40
829
- # characters.
830
- # @param [String] user_ip
831
- # Deprecated. Please use quotaUser instead.
832
- # @param [Google::Apis::RequestOptions] options
833
- # Request-specific options
834
- #
835
- # @yield [result, err] Result & error if block supplied
836
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppDetails] parsed result object
837
- # @yieldparam err [StandardError] error object if request failed
838
- #
839
- # @return [Google::Apis::AndroidpublisherV2::AppDetails]
840
- #
841
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
842
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
843
- # @raise [Google::Apis::AuthorizationError] Authorization is required
844
- def patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
845
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
846
- command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
847
- command.request_object = app_details_object
848
- command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
849
- command.response_class = Google::Apis::AndroidpublisherV2::AppDetails
850
- command.params['packageName'] = package_name unless package_name.nil?
851
- command.params['editId'] = edit_id unless edit_id.nil?
852
- command.query['fields'] = fields unless fields.nil?
853
- command.query['quotaUser'] = quota_user unless quota_user.nil?
854
- command.query['userIp'] = user_ip unless user_ip.nil?
855
- execute_or_queue_command(command, &block)
856
- end
857
-
858
- # Updates app details for this edit.
859
- # @param [String] package_name
860
- # Unique identifier for the Android app that is being updated; for example, "com.
861
- # spiffygame".
862
- # @param [String] edit_id
863
- # Unique identifier for this edit.
864
- # @param [Google::Apis::AndroidpublisherV2::AppDetails] app_details_object
865
- # @param [String] fields
866
- # Selector specifying which fields to include in a partial response.
867
- # @param [String] quota_user
868
- # An opaque string that represents a user for quota purposes. Must not exceed 40
869
- # characters.
870
- # @param [String] user_ip
871
- # Deprecated. Please use quotaUser instead.
872
- # @param [Google::Apis::RequestOptions] options
873
- # Request-specific options
874
- #
875
- # @yield [result, err] Result & error if block supplied
876
- # @yieldparam result [Google::Apis::AndroidpublisherV2::AppDetails] parsed result object
877
- # @yieldparam err [StandardError] error object if request failed
878
- #
879
- # @return [Google::Apis::AndroidpublisherV2::AppDetails]
880
- #
881
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
882
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
- # @raise [Google::Apis::AuthorizationError] Authorization is required
884
- def update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
885
- command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
886
- command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
887
- command.request_object = app_details_object
888
- command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
889
- command.response_class = Google::Apis::AndroidpublisherV2::AppDetails
890
- command.params['packageName'] = package_name unless package_name.nil?
891
- command.params['editId'] = edit_id unless edit_id.nil?
892
- command.query['fields'] = fields unless fields.nil?
893
- command.query['quotaUser'] = quota_user unless quota_user.nil?
894
- command.query['userIp'] = user_ip unless user_ip.nil?
895
- execute_or_queue_command(command, &block)
896
- end
897
-
898
- # Fetches the Expansion File configuration for the APK specified.
899
- # @param [String] package_name
900
- # Unique identifier for the Android app that is being updated; for example, "com.
901
- # spiffygame".
902
- # @param [String] edit_id
903
- # Unique identifier for this edit.
904
- # @param [Fixnum] apk_version_code
905
- # The version code of the APK whose Expansion File configuration is being read
906
- # or modified.
907
- # @param [String] expansion_file_type
908
- # @param [String] fields
909
- # Selector specifying which fields to include in a partial response.
910
- # @param [String] quota_user
911
- # An opaque string that represents a user for quota purposes. Must not exceed 40
912
- # characters.
913
- # @param [String] user_ip
914
- # Deprecated. Please use quotaUser instead.
915
- # @param [Google::Apis::RequestOptions] options
916
- # Request-specific options
917
- #
918
- # @yield [result, err] Result & error if block supplied
919
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ExpansionFile] parsed result object
920
- # @yieldparam err [StandardError] error object if request failed
921
- #
922
- # @return [Google::Apis::AndroidpublisherV2::ExpansionFile]
923
- #
924
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
925
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
926
- # @raise [Google::Apis::AuthorizationError] Authorization is required
927
- def get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
928
- command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
929
- command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
930
- command.response_class = Google::Apis::AndroidpublisherV2::ExpansionFile
931
- command.params['packageName'] = package_name unless package_name.nil?
932
- command.params['editId'] = edit_id unless edit_id.nil?
933
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
934
- command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
935
- command.query['fields'] = fields unless fields.nil?
936
- command.query['quotaUser'] = quota_user unless quota_user.nil?
937
- command.query['userIp'] = user_ip unless user_ip.nil?
938
- execute_or_queue_command(command, &block)
939
- end
940
-
941
- # Updates the APK's Expansion File configuration to reference another APK's
942
- # Expansion Files. To add a new Expansion File use the Upload method. This
943
- # method supports patch semantics.
944
- # @param [String] package_name
945
- # Unique identifier for the Android app that is being updated; for example, "com.
946
- # spiffygame".
947
- # @param [String] edit_id
948
- # Unique identifier for this edit.
949
- # @param [Fixnum] apk_version_code
950
- # The version code of the APK whose Expansion File configuration is being read
951
- # or modified.
952
- # @param [String] expansion_file_type
953
- # @param [Google::Apis::AndroidpublisherV2::ExpansionFile] expansion_file_object
954
- # @param [String] fields
955
- # Selector specifying which fields to include in a partial response.
956
- # @param [String] quota_user
957
- # An opaque string that represents a user for quota purposes. Must not exceed 40
958
- # characters.
959
- # @param [String] user_ip
960
- # Deprecated. Please use quotaUser instead.
961
- # @param [Google::Apis::RequestOptions] options
962
- # Request-specific options
963
- #
964
- # @yield [result, err] Result & error if block supplied
965
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ExpansionFile] parsed result object
966
- # @yieldparam err [StandardError] error object if request failed
967
- #
968
- # @return [Google::Apis::AndroidpublisherV2::ExpansionFile]
969
- #
970
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
971
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
972
- # @raise [Google::Apis::AuthorizationError] Authorization is required
973
- def patch_expansion_file(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)
974
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
975
- command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
976
- command.request_object = expansion_file_object
977
- command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
978
- command.response_class = Google::Apis::AndroidpublisherV2::ExpansionFile
979
- command.params['packageName'] = package_name unless package_name.nil?
980
- command.params['editId'] = edit_id unless edit_id.nil?
981
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
982
- command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
983
- command.query['fields'] = fields unless fields.nil?
984
- command.query['quotaUser'] = quota_user unless quota_user.nil?
985
- command.query['userIp'] = user_ip unless user_ip.nil?
986
- execute_or_queue_command(command, &block)
987
- end
988
-
989
- # Updates the APK's Expansion File configuration to reference another APK's
990
- # Expansion Files. To add a new Expansion File use the Upload method.
991
- # @param [String] package_name
992
- # Unique identifier for the Android app that is being updated; for example, "com.
993
- # spiffygame".
994
- # @param [String] edit_id
995
- # Unique identifier for this edit.
996
- # @param [Fixnum] apk_version_code
997
- # The version code of the APK whose Expansion File configuration is being read
998
- # or modified.
999
- # @param [String] expansion_file_type
1000
- # @param [Google::Apis::AndroidpublisherV2::ExpansionFile] expansion_file_object
1001
- # @param [String] fields
1002
- # Selector specifying which fields to include in a partial response.
1003
- # @param [String] quota_user
1004
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1005
- # characters.
1006
- # @param [String] user_ip
1007
- # Deprecated. Please use quotaUser instead.
1008
- # @param [Google::Apis::RequestOptions] options
1009
- # Request-specific options
1010
- #
1011
- # @yield [result, err] Result & error if block supplied
1012
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ExpansionFile] parsed result object
1013
- # @yieldparam err [StandardError] error object if request failed
1014
- #
1015
- # @return [Google::Apis::AndroidpublisherV2::ExpansionFile]
1016
- #
1017
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1018
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1019
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1020
- def update_expansion_file(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)
1021
- command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
1022
- command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
1023
- command.request_object = expansion_file_object
1024
- command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
1025
- command.response_class = Google::Apis::AndroidpublisherV2::ExpansionFile
1026
- command.params['packageName'] = package_name unless package_name.nil?
1027
- command.params['editId'] = edit_id unless edit_id.nil?
1028
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
1029
- command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
1030
- command.query['fields'] = fields unless fields.nil?
1031
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1032
- command.query['userIp'] = user_ip unless user_ip.nil?
1033
- execute_or_queue_command(command, &block)
1034
- end
1035
-
1036
- # Uploads and attaches a new Expansion File to the APK specified.
1037
- # @param [String] package_name
1038
- # Unique identifier for the Android app that is being updated; for example, "com.
1039
- # spiffygame".
1040
- # @param [String] edit_id
1041
- # Unique identifier for this edit.
1042
- # @param [Fixnum] apk_version_code
1043
- # The version code of the APK whose Expansion File configuration is being read
1044
- # or modified.
1045
- # @param [String] expansion_file_type
1046
- # @param [String] fields
1047
- # Selector specifying which fields to include in a partial response.
1048
- # @param [String] quota_user
1049
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1050
- # characters.
1051
- # @param [String] user_ip
1052
- # Deprecated. Please use quotaUser instead.
1053
- # @param [IO, String] upload_source
1054
- # IO stream or filename containing content to upload
1055
- # @param [String] content_type
1056
- # Content type of the uploaded content.
1057
- # @param [Google::Apis::RequestOptions] options
1058
- # Request-specific options
1059
- #
1060
- # @yield [result, err] Result & error if block supplied
1061
- # @yieldparam result [Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse] parsed result object
1062
- # @yieldparam err [StandardError] error object if request failed
1063
- #
1064
- # @return [Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse]
1065
- #
1066
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1067
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1068
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1069
- def upload_expansion_file(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)
1070
- if upload_source.nil?
1071
- command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
1072
- else
1073
- command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
1074
- command.upload_source = upload_source
1075
- command.upload_content_type = content_type
1076
- end
1077
- command.response_representation = Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse::Representation
1078
- command.response_class = Google::Apis::AndroidpublisherV2::UploadExpansionFilesResponse
1079
- command.params['packageName'] = package_name unless package_name.nil?
1080
- command.params['editId'] = edit_id unless edit_id.nil?
1081
- command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
1082
- command.params['expansionFileType'] = expansion_file_type unless expansion_file_type.nil?
1083
- command.query['fields'] = fields unless fields.nil?
1084
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1085
- command.query['userIp'] = user_ip unless user_ip.nil?
1086
- execute_or_queue_command(command, &block)
1087
- end
1088
-
1089
- # Deletes the image (specified by id) from the edit.
1090
- # @param [String] package_name
1091
- # Unique identifier for the Android app that is being updated; for example, "com.
1092
- # spiffygame".
1093
- # @param [String] edit_id
1094
- # Unique identifier for this edit.
1095
- # @param [String] language
1096
- # The language code (a BCP-47 language tag) of the localized listing whose
1097
- # images are to read or modified. For example, to select Austrian German, pass "
1098
- # de-AT".
1099
- # @param [String] image_type
1100
- # @param [String] image_id
1101
- # Unique identifier an image within the set of images attached to this edit.
1102
- # @param [String] fields
1103
- # Selector specifying which fields to include in a partial response.
1104
- # @param [String] quota_user
1105
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1106
- # characters.
1107
- # @param [String] user_ip
1108
- # Deprecated. Please use quotaUser instead.
1109
- # @param [Google::Apis::RequestOptions] options
1110
- # Request-specific options
1111
- #
1112
- # @yield [result, err] Result & error if block supplied
1113
- # @yieldparam result [NilClass] No result returned for this method
1114
- # @yieldparam err [StandardError] error object if request failed
1115
- #
1116
- # @return [void]
1117
- #
1118
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1119
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1120
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1121
- def delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1122
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
1123
- command.params['packageName'] = package_name unless package_name.nil?
1124
- command.params['editId'] = edit_id unless edit_id.nil?
1125
- command.params['language'] = language unless language.nil?
1126
- command.params['imageType'] = image_type unless image_type.nil?
1127
- command.params['imageId'] = image_id unless image_id.nil?
1128
- command.query['fields'] = fields unless fields.nil?
1129
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1130
- command.query['userIp'] = user_ip unless user_ip.nil?
1131
- execute_or_queue_command(command, &block)
1132
- end
1133
-
1134
- # Deletes all images for the specified language and image type.
1135
- # @param [String] package_name
1136
- # Unique identifier for the Android app that is being updated; for example, "com.
1137
- # spiffygame".
1138
- # @param [String] edit_id
1139
- # Unique identifier for this edit.
1140
- # @param [String] language
1141
- # The language code (a BCP-47 language tag) of the localized listing whose
1142
- # images are to read or modified. For example, to select Austrian German, pass "
1143
- # de-AT".
1144
- # @param [String] image_type
1145
- # @param [String] fields
1146
- # Selector specifying which fields to include in a partial response.
1147
- # @param [String] quota_user
1148
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1149
- # characters.
1150
- # @param [String] user_ip
1151
- # Deprecated. Please use quotaUser instead.
1152
- # @param [Google::Apis::RequestOptions] options
1153
- # Request-specific options
1154
- #
1155
- # @yield [result, err] Result & error if block supplied
1156
- # @yieldparam result [Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse] parsed result object
1157
- # @yieldparam err [StandardError] error object if request failed
1158
- #
1159
- # @return [Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse]
1160
- #
1161
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1162
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1163
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1164
- def delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1165
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1166
- command.response_representation = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse::Representation
1167
- command.response_class = Google::Apis::AndroidpublisherV2::DeleteAllImagesResponse
1168
- command.params['packageName'] = package_name unless package_name.nil?
1169
- command.params['editId'] = edit_id unless edit_id.nil?
1170
- command.params['language'] = language unless language.nil?
1171
- command.params['imageType'] = image_type unless image_type.nil?
1172
- command.query['fields'] = fields unless fields.nil?
1173
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1174
- command.query['userIp'] = user_ip unless user_ip.nil?
1175
- execute_or_queue_command(command, &block)
1176
- end
1177
-
1178
- # Lists all images for the specified language and image type.
1179
- # @param [String] package_name
1180
- # Unique identifier for the Android app that is being updated; for example, "com.
1181
- # spiffygame".
1182
- # @param [String] edit_id
1183
- # Unique identifier for this edit.
1184
- # @param [String] language
1185
- # The language code (a BCP-47 language tag) of the localized listing whose
1186
- # images are to read or modified. For example, to select Austrian German, pass "
1187
- # de-AT".
1188
- # @param [String] image_type
1189
- # @param [String] fields
1190
- # Selector specifying which fields to include in a partial response.
1191
- # @param [String] quota_user
1192
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1193
- # characters.
1194
- # @param [String] user_ip
1195
- # Deprecated. Please use quotaUser instead.
1196
- # @param [Google::Apis::RequestOptions] options
1197
- # Request-specific options
1198
- #
1199
- # @yield [result, err] Result & error if block supplied
1200
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListImagesResponse] parsed result object
1201
- # @yieldparam err [StandardError] error object if request failed
1202
- #
1203
- # @return [Google::Apis::AndroidpublisherV2::ListImagesResponse]
1204
- #
1205
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1206
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1207
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1208
- def list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1209
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1210
- command.response_representation = Google::Apis::AndroidpublisherV2::ListImagesResponse::Representation
1211
- command.response_class = Google::Apis::AndroidpublisherV2::ListImagesResponse
1212
- command.params['packageName'] = package_name unless package_name.nil?
1213
- command.params['editId'] = edit_id unless edit_id.nil?
1214
- command.params['language'] = language unless language.nil?
1215
- command.params['imageType'] = image_type unless image_type.nil?
1216
- command.query['fields'] = fields unless fields.nil?
1217
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1218
- command.query['userIp'] = user_ip unless user_ip.nil?
1219
- execute_or_queue_command(command, &block)
1220
- end
1221
-
1222
- # Uploads a new image and adds it to the list of images for the specified
1223
- # language and image type.
1224
- # @param [String] package_name
1225
- # Unique identifier for the Android app that is being updated; for example, "com.
1226
- # spiffygame".
1227
- # @param [String] edit_id
1228
- # Unique identifier for this edit.
1229
- # @param [String] language
1230
- # The language code (a BCP-47 language tag) of the localized listing whose
1231
- # images are to read or modified. For example, to select Austrian German, pass "
1232
- # de-AT".
1233
- # @param [String] image_type
1234
- # @param [String] fields
1235
- # Selector specifying which fields to include in a partial response.
1236
- # @param [String] quota_user
1237
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1238
- # characters.
1239
- # @param [String] user_ip
1240
- # Deprecated. Please use quotaUser instead.
1241
- # @param [IO, String] upload_source
1242
- # IO stream or filename containing content to upload
1243
- # @param [String] content_type
1244
- # Content type of the uploaded content.
1245
- # @param [Google::Apis::RequestOptions] options
1246
- # Request-specific options
1247
- #
1248
- # @yield [result, err] Result & error if block supplied
1249
- # @yieldparam result [Google::Apis::AndroidpublisherV2::UploadImagesResponse] parsed result object
1250
- # @yieldparam err [StandardError] error object if request failed
1251
- #
1252
- # @return [Google::Apis::AndroidpublisherV2::UploadImagesResponse]
1253
- #
1254
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1255
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1256
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1257
- def upload_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)
1258
- if upload_source.nil?
1259
- command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1260
- else
1261
- command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1262
- command.upload_source = upload_source
1263
- command.upload_content_type = content_type
1264
- end
1265
- command.response_representation = Google::Apis::AndroidpublisherV2::UploadImagesResponse::Representation
1266
- command.response_class = Google::Apis::AndroidpublisherV2::UploadImagesResponse
1267
- command.params['packageName'] = package_name unless package_name.nil?
1268
- command.params['editId'] = edit_id unless edit_id.nil?
1269
- command.params['language'] = language unless language.nil?
1270
- command.params['imageType'] = image_type unless image_type.nil?
1271
- command.query['fields'] = fields unless fields.nil?
1272
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1273
- command.query['userIp'] = user_ip unless user_ip.nil?
1274
- execute_or_queue_command(command, &block)
1275
- end
1276
-
1277
- # Deletes the specified localized store listing from an edit.
1278
- # @param [String] package_name
1279
- # Unique identifier for the Android app that is being updated; for example, "com.
1280
- # spiffygame".
1281
- # @param [String] edit_id
1282
- # Unique identifier for this edit.
1283
- # @param [String] language
1284
- # The language code (a BCP-47 language tag) of the localized listing to read or
1285
- # modify. For example, to select Austrian German, pass "de-AT".
1286
- # @param [String] fields
1287
- # Selector specifying which fields to include in a partial response.
1288
- # @param [String] quota_user
1289
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1290
- # characters.
1291
- # @param [String] user_ip
1292
- # Deprecated. Please use quotaUser instead.
1293
- # @param [Google::Apis::RequestOptions] options
1294
- # Request-specific options
1295
- #
1296
- # @yield [result, err] Result & error if block supplied
1297
- # @yieldparam result [NilClass] No result returned for this method
1298
- # @yieldparam err [StandardError] error object if request failed
1299
- #
1300
- # @return [void]
1301
- #
1302
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1303
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1304
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1305
- def delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1306
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
1307
- command.params['packageName'] = package_name unless package_name.nil?
1308
- command.params['editId'] = edit_id unless edit_id.nil?
1309
- command.params['language'] = language unless language.nil?
1310
- command.query['fields'] = fields unless fields.nil?
1311
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1312
- command.query['userIp'] = user_ip unless user_ip.nil?
1313
- execute_or_queue_command(command, &block)
1314
- end
1315
-
1316
- # Deletes all localized listings from an edit.
1317
- # @param [String] package_name
1318
- # Unique identifier for the Android app that is being updated; for example, "com.
1319
- # spiffygame".
1320
- # @param [String] edit_id
1321
- # Unique identifier for this edit.
1322
- # @param [String] fields
1323
- # Selector specifying which fields to include in a partial response.
1324
- # @param [String] quota_user
1325
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1326
- # characters.
1327
- # @param [String] user_ip
1328
- # Deprecated. Please use quotaUser instead.
1329
- # @param [Google::Apis::RequestOptions] options
1330
- # Request-specific options
1331
- #
1332
- # @yield [result, err] Result & error if block supplied
1333
- # @yieldparam result [NilClass] No result returned for this method
1334
- # @yieldparam err [StandardError] error object if request failed
1335
- #
1336
- # @return [void]
1337
- #
1338
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1339
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1340
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1341
- def delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1342
- command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
1343
- command.params['packageName'] = package_name unless package_name.nil?
1344
- command.params['editId'] = edit_id unless edit_id.nil?
1345
- command.query['fields'] = fields unless fields.nil?
1346
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1347
- command.query['userIp'] = user_ip unless user_ip.nil?
1348
- execute_or_queue_command(command, &block)
1349
- end
1350
-
1351
- # Fetches information about a localized store listing.
1352
- # @param [String] package_name
1353
- # Unique identifier for the Android app that is being updated; for example, "com.
1354
- # spiffygame".
1355
- # @param [String] edit_id
1356
- # Unique identifier for this edit.
1357
- # @param [String] language
1358
- # The language code (a BCP-47 language tag) of the localized listing to read or
1359
- # modify. For example, to select Austrian German, pass "de-AT".
1360
- # @param [String] fields
1361
- # Selector specifying which fields to include in a partial response.
1362
- # @param [String] quota_user
1363
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1364
- # characters.
1365
- # @param [String] user_ip
1366
- # Deprecated. Please use quotaUser instead.
1367
- # @param [Google::Apis::RequestOptions] options
1368
- # Request-specific options
1369
- #
1370
- # @yield [result, err] Result & error if block supplied
1371
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Listing] parsed result object
1372
- # @yieldparam err [StandardError] error object if request failed
1373
- #
1374
- # @return [Google::Apis::AndroidpublisherV2::Listing]
1375
- #
1376
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1377
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1378
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1379
- def get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1380
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
1381
- command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1382
- command.response_class = Google::Apis::AndroidpublisherV2::Listing
1383
- command.params['packageName'] = package_name unless package_name.nil?
1384
- command.params['editId'] = edit_id unless edit_id.nil?
1385
- command.params['language'] = language unless language.nil?
1386
- command.query['fields'] = fields unless fields.nil?
1387
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1388
- command.query['userIp'] = user_ip unless user_ip.nil?
1389
- execute_or_queue_command(command, &block)
1390
- end
1391
-
1392
- # Returns all of the localized store listings attached to this edit.
1393
- # @param [String] package_name
1394
- # Unique identifier for the Android app that is being updated; for example, "com.
1395
- # spiffygame".
1396
- # @param [String] edit_id
1397
- # Unique identifier for this edit.
1398
- # @param [String] fields
1399
- # Selector specifying which fields to include in a partial response.
1400
- # @param [String] quota_user
1401
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1402
- # characters.
1403
- # @param [String] user_ip
1404
- # Deprecated. Please use quotaUser instead.
1405
- # @param [Google::Apis::RequestOptions] options
1406
- # Request-specific options
1407
- #
1408
- # @yield [result, err] Result & error if block supplied
1409
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListListingsResponse] parsed result object
1410
- # @yieldparam err [StandardError] error object if request failed
1411
- #
1412
- # @return [Google::Apis::AndroidpublisherV2::ListListingsResponse]
1413
- #
1414
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1415
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1416
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1417
- def list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1418
- command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
1419
- command.response_representation = Google::Apis::AndroidpublisherV2::ListListingsResponse::Representation
1420
- command.response_class = Google::Apis::AndroidpublisherV2::ListListingsResponse
1421
- command.params['packageName'] = package_name unless package_name.nil?
1422
- command.params['editId'] = edit_id unless edit_id.nil?
1423
- command.query['fields'] = fields unless fields.nil?
1424
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1425
- command.query['userIp'] = user_ip unless user_ip.nil?
1426
- execute_or_queue_command(command, &block)
1427
- end
1428
-
1429
- # Creates or updates a localized store listing. This method supports patch
1430
- # semantics.
1431
- # @param [String] package_name
1432
- # Unique identifier for the Android app that is being updated; for example, "com.
1433
- # spiffygame".
1434
- # @param [String] edit_id
1435
- # Unique identifier for this edit.
1436
- # @param [String] language
1437
- # The language code (a BCP-47 language tag) of the localized listing to read or
1438
- # modify. For example, to select Austrian German, pass "de-AT".
1439
- # @param [Google::Apis::AndroidpublisherV2::Listing] listing_object
1440
- # @param [String] fields
1441
- # Selector specifying which fields to include in a partial response.
1442
- # @param [String] quota_user
1443
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1444
- # characters.
1445
- # @param [String] user_ip
1446
- # Deprecated. Please use quotaUser instead.
1447
- # @param [Google::Apis::RequestOptions] options
1448
- # Request-specific options
1449
- #
1450
- # @yield [result, err] Result & error if block supplied
1451
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Listing] parsed result object
1452
- # @yieldparam err [StandardError] error object if request failed
1453
- #
1454
- # @return [Google::Apis::AndroidpublisherV2::Listing]
1455
- #
1456
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1457
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1458
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1459
- def patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1460
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
1461
- command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1462
- command.request_object = listing_object
1463
- command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1464
- command.response_class = Google::Apis::AndroidpublisherV2::Listing
1465
- command.params['packageName'] = package_name unless package_name.nil?
1466
- command.params['editId'] = edit_id unless edit_id.nil?
1467
- command.params['language'] = language unless language.nil?
1468
- command.query['fields'] = fields unless fields.nil?
1469
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1470
- command.query['userIp'] = user_ip unless user_ip.nil?
1471
- execute_or_queue_command(command, &block)
1472
- end
1473
-
1474
- # Creates or updates a localized store listing.
1475
- # @param [String] package_name
1476
- # Unique identifier for the Android app that is being updated; for example, "com.
1477
- # spiffygame".
1478
- # @param [String] edit_id
1479
- # Unique identifier for this edit.
1480
- # @param [String] language
1481
- # The language code (a BCP-47 language tag) of the localized listing to read or
1482
- # modify. For example, to select Austrian German, pass "de-AT".
1483
- # @param [Google::Apis::AndroidpublisherV2::Listing] listing_object
1484
- # @param [String] fields
1485
- # Selector specifying which fields to include in a partial response.
1486
- # @param [String] quota_user
1487
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1488
- # characters.
1489
- # @param [String] user_ip
1490
- # Deprecated. Please use quotaUser instead.
1491
- # @param [Google::Apis::RequestOptions] options
1492
- # Request-specific options
1493
- #
1494
- # @yield [result, err] Result & error if block supplied
1495
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Listing] parsed result object
1496
- # @yieldparam err [StandardError] error object if request failed
1497
- #
1498
- # @return [Google::Apis::AndroidpublisherV2::Listing]
1499
- #
1500
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1501
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1502
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1503
- def update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1504
- command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
1505
- command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1506
- command.request_object = listing_object
1507
- command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1508
- command.response_class = Google::Apis::AndroidpublisherV2::Listing
1509
- command.params['packageName'] = package_name unless package_name.nil?
1510
- command.params['editId'] = edit_id unless edit_id.nil?
1511
- command.params['language'] = language unless language.nil?
1512
- command.query['fields'] = fields unless fields.nil?
1513
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1514
- command.query['userIp'] = user_ip unless user_ip.nil?
1515
- execute_or_queue_command(command, &block)
1516
- end
1517
-
1518
- #
1519
- # @param [String] package_name
1520
- # Unique identifier for the Android app that is being updated; for example, "com.
1521
- # spiffygame".
1522
- # @param [String] edit_id
1523
- # Unique identifier for this edit.
1524
- # @param [String] track
1525
- # The track to read or modify.
1526
- # @param [String] fields
1527
- # Selector specifying which fields to include in a partial response.
1528
- # @param [String] quota_user
1529
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1530
- # characters.
1531
- # @param [String] user_ip
1532
- # Deprecated. Please use quotaUser instead.
1533
- # @param [Google::Apis::RequestOptions] options
1534
- # Request-specific options
1535
- #
1536
- # @yield [result, err] Result & error if block supplied
1537
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Testers] parsed result object
1538
- # @yieldparam err [StandardError] error object if request failed
1539
- #
1540
- # @return [Google::Apis::AndroidpublisherV2::Testers]
1541
- #
1542
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1543
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1544
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1545
- def get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1546
- command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
1547
- command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1548
- command.response_class = Google::Apis::AndroidpublisherV2::Testers
1549
- command.params['packageName'] = package_name unless package_name.nil?
1550
- command.params['editId'] = edit_id unless edit_id.nil?
1551
- command.params['track'] = track unless track.nil?
1552
- command.query['fields'] = fields unless fields.nil?
1553
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1554
- command.query['userIp'] = user_ip unless user_ip.nil?
1555
- execute_or_queue_command(command, &block)
1556
- end
1557
-
1558
- #
1559
- # @param [String] package_name
1560
- # Unique identifier for the Android app that is being updated; for example, "com.
1561
- # spiffygame".
1562
- # @param [String] edit_id
1563
- # Unique identifier for this edit.
1564
- # @param [String] track
1565
- # The track to read or modify.
1566
- # @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
1567
- # @param [String] fields
1568
- # Selector specifying which fields to include in a partial response.
1569
- # @param [String] quota_user
1570
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1571
- # characters.
1572
- # @param [String] user_ip
1573
- # Deprecated. Please use quotaUser instead.
1574
- # @param [Google::Apis::RequestOptions] options
1575
- # Request-specific options
1576
- #
1577
- # @yield [result, err] Result & error if block supplied
1578
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Testers] parsed result object
1579
- # @yieldparam err [StandardError] error object if request failed
1580
- #
1581
- # @return [Google::Apis::AndroidpublisherV2::Testers]
1582
- #
1583
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1584
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1585
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1586
- def patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1587
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
1588
- command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1589
- command.request_object = testers_object
1590
- command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1591
- command.response_class = Google::Apis::AndroidpublisherV2::Testers
1592
- command.params['packageName'] = package_name unless package_name.nil?
1593
- command.params['editId'] = edit_id unless edit_id.nil?
1594
- command.params['track'] = track unless track.nil?
1595
- command.query['fields'] = fields unless fields.nil?
1596
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1597
- command.query['userIp'] = user_ip unless user_ip.nil?
1598
- execute_or_queue_command(command, &block)
1599
- end
1600
-
1601
- #
1602
- # @param [String] package_name
1603
- # Unique identifier for the Android app that is being updated; for example, "com.
1604
- # spiffygame".
1605
- # @param [String] edit_id
1606
- # Unique identifier for this edit.
1607
- # @param [String] track
1608
- # The track to read or modify.
1609
- # @param [Google::Apis::AndroidpublisherV2::Testers] testers_object
1610
- # @param [String] fields
1611
- # Selector specifying which fields to include in a partial response.
1612
- # @param [String] quota_user
1613
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1614
- # characters.
1615
- # @param [String] user_ip
1616
- # Deprecated. Please use quotaUser instead.
1617
- # @param [Google::Apis::RequestOptions] options
1618
- # Request-specific options
1619
- #
1620
- # @yield [result, err] Result & error if block supplied
1621
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Testers] parsed result object
1622
- # @yieldparam err [StandardError] error object if request failed
1623
- #
1624
- # @return [Google::Apis::AndroidpublisherV2::Testers]
1625
- #
1626
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1627
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1628
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1629
- def update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1630
- command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
1631
- command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1632
- command.request_object = testers_object
1633
- command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1634
- command.response_class = Google::Apis::AndroidpublisherV2::Testers
1635
- command.params['packageName'] = package_name unless package_name.nil?
1636
- command.params['editId'] = edit_id unless edit_id.nil?
1637
- command.params['track'] = track unless track.nil?
1638
- command.query['fields'] = fields unless fields.nil?
1639
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1640
- command.query['userIp'] = user_ip unless user_ip.nil?
1641
- execute_or_queue_command(command, &block)
1642
- end
1643
-
1644
- # Fetches the track configuration for the specified track type. Includes the APK
1645
- # version codes that are in this track.
1646
- # @param [String] package_name
1647
- # Unique identifier for the Android app that is being updated; for example, "com.
1648
- # spiffygame".
1649
- # @param [String] edit_id
1650
- # Unique identifier for this edit.
1651
- # @param [String] track
1652
- # The track to read or modify.
1653
- # @param [String] fields
1654
- # Selector specifying which fields to include in a partial response.
1655
- # @param [String] quota_user
1656
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1657
- # characters.
1658
- # @param [String] user_ip
1659
- # Deprecated. Please use quotaUser instead.
1660
- # @param [Google::Apis::RequestOptions] options
1661
- # Request-specific options
1662
- #
1663
- # @yield [result, err] Result & error if block supplied
1664
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Track] parsed result object
1665
- # @yieldparam err [StandardError] error object if request failed
1666
- #
1667
- # @return [Google::Apis::AndroidpublisherV2::Track]
1668
- #
1669
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1670
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1671
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1672
- def get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1673
- command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
1674
- command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1675
- command.response_class = Google::Apis::AndroidpublisherV2::Track
1676
- command.params['packageName'] = package_name unless package_name.nil?
1677
- command.params['editId'] = edit_id unless edit_id.nil?
1678
- command.params['track'] = track unless track.nil?
1679
- command.query['fields'] = fields unless fields.nil?
1680
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1681
- command.query['userIp'] = user_ip unless user_ip.nil?
1682
- execute_or_queue_command(command, &block)
1683
- end
1684
-
1685
- # Lists all the track configurations for this edit.
1686
- # @param [String] package_name
1687
- # Unique identifier for the Android app that is being updated; for example, "com.
1688
- # spiffygame".
1689
- # @param [String] edit_id
1690
- # Unique identifier for this edit.
1691
- # @param [String] fields
1692
- # Selector specifying which fields to include in a partial response.
1693
- # @param [String] quota_user
1694
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1695
- # characters.
1696
- # @param [String] user_ip
1697
- # Deprecated. Please use quotaUser instead.
1698
- # @param [Google::Apis::RequestOptions] options
1699
- # Request-specific options
1700
- #
1701
- # @yield [result, err] Result & error if block supplied
1702
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListTracksResponse] parsed result object
1703
- # @yieldparam err [StandardError] error object if request failed
1704
- #
1705
- # @return [Google::Apis::AndroidpublisherV2::ListTracksResponse]
1706
- #
1707
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1708
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1709
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1710
- def list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1711
- command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
1712
- command.response_representation = Google::Apis::AndroidpublisherV2::ListTracksResponse::Representation
1713
- command.response_class = Google::Apis::AndroidpublisherV2::ListTracksResponse
1714
- command.params['packageName'] = package_name unless package_name.nil?
1715
- command.params['editId'] = edit_id unless edit_id.nil?
1716
- command.query['fields'] = fields unless fields.nil?
1717
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1718
- command.query['userIp'] = user_ip unless user_ip.nil?
1719
- execute_or_queue_command(command, &block)
1720
- end
1721
-
1722
- # Updates the track configuration for the specified track type. This method
1723
- # supports patch semantics.
1724
- # @param [String] package_name
1725
- # Unique identifier for the Android app that is being updated; for example, "com.
1726
- # spiffygame".
1727
- # @param [String] edit_id
1728
- # Unique identifier for this edit.
1729
- # @param [String] track
1730
- # The track to read or modify.
1731
- # @param [Google::Apis::AndroidpublisherV2::Track] track_object
1732
- # @param [String] fields
1733
- # Selector specifying which fields to include in a partial response.
1734
- # @param [String] quota_user
1735
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1736
- # characters.
1737
- # @param [String] user_ip
1738
- # Deprecated. Please use quotaUser instead.
1739
- # @param [Google::Apis::RequestOptions] options
1740
- # Request-specific options
1741
- #
1742
- # @yield [result, err] Result & error if block supplied
1743
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Track] parsed result object
1744
- # @yieldparam err [StandardError] error object if request failed
1745
- #
1746
- # @return [Google::Apis::AndroidpublisherV2::Track]
1747
- #
1748
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1749
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1750
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1751
- def patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1752
- command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
1753
- command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1754
- command.request_object = track_object
1755
- command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1756
- command.response_class = Google::Apis::AndroidpublisherV2::Track
1757
- command.params['packageName'] = package_name unless package_name.nil?
1758
- command.params['editId'] = edit_id unless edit_id.nil?
1759
- command.params['track'] = track unless track.nil?
1760
- command.query['fields'] = fields unless fields.nil?
1761
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1762
- command.query['userIp'] = user_ip unless user_ip.nil?
1763
- execute_or_queue_command(command, &block)
1764
- end
1765
-
1766
- # Updates the track configuration for the specified track type.
1767
- # @param [String] package_name
1768
- # Unique identifier for the Android app that is being updated; for example, "com.
1769
- # spiffygame".
1770
- # @param [String] edit_id
1771
- # Unique identifier for this edit.
1772
- # @param [String] track
1773
- # The track to read or modify.
1774
- # @param [Google::Apis::AndroidpublisherV2::Track] track_object
1775
- # @param [String] fields
1776
- # Selector specifying which fields to include in a partial response.
1777
- # @param [String] quota_user
1778
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1779
- # characters.
1780
- # @param [String] user_ip
1781
- # Deprecated. Please use quotaUser instead.
1782
- # @param [Google::Apis::RequestOptions] options
1783
- # Request-specific options
1784
- #
1785
- # @yield [result, err] Result & error if block supplied
1786
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Track] parsed result object
1787
- # @yieldparam err [StandardError] error object if request failed
1788
- #
1789
- # @return [Google::Apis::AndroidpublisherV2::Track]
1790
- #
1791
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1792
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1793
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1794
- def update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1795
- command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
1796
- command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1797
- command.request_object = track_object
1798
- command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1799
- command.response_class = Google::Apis::AndroidpublisherV2::Track
1800
- command.params['packageName'] = package_name unless package_name.nil?
1801
- command.params['editId'] = edit_id unless edit_id.nil?
1802
- command.params['track'] = track unless track.nil?
1803
- command.query['fields'] = fields unless fields.nil?
1804
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1805
- command.query['userIp'] = user_ip unless user_ip.nil?
1806
- execute_or_queue_command(command, &block)
1807
- end
1808
-
1809
- # Delete an in-app product for an app.
1810
- # @param [String] package_name
1811
- # Unique identifier for the Android app with the in-app product; for example, "
1812
- # com.spiffygame".
1813
- # @param [String] sku
1814
- # Unique identifier for the in-app product.
1815
- # @param [String] fields
1816
- # Selector specifying which fields to include in a partial response.
1817
- # @param [String] quota_user
1818
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1819
- # characters.
1820
- # @param [String] user_ip
1821
- # Deprecated. Please use quotaUser instead.
1822
- # @param [Google::Apis::RequestOptions] options
1823
- # Request-specific options
1824
- #
1825
- # @yield [result, err] Result & error if block supplied
1826
- # @yieldparam result [NilClass] No result returned for this method
1827
- # @yieldparam err [StandardError] error object if request failed
1828
- #
1829
- # @return [void]
1830
- #
1831
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1832
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1833
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1834
- def delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1835
- command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
1836
- command.params['packageName'] = package_name unless package_name.nil?
1837
- command.params['sku'] = sku unless sku.nil?
1838
- command.query['fields'] = fields unless fields.nil?
1839
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1840
- command.query['userIp'] = user_ip unless user_ip.nil?
1841
- execute_or_queue_command(command, &block)
1842
- end
1843
-
1844
- # Returns information about the in-app product specified.
1845
- # @param [String] package_name
1846
- # @param [String] sku
1847
- # Unique identifier for the in-app product.
1848
- # @param [String] fields
1849
- # Selector specifying which fields to include in a partial response.
1850
- # @param [String] quota_user
1851
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1852
- # characters.
1853
- # @param [String] user_ip
1854
- # Deprecated. Please use quotaUser instead.
1855
- # @param [Google::Apis::RequestOptions] options
1856
- # Request-specific options
1857
- #
1858
- # @yield [result, err] Result & error if block supplied
1859
- # @yieldparam result [Google::Apis::AndroidpublisherV2::InAppProduct] parsed result object
1860
- # @yieldparam err [StandardError] error object if request failed
1861
- #
1862
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1863
- #
1864
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1865
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1866
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1867
- def get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1868
- command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
1869
- command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1870
- command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
1871
- command.params['packageName'] = package_name unless package_name.nil?
1872
- command.params['sku'] = sku unless sku.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
-
1879
- # Creates a new in-app product for an app.
1880
- # @param [String] package_name
1881
- # Unique identifier for the Android app; for example, "com.spiffygame".
1882
- # @param [Google::Apis::AndroidpublisherV2::InAppProduct] in_app_product_object
1883
- # @param [Boolean] auto_convert_missing_prices
1884
- # If true the prices for all regions targeted by the parent app that don't have
1885
- # a price specified for this in-app product will be auto converted to the target
1886
- # currency based on the default price. Defaults to false.
1887
- # @param [String] fields
1888
- # Selector specifying which fields to include in a partial response.
1889
- # @param [String] quota_user
1890
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1891
- # characters.
1892
- # @param [String] user_ip
1893
- # Deprecated. Please use quotaUser instead.
1894
- # @param [Google::Apis::RequestOptions] options
1895
- # Request-specific options
1896
- #
1897
- # @yield [result, err] Result & error if block supplied
1898
- # @yieldparam result [Google::Apis::AndroidpublisherV2::InAppProduct] parsed result object
1899
- # @yieldparam err [StandardError] error object if request failed
1900
- #
1901
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1902
- #
1903
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1904
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1905
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1906
- def insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1907
- command = make_simple_command(:post, '{packageName}/inappproducts', options)
1908
- command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1909
- command.request_object = in_app_product_object
1910
- command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1911
- command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
1912
- command.params['packageName'] = package_name unless package_name.nil?
1913
- command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
1914
- command.query['fields'] = fields unless fields.nil?
1915
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1916
- command.query['userIp'] = user_ip unless user_ip.nil?
1917
- execute_or_queue_command(command, &block)
1918
- end
1919
-
1920
- # List all the in-app products for an Android app, both subscriptions and
1921
- # managed in-app products..
1922
- # @param [String] package_name
1923
- # Unique identifier for the Android app with in-app products; for example, "com.
1924
- # spiffygame".
1925
- # @param [Fixnum] max_results
1926
- # @param [Fixnum] start_index
1927
- # @param [String] token
1928
- # @param [String] fields
1929
- # Selector specifying which fields to include in a partial response.
1930
- # @param [String] quota_user
1931
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1932
- # characters.
1933
- # @param [String] user_ip
1934
- # Deprecated. Please use quotaUser instead.
1935
- # @param [Google::Apis::RequestOptions] options
1936
- # Request-specific options
1937
- #
1938
- # @yield [result, err] Result & error if block supplied
1939
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ListInAppProductsResponse] parsed result object
1940
- # @yieldparam err [StandardError] error object if request failed
1941
- #
1942
- # @return [Google::Apis::AndroidpublisherV2::ListInAppProductsResponse]
1943
- #
1944
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1945
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1946
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1947
- def list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1948
- command = make_simple_command(:get, '{packageName}/inappproducts', options)
1949
- command.response_representation = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse::Representation
1950
- command.response_class = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse
1951
- command.params['packageName'] = package_name unless package_name.nil?
1952
- command.query['maxResults'] = max_results unless max_results.nil?
1953
- command.query['startIndex'] = start_index unless start_index.nil?
1954
- command.query['token'] = token unless token.nil?
1955
- command.query['fields'] = fields unless fields.nil?
1956
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1957
- command.query['userIp'] = user_ip unless user_ip.nil?
1958
- execute_or_queue_command(command, &block)
1959
- end
1960
-
1961
- # Updates the details of an in-app product. This method supports patch semantics.
1962
- # @param [String] package_name
1963
- # Unique identifier for the Android app with the in-app product; for example, "
1964
- # com.spiffygame".
1965
- # @param [String] sku
1966
- # Unique identifier for the in-app product.
1967
- # @param [Google::Apis::AndroidpublisherV2::InAppProduct] in_app_product_object
1968
- # @param [Boolean] auto_convert_missing_prices
1969
- # If true the prices for all regions targeted by the parent app that don't have
1970
- # a price specified for this in-app product will be auto converted to the target
1971
- # currency based on the default price. Defaults to false.
1972
- # @param [String] fields
1973
- # Selector specifying which fields to include in a partial response.
1974
- # @param [String] quota_user
1975
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1976
- # characters.
1977
- # @param [String] user_ip
1978
- # Deprecated. Please use quotaUser instead.
1979
- # @param [Google::Apis::RequestOptions] options
1980
- # Request-specific options
1981
- #
1982
- # @yield [result, err] Result & error if block supplied
1983
- # @yieldparam result [Google::Apis::AndroidpublisherV2::InAppProduct] parsed result object
1984
- # @yieldparam err [StandardError] error object if request failed
1985
- #
1986
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
1987
- #
1988
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1989
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1990
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1991
- def patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1992
- command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
1993
- command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1994
- command.request_object = in_app_product_object
1995
- command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1996
- command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
1997
- command.params['packageName'] = package_name unless package_name.nil?
1998
- command.params['sku'] = sku unless sku.nil?
1999
- command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
2000
- command.query['fields'] = fields unless fields.nil?
2001
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2002
- command.query['userIp'] = user_ip unless user_ip.nil?
2003
- execute_or_queue_command(command, &block)
2004
- end
2005
-
2006
- # Updates the details of an in-app product.
2007
- # @param [String] package_name
2008
- # Unique identifier for the Android app with the in-app product; for example, "
2009
- # com.spiffygame".
2010
- # @param [String] sku
2011
- # Unique identifier for the in-app product.
2012
- # @param [Google::Apis::AndroidpublisherV2::InAppProduct] in_app_product_object
2013
- # @param [Boolean] auto_convert_missing_prices
2014
- # If true the prices for all regions targeted by the parent app that don't have
2015
- # a price specified for this in-app product will be auto converted to the target
2016
- # currency based on the default price. Defaults to false.
2017
- # @param [String] fields
2018
- # Selector specifying which fields to include in a partial response.
2019
- # @param [String] quota_user
2020
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2021
- # characters.
2022
- # @param [String] user_ip
2023
- # Deprecated. Please use quotaUser instead.
2024
- # @param [Google::Apis::RequestOptions] options
2025
- # Request-specific options
2026
- #
2027
- # @yield [result, err] Result & error if block supplied
2028
- # @yieldparam result [Google::Apis::AndroidpublisherV2::InAppProduct] parsed result object
2029
- # @yieldparam err [StandardError] error object if request failed
2030
- #
2031
- # @return [Google::Apis::AndroidpublisherV2::InAppProduct]
2032
- #
2033
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2034
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2035
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2036
- def update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2037
- command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
2038
- command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
2039
- command.request_object = in_app_product_object
2040
- command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
2041
- command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
2042
- command.params['packageName'] = package_name unless package_name.nil?
2043
- command.params['sku'] = sku unless sku.nil?
2044
- command.query['autoConvertMissingPrices'] = auto_convert_missing_prices unless auto_convert_missing_prices.nil?
2045
- command.query['fields'] = fields unless fields.nil?
2046
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2047
- command.query['userIp'] = user_ip unless user_ip.nil?
2048
- execute_or_queue_command(command, &block)
2049
- end
2050
-
2051
- # Refund a user's subscription or in-app purchase order.
2052
- # @param [String] package_name
2053
- # The package name of the application for which this subscription or in-app item
2054
- # was purchased (for example, 'com.some.thing').
2055
- # @param [String] order_id
2056
- # The order ID provided to the user when the subscription or in-app order was
2057
- # purchased.
2058
- # @param [Boolean] revoke
2059
- # Whether to revoke the purchased item. If set to true, access to the
2060
- # subscription or in-app item will be terminated immediately. If the item is a
2061
- # recurring subscription, all future payments will also be terminated. Consumed
2062
- # in-app items need to be handled by developer's app. (optional)
2063
- # @param [String] fields
2064
- # Selector specifying which fields to include in a partial response.
2065
- # @param [String] quota_user
2066
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2067
- # characters.
2068
- # @param [String] user_ip
2069
- # Deprecated. Please use quotaUser instead.
2070
- # @param [Google::Apis::RequestOptions] options
2071
- # Request-specific options
2072
- #
2073
- # @yield [result, err] Result & error if block supplied
2074
- # @yieldparam result [NilClass] No result returned for this method
2075
- # @yieldparam err [StandardError] error object if request failed
2076
- #
2077
- # @return [void]
2078
- #
2079
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2080
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2081
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2082
- def refund_order(package_name, order_id, revoke: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2083
- command = make_simple_command(:post, '{packageName}/orders/{orderId}:refund', options)
2084
- command.params['packageName'] = package_name unless package_name.nil?
2085
- command.params['orderId'] = order_id unless order_id.nil?
2086
- command.query['revoke'] = revoke unless revoke.nil?
2087
- command.query['fields'] = fields unless fields.nil?
2088
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2089
- command.query['userIp'] = user_ip unless user_ip.nil?
2090
- execute_or_queue_command(command, &block)
2091
- end
2092
-
2093
54
  # Checks the purchase and consumption status of an inapp item.
2094
55
  # @param [String] package_name
2095
56
  # The package name of the application the inapp product was sold in (for example,
@@ -2130,207 +91,6 @@ module Google
2130
91
  execute_or_queue_command(command, &block)
2131
92
  end
2132
93
 
2133
- # Cancels a user's subscription purchase. The subscription remains valid until
2134
- # its expiration time.
2135
- # @param [String] package_name
2136
- # The package name of the application for which this subscription was purchased (
2137
- # for example, 'com.some.thing').
2138
- # @param [String] subscription_id
2139
- # The purchased subscription ID (for example, 'monthly001').
2140
- # @param [String] token
2141
- # The token provided to the user's device when the subscription was purchased.
2142
- # @param [String] fields
2143
- # Selector specifying which fields to include in a partial response.
2144
- # @param [String] quota_user
2145
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2146
- # characters.
2147
- # @param [String] user_ip
2148
- # Deprecated. Please use quotaUser instead.
2149
- # @param [Google::Apis::RequestOptions] options
2150
- # Request-specific options
2151
- #
2152
- # @yield [result, err] Result & error if block supplied
2153
- # @yieldparam result [NilClass] No result returned for this method
2154
- # @yieldparam err [StandardError] error object if request failed
2155
- #
2156
- # @return [void]
2157
- #
2158
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2159
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2160
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2161
- def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2162
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
2163
- command.params['packageName'] = package_name unless package_name.nil?
2164
- command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2165
- command.params['token'] = token unless token.nil?
2166
- command.query['fields'] = fields unless fields.nil?
2167
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2168
- command.query['userIp'] = user_ip unless user_ip.nil?
2169
- execute_or_queue_command(command, &block)
2170
- end
2171
-
2172
- # Defers a user's subscription purchase until a specified future expiration time.
2173
- # @param [String] package_name
2174
- # The package name of the application for which this subscription was purchased (
2175
- # for example, 'com.some.thing').
2176
- # @param [String] subscription_id
2177
- # The purchased subscription ID (for example, 'monthly001').
2178
- # @param [String] token
2179
- # The token provided to the user's device when the subscription was purchased.
2180
- # @param [Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesRequest] defer_subscription_purchases_request_object
2181
- # @param [String] fields
2182
- # Selector specifying which fields to include in a partial response.
2183
- # @param [String] quota_user
2184
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2185
- # characters.
2186
- # @param [String] user_ip
2187
- # Deprecated. Please use quotaUser instead.
2188
- # @param [Google::Apis::RequestOptions] options
2189
- # Request-specific options
2190
- #
2191
- # @yield [result, err] Result & error if block supplied
2192
- # @yieldparam result [Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse] parsed result object
2193
- # @yieldparam err [StandardError] error object if request failed
2194
- #
2195
- # @return [Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse]
2196
- #
2197
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2198
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2199
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2200
- def defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2201
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
2202
- command.request_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesRequest::Representation
2203
- command.request_object = defer_subscription_purchases_request_object
2204
- command.response_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse::Representation
2205
- command.response_class = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse
2206
- command.params['packageName'] = package_name unless package_name.nil?
2207
- command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2208
- command.params['token'] = token unless token.nil?
2209
- command.query['fields'] = fields unless fields.nil?
2210
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2211
- command.query['userIp'] = user_ip unless user_ip.nil?
2212
- execute_or_queue_command(command, &block)
2213
- end
2214
-
2215
- # Checks whether a user's subscription purchase is valid and returns its expiry
2216
- # time.
2217
- # @param [String] package_name
2218
- # The package name of the application for which this subscription was purchased (
2219
- # for example, 'com.some.thing').
2220
- # @param [String] subscription_id
2221
- # The purchased subscription ID (for example, 'monthly001').
2222
- # @param [String] token
2223
- # The token provided to the user's device when the subscription was purchased.
2224
- # @param [String] fields
2225
- # Selector specifying which fields to include in a partial response.
2226
- # @param [String] quota_user
2227
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2228
- # characters.
2229
- # @param [String] user_ip
2230
- # Deprecated. Please use quotaUser instead.
2231
- # @param [Google::Apis::RequestOptions] options
2232
- # Request-specific options
2233
- #
2234
- # @yield [result, err] Result & error if block supplied
2235
- # @yieldparam result [Google::Apis::AndroidpublisherV2::SubscriptionPurchase] parsed result object
2236
- # @yieldparam err [StandardError] error object if request failed
2237
- #
2238
- # @return [Google::Apis::AndroidpublisherV2::SubscriptionPurchase]
2239
- #
2240
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2241
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2242
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2243
- def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2244
- command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
2245
- command.response_representation = Google::Apis::AndroidpublisherV2::SubscriptionPurchase::Representation
2246
- command.response_class = Google::Apis::AndroidpublisherV2::SubscriptionPurchase
2247
- command.params['packageName'] = package_name unless package_name.nil?
2248
- command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2249
- command.params['token'] = token unless token.nil?
2250
- command.query['fields'] = fields unless fields.nil?
2251
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2252
- command.query['userIp'] = user_ip unless user_ip.nil?
2253
- execute_or_queue_command(command, &block)
2254
- end
2255
-
2256
- # Refunds a user's subscription purchase, but the subscription remains valid
2257
- # until its expiration time and it will continue to recur.
2258
- # @param [String] package_name
2259
- # The package name of the application for which this subscription was purchased (
2260
- # for example, 'com.some.thing').
2261
- # @param [String] subscription_id
2262
- # The purchased subscription ID (for example, 'monthly001').
2263
- # @param [String] token
2264
- # The token provided to the user's device when the subscription was purchased.
2265
- # @param [String] fields
2266
- # Selector specifying which fields to include in a partial response.
2267
- # @param [String] quota_user
2268
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2269
- # characters.
2270
- # @param [String] user_ip
2271
- # Deprecated. Please use quotaUser instead.
2272
- # @param [Google::Apis::RequestOptions] options
2273
- # Request-specific options
2274
- #
2275
- # @yield [result, err] Result & error if block supplied
2276
- # @yieldparam result [NilClass] No result returned for this method
2277
- # @yieldparam err [StandardError] error object if request failed
2278
- #
2279
- # @return [void]
2280
- #
2281
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2282
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2283
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2284
- def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2285
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
2286
- command.params['packageName'] = package_name unless package_name.nil?
2287
- command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2288
- command.params['token'] = token unless token.nil?
2289
- command.query['fields'] = fields unless fields.nil?
2290
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2291
- command.query['userIp'] = user_ip unless user_ip.nil?
2292
- execute_or_queue_command(command, &block)
2293
- end
2294
-
2295
- # Refunds and immediately revokes a user's subscription purchase. Access to the
2296
- # subscription will be terminated immediately and it will stop recurring.
2297
- # @param [String] package_name
2298
- # The package name of the application for which this subscription was purchased (
2299
- # for example, 'com.some.thing').
2300
- # @param [String] subscription_id
2301
- # The purchased subscription ID (for example, 'monthly001').
2302
- # @param [String] token
2303
- # The token provided to the user's device when the subscription was purchased.
2304
- # @param [String] fields
2305
- # Selector specifying which fields to include in a partial response.
2306
- # @param [String] quota_user
2307
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2308
- # characters.
2309
- # @param [String] user_ip
2310
- # Deprecated. Please use quotaUser instead.
2311
- # @param [Google::Apis::RequestOptions] options
2312
- # Request-specific options
2313
- #
2314
- # @yield [result, err] Result & error if block supplied
2315
- # @yieldparam result [NilClass] No result returned for this method
2316
- # @yieldparam err [StandardError] error object if request failed
2317
- #
2318
- # @return [void]
2319
- #
2320
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2321
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2322
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2323
- def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2324
- command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
2325
- command.params['packageName'] = package_name unless package_name.nil?
2326
- command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2327
- command.params['token'] = token unless token.nil?
2328
- command.query['fields'] = fields unless fields.nil?
2329
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2330
- command.query['userIp'] = user_ip unless user_ip.nil?
2331
- execute_or_queue_command(command, &block)
2332
- end
2333
-
2334
94
  # Lists the purchases that were canceled, refunded or charged-back.
2335
95
  # @param [String] package_name
2336
96
  # The package name of the application for which voided purchases need to be
@@ -2386,125 +146,6 @@ module Google
2386
146
  command.query['userIp'] = user_ip unless user_ip.nil?
2387
147
  execute_or_queue_command(command, &block)
2388
148
  end
2389
-
2390
- # Returns a single review.
2391
- # @param [String] package_name
2392
- # Unique identifier for the Android app for which we want reviews; for example, "
2393
- # com.spiffygame".
2394
- # @param [String] review_id
2395
- # @param [String] translation_language
2396
- # @param [String] fields
2397
- # Selector specifying which fields to include in a partial response.
2398
- # @param [String] quota_user
2399
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2400
- # characters.
2401
- # @param [String] user_ip
2402
- # Deprecated. Please use quotaUser instead.
2403
- # @param [Google::Apis::RequestOptions] options
2404
- # Request-specific options
2405
- #
2406
- # @yield [result, err] Result & error if block supplied
2407
- # @yieldparam result [Google::Apis::AndroidpublisherV2::Review] parsed result object
2408
- # @yieldparam err [StandardError] error object if request failed
2409
- #
2410
- # @return [Google::Apis::AndroidpublisherV2::Review]
2411
- #
2412
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2413
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2414
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2415
- def get_review(package_name, review_id, translation_language: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2416
- command = make_simple_command(:get, '{packageName}/reviews/{reviewId}', options)
2417
- command.response_representation = Google::Apis::AndroidpublisherV2::Review::Representation
2418
- command.response_class = Google::Apis::AndroidpublisherV2::Review
2419
- command.params['packageName'] = package_name unless package_name.nil?
2420
- command.params['reviewId'] = review_id unless review_id.nil?
2421
- command.query['translationLanguage'] = translation_language unless translation_language.nil?
2422
- command.query['fields'] = fields unless fields.nil?
2423
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2424
- command.query['userIp'] = user_ip unless user_ip.nil?
2425
- execute_or_queue_command(command, &block)
2426
- end
2427
-
2428
- # Returns a list of reviews. Only reviews from last week will be returned.
2429
- # @param [String] package_name
2430
- # Unique identifier for the Android app for which we want reviews; for example, "
2431
- # com.spiffygame".
2432
- # @param [Fixnum] max_results
2433
- # @param [Fixnum] start_index
2434
- # @param [String] token
2435
- # @param [String] translation_language
2436
- # @param [String] fields
2437
- # Selector specifying which fields to include in a partial response.
2438
- # @param [String] quota_user
2439
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2440
- # characters.
2441
- # @param [String] user_ip
2442
- # Deprecated. Please use quotaUser instead.
2443
- # @param [Google::Apis::RequestOptions] options
2444
- # Request-specific options
2445
- #
2446
- # @yield [result, err] Result & error if block supplied
2447
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ReviewsListResponse] parsed result object
2448
- # @yieldparam err [StandardError] error object if request failed
2449
- #
2450
- # @return [Google::Apis::AndroidpublisherV2::ReviewsListResponse]
2451
- #
2452
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2453
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2454
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2455
- 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)
2456
- command = make_simple_command(:get, '{packageName}/reviews', options)
2457
- command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsListResponse::Representation
2458
- command.response_class = Google::Apis::AndroidpublisherV2::ReviewsListResponse
2459
- command.params['packageName'] = package_name unless package_name.nil?
2460
- command.query['maxResults'] = max_results unless max_results.nil?
2461
- command.query['startIndex'] = start_index unless start_index.nil?
2462
- command.query['token'] = token unless token.nil?
2463
- command.query['translationLanguage'] = translation_language unless translation_language.nil?
2464
- command.query['fields'] = fields unless fields.nil?
2465
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2466
- command.query['userIp'] = user_ip unless user_ip.nil?
2467
- execute_or_queue_command(command, &block)
2468
- end
2469
-
2470
- # Reply to a single review, or update an existing reply.
2471
- # @param [String] package_name
2472
- # Unique identifier for the Android app for which we want reviews; for example, "
2473
- # com.spiffygame".
2474
- # @param [String] review_id
2475
- # @param [Google::Apis::AndroidpublisherV2::ReviewsReplyRequest] reviews_reply_request_object
2476
- # @param [String] fields
2477
- # Selector specifying which fields to include in a partial response.
2478
- # @param [String] quota_user
2479
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2480
- # characters.
2481
- # @param [String] user_ip
2482
- # Deprecated. Please use quotaUser instead.
2483
- # @param [Google::Apis::RequestOptions] options
2484
- # Request-specific options
2485
- #
2486
- # @yield [result, err] Result & error if block supplied
2487
- # @yieldparam result [Google::Apis::AndroidpublisherV2::ReviewsReplyResponse] parsed result object
2488
- # @yieldparam err [StandardError] error object if request failed
2489
- #
2490
- # @return [Google::Apis::AndroidpublisherV2::ReviewsReplyResponse]
2491
- #
2492
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2493
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2494
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2495
- def reply_review(package_name, review_id, reviews_reply_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2496
- command = make_simple_command(:post, '{packageName}/reviews/{reviewId}:reply', options)
2497
- command.request_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyRequest::Representation
2498
- command.request_object = reviews_reply_request_object
2499
- command.response_representation = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse::Representation
2500
- command.response_class = Google::Apis::AndroidpublisherV2::ReviewsReplyResponse
2501
- command.params['packageName'] = package_name unless package_name.nil?
2502
- command.params['reviewId'] = review_id unless review_id.nil?
2503
- command.query['fields'] = fields unless fields.nil?
2504
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2505
- command.query['userIp'] = user_ip unless user_ip.nil?
2506
- execute_or_queue_command(command, &block)
2507
- end
2508
149
 
2509
150
  protected
2510
151