google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20150316'
28
+ REVISION = '20150910'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -643,8 +643,8 @@ module Google
643
643
  # @return [String]
644
644
  attr_accessor :status
645
645
 
646
- # The period of the subscription (if any), i.e. period at which payments must
647
- # happen. Defined as ISO 8601 duration, i.e. "P1M" for 1 month period.
646
+ # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
647
+ # (one week), "P1M" (one month) and "P1Y" (one year).
648
648
  # Corresponds to the JSON property `subscriptionPeriod`
649
649
  # @return [String]
650
650
  attr_accessor :subscription_period
@@ -80,8 +80,7 @@ module Google
80
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
82
  def commit_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
- path = '{packageName}/edits/{editId}:commit'
84
- command = make_simple_command(:post, path, options)
83
+ command = make_simple_command(:post, '{packageName}/edits/{editId}:commit', options)
85
84
  command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
86
85
  command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
87
86
  command.params['packageName'] = package_name unless package_name.nil?
@@ -122,8 +121,7 @@ module Google
122
121
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
122
  # @raise [Google::Apis::AuthorizationError] Authorization is required
124
123
  def delete_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
125
- path = '{packageName}/edits/{editId}'
126
- command = make_simple_command(:delete, path, options)
124
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}', options)
127
125
  command.params['packageName'] = package_name unless package_name.nil?
128
126
  command.params['editId'] = edit_id unless edit_id.nil?
129
127
  command.query['fields'] = fields unless fields.nil?
@@ -161,8 +159,7 @@ module Google
161
159
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
160
  # @raise [Google::Apis::AuthorizationError] Authorization is required
163
161
  def get_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
164
- path = '{packageName}/edits/{editId}'
165
- command = make_simple_command(:get, path, options)
162
+ command = make_simple_command(:get, '{packageName}/edits/{editId}', options)
166
163
  command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
167
164
  command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
168
165
  command.params['packageName'] = package_name unless package_name.nil?
@@ -200,8 +197,7 @@ module Google
200
197
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
201
198
  # @raise [Google::Apis::AuthorizationError] Authorization is required
202
199
  def insert_edit(package_name, app_edit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
203
- path = '{packageName}/edits'
204
- command = make_simple_command(:post, path, options)
200
+ command = make_simple_command(:post, '{packageName}/edits', options)
205
201
  command.request_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
206
202
  command.request_object = app_edit_object
207
203
  command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
@@ -242,8 +238,7 @@ module Google
242
238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
243
239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
244
240
  def validate_edit(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
245
- path = '{packageName}/edits/{editId}:validate'
246
- command = make_simple_command(:post, path, options)
241
+ command = make_simple_command(:post, '{packageName}/edits/{editId}:validate', options)
247
242
  command.response_representation = Google::Apis::AndroidpublisherV2::AppEdit::Representation
248
243
  command.response_class = Google::Apis::AndroidpublisherV2::AppEdit
249
244
  command.params['packageName'] = package_name unless package_name.nil?
@@ -289,8 +284,7 @@ module Google
289
284
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
285
  # @raise [Google::Apis::AuthorizationError] Authorization is required
291
286
  def delete_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
292
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}'
293
- command = make_simple_command(:delete, path, options)
287
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
294
288
  command.params['packageName'] = package_name unless package_name.nil?
295
289
  command.params['editId'] = edit_id unless edit_id.nil?
296
290
  command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
@@ -331,8 +325,7 @@ module Google
331
325
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
326
  # @raise [Google::Apis::AuthorizationError] Authorization is required
333
327
  def delete_all_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
334
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings'
335
- command = make_simple_command(:delete, path, options)
328
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
336
329
  command.params['packageName'] = package_name unless package_name.nil?
337
330
  command.params['editId'] = edit_id unless edit_id.nil?
338
331
  command.params['apkVersionCode'] = apk_version_code unless apk_version_code.nil?
@@ -377,8 +370,7 @@ module Google
377
370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
378
371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
379
372
  def get_apk_listing(package_name, edit_id, apk_version_code, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
380
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}'
381
- command = make_simple_command(:get, path, options)
373
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
382
374
  command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
383
375
  command.response_class = Google::Apis::AndroidpublisherV2::ApkListing
384
376
  command.params['packageName'] = package_name unless package_name.nil?
@@ -421,8 +413,7 @@ module Google
421
413
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
422
414
  # @raise [Google::Apis::AuthorizationError] Authorization is required
423
415
  def list_apk_listings(package_name, edit_id, apk_version_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
424
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings'
425
- command = make_simple_command(:get, path, options)
416
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings', options)
426
417
  command.response_representation = Google::Apis::AndroidpublisherV2::ListApkListingsResponse::Representation
427
418
  command.response_class = Google::Apis::AndroidpublisherV2::ListApkListingsResponse
428
419
  command.params['packageName'] = package_name unless package_name.nil?
@@ -470,8 +461,7 @@ module Google
470
461
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
462
  # @raise [Google::Apis::AuthorizationError] Authorization is required
472
463
  def patch_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
473
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}'
474
- command = make_simple_command(:patch, path, options)
464
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
475
465
  command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
476
466
  command.request_object = apk_listing_object
477
467
  command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
@@ -522,8 +512,7 @@ module Google
522
512
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
523
513
  # @raise [Google::Apis::AuthorizationError] Authorization is required
524
514
  def update_apk_listing(package_name, edit_id, apk_version_code, language, apk_listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
525
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}'
526
- command = make_simple_command(:put, path, options)
515
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}', options)
527
516
  command.request_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
528
517
  command.request_object = apk_listing_object
529
518
  command.response_representation = Google::Apis::AndroidpublisherV2::ApkListing::Representation
@@ -570,8 +559,7 @@ module Google
570
559
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
560
  # @raise [Google::Apis::AuthorizationError] Authorization is required
572
561
  def add_externally_hosted_apk(package_name, edit_id, apks_add_externally_hosted_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
573
- path = '{packageName}/edits/{editId}/apks/externallyHosted'
574
- command = make_simple_command(:post, path, options)
562
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/externallyHosted', options)
575
563
  command.request_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedRequest::Representation
576
564
  command.request_object = apks_add_externally_hosted_request_object
577
565
  command.response_representation = Google::Apis::AndroidpublisherV2::ApksAddExternallyHostedResponse::Representation
@@ -612,8 +600,7 @@ module Google
612
600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
613
601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
614
602
  def list_apks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
615
- path = '{packageName}/edits/{editId}/apks'
616
- command = make_simple_command(:get, path, options)
603
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks', options)
617
604
  command.response_representation = Google::Apis::AndroidpublisherV2::ListApksResponse::Representation
618
605
  command.response_class = Google::Apis::AndroidpublisherV2::ListApksResponse
619
606
  command.params['packageName'] = package_name unless package_name.nil?
@@ -656,11 +643,10 @@ module Google
656
643
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
657
644
  # @raise [Google::Apis::AuthorizationError] Authorization is required
658
645
  def upload_apk(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
659
- path = '{packageName}/edits/{editId}/apks'
660
646
  if upload_source.nil?
661
- command = make_simple_command(:post, path, options)
647
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks', options)
662
648
  else
663
- command = make_upload_command(:post, path, options)
649
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/apks', options)
664
650
  command.upload_source = upload_source
665
651
  command.upload_content_type = content_type
666
652
  end
@@ -703,8 +689,7 @@ module Google
703
689
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
704
690
  # @raise [Google::Apis::AuthorizationError] Authorization is required
705
691
  def get_detail(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
706
- path = '{packageName}/edits/{editId}/details'
707
- command = make_simple_command(:get, path, options)
692
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/details', options)
708
693
  command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
709
694
  command.response_class = Google::Apis::AndroidpublisherV2::AppDetails
710
695
  command.params['packageName'] = package_name unless package_name.nil?
@@ -744,8 +729,7 @@ module Google
744
729
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
730
  # @raise [Google::Apis::AuthorizationError] Authorization is required
746
731
  def patch_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
747
- path = '{packageName}/edits/{editId}/details'
748
- command = make_simple_command(:patch, path, options)
732
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/details', options)
749
733
  command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
750
734
  command.request_object = app_details_object
751
735
  command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
@@ -787,8 +771,7 @@ module Google
787
771
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
788
772
  # @raise [Google::Apis::AuthorizationError] Authorization is required
789
773
  def update_detail(package_name, edit_id, app_details_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
790
- path = '{packageName}/edits/{editId}/details'
791
- command = make_simple_command(:put, path, options)
774
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/details', options)
792
775
  command.request_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
793
776
  command.request_object = app_details_object
794
777
  command.response_representation = Google::Apis::AndroidpublisherV2::AppDetails::Representation
@@ -833,8 +816,7 @@ module Google
833
816
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
834
817
  # @raise [Google::Apis::AuthorizationError] Authorization is required
835
818
  def get_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
836
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}'
837
- command = make_simple_command(:get, path, options)
819
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
838
820
  command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
839
821
  command.response_class = Google::Apis::AndroidpublisherV2::ExpansionFile
840
822
  command.params['packageName'] = package_name unless package_name.nil?
@@ -882,8 +864,7 @@ module Google
882
864
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
865
  # @raise [Google::Apis::AuthorizationError] Authorization is required
884
866
  def patch_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
885
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}'
886
- command = make_simple_command(:patch, path, options)
867
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
887
868
  command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
888
869
  command.request_object = expansion_file_object
889
870
  command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
@@ -932,8 +913,7 @@ module Google
932
913
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
933
914
  # @raise [Google::Apis::AuthorizationError] Authorization is required
934
915
  def update_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, expansion_file_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
935
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}'
936
- command = make_simple_command(:put, path, options)
916
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
937
917
  command.request_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
938
918
  command.request_object = expansion_file_object
939
919
  command.response_representation = Google::Apis::AndroidpublisherV2::ExpansionFile::Representation
@@ -984,11 +964,10 @@ module Google
984
964
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
985
965
  # @raise [Google::Apis::AuthorizationError] Authorization is required
986
966
  def upload_expansion_file(package_name, edit_id, apk_version_code, expansion_file_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
987
- path = '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}'
988
967
  if upload_source.nil?
989
- command = make_simple_command(:post, path, options)
968
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
990
969
  else
991
- command = make_upload_command(:post, path, options)
970
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}', options)
992
971
  command.upload_source = upload_source
993
972
  command.upload_content_type = content_type
994
973
  end
@@ -1039,8 +1018,7 @@ module Google
1039
1018
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1040
1019
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1041
1020
  def delete_image(package_name, edit_id, language, image_type, image_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1042
- path = '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}'
1043
- command = make_simple_command(:delete, path, options)
1021
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}', options)
1044
1022
  command.params['packageName'] = package_name unless package_name.nil?
1045
1023
  command.params['editId'] = edit_id unless edit_id.nil?
1046
1024
  command.params['language'] = language unless language.nil?
@@ -1085,8 +1063,7 @@ module Google
1085
1063
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1086
1064
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1087
1065
  def delete_all_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1088
- path = '{packageName}/edits/{editId}/listings/{language}/{imageType}'
1089
- command = make_simple_command(:delete, path, options)
1066
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1090
1067
  command.response_representation = Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse::Representation
1091
1068
  command.response_class = Google::Apis::AndroidpublisherV2::ImagesDeleteAllResponse
1092
1069
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1132,8 +1109,7 @@ module Google
1132
1109
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1133
1110
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1134
1111
  def list_images(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1135
- path = '{packageName}/edits/{editId}/listings/{language}/{imageType}'
1136
- command = make_simple_command(:get, path, options)
1112
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1137
1113
  command.response_representation = Google::Apis::AndroidpublisherV2::ListImagesResponse::Representation
1138
1114
  command.response_class = Google::Apis::AndroidpublisherV2::ListImagesResponse
1139
1115
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1184,11 +1160,10 @@ module Google
1184
1160
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1185
1161
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1186
1162
  def upload_image(package_name, edit_id, language, image_type, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1187
- path = '{packageName}/edits/{editId}/listings/{language}/{imageType}'
1188
1163
  if upload_source.nil?
1189
- command = make_simple_command(:post, path, options)
1164
+ command = make_simple_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1190
1165
  else
1191
- command = make_upload_command(:post, path, options)
1166
+ command = make_upload_command(:post, '{packageName}/edits/{editId}/listings/{language}/{imageType}', options)
1192
1167
  command.upload_source = upload_source
1193
1168
  command.upload_content_type = content_type
1194
1169
  end
@@ -1235,8 +1210,7 @@ module Google
1235
1210
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1236
1211
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1237
1212
  def delete_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1238
- path = '{packageName}/edits/{editId}/listings/{language}'
1239
- command = make_simple_command(:delete, path, options)
1213
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings/{language}', options)
1240
1214
  command.params['packageName'] = package_name unless package_name.nil?
1241
1215
  command.params['editId'] = edit_id unless edit_id.nil?
1242
1216
  command.params['language'] = language unless language.nil?
@@ -1274,8 +1248,7 @@ module Google
1274
1248
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1275
1249
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1276
1250
  def delete_all_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1277
- path = '{packageName}/edits/{editId}/listings'
1278
- command = make_simple_command(:delete, path, options)
1251
+ command = make_simple_command(:delete, '{packageName}/edits/{editId}/listings', options)
1279
1252
  command.params['packageName'] = package_name unless package_name.nil?
1280
1253
  command.params['editId'] = edit_id unless edit_id.nil?
1281
1254
  command.query['fields'] = fields unless fields.nil?
@@ -1315,8 +1288,7 @@ module Google
1315
1288
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1316
1289
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1317
1290
  def get_listing(package_name, edit_id, language, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1318
- path = '{packageName}/edits/{editId}/listings/{language}'
1319
- command = make_simple_command(:get, path, options)
1291
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings/{language}', options)
1320
1292
  command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1321
1293
  command.response_class = Google::Apis::AndroidpublisherV2::Listing
1322
1294
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1356,8 +1328,7 @@ module Google
1356
1328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1357
1329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1358
1330
  def list_listings(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1359
- path = '{packageName}/edits/{editId}/listings'
1360
- command = make_simple_command(:get, path, options)
1331
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/listings', options)
1361
1332
  command.response_representation = Google::Apis::AndroidpublisherV2::ListListingsResponse::Representation
1362
1333
  command.response_class = Google::Apis::AndroidpublisherV2::ListListingsResponse
1363
1334
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1401,8 +1372,7 @@ module Google
1401
1372
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1402
1373
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1403
1374
  def patch_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1404
- path = '{packageName}/edits/{editId}/listings/{language}'
1405
- command = make_simple_command(:patch, path, options)
1375
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/listings/{language}', options)
1406
1376
  command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1407
1377
  command.request_object = listing_object
1408
1378
  command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
@@ -1448,8 +1418,7 @@ module Google
1448
1418
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1449
1419
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1450
1420
  def update_listing(package_name, edit_id, language, listing_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1451
- path = '{packageName}/edits/{editId}/listings/{language}'
1452
- command = make_simple_command(:put, path, options)
1421
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/listings/{language}', options)
1453
1422
  command.request_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
1454
1423
  command.request_object = listing_object
1455
1424
  command.response_representation = Google::Apis::AndroidpublisherV2::Listing::Representation
@@ -1492,8 +1461,7 @@ module Google
1492
1461
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1493
1462
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1494
1463
  def get_tester(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1495
- path = '{packageName}/edits/{editId}/testers/{track}'
1496
- command = make_simple_command(:get, path, options)
1464
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/testers/{track}', options)
1497
1465
  command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1498
1466
  command.response_class = Google::Apis::AndroidpublisherV2::Testers
1499
1467
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1535,8 +1503,7 @@ module Google
1535
1503
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1536
1504
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1537
1505
  def patch_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1538
- path = '{packageName}/edits/{editId}/testers/{track}'
1539
- command = make_simple_command(:patch, path, options)
1506
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/testers/{track}', options)
1540
1507
  command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1541
1508
  command.request_object = testers_object
1542
1509
  command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
@@ -1580,8 +1547,7 @@ module Google
1580
1547
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1581
1548
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1582
1549
  def update_tester(package_name, edit_id, track, testers_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1583
- path = '{packageName}/edits/{editId}/testers/{track}'
1584
- command = make_simple_command(:put, path, options)
1550
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/testers/{track}', options)
1585
1551
  command.request_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
1586
1552
  command.request_object = testers_object
1587
1553
  command.response_representation = Google::Apis::AndroidpublisherV2::Testers::Representation
@@ -1626,8 +1592,7 @@ module Google
1626
1592
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1627
1593
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1628
1594
  def get_track(package_name, edit_id, track, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1629
- path = '{packageName}/edits/{editId}/tracks/{track}'
1630
- command = make_simple_command(:get, path, options)
1595
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks/{track}', options)
1631
1596
  command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1632
1597
  command.response_class = Google::Apis::AndroidpublisherV2::Track
1633
1598
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1667,8 +1632,7 @@ module Google
1667
1632
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1668
1633
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1669
1634
  def list_tracks(package_name, edit_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1670
- path = '{packageName}/edits/{editId}/tracks'
1671
- command = make_simple_command(:get, path, options)
1635
+ command = make_simple_command(:get, '{packageName}/edits/{editId}/tracks', options)
1672
1636
  command.response_representation = Google::Apis::AndroidpublisherV2::ListTracksResponse::Representation
1673
1637
  command.response_class = Google::Apis::AndroidpublisherV2::ListTracksResponse
1674
1638
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1712,8 +1676,7 @@ module Google
1712
1676
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1713
1677
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1714
1678
  def patch_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1715
- path = '{packageName}/edits/{editId}/tracks/{track}'
1716
- command = make_simple_command(:patch, path, options)
1679
+ command = make_simple_command(:patch, '{packageName}/edits/{editId}/tracks/{track}', options)
1717
1680
  command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1718
1681
  command.request_object = track_object
1719
1682
  command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
@@ -1760,8 +1723,7 @@ module Google
1760
1723
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1761
1724
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1762
1725
  def update_track(package_name, edit_id, track, track_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1763
- path = '{packageName}/edits/{editId}/tracks/{track}'
1764
- command = make_simple_command(:put, path, options)
1726
+ command = make_simple_command(:put, '{packageName}/edits/{editId}/tracks/{track}', options)
1765
1727
  command.request_representation = Google::Apis::AndroidpublisherV2::Track::Representation
1766
1728
  command.request_object = track_object
1767
1729
  command.response_representation = Google::Apis::AndroidpublisherV2::Track::Representation
@@ -1807,8 +1769,7 @@ module Google
1807
1769
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1808
1770
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1809
1771
  def list_entitlements(package_name, max_results: nil, product_id: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1810
- path = '{packageName}/entitlements'
1811
- command = make_simple_command(:get, path, options)
1772
+ command = make_simple_command(:get, '{packageName}/entitlements', options)
1812
1773
  command.response_representation = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse::Representation
1813
1774
  command.response_class = Google::Apis::AndroidpublisherV2::ListEntitlementsResponse
1814
1775
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1846,8 +1807,7 @@ module Google
1846
1807
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1847
1808
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1848
1809
  def batch_update_in_app_products(in_app_products_batch_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1849
- path = 'inappproducts/batch'
1850
- command = make_simple_command(:post, path, options)
1810
+ command = make_simple_command(:post, 'inappproducts/batch', options)
1851
1811
  command.request_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchRequest::Representation
1852
1812
  command.request_object = in_app_products_batch_request_object
1853
1813
  command.response_representation = Google::Apis::AndroidpublisherV2::InAppProductsBatchResponse::Representation
@@ -1886,8 +1846,7 @@ module Google
1886
1846
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1887
1847
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1888
1848
  def delete_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1889
- path = '{packageName}/inappproducts/{sku}'
1890
- command = make_simple_command(:delete, path, options)
1849
+ command = make_simple_command(:delete, '{packageName}/inappproducts/{sku}', options)
1891
1850
  command.params['packageName'] = package_name unless package_name.nil?
1892
1851
  command.params['sku'] = sku unless sku.nil?
1893
1852
  command.query['fields'] = fields unless fields.nil?
@@ -1922,8 +1881,7 @@ module Google
1922
1881
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1923
1882
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1924
1883
  def get_in_app_product(package_name, sku, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1925
- path = '{packageName}/inappproducts/{sku}'
1926
- command = make_simple_command(:get, path, options)
1884
+ command = make_simple_command(:get, '{packageName}/inappproducts/{sku}', options)
1927
1885
  command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1928
1886
  command.response_class = Google::Apis::AndroidpublisherV2::InAppProduct
1929
1887
  command.params['packageName'] = package_name unless package_name.nil?
@@ -1964,8 +1922,7 @@ module Google
1964
1922
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1965
1923
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1966
1924
  def insert_in_app_product(package_name, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1967
- path = '{packageName}/inappproducts'
1968
- command = make_simple_command(:post, path, options)
1925
+ command = make_simple_command(:post, '{packageName}/inappproducts', options)
1969
1926
  command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
1970
1927
  command.request_object = in_app_product_object
1971
1928
  command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@@ -2008,8 +1965,7 @@ module Google
2008
1965
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2009
1966
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2010
1967
  def list_in_app_products(package_name, max_results: nil, start_index: nil, token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2011
- path = '{packageName}/inappproducts'
2012
- command = make_simple_command(:get, path, options)
1968
+ command = make_simple_command(:get, '{packageName}/inappproducts', options)
2013
1969
  command.response_representation = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse::Representation
2014
1970
  command.response_class = Google::Apis::AndroidpublisherV2::ListInAppProductsResponse
2015
1971
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2055,8 +2011,7 @@ module Google
2055
2011
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2056
2012
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2057
2013
  def patch_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2058
- path = '{packageName}/inappproducts/{sku}'
2059
- command = make_simple_command(:patch, path, options)
2014
+ command = make_simple_command(:patch, '{packageName}/inappproducts/{sku}', options)
2060
2015
  command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
2061
2016
  command.request_object = in_app_product_object
2062
2017
  command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@@ -2103,8 +2058,7 @@ module Google
2103
2058
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2104
2059
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2105
2060
  def update_in_app_product(package_name, sku, in_app_product_object = nil, auto_convert_missing_prices: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2106
- path = '{packageName}/inappproducts/{sku}'
2107
- command = make_simple_command(:put, path, options)
2061
+ command = make_simple_command(:put, '{packageName}/inappproducts/{sku}', options)
2108
2062
  command.request_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
2109
2063
  command.request_object = in_app_product_object
2110
2064
  command.response_representation = Google::Apis::AndroidpublisherV2::InAppProduct::Representation
@@ -2148,8 +2102,7 @@ module Google
2148
2102
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2149
2103
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2150
2104
  def get_purchase_product(package_name, product_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2151
- path = '{packageName}/purchases/products/{productId}/tokens/{token}'
2152
- command = make_simple_command(:get, path, options)
2105
+ command = make_simple_command(:get, '{packageName}/purchases/products/{productId}/tokens/{token}', options)
2153
2106
  command.response_representation = Google::Apis::AndroidpublisherV2::ProductPurchase::Representation
2154
2107
  command.response_class = Google::Apis::AndroidpublisherV2::ProductPurchase
2155
2108
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2192,8 +2145,7 @@ module Google
2192
2145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2193
2146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2194
2147
  def cancel_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2195
- path = '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel'
2196
- command = make_simple_command(:post, path, options)
2148
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel', options)
2197
2149
  command.params['packageName'] = package_name unless package_name.nil?
2198
2150
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2199
2151
  command.params['token'] = token unless token.nil?
@@ -2234,8 +2186,7 @@ module Google
2234
2186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2235
2187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2236
2188
  def defer_purchase_subscription(package_name, subscription_id, token, defer_subscription_purchases_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2237
- path = '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer'
2238
- command = make_simple_command(:post, path, options)
2189
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer', options)
2239
2190
  command.request_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesRequest::Representation
2240
2191
  command.request_object = defer_subscription_purchases_request_object
2241
2192
  command.response_representation = Google::Apis::AndroidpublisherV2::DeferSubscriptionPurchasesResponse::Representation
@@ -2280,8 +2231,7 @@ module Google
2280
2231
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2281
2232
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2282
2233
  def get_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2283
- path = '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}'
2284
- command = make_simple_command(:get, path, options)
2234
+ command = make_simple_command(:get, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}', options)
2285
2235
  command.response_representation = Google::Apis::AndroidpublisherV2::SubscriptionPurchase::Representation
2286
2236
  command.response_class = Google::Apis::AndroidpublisherV2::SubscriptionPurchase
2287
2237
  command.params['packageName'] = package_name unless package_name.nil?
@@ -2324,8 +2274,7 @@ module Google
2324
2274
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2325
2275
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2326
2276
  def refund_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2327
- path = '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund'
2328
- command = make_simple_command(:post, path, options)
2277
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund', options)
2329
2278
  command.params['packageName'] = package_name unless package_name.nil?
2330
2279
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2331
2280
  command.params['token'] = token unless token.nil?
@@ -2366,8 +2315,7 @@ module Google
2366
2315
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2367
2316
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2368
2317
  def revoke_purchase_subscription(package_name, subscription_id, token, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2369
- path = '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke'
2370
- command = make_simple_command(:post, path, options)
2318
+ command = make_simple_command(:post, '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke', options)
2371
2319
  command.params['packageName'] = package_name unless package_name.nil?
2372
2320
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
2373
2321
  command.params['token'] = token unless token.nil?