google-api-client 0.29.1 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  9. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  10. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  36. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  40. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  41. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  48. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  49. data/generated/google/apis/appengine_v1.rb +1 -1
  50. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  51. data/generated/google/apis/appengine_v1/service.rb +38 -38
  52. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  53. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  55. data/generated/google/apis/appengine_v1beta.rb +1 -1
  56. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  57. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +934 -0
  65. data/generated/google/apis/bigquery_v2/representations.rb +367 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/service.rb +37 -37
  76. data/generated/google/apis/chat_v1/service.rb +8 -8
  77. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  78. data/generated/google/apis/classroom_v1.rb +1 -1
  79. data/generated/google/apis/classroom_v1/service.rb +57 -56
  80. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  81. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  82. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  86. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  87. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  92. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  98. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  103. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  104. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  108. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  109. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  117. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  120. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  121. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  124. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  125. data/generated/google/apis/cloudshell_v1.rb +1 -1
  126. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  127. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  128. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  130. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  131. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  133. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  134. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  136. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  137. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  138. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  139. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  140. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  141. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  142. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  143. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  144. data/generated/google/apis/composer_v1/service.rb +9 -9
  145. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  146. data/generated/google/apis/compute_alpha.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  148. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  149. data/generated/google/apis/compute_alpha/service.rb +625 -623
  150. data/generated/google/apis/compute_beta.rb +1 -1
  151. data/generated/google/apis/compute_beta/service.rb +504 -503
  152. data/generated/google/apis/compute_v1.rb +1 -1
  153. data/generated/google/apis/compute_v1/service.rb +411 -410
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +2 -1
  156. data/generated/google/apis/container_v1/service.rb +63 -63
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  159. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  163. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  164. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +9 -3
  167. data/generated/google/apis/content_v2/service.rb +101 -105
  168. data/generated/google/apis/content_v2_1.rb +1 -1
  169. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  170. data/generated/google/apis/content_v2_1/service.rb +89 -93
  171. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  172. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  173. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  174. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  175. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  176. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  177. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  178. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  181. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  184. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/service.rb +15 -15
  187. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  188. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  189. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  190. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  191. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  193. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  194. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  195. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  196. data/generated/google/apis/dialogflow_v2.rb +1 -1
  197. data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
  198. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  199. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  200. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  201. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  202. data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
  203. data/generated/google/apis/discovery_v1/service.rb +2 -2
  204. data/generated/google/apis/dlp_v2.rb +1 -1
  205. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  206. data/generated/google/apis/dlp_v2/service.rb +51 -46
  207. data/generated/google/apis/dns_v1/service.rb +15 -15
  208. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  209. data/generated/google/apis/dns_v2beta1/service.rb +15 -15
  210. data/generated/google/apis/docs_v1.rb +1 -1
  211. data/generated/google/apis/docs_v1/classes.rb +137 -0
  212. data/generated/google/apis/docs_v1/representations.rb +57 -0
  213. data/generated/google/apis/docs_v1/service.rb +3 -3
  214. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  215. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  216. data/generated/google/apis/drive_v2/service.rb +74 -74
  217. data/generated/google/apis/drive_v3/service.rb +46 -46
  218. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  219. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  220. data/generated/google/apis/fcm_v1.rb +35 -0
  221. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  222. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  223. data/generated/google/apis/fcm_v1/service.rb +97 -0
  224. data/generated/google/apis/file_v1.rb +1 -1
  225. data/generated/google/apis/file_v1/classes.rb +52 -1
  226. data/generated/google/apis/file_v1/representations.rb +16 -0
  227. data/generated/google/apis/file_v1/service.rb +11 -11
  228. data/generated/google/apis/file_v1beta1.rb +1 -1
  229. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  230. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  231. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  232. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  233. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  234. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  235. data/generated/google/apis/firestore_v1/service.rb +28 -28
  236. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  237. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  238. data/generated/google/apis/fitness_v1/service.rb +13 -13
  239. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  240. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  241. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  242. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  243. data/generated/google/apis/games_v1/service.rb +53 -53
  244. data/generated/google/apis/genomics_v1.rb +1 -1
  245. data/generated/google/apis/genomics_v1/service.rb +3 -3
  246. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  247. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  248. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  249. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  250. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  251. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  252. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  253. data/generated/google/apis/gmail_v1/service.rb +68 -68
  254. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  255. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  256. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  257. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  258. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  259. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  260. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  261. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  262. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  263. data/generated/google/apis/iam_v1/service.rb +36 -36
  264. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  265. data/generated/google/apis/iap_v1/service.rb +3 -3
  266. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  267. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  268. data/generated/google/apis/indexing_v3/service.rb +2 -2
  269. data/generated/google/apis/jobs_v2/service.rb +17 -17
  270. data/generated/google/apis/jobs_v3/service.rb +15 -15
  271. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  272. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  273. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  274. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  275. data/generated/google/apis/language_v1.rb +1 -1
  276. data/generated/google/apis/language_v1/service.rb +6 -6
  277. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  278. data/generated/google/apis/language_v1beta2.rb +1 -1
  279. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  280. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  281. data/generated/google/apis/licensing_v1/service.rb +7 -7
  282. data/generated/google/apis/logging_v2.rb +1 -1
  283. data/generated/google/apis/logging_v2/classes.rb +6 -0
  284. data/generated/google/apis/logging_v2/representations.rb +1 -0
  285. data/generated/google/apis/logging_v2/service.rb +72 -72
  286. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  287. data/generated/google/apis/mirror_v1/service.rb +24 -24
  288. data/generated/google/apis/ml_v1.rb +1 -1
  289. data/generated/google/apis/ml_v1/classes.rb +73 -55
  290. data/generated/google/apis/ml_v1/service.rb +31 -31
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  295. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  296. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  297. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  298. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  299. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  300. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  301. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  302. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  303. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  304. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  305. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  306. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  307. data/generated/google/apis/people_v1.rb +1 -1
  308. data/generated/google/apis/people_v1/service.rb +13 -13
  309. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  310. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  311. data/generated/google/apis/plus_v1/service.rb +9 -9
  312. data/generated/google/apis/poly_v1/service.rb +4 -4
  313. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  314. data/generated/google/apis/pubsub_v1.rb +1 -1
  315. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  316. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  317. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  318. data/generated/google/apis/redis_v1.rb +1 -1
  319. data/generated/google/apis/redis_v1/service.rb +19 -19
  320. data/generated/google/apis/redis_v1beta1.rb +1 -1
  321. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  322. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  323. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  324. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  326. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  327. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  328. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  329. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  332. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  333. data/generated/google/apis/reseller_v1/service.rb +17 -17
  334. data/generated/google/apis/run_v1/service.rb +1 -1
  335. data/generated/google/apis/run_v1alpha1.rb +1 -1
  336. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  337. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  338. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  339. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  340. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  341. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  342. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  343. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  344. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  345. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  346. data/generated/google/apis/script_v1.rb +1 -1
  347. data/generated/google/apis/script_v1/classes.rb +167 -0
  348. data/generated/google/apis/script_v1/representations.rb +79 -0
  349. data/generated/google/apis/script_v1/service.rb +16 -16
  350. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1.rb +1 -1
  352. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  357. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  358. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  359. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  360. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  361. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
  362. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
  363. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  364. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  366. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  367. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  371. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  372. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  373. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
  374. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
  375. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  376. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
  378. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
  379. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  380. data/generated/google/apis/serviceusage_v1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
  382. data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
  383. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  384. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  385. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
  386. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
  387. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  388. data/generated/google/apis/sheets_v4.rb +1 -1
  389. data/generated/google/apis/sheets_v4/service.rb +17 -17
  390. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  391. data/generated/google/apis/slides_v1/service.rb +5 -5
  392. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  393. data/generated/google/apis/spanner_v1.rb +1 -1
  394. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  395. data/generated/google/apis/spanner_v1/service.rb +41 -41
  396. data/generated/google/apis/speech_v1.rb +1 -1
  397. data/generated/google/apis/speech_v1/classes.rb +2 -2
  398. data/generated/google/apis/speech_v1/service.rb +7 -7
  399. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  401. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  402. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  403. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  404. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  405. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  406. data/generated/google/apis/storage_v1/service.rb +52 -52
  407. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  408. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  409. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  410. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  411. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  412. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  413. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  414. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  415. data/generated/google/apis/surveys_v2/service.rb +8 -8
  416. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  417. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  418. data/generated/google/apis/tasks_v1/service.rb +14 -14
  419. data/generated/google/apis/testing_v1.rb +1 -1
  420. data/generated/google/apis/testing_v1/classes.rb +25 -12
  421. data/generated/google/apis/testing_v1/representations.rb +2 -0
  422. data/generated/google/apis/testing_v1/service.rb +5 -5
  423. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  424. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  425. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  426. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  427. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  428. data/generated/google/apis/tpu_v1.rb +1 -1
  429. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  430. data/generated/google/apis/tpu_v1/service.rb +17 -17
  431. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  432. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  433. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  434. data/generated/google/apis/translate_v2/service.rb +5 -5
  435. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  436. data/generated/google/apis/vault_v1/service.rb +28 -28
  437. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  438. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  439. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  440. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  442. data/generated/google/apis/vision_v1.rb +1 -1
  443. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  444. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  445. data/generated/google/apis/vision_v1/service.rb +98 -35
  446. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  447. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  448. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  449. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  450. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  451. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  452. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  453. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  454. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  455. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  456. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  457. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  458. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  459. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  460. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  461. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  462. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  463. data/generated/google/apis/youtube_v3.rb +1 -1
  464. data/generated/google/apis/youtube_v3/service.rb +71 -71
  465. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  466. data/google-api-client.gemspec +1 -1
  467. data/lib/google/apis/core/json_representation.rb +4 -0
  468. data/lib/google/apis/core/upload.rb +3 -3
  469. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  470. data/lib/google/apis/version.rb +1 -1
  471. metadata +13 -6
  472. data/samples/web/.env +0 -2
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190318'
29
+ REVISION = '20190511'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -221,7 +221,7 @@ module Google
221
221
 
222
222
  # The server-assigned name, which is only unique within the same service that
223
223
  # originally returns it. If you use the default HTTP mapping, the
224
- # `name` should have the format of `operations/some/unique/name`.
224
+ # `name` should be a resource name ending with `operations/`unique_id``.
225
225
  # Corresponds to the JSON property `name`
226
226
  # @return [String]
227
227
  attr_accessor :name
@@ -79,7 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
80
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
81
  def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
82
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
82
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
83
83
  command.request_representation = Google::Apis::CloudshellV1::CancelOperationRequest::Representation
84
84
  command.request_object = cancel_operation_request_object
85
85
  command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
@@ -114,7 +114,7 @@ module Google
114
114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115
115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
116
116
  def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
117
- command = make_simple_command(:delete, 'v1/{+name}', options)
117
+ command = make_simple_command(:delete, 'v1/{+name}', options)
118
118
  command.response_representation = Google::Apis::CloudshellV1::Empty::Representation
119
119
  command.response_class = Google::Apis::CloudshellV1::Empty
120
120
  command.params['name'] = name unless name.nil?
@@ -146,7 +146,7 @@ module Google
146
146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
148
148
  def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
149
- command = make_simple_command(:get, 'v1/{+name}', options)
149
+ command = make_simple_command(:get, 'v1/{+name}', options)
150
150
  command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
151
151
  command.response_class = Google::Apis::CloudshellV1::Operation
152
152
  command.params['name'] = name unless name.nil?
@@ -190,7 +190,7 @@ module Google
190
190
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
191
191
  # @raise [Google::Apis::AuthorizationError] Authorization is required
192
192
  def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
193
- command = make_simple_command(:get, 'v1/{+name}', options)
193
+ command = make_simple_command(:get, 'v1/{+name}', options)
194
194
  command.response_representation = Google::Apis::CloudshellV1::ListOperationsResponse::Representation
195
195
  command.response_class = Google::Apis::CloudshellV1::ListOperationsResponse
196
196
  command.params['name'] = name unless name.nil?
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190323'
29
+ REVISION = '20190511'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -234,7 +234,7 @@ module Google
234
234
 
235
235
  # The server-assigned name, which is only unique within the same service that
236
236
  # originally returns it. If you use the default HTTP mapping, the
237
- # `name` should have the format of `operations/some/unique/name`.
237
+ # `name` should be a resource name ending with `operations/`unique_id``.
238
238
  # Corresponds to the JSON property `name`
239
239
  # @return [String]
240
240
  attr_accessor :name
@@ -75,7 +75,7 @@ module Google
75
75
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
76
  # @raise [Google::Apis::AuthorizationError] Authorization is required
77
77
  def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
78
- command = make_simple_command(:post, 'v1alpha1/{+name}:authorize', options)
78
+ command = make_simple_command(:post, 'v1alpha1/{+name}:authorize', options)
79
79
  command.request_representation = Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest::Representation
80
80
  command.request_object = authorize_environment_request_object
81
81
  command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
@@ -108,7 +108,7 @@ module Google
108
108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
110
  def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block)
111
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
111
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
112
112
  command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
113
113
  command.response_class = Google::Apis::CloudshellV1alpha1::Environment
114
114
  command.params['name'] = name unless name.nil?
@@ -143,7 +143,7 @@ module Google
143
143
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
144
  # @raise [Google::Apis::AuthorizationError] Authorization is required
145
145
  def patch_user_environment(name, environment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
146
+ command = make_simple_command(:patch, 'v1alpha1/{+name}', options)
147
147
  command.request_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
148
148
  command.request_object = environment_object
149
149
  command.response_representation = Google::Apis::CloudshellV1alpha1::Environment::Representation
@@ -184,7 +184,7 @@ module Google
184
184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
186
186
  def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
187
- command = make_simple_command(:post, 'v1alpha1/{+name}:start', options)
187
+ command = make_simple_command(:post, 'v1alpha1/{+name}:start', options)
188
188
  command.request_representation = Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest::Representation
189
189
  command.request_object = start_environment_request_object
190
190
  command.response_representation = Google::Apis::CloudshellV1alpha1::Operation::Representation
@@ -220,7 +220,7 @@ module Google
220
220
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
221
221
  # @raise [Google::Apis::AuthorizationError] Authorization is required
222
222
  def create_public_key(parent, create_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
223
- command = make_simple_command(:post, 'v1alpha1/{+parent}/publicKeys', options)
223
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/publicKeys', options)
224
224
  command.request_representation = Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest::Representation
225
225
  command.request_object = create_public_key_request_object
226
226
  command.response_representation = Google::Apis::CloudshellV1alpha1::PublicKey::Representation
@@ -254,7 +254,7 @@ module Google
254
254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
255
255
  # @raise [Google::Apis::AuthorizationError] Authorization is required
256
256
  def delete_user_environment_public_key(name, fields: nil, quota_user: nil, options: nil, &block)
257
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
257
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
258
258
  command.response_representation = Google::Apis::CloudshellV1alpha1::Empty::Representation
259
259
  command.response_class = Google::Apis::CloudshellV1alpha1::Empty
260
260
  command.params['name'] = name unless name.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190412'
28
+ REVISION = '20190513'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -25,8 +25,6 @@ module Google
25
25
  # App Engine HTTP request.
26
26
  # The message defines the HTTP request that is sent to an App Engine app when
27
27
  # the task is dispatched.
28
- # This proto can only be used for tasks in a queue which has
29
- # app_engine_http_queue set.
30
28
  # Using AppEngineHttpRequest requires
31
29
  # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
32
30
  # api/access-control)
@@ -66,13 +64,17 @@ module Google
66
64
  # required`](https://cloud.google.com/appengine/docs/standard/python/config/
67
65
  # appref)
68
66
  # Task dispatches also do not follow redirects.
69
- # The task attempt has succeeded if the app's request handler returns
70
- # an HTTP response code in the range [`200` - `299`]. `503` is
71
- # considered an App Engine system error instead of an application
72
- # error. Requests returning error `503` will be retried regardless of
73
- # retry configuration and not counted against retry counts.
74
- # Any other response code or a failure to receive a response before the
75
- # deadline is a failed attempt.
67
+ # The task attempt has succeeded if the app's request handler returns an HTTP
68
+ # response code in the range [`200` - `299`]. The task attempt has failed if
69
+ # the app's handler returns a non-2xx response code or Cloud Tasks does
70
+ # not receive response before the deadline. Failed
71
+ # tasks will be retried according to the
72
+ # retry configuration. `503` (Service Unavailable) is
73
+ # considered an App Engine system error instead of an application error and
74
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle
75
+ # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
76
+ # Requests) response from an app handler does not cause traffic congestion
77
+ # control to throttle the queue.
76
78
  class AppEngineHttpRequest
77
79
  include Google::Apis::Core::Hashable
78
80
 
@@ -1222,8 +1224,6 @@ module Google
1222
1224
  # App Engine HTTP request.
1223
1225
  # The message defines the HTTP request that is sent to an App Engine app when
1224
1226
  # the task is dispatched.
1225
- # This proto can only be used for tasks in a queue which has
1226
- # app_engine_http_queue set.
1227
1227
  # Using AppEngineHttpRequest requires
1228
1228
  # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
1229
1229
  # api/access-control)
@@ -1263,13 +1263,17 @@ module Google
1263
1263
  # required`](https://cloud.google.com/appengine/docs/standard/python/config/
1264
1264
  # appref)
1265
1265
  # Task dispatches also do not follow redirects.
1266
- # The task attempt has succeeded if the app's request handler returns
1267
- # an HTTP response code in the range [`200` - `299`]. `503` is
1268
- # considered an App Engine system error instead of an application
1269
- # error. Requests returning error `503` will be retried regardless of
1270
- # retry configuration and not counted against retry counts.
1271
- # Any other response code or a failure to receive a response before the
1272
- # deadline is a failed attempt.
1266
+ # The task attempt has succeeded if the app's request handler returns an HTTP
1267
+ # response code in the range [`200` - `299`]. The task attempt has failed if
1268
+ # the app's handler returns a non-2xx response code or Cloud Tasks does
1269
+ # not receive response before the deadline. Failed
1270
+ # tasks will be retried according to the
1271
+ # retry configuration. `503` (Service Unavailable) is
1272
+ # considered an App Engine system error instead of an application error and
1273
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle
1274
+ # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
1275
+ # Requests) response from an app handler does not cause traffic congestion
1276
+ # control to throttle the queue.
1273
1277
  # Corresponds to the JSON property `appEngineHttpRequest`
1274
1278
  # @return [Google::Apis::CloudtasksV2::AppEngineHttpRequest]
1275
1279
  attr_accessor :app_engine_http_request
@@ -68,7 +68,7 @@ module Google
68
68
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
69
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
70
  def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
71
- command = make_simple_command(:get, 'v2/{+name}', options)
71
+ command = make_simple_command(:get, 'v2/{+name}', options)
72
72
  command.response_representation = Google::Apis::CloudtasksV2::Location::Representation
73
73
  command.response_class = Google::Apis::CloudtasksV2::Location
74
74
  command.params['name'] = name unless name.nil?
@@ -104,7 +104,7 @@ module Google
104
104
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
105
  # @raise [Google::Apis::AuthorizationError] Authorization is required
106
106
  def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
107
- command = make_simple_command(:get, 'v2/{+name}/locations', options)
107
+ command = make_simple_command(:get, 'v2/{+name}/locations', options)
108
108
  command.response_representation = Google::Apis::CloudtasksV2::ListLocationsResponse::Representation
109
109
  command.response_class = Google::Apis::CloudtasksV2::ListLocationsResponse
110
110
  command.params['name'] = name unless name.nil?
@@ -153,7 +153,7 @@ module Google
153
153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
154
154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
155
155
  def create_project_location_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
156
- command = make_simple_command(:post, 'v2/{+parent}/queues', options)
156
+ command = make_simple_command(:post, 'v2/{+parent}/queues', options)
157
157
  command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
158
158
  command.request_object = queue_object
159
159
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@@ -196,7 +196,7 @@ module Google
196
196
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
197
  # @raise [Google::Apis::AuthorizationError] Authorization is required
198
198
  def delete_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
199
- command = make_simple_command(:delete, 'v2/{+name}', options)
199
+ command = make_simple_command(:delete, 'v2/{+name}', options)
200
200
  command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
201
201
  command.response_class = Google::Apis::CloudtasksV2::Empty
202
202
  command.params['name'] = name unless name.nil?
@@ -228,7 +228,7 @@ module Google
228
228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
230
230
  def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
231
- command = make_simple_command(:get, 'v2/{+name}', options)
231
+ command = make_simple_command(:get, 'v2/{+name}', options)
232
232
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
233
233
  command.response_class = Google::Apis::CloudtasksV2::Queue
234
234
  command.params['name'] = name unless name.nil?
@@ -266,7 +266,7 @@ module Google
266
266
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
267
267
  # @raise [Google::Apis::AuthorizationError] Authorization is required
268
268
  def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
269
- command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
269
+ command = make_simple_command(:post, 'v2/{+resource}:getIamPolicy', options)
270
270
  command.request_representation = Google::Apis::CloudtasksV2::GetIamPolicyRequest::Representation
271
271
  command.request_object = get_iam_policy_request_object
272
272
  command.response_representation = Google::Apis::CloudtasksV2::Policy::Representation
@@ -326,7 +326,7 @@ module Google
326
326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
328
328
  def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
329
- command = make_simple_command(:get, 'v2/{+parent}/queues', options)
329
+ command = make_simple_command(:get, 'v2/{+parent}/queues', options)
330
330
  command.response_representation = Google::Apis::CloudtasksV2::ListQueuesResponse::Representation
331
331
  command.response_class = Google::Apis::CloudtasksV2::ListQueuesResponse
332
332
  command.params['parent'] = parent unless parent.nil?
@@ -391,7 +391,7 @@ module Google
391
391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
392
392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
393
393
  def patch_project_location_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
394
- command = make_simple_command(:patch, 'v2/{+name}', options)
394
+ command = make_simple_command(:patch, 'v2/{+name}', options)
395
395
  command.request_representation = Google::Apis::CloudtasksV2::Queue::Representation
396
396
  command.request_object = queue_object
397
397
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@@ -432,7 +432,7 @@ module Google
432
432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
433
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
434
  def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
435
- command = make_simple_command(:post, 'v2/{+name}:pause', options)
435
+ command = make_simple_command(:post, 'v2/{+name}:pause', options)
436
436
  command.request_representation = Google::Apis::CloudtasksV2::PauseQueueRequest::Representation
437
437
  command.request_object = pause_queue_request_object
438
438
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@@ -470,7 +470,7 @@ module Google
470
470
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
471
  # @raise [Google::Apis::AuthorizationError] Authorization is required
472
472
  def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
473
- command = make_simple_command(:post, 'v2/{+name}:purge', options)
473
+ command = make_simple_command(:post, 'v2/{+name}:purge', options)
474
474
  command.request_representation = Google::Apis::CloudtasksV2::PurgeQueueRequest::Representation
475
475
  command.request_object = purge_queue_request_object
476
476
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@@ -515,7 +515,7 @@ module Google
515
515
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
516
  # @raise [Google::Apis::AuthorizationError] Authorization is required
517
517
  def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
518
- command = make_simple_command(:post, 'v2/{+name}:resume', options)
518
+ command = make_simple_command(:post, 'v2/{+name}:resume', options)
519
519
  command.request_representation = Google::Apis::CloudtasksV2::ResumeQueueRequest::Representation
520
520
  command.request_object = resume_queue_request_object
521
521
  command.response_representation = Google::Apis::CloudtasksV2::Queue::Representation
@@ -556,7 +556,7 @@ module Google
556
556
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
557
557
  # @raise [Google::Apis::AuthorizationError] Authorization is required
558
558
  def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
559
- command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
559
+ command = make_simple_command(:post, 'v2/{+resource}:setIamPolicy', options)
560
560
  command.request_representation = Google::Apis::CloudtasksV2::SetIamPolicyRequest::Representation
561
561
  command.request_object = set_iam_policy_request_object
562
562
  command.response_representation = Google::Apis::CloudtasksV2::Policy::Representation
@@ -595,7 +595,7 @@ module Google
595
595
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
596
596
  # @raise [Google::Apis::AuthorizationError] Authorization is required
597
597
  def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
598
- command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
598
+ command = make_simple_command(:post, 'v2/{+resource}:testIamPermissions', options)
599
599
  command.request_representation = Google::Apis::CloudtasksV2::TestIamPermissionsRequest::Representation
600
600
  command.request_object = test_iam_permissions_request_object
601
601
  command.response_representation = Google::Apis::CloudtasksV2::TestIamPermissionsResponse::Representation
@@ -634,7 +634,7 @@ module Google
634
634
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
635
635
  # @raise [Google::Apis::AuthorizationError] Authorization is required
636
636
  def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
637
- command = make_simple_command(:post, 'v2/{+parent}/tasks', options)
637
+ command = make_simple_command(:post, 'v2/{+parent}/tasks', options)
638
638
  command.request_representation = Google::Apis::CloudtasksV2::CreateTaskRequest::Representation
639
639
  command.request_object = create_task_request_object
640
640
  command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
@@ -671,7 +671,7 @@ module Google
671
671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
672
672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
673
673
  def delete_project_location_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
674
- command = make_simple_command(:delete, 'v2/{+name}', options)
674
+ command = make_simple_command(:delete, 'v2/{+name}', options)
675
675
  command.response_representation = Google::Apis::CloudtasksV2::Empty::Representation
676
676
  command.response_class = Google::Apis::CloudtasksV2::Empty
677
677
  command.params['name'] = name unless name.nil?
@@ -714,7 +714,7 @@ module Google
714
714
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
715
  # @raise [Google::Apis::AuthorizationError] Authorization is required
716
716
  def get_project_location_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
717
- command = make_simple_command(:get, 'v2/{+name}', options)
717
+ command = make_simple_command(:get, 'v2/{+name}', options)
718
718
  command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
719
719
  command.response_class = Google::Apis::CloudtasksV2::Task
720
720
  command.params['name'] = name unless name.nil?
@@ -736,12 +736,12 @@ module Google
736
736
  # The queue name. For example:
737
737
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
738
738
  # @param [Fixnum] page_size
739
- # Requested page size. Fewer tasks than requested might be returned.
740
- # The maximum page size is 1000. If unspecified, the page size will
741
- # be the maximum. Fewer tasks than requested might be returned,
742
- # even if more tasks exist; use
743
- # next_page_token in the
744
- # response to determine if more tasks exist.
739
+ # Maximum page size.
740
+ # Fewer tasks than requested might be returned, even if more tasks exist; use
741
+ # next_page_token in the response to
742
+ # determine if more tasks exist.
743
+ # The maximum page size is 1000. If unspecified, the page size will be the
744
+ # maximum.
745
745
  # @param [String] page_token
746
746
  # A token identifying the page of results to return.
747
747
  # To request the first page results, page_token must be empty. To
@@ -779,7 +779,7 @@ module Google
779
779
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
780
780
  # @raise [Google::Apis::AuthorizationError] Authorization is required
781
781
  def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
782
- command = make_simple_command(:get, 'v2/{+parent}/tasks', options)
782
+ command = make_simple_command(:get, 'v2/{+parent}/tasks', options)
783
783
  command.response_representation = Google::Apis::CloudtasksV2::ListTasksResponse::Representation
784
784
  command.response_class = Google::Apis::CloudtasksV2::ListTasksResponse
785
785
  command.params['parent'] = parent unless parent.nil?
@@ -833,7 +833,7 @@ module Google
833
833
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
834
834
  # @raise [Google::Apis::AuthorizationError] Authorization is required
835
835
  def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
836
- command = make_simple_command(:post, 'v2/{+name}:run', options)
836
+ command = make_simple_command(:post, 'v2/{+name}:run', options)
837
837
  command.request_representation = Google::Apis::CloudtasksV2::RunTaskRequest::Representation
838
838
  command.request_object = run_task_request_object
839
839
  command.response_representation = Google::Apis::CloudtasksV2::Task::Representation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta2
27
27
  VERSION = 'V2beta2'
28
- REVISION = '20190412'
28
+ REVISION = '20190513'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -91,13 +91,17 @@ module Google
91
91
  # required`](https://cloud.google.com/appengine/docs/standard/python/config/
92
92
  # appref)
93
93
  # Task dispatches also do not follow redirects.
94
- # The task attempt has succeeded if the app's request handler returns
95
- # an HTTP response code in the range [`200` - `299`]. `503` is
96
- # considered an App Engine system error instead of an application
97
- # error. Requests returning error `503` will be retried regardless of
98
- # retry configuration and not counted against retry counts.
99
- # Any other response code or a failure to receive a response before the
100
- # deadline is a failed attempt.
94
+ # The task attempt has succeeded if the app's request handler returns an HTTP
95
+ # response code in the range [`200` - `299`]. The task attempt has failed if
96
+ # the app's handler returns a non-2xx response code or Cloud Tasks does
97
+ # not receive response before the deadline. Failed
98
+ # tasks will be retried according to the
99
+ # retry configuration. `503` (Service Unavailable) is
100
+ # considered an App Engine system error instead of an application error and
101
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle
102
+ # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
103
+ # Requests) response from an app handler does not cause traffic congestion
104
+ # control to throttle the queue.
101
105
  class AppEngineHttpRequest
102
106
  include Google::Apis::Core::Hashable
103
107
 
@@ -1626,13 +1630,17 @@ module Google
1626
1630
  # required`](https://cloud.google.com/appengine/docs/standard/python/config/
1627
1631
  # appref)
1628
1632
  # Task dispatches also do not follow redirects.
1629
- # The task attempt has succeeded if the app's request handler returns
1630
- # an HTTP response code in the range [`200` - `299`]. `503` is
1631
- # considered an App Engine system error instead of an application
1632
- # error. Requests returning error `503` will be retried regardless of
1633
- # retry configuration and not counted against retry counts.
1634
- # Any other response code or a failure to receive a response before the
1635
- # deadline is a failed attempt.
1633
+ # The task attempt has succeeded if the app's request handler returns an HTTP
1634
+ # response code in the range [`200` - `299`]. The task attempt has failed if
1635
+ # the app's handler returns a non-2xx response code or Cloud Tasks does
1636
+ # not receive response before the deadline. Failed
1637
+ # tasks will be retried according to the
1638
+ # retry configuration. `503` (Service Unavailable) is
1639
+ # considered an App Engine system error instead of an application error and
1640
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle
1641
+ # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
1642
+ # Requests) response from an app handler does not cause traffic congestion
1643
+ # control to throttle the queue.
1636
1644
  # Corresponds to the JSON property `appEngineHttpRequest`
1637
1645
  # @return [Google::Apis::CloudtasksV2beta2::AppEngineHttpRequest]
1638
1646
  attr_accessor :app_engine_http_request
@@ -68,7 +68,7 @@ module Google
68
68
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
69
  # @raise [Google::Apis::AuthorizationError] Authorization is required
70
70
  def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
71
- command = make_simple_command(:get, 'v2beta2/{+name}', options)
71
+ command = make_simple_command(:get, 'v2beta2/{+name}', options)
72
72
  command.response_representation = Google::Apis::CloudtasksV2beta2::Location::Representation
73
73
  command.response_class = Google::Apis::CloudtasksV2beta2::Location
74
74
  command.params['name'] = name unless name.nil?
@@ -104,7 +104,7 @@ module Google
104
104
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
105
  # @raise [Google::Apis::AuthorizationError] Authorization is required
106
106
  def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
107
- command = make_simple_command(:get, 'v2beta2/{+name}/locations', options)
107
+ command = make_simple_command(:get, 'v2beta2/{+name}/locations', options)
108
108
  command.response_representation = Google::Apis::CloudtasksV2beta2::ListLocationsResponse::Representation
109
109
  command.response_class = Google::Apis::CloudtasksV2beta2::ListLocationsResponse
110
110
  command.params['name'] = name unless name.nil?
@@ -153,7 +153,7 @@ module Google
153
153
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
154
154
  # @raise [Google::Apis::AuthorizationError] Authorization is required
155
155
  def create_project_location_queue(parent, queue_object = nil, fields: nil, quota_user: nil, options: nil, &block)
156
- command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options)
156
+ command = make_simple_command(:post, 'v2beta2/{+parent}/queues', options)
157
157
  command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
158
158
  command.request_object = queue_object
159
159
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@@ -196,7 +196,7 @@ module Google
196
196
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
197
  # @raise [Google::Apis::AuthorizationError] Authorization is required
198
198
  def delete_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
199
- command = make_simple_command(:delete, 'v2beta2/{+name}', options)
199
+ command = make_simple_command(:delete, 'v2beta2/{+name}', options)
200
200
  command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
201
201
  command.response_class = Google::Apis::CloudtasksV2beta2::Empty
202
202
  command.params['name'] = name unless name.nil?
@@ -228,7 +228,7 @@ module Google
228
228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
230
230
  def get_project_location_queue(name, fields: nil, quota_user: nil, options: nil, &block)
231
- command = make_simple_command(:get, 'v2beta2/{+name}', options)
231
+ command = make_simple_command(:get, 'v2beta2/{+name}', options)
232
232
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
233
233
  command.response_class = Google::Apis::CloudtasksV2beta2::Queue
234
234
  command.params['name'] = name unless name.nil?
@@ -266,7 +266,7 @@ module Google
266
266
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
267
267
  # @raise [Google::Apis::AuthorizationError] Authorization is required
268
268
  def get_queue_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
269
- command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options)
269
+ command = make_simple_command(:post, 'v2beta2/{+resource}:getIamPolicy', options)
270
270
  command.request_representation = Google::Apis::CloudtasksV2beta2::GetIamPolicyRequest::Representation
271
271
  command.request_object = get_iam_policy_request_object
272
272
  command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation
@@ -326,7 +326,7 @@ module Google
326
326
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
327
  # @raise [Google::Apis::AuthorizationError] Authorization is required
328
328
  def list_project_location_queues(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
329
- command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
329
+ command = make_simple_command(:get, 'v2beta2/{+parent}/queues', options)
330
330
  command.response_representation = Google::Apis::CloudtasksV2beta2::ListQueuesResponse::Representation
331
331
  command.response_class = Google::Apis::CloudtasksV2beta2::ListQueuesResponse
332
332
  command.params['parent'] = parent unless parent.nil?
@@ -391,7 +391,7 @@ module Google
391
391
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
392
392
  # @raise [Google::Apis::AuthorizationError] Authorization is required
393
393
  def patch_project_location_queue(name, queue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
394
- command = make_simple_command(:patch, 'v2beta2/{+name}', options)
394
+ command = make_simple_command(:patch, 'v2beta2/{+name}', options)
395
395
  command.request_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
396
396
  command.request_object = queue_object
397
397
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@@ -432,7 +432,7 @@ module Google
432
432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
433
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
434
  def pause_queue(name, pause_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
435
- command = make_simple_command(:post, 'v2beta2/{+name}:pause', options)
435
+ command = make_simple_command(:post, 'v2beta2/{+name}:pause', options)
436
436
  command.request_representation = Google::Apis::CloudtasksV2beta2::PauseQueueRequest::Representation
437
437
  command.request_object = pause_queue_request_object
438
438
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@@ -470,7 +470,7 @@ module Google
470
470
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
471
  # @raise [Google::Apis::AuthorizationError] Authorization is required
472
472
  def purge_queue(name, purge_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
473
- command = make_simple_command(:post, 'v2beta2/{+name}:purge', options)
473
+ command = make_simple_command(:post, 'v2beta2/{+name}:purge', options)
474
474
  command.request_representation = Google::Apis::CloudtasksV2beta2::PurgeQueueRequest::Representation
475
475
  command.request_object = purge_queue_request_object
476
476
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@@ -515,7 +515,7 @@ module Google
515
515
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
516
  # @raise [Google::Apis::AuthorizationError] Authorization is required
517
517
  def resume_queue(name, resume_queue_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
518
- command = make_simple_command(:post, 'v2beta2/{+name}:resume', options)
518
+ command = make_simple_command(:post, 'v2beta2/{+name}:resume', options)
519
519
  command.request_representation = Google::Apis::CloudtasksV2beta2::ResumeQueueRequest::Representation
520
520
  command.request_object = resume_queue_request_object
521
521
  command.response_representation = Google::Apis::CloudtasksV2beta2::Queue::Representation
@@ -556,7 +556,7 @@ module Google
556
556
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
557
557
  # @raise [Google::Apis::AuthorizationError] Authorization is required
558
558
  def set_queue_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
559
- command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options)
559
+ command = make_simple_command(:post, 'v2beta2/{+resource}:setIamPolicy', options)
560
560
  command.request_representation = Google::Apis::CloudtasksV2beta2::SetIamPolicyRequest::Representation
561
561
  command.request_object = set_iam_policy_request_object
562
562
  command.response_representation = Google::Apis::CloudtasksV2beta2::Policy::Representation
@@ -595,7 +595,7 @@ module Google
595
595
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
596
596
  # @raise [Google::Apis::AuthorizationError] Authorization is required
597
597
  def test_queue_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
598
- command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options)
598
+ command = make_simple_command(:post, 'v2beta2/{+resource}:testIamPermissions', options)
599
599
  command.request_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsRequest::Representation
600
600
  command.request_object = test_iam_permissions_request_object
601
601
  command.response_representation = Google::Apis::CloudtasksV2beta2::TestIamPermissionsResponse::Representation
@@ -640,7 +640,7 @@ module Google
640
640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
641
641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
642
642
  def acknowledge_task(name, acknowledge_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
643
- command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options)
643
+ command = make_simple_command(:post, 'v2beta2/{+name}:acknowledge', options)
644
644
  command.request_representation = Google::Apis::CloudtasksV2beta2::AcknowledgeTaskRequest::Representation
645
645
  command.request_object = acknowledge_task_request_object
646
646
  command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
@@ -679,7 +679,7 @@ module Google
679
679
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
680
680
  # @raise [Google::Apis::AuthorizationError] Authorization is required
681
681
  def cancel_task_lease(name, cancel_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
682
- command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options)
682
+ command = make_simple_command(:post, 'v2beta2/{+name}:cancelLease', options)
683
683
  command.request_representation = Google::Apis::CloudtasksV2beta2::CancelLeaseRequest::Representation
684
684
  command.request_object = cancel_lease_request_object
685
685
  command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@@ -719,7 +719,7 @@ module Google
719
719
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
720
  # @raise [Google::Apis::AuthorizationError] Authorization is required
721
721
  def create_task(parent, create_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
722
- command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options)
722
+ command = make_simple_command(:post, 'v2beta2/{+parent}/tasks', options)
723
723
  command.request_representation = Google::Apis::CloudtasksV2beta2::CreateTaskRequest::Representation
724
724
  command.request_object = create_task_request_object
725
725
  command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@@ -756,7 +756,7 @@ module Google
756
756
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
757
757
  # @raise [Google::Apis::AuthorizationError] Authorization is required
758
758
  def delete_project_location_queue_task(name, fields: nil, quota_user: nil, options: nil, &block)
759
- command = make_simple_command(:delete, 'v2beta2/{+name}', options)
759
+ command = make_simple_command(:delete, 'v2beta2/{+name}', options)
760
760
  command.response_representation = Google::Apis::CloudtasksV2beta2::Empty::Representation
761
761
  command.response_class = Google::Apis::CloudtasksV2beta2::Empty
762
762
  command.params['name'] = name unless name.nil?
@@ -799,7 +799,7 @@ module Google
799
799
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
800
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
801
  def get_project_location_queue_task(name, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
802
- command = make_simple_command(:get, 'v2beta2/{+name}', options)
802
+ command = make_simple_command(:get, 'v2beta2/{+name}', options)
803
803
  command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
804
804
  command.response_class = Google::Apis::CloudtasksV2beta2::Task
805
805
  command.params['name'] = name unless name.nil?
@@ -851,7 +851,7 @@ module Google
851
851
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
852
852
  # @raise [Google::Apis::AuthorizationError] Authorization is required
853
853
  def lease_tasks(parent, lease_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
854
- command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
854
+ command = make_simple_command(:post, 'v2beta2/{+parent}/tasks:lease', options)
855
855
  command.request_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksRequest::Representation
856
856
  command.request_object = lease_tasks_request_object
857
857
  command.response_representation = Google::Apis::CloudtasksV2beta2::LeaseTasksResponse::Representation
@@ -874,12 +874,12 @@ module Google
874
874
  # The queue name. For example:
875
875
  # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
876
876
  # @param [Fixnum] page_size
877
- # Requested page size. Fewer tasks than requested might be returned.
878
- # The maximum page size is 1000. If unspecified, the page size will
879
- # be the maximum. Fewer tasks than requested might be returned,
880
- # even if more tasks exist; use
881
- # next_page_token in the
882
- # response to determine if more tasks exist.
877
+ # Maximum page size.
878
+ # Fewer tasks than requested might be returned, even if more tasks exist; use
879
+ # next_page_token in the response to
880
+ # determine if more tasks exist.
881
+ # The maximum page size is 1000. If unspecified, the page size will be the
882
+ # maximum.
883
883
  # @param [String] page_token
884
884
  # A token identifying the page of results to return.
885
885
  # To request the first page results, page_token must be empty. To
@@ -917,7 +917,7 @@ module Google
917
917
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
918
918
  # @raise [Google::Apis::AuthorizationError] Authorization is required
919
919
  def list_project_location_queue_tasks(parent, page_size: nil, page_token: nil, response_view: nil, fields: nil, quota_user: nil, options: nil, &block)
920
- command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
920
+ command = make_simple_command(:get, 'v2beta2/{+parent}/tasks', options)
921
921
  command.response_representation = Google::Apis::CloudtasksV2beta2::ListTasksResponse::Representation
922
922
  command.response_class = Google::Apis::CloudtasksV2beta2::ListTasksResponse
923
923
  command.params['parent'] = parent unless parent.nil?
@@ -956,7 +956,7 @@ module Google
956
956
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
957
957
  # @raise [Google::Apis::AuthorizationError] Authorization is required
958
958
  def renew_task_lease(name, renew_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
959
- command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options)
959
+ command = make_simple_command(:post, 'v2beta2/{+name}:renewLease', options)
960
960
  command.request_representation = Google::Apis::CloudtasksV2beta2::RenewLeaseRequest::Representation
961
961
  command.request_object = renew_lease_request_object
962
962
  command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation
@@ -1011,7 +1011,7 @@ module Google
1011
1011
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1012
1012
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1013
1013
  def run_task(name, run_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1014
- command = make_simple_command(:post, 'v2beta2/{+name}:run', options)
1014
+ command = make_simple_command(:post, 'v2beta2/{+name}:run', options)
1015
1015
  command.request_representation = Google::Apis::CloudtasksV2beta2::RunTaskRequest::Representation
1016
1016
  command.request_object = run_task_request_object
1017
1017
  command.response_representation = Google::Apis::CloudtasksV2beta2::Task::Representation