google-api-client 0.39.5 → 0.41.1

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