google-api-client 0.42.0 → 0.44.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (887) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +501 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +925 -1226
  59. data/generated/google/apis/apigee_v1/representations.rb +66 -2
  60. data/generated/google/apis/apigee_v1/service.rb +1000 -1142
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/classroom_v1.rb +1 -1
  133. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  134. data/generated/google/apis/classroom_v1/service.rb +643 -899
  135. data/generated/google/apis/cloudasset_v1.rb +1 -1
  136. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  137. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  138. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  140. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  141. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  143. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  144. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  146. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  147. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  148. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  149. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  150. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  151. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  152. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  153. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  154. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  155. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  156. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  157. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  158. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  159. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  160. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  161. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  162. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  163. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  164. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  165. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  166. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  167. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  168. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  169. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  170. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  171. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  172. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  173. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  174. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
  175. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  176. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  177. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  178. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  179. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  180. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  181. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  182. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  183. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  184. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  185. data/generated/google/apis/cloudiot_v1.rb +1 -1
  186. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  187. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  188. data/generated/google/apis/cloudkms_v1.rb +1 -1
  189. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  190. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  191. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  192. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  193. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  194. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  195. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  196. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  197. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  198. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  200. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  201. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  203. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  204. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  207. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  208. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  209. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  210. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  211. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  212. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  213. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  214. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  215. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  216. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  217. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  218. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  219. data/generated/google/apis/cloudshell_v1.rb +1 -1
  220. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  221. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  222. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  223. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  224. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  225. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  226. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  227. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  228. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  229. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  231. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  232. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  234. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  235. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  236. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  237. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  238. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  240. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  241. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  243. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  244. data/generated/google/apis/composer_v1.rb +1 -1
  245. data/generated/google/apis/composer_v1/classes.rb +190 -242
  246. data/generated/google/apis/composer_v1/service.rb +79 -150
  247. data/generated/google/apis/composer_v1beta1.rb +1 -1
  248. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  249. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  250. data/generated/google/apis/compute_alpha.rb +1 -1
  251. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  252. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  253. data/generated/google/apis/compute_alpha/service.rb +710 -699
  254. data/generated/google/apis/compute_beta.rb +1 -1
  255. data/generated/google/apis/compute_beta/classes.rb +879 -75
  256. data/generated/google/apis/compute_beta/representations.rb +204 -1
  257. data/generated/google/apis/compute_beta/service.rb +875 -607
  258. data/generated/google/apis/compute_v1.rb +1 -1
  259. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  260. data/generated/google/apis/compute_v1/representations.rb +480 -15
  261. data/generated/google/apis/compute_v1/service.rb +1076 -43
  262. data/generated/google/apis/container_v1.rb +1 -1
  263. data/generated/google/apis/container_v1/classes.rb +946 -961
  264. data/generated/google/apis/container_v1/representations.rb +69 -0
  265. data/generated/google/apis/container_v1/service.rb +435 -502
  266. data/generated/google/apis/container_v1beta1.rb +1 -1
  267. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  268. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  269. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  270. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  271. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  272. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  273. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  275. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  276. data/generated/google/apis/content_v2.rb +1 -1
  277. data/generated/google/apis/content_v2/classes.rb +20 -3
  278. data/generated/google/apis/content_v2/representations.rb +1 -0
  279. data/generated/google/apis/content_v2_1.rb +1 -1
  280. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  281. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  282. data/generated/google/apis/content_v2_1/service.rb +53 -2
  283. data/generated/google/apis/customsearch_v1.rb +1 -1
  284. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  285. data/generated/google/apis/customsearch_v1/service.rb +186 -333
  286. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  287. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  288. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  289. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  290. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  291. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  292. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  293. data/generated/google/apis/datafusion_v1.rb +40 -0
  294. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  295. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -94
  296. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  297. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  298. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  299. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  300. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  301. data/generated/google/apis/dataproc_v1.rb +1 -1
  302. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  303. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  304. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  305. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  306. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  307. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  308. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  309. data/generated/google/apis/datastore_v1.rb +1 -1
  310. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  311. data/generated/google/apis/datastore_v1/service.rb +52 -63
  312. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  313. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  314. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  315. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  316. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  317. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  318. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  319. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  320. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  321. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  322. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  323. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  324. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  325. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  327. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  328. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  329. data/generated/google/apis/dialogflow_v2.rb +1 -1
  330. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  331. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  332. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  333. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1643
  335. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -990
  337. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  338. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  339. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  340. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  341. data/generated/google/apis/displayvideo_v1.rb +7 -1
  342. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
  343. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  344. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  345. data/generated/google/apis/dlp_v2.rb +1 -1
  346. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  347. data/generated/google/apis/dlp_v2/service.rb +962 -905
  348. data/generated/google/apis/dns_v1.rb +1 -1
  349. data/generated/google/apis/dns_v1/classes.rb +175 -198
  350. data/generated/google/apis/dns_v1/service.rb +82 -97
  351. data/generated/google/apis/dns_v1beta2.rb +1 -1
  352. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  353. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  354. data/generated/google/apis/docs_v1.rb +1 -1
  355. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  356. data/generated/google/apis/docs_v1/service.rb +17 -22
  357. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  358. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  359. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  360. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  361. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  362. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  363. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  364. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  365. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  366. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  367. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  368. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  369. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  370. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  371. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  372. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  373. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  374. data/generated/google/apis/drive_v2.rb +1 -1
  375. data/generated/google/apis/drive_v2/classes.rb +82 -8
  376. data/generated/google/apis/drive_v2/representations.rb +23 -0
  377. data/generated/google/apis/drive_v2/service.rb +102 -25
  378. data/generated/google/apis/drive_v3.rb +1 -1
  379. data/generated/google/apis/drive_v3/classes.rb +87 -8
  380. data/generated/google/apis/drive_v3/representations.rb +24 -0
  381. data/generated/google/apis/drive_v3/service.rb +67 -16
  382. data/generated/google/apis/driveactivity_v2.rb +1 -1
  383. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  384. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  385. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  386. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  387. data/generated/google/apis/fcm_v1.rb +1 -1
  388. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  389. data/generated/google/apis/fcm_v1/service.rb +5 -6
  390. data/generated/google/apis/file_v1.rb +1 -1
  391. data/generated/google/apis/file_v1/classes.rb +154 -173
  392. data/generated/google/apis/file_v1/service.rb +43 -52
  393. data/generated/google/apis/file_v1beta1.rb +1 -1
  394. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  395. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  396. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  397. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  398. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  399. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  400. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  401. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  402. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  403. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  404. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  405. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  406. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  407. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  409. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  411. data/generated/google/apis/firebaseml_v1.rb +1 -1
  412. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  413. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  414. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  415. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  416. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  417. data/generated/google/apis/firebaserules_v1.rb +1 -1
  418. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  419. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  420. data/generated/google/apis/firestore_v1.rb +1 -1
  421. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  422. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  423. data/generated/google/apis/firestore_v1/service.rb +227 -185
  424. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  426. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  427. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  428. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  429. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  430. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  431. data/generated/google/apis/fitness_v1.rb +1 -1
  432. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  433. data/generated/google/apis/fitness_v1/service.rb +125 -146
  434. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  435. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  436. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  437. data/generated/google/apis/games_management_v1management.rb +2 -3
  438. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  439. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  440. data/generated/google/apis/games_v1.rb +2 -3
  441. data/generated/google/apis/games_v1/classes.rb +77 -84
  442. data/generated/google/apis/games_v1/representations.rb +2 -0
  443. data/generated/google/apis/games_v1/service.rb +86 -92
  444. data/generated/google/apis/gameservices_v1.rb +1 -1
  445. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  446. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  447. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  448. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  449. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  450. data/generated/google/apis/genomics_v1.rb +1 -1
  451. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  452. data/generated/google/apis/genomics_v1/service.rb +28 -43
  453. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  454. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  455. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  456. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  457. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  458. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  459. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  460. data/generated/google/apis/gmail_v1.rb +3 -3
  461. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  462. data/generated/google/apis/gmail_v1/service.rb +263 -290
  463. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  464. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  465. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  466. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  467. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  468. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  469. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  470. data/generated/google/apis/healthcare_v1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  472. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  473. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  474. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  475. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  476. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  477. data/generated/google/apis/homegraph_v1.rb +1 -1
  478. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  479. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  480. data/generated/google/apis/iam_v1.rb +5 -2
  481. data/generated/google/apis/iam_v1/classes.rb +388 -573
  482. data/generated/google/apis/iam_v1/service.rb +430 -544
  483. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  484. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  485. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  486. data/generated/google/apis/iap_v1.rb +1 -1
  487. data/generated/google/apis/iap_v1/classes.rb +246 -355
  488. data/generated/google/apis/iap_v1/service.rb +61 -71
  489. data/generated/google/apis/iap_v1beta1.rb +1 -1
  490. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/kgsearch_v1.rb +1 -1
  495. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  496. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  497. data/generated/google/apis/language_v1.rb +1 -1
  498. data/generated/google/apis/language_v1/classes.rb +93 -111
  499. data/generated/google/apis/language_v1/service.rb +4 -4
  500. data/generated/google/apis/language_v1beta1.rb +1 -1
  501. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  502. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  503. data/generated/google/apis/language_v1beta2.rb +1 -1
  504. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  505. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  506. data/generated/google/apis/libraryagent_v1.rb +1 -1
  507. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  508. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +174 -214
  518. data/generated/google/apis/logging_v2/representations.rb +15 -0
  519. data/generated/google/apis/logging_v2/service.rb +1017 -584
  520. data/generated/google/apis/managedidentities_v1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  522. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  523. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  525. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  526. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  527. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  528. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  529. data/generated/google/apis/manufacturers_v1.rb +1 -1
  530. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  531. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  532. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  533. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  534. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  535. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  536. data/generated/google/apis/ml_v1.rb +1 -1
  537. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  538. data/generated/google/apis/ml_v1/representations.rb +64 -0
  539. data/generated/google/apis/ml_v1/service.rb +194 -253
  540. data/generated/google/apis/monitoring_v1.rb +1 -1
  541. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  542. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  543. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  544. data/generated/google/apis/monitoring_v3.rb +1 -1
  545. data/generated/google/apis/monitoring_v3/classes.rb +253 -313
  546. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  547. data/generated/google/apis/monitoring_v3/service.rb +126 -144
  548. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  549. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  550. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  551. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  552. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  553. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  554. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  555. data/generated/google/apis/osconfig_v1.rb +1 -1
  556. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  557. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  558. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  559. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  560. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  561. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  562. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  563. data/generated/google/apis/oslogin_v1.rb +1 -1
  564. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  565. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  566. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  567. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  568. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  569. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  570. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  571. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  572. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  573. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  574. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  575. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  576. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  577. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  578. data/generated/google/apis/people_v1.rb +1 -1
  579. data/generated/google/apis/people_v1/classes.rb +493 -403
  580. data/generated/google/apis/people_v1/representations.rb +98 -0
  581. data/generated/google/apis/people_v1/service.rb +169 -385
  582. data/generated/google/apis/playablelocations_v3.rb +1 -1
  583. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  584. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  585. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  586. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  587. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  588. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  589. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  590. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  591. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  592. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  593. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  594. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  595. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  596. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  597. data/generated/google/apis/pubsub_v1.rb +1 -1
  598. data/generated/google/apis/pubsub_v1/classes.rb +407 -512
  599. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  600. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  601. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  602. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  603. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  604. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  605. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  606. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  607. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  608. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  609. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  610. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  611. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  612. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  613. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  614. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  615. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  616. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  617. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  618. data/generated/google/apis/recommender_v1.rb +1 -1
  619. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  620. data/generated/google/apis/recommender_v1/service.rb +43 -58
  621. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  622. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  623. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  624. data/generated/google/apis/redis_v1.rb +1 -1
  625. data/generated/google/apis/redis_v1/classes.rb +477 -116
  626. data/generated/google/apis/redis_v1/representations.rb +139 -0
  627. data/generated/google/apis/redis_v1/service.rb +93 -110
  628. data/generated/google/apis/redis_v1beta1.rb +1 -1
  629. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  630. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  631. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  632. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  633. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  634. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  635. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  636. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  637. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  638. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  639. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  640. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  641. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  642. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  643. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  644. data/generated/google/apis/reseller_v1.rb +4 -3
  645. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  646. data/generated/google/apis/reseller_v1/service.rb +247 -252
  647. data/generated/google/apis/run_v1.rb +2 -2
  648. data/generated/google/apis/run_v1/classes.rb +837 -1244
  649. data/generated/google/apis/run_v1/representations.rb +1 -1
  650. data/generated/google/apis/run_v1/service.rb +234 -248
  651. data/generated/google/apis/run_v1alpha1.rb +2 -2
  652. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  653. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  654. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  655. data/generated/google/apis/run_v1beta1.rb +2 -2
  656. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  657. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  658. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  659. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  660. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  661. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  662. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  663. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  664. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  665. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  666. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  667. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  668. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  669. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  670. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  671. data/generated/google/apis/script_v1.rb +1 -1
  672. data/generated/google/apis/script_v1/classes.rb +88 -111
  673. data/generated/google/apis/script_v1/service.rb +63 -69
  674. data/generated/google/apis/searchconsole_v1.rb +4 -3
  675. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  676. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  677. data/generated/google/apis/secretmanager_v1.rb +1 -1
  678. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  679. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  680. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  681. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  682. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  683. data/generated/google/apis/securitycenter_v1.rb +1 -1
  684. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  685. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  686. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  687. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  688. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  689. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  691. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  692. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  693. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  694. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  695. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  696. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  697. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  698. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  699. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  700. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  701. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  702. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  703. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  704. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  705. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  706. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  707. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  708. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  709. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  710. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  711. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  712. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  713. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  714. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  715. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  716. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  717. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  718. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  719. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  720. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  721. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  722. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  723. data/generated/google/apis/serviceusage_v1.rb +1 -1
  724. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  725. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  726. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  727. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  728. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  729. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  730. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  731. data/generated/google/apis/sheets_v4.rb +1 -1
  732. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  733. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  734. data/generated/google/apis/sheets_v4/service.rb +113 -149
  735. data/generated/google/apis/site_verification_v1.rb +1 -1
  736. data/generated/google/apis/slides_v1.rb +1 -1
  737. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  738. data/generated/google/apis/slides_v1/service.rb +23 -30
  739. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  740. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  741. data/generated/google/apis/spanner_v1.rb +1 -1
  742. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  743. data/generated/google/apis/spanner_v1/service.rb +443 -618
  744. data/generated/google/apis/speech_v1.rb +1 -1
  745. data/generated/google/apis/speech_v1/classes.rb +174 -220
  746. data/generated/google/apis/speech_v1/service.rb +27 -32
  747. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  748. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  749. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  750. data/generated/google/apis/speech_v2beta1.rb +1 -1
  751. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  752. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  753. data/generated/google/apis/sql_v1beta4.rb +1 -1
  754. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  755. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  756. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  757. data/generated/google/apis/storage_v1.rb +1 -1
  758. data/generated/google/apis/storage_v1/classes.rb +8 -7
  759. data/generated/google/apis/storage_v1/representations.rb +2 -2
  760. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  761. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  762. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  763. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  764. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  765. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  766. data/generated/google/apis/tagmanager_v1.rb +2 -3
  767. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  768. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  769. data/generated/google/apis/tagmanager_v2.rb +2 -3
  770. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  771. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  772. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  773. data/generated/google/apis/tasks_v1.rb +1 -1
  774. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  775. data/generated/google/apis/tasks_v1/service.rb +16 -17
  776. data/generated/google/apis/testing_v1.rb +1 -1
  777. data/generated/google/apis/testing_v1/classes.rb +374 -376
  778. data/generated/google/apis/testing_v1/representations.rb +34 -0
  779. data/generated/google/apis/testing_v1/service.rb +22 -28
  780. data/generated/google/apis/texttospeech_v1.rb +1 -1
  781. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  782. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  783. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  784. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  785. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  786. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  787. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  788. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  789. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  790. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  791. data/generated/google/apis/tpu_v1.rb +1 -1
  792. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  793. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  794. data/generated/google/apis/tpu_v1/service.rb +21 -25
  795. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  796. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  797. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  798. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  799. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  800. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  801. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  802. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  803. data/generated/google/apis/translate_v3.rb +1 -1
  804. data/generated/google/apis/translate_v3/classes.rb +148 -175
  805. data/generated/google/apis/translate_v3/service.rb +122 -138
  806. data/generated/google/apis/translate_v3beta1.rb +1 -1
  807. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  808. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  809. data/generated/google/apis/vectortile_v1.rb +1 -1
  810. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  811. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  812. data/generated/google/apis/videointelligence_v1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  814. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  815. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  817. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  818. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  820. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  821. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  826. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  827. data/generated/google/apis/vision_v1.rb +1 -1
  828. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  829. data/generated/google/apis/vision_v1/service.rb +254 -340
  830. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  831. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  832. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  833. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  834. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  835. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  836. data/generated/google/apis/webfonts_v1.rb +2 -3
  837. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  838. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  839. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  840. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  841. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  842. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  843. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  844. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  845. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  847. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  848. data/generated/google/apis/workflows_v1beta.rb +34 -0
  849. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  850. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  851. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  852. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  853. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  854. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  855. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  856. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  857. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  858. data/generated/google/apis/youtube_v3.rb +1 -1
  859. data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
  860. data/generated/google/apis/youtube_v3/representations.rb +177 -0
  861. data/generated/google/apis/youtube_v3/service.rb +1086 -1316
  862. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  863. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  864. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  865. data/lib/google/apis/core/base_service.rb +7 -1
  866. data/lib/google/apis/version.rb +1 -1
  867. metadata +47 -31
  868. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  869. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  870. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  871. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  872. data/generated/google/apis/dns_v2beta1.rb +0 -43
  873. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  874. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  875. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  876. data/generated/google/apis/oauth2_v2.rb +0 -40
  877. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  878. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  879. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  880. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -211
  881. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  882. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  883. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  884. data/generated/google/apis/storage_v1beta2.rb +0 -40
  885. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  886. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  887. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2beta3
27
27
  VERSION = 'V2beta3'
28
- REVISION = '20200529'
28
+ REVISION = '20200804'
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'
@@ -22,36 +22,25 @@ module Google
22
22
  module Apis
23
23
  module CloudtasksV2beta3
24
24
 
25
- # App Engine HTTP queue.
26
- # The task will be delivered to the App Engine application hostname
27
- # specified by its AppEngineHttpQueue and AppEngineHttpRequest.
28
- # The documentation for AppEngineHttpRequest explains how the
29
- # task's host URL is constructed.
30
- # Using AppEngineHttpQueue requires
31
- # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
32
- # api/access-control)
33
- # Google IAM permission for the project
34
- # and the following scope:
25
+ # App Engine HTTP queue. The task will be delivered to the App Engine
26
+ # application hostname specified by its AppEngineHttpQueue and
27
+ # AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
28
+ # the task's host URL is constructed. Using AppEngineHttpQueue requires [`
29
+ # appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
30
+ # access-control) Google IAM permission for the project and the following scope:
35
31
  # `https://www.googleapis.com/auth/cloud-platform`
36
32
  class AppEngineHttpQueue
37
33
  include Google::Apis::Core::Hashable
38
34
 
39
- # App Engine Routing.
40
- # Defines routing characteristics specific to App Engine - service, version,
41
- # and instance.
42
- # For more information about services, versions, and instances see
43
- # [An Overview of App
44
- # Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
45
- # engine),
46
- # [Microservices Architecture on Google App
47
- # Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
48
- # engine),
49
- # [App Engine Standard request
50
- # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
51
- # are-routed),
52
- # and [App Engine Flex request
53
- # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
54
- # are-routed).
35
+ # App Engine Routing. Defines routing characteristics specific to App Engine -
36
+ # service, version, and instance. For more information about services, versions,
37
+ # and instances see [An Overview of App Engine](https://cloud.google.com/
38
+ # appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
39
+ # on Google App Engine](https://cloud.google.com/appengine/docs/python/
40
+ # microservices-on-app-engine), [App Engine Standard request routing](https://
41
+ # cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
42
+ # App Engine Flex request routing](https://cloud.google.com/appengine/docs/
43
+ # flexible/python/how-requests-are-routed).
55
44
  # Corresponds to the JSON property `appEngineRoutingOverride`
56
45
  # @return [Google::Apis::CloudtasksV2beta3::AppEngineRouting]
57
46
  attr_accessor :app_engine_routing_override
@@ -66,146 +55,103 @@ module Google
66
55
  end
67
56
  end
68
57
 
69
- # App Engine HTTP request.
70
- # The message defines the HTTP request that is sent to an App Engine app when
71
- # the task is dispatched.
72
- # Using AppEngineHttpRequest requires
73
- # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
74
- # api/access-control)
75
- # Google IAM permission for the project
76
- # and the following scope:
77
- # `https://www.googleapis.com/auth/cloud-platform`
78
- # The task will be delivered to the App Engine app which belongs to the same
79
- # project as the queue. For more information, see
80
- # [How Requests are
81
- # Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
82
- # are-routed)
83
- # and how routing is affected by
84
- # [dispatch
85
- # files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
86
- # Traffic is encrypted during transport and never leaves Google datacenters.
87
- # Because this traffic is carried over a communication mechanism internal to
88
- # Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
89
- # The request to the handler, however, will appear to have used the HTTP
90
- # protocol.
91
- # The AppEngineRouting used to construct the URL that the task is
92
- # delivered to can be set at the queue-level or task-level:
93
- # * If set,
94
- # app_engine_routing_override
95
- # is used for all tasks in the queue, no matter what the setting
96
- # is for the
97
- # task-level app_engine_routing.
98
- # The `url` that the task will be sent to is:
99
- # * `url =` host `+`
100
- # relative_uri
58
+ # App Engine HTTP request. The message defines the HTTP request that is sent to
59
+ # an App Engine app when the task is dispatched. Using AppEngineHttpRequest
60
+ # requires [`appengine.applications.get`](https://cloud.google.com/appengine/
61
+ # docs/admin-api/access-control) Google IAM permission for the project and the
62
+ # following scope: `https://www.googleapis.com/auth/cloud-platform` The task
63
+ # will be delivered to the App Engine app which belongs to the same project as
64
+ # the queue. For more information, see [How Requests are Routed](https://cloud.
65
+ # google.com/appengine/docs/standard/python/how-requests-are-routed) and how
66
+ # routing is affected by [dispatch files](https://cloud.google.com/appengine/
67
+ # docs/python/config/dispatchref). Traffic is encrypted during transport and
68
+ # never leaves Google datacenters. Because this traffic is carried over a
69
+ # communication mechanism internal to Google, you cannot explicitly set the
70
+ # protocol (for example, HTTP or HTTPS). The request to the handler, however,
71
+ # will appear to have used the HTTP protocol. The AppEngineRouting used to
72
+ # construct the URL that the task is delivered to can be set at the queue-level
73
+ # or task-level: * If set, app_engine_routing_override is used for all tasks in
74
+ # the queue, no matter what the setting is for the task-level app_engine_routing.
75
+ # The `url` that the task will be sent to is: * `url =` host `+` relative_uri
101
76
  # Tasks can be dispatched to secure app handlers, unsecure app handlers, and
102
- # URIs restricted with
103
- # [`login:
104
- # admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
105
- # Because tasks are not run as any user, they cannot be dispatched to URIs
106
- # restricted with
107
- # [`login:
108
- # required`](https://cloud.google.com/appengine/docs/standard/python/config/
109
- # appref)
110
- # Task dispatches also do not follow redirects.
111
- # The task attempt has succeeded if the app's request handler returns an HTTP
112
- # response code in the range [`200` - `299`]. The task attempt has failed if
113
- # the app's handler returns a non-2xx response code or Cloud Tasks does
114
- # not receive response before the deadline. Failed
115
- # tasks will be retried according to the
116
- # retry configuration. `503` (Service Unavailable) is
117
- # considered an App Engine system error instead of an application error and
118
- # will cause Cloud Tasks' traffic congestion control to temporarily throttle
119
- # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
77
+ # URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/
78
+ # standard/python/config/appref). Because tasks are not run as any user, they
79
+ # cannot be dispatched to URIs restricted with [`login: required`](https://cloud.
80
+ # google.com/appengine/docs/standard/python/config/appref) Task dispatches also
81
+ # do not follow redirects. The task attempt has succeeded if the app's request
82
+ # handler returns an HTTP response code in the range [`200` - `299`]. The task
83
+ # attempt has failed if the app's handler returns a non-2xx response code or
84
+ # Cloud Tasks does not receive response before the deadline. Failed tasks will
85
+ # be retried according to the retry configuration. `503` (Service Unavailable)
86
+ # is considered an App Engine system error instead of an application error and
87
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle the
88
+ # queue's dispatches. Unlike other types of task targets, a `429` (Too Many
120
89
  # Requests) response from an app handler does not cause traffic congestion
121
90
  # control to throttle the queue.
122
91
  class AppEngineHttpRequest
123
92
  include Google::Apis::Core::Hashable
124
93
 
125
- # App Engine Routing.
126
- # Defines routing characteristics specific to App Engine - service, version,
127
- # and instance.
128
- # For more information about services, versions, and instances see
129
- # [An Overview of App
130
- # Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
131
- # engine),
132
- # [Microservices Architecture on Google App
133
- # Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
134
- # engine),
135
- # [App Engine Standard request
136
- # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
137
- # are-routed),
138
- # and [App Engine Flex request
139
- # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
140
- # are-routed).
94
+ # App Engine Routing. Defines routing characteristics specific to App Engine -
95
+ # service, version, and instance. For more information about services, versions,
96
+ # and instances see [An Overview of App Engine](https://cloud.google.com/
97
+ # appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
98
+ # on Google App Engine](https://cloud.google.com/appengine/docs/python/
99
+ # microservices-on-app-engine), [App Engine Standard request routing](https://
100
+ # cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
101
+ # App Engine Flex request routing](https://cloud.google.com/appengine/docs/
102
+ # flexible/python/how-requests-are-routed).
141
103
  # Corresponds to the JSON property `appEngineRouting`
142
104
  # @return [Google::Apis::CloudtasksV2beta3::AppEngineRouting]
143
105
  attr_accessor :app_engine_routing
144
106
 
145
- # HTTP request body.
146
- # A request body is allowed only if the HTTP method is POST or PUT. It is
147
- # an error to set a body on a task with an incompatible HttpMethod.
107
+ # HTTP request body. A request body is allowed only if the HTTP method is POST
108
+ # or PUT. It is an error to set a body on a task with an incompatible HttpMethod.
148
109
  # Corresponds to the JSON property `body`
149
110
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
150
111
  # @return [String]
151
112
  attr_accessor :body
152
113
 
153
- # HTTP request headers.
154
- # This map contains the header field names and values.
155
- # Headers can be set when the
156
- # task is created.
157
- # Repeated headers are not supported but a header value can contain commas.
158
- # Cloud Tasks sets some headers to default values:
159
- # * `User-Agent`: By default, this header is
160
- # `"AppEngine-Google; (+http://code.google.com/appengine)"`.
161
- # This header can be modified, but Cloud Tasks will append
162
- # `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
163
- # modified `User-Agent`.
164
- # If the task has a body, Cloud
165
- # Tasks sets the following headers:
166
- # * `Content-Type`: By default, the `Content-Type` header is set to
167
- # `"application/octet-stream"`. The default can be overridden by explicitly
168
- # setting `Content-Type` to a particular media type when the
169
- # task is created.
170
- # For example, `Content-Type` can be set to `"application/json"`.
171
- # * `Content-Length`: This is computed by Cloud Tasks. This value is
172
- # output only. It cannot be changed.
173
- # The headers below cannot be set or overridden:
174
- # * `Host`
175
- # * `X-Google-*`
176
- # * `X-AppEngine-*`
177
- # In addition, Cloud Tasks sets some headers when the task is dispatched,
178
- # such as headers containing information about the task; see
179
- # [request
180
- # headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
181
- # reading_request_headers).
182
- # These headers are set only when the task is dispatched, so they are not
183
- # visible when the task is returned in a Cloud Tasks response.
184
- # Although there is no specific limit for the maximum number of headers or
185
- # the size, there is a limit on the maximum size of the Task. For more
186
- # information, see the CreateTask documentation.
114
+ # HTTP request headers. This map contains the header field names and values.
115
+ # Headers can be set when the task is created. Repeated headers are not
116
+ # supported but a header value can contain commas. Cloud Tasks sets some headers
117
+ # to default values: * `User-Agent`: By default, this header is `"AppEngine-
118
+ # Google; (+http://code.google.com/appengine)"`. This header can be modified,
119
+ # but Cloud Tasks will append `"AppEngine-Google; (+http://code.google.com/
120
+ # appengine)"` to the modified `User-Agent`. If the task has a body, Cloud Tasks
121
+ # sets the following headers: * `Content-Type`: By default, the `Content-Type`
122
+ # header is set to `"application/octet-stream"`. The default can be overridden
123
+ # by explicitly setting `Content-Type` to a particular media type when the task
124
+ # is created. For example, `Content-Type` can be set to `"application/json"`. * `
125
+ # Content-Length`: This is computed by Cloud Tasks. This value is output only.
126
+ # It cannot be changed. The headers below cannot be set or overridden: * `Host` *
127
+ # `X-Google-*` * `X-AppEngine-*` In addition, Cloud Tasks sets some headers
128
+ # when the task is dispatched, such as headers containing information about the
129
+ # task; see [request headers](https://cloud.google.com/tasks/docs/creating-
130
+ # appengine-handlers#reading_request_headers). These headers are set only when
131
+ # the task is dispatched, so they are not visible when the task is returned in a
132
+ # Cloud Tasks response. Although there is no specific limit for the maximum
133
+ # number of headers or the size, there is a limit on the maximum size of the
134
+ # Task. For more information, see the CreateTask documentation.
187
135
  # Corresponds to the JSON property `headers`
188
136
  # @return [Hash<String,String>]
189
137
  attr_accessor :headers
190
138
 
191
- # The HTTP method to use for the request. The default is POST.
192
- # The app's request handler for the task's target URL must be able to handle
193
- # HTTP requests with this http_method, otherwise the task attempt fails with
194
- # error code 405 (Method Not Allowed). See [Writing a push task request
195
- # handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-
196
- # handlers#writing_a_push_task_request_handler)
197
- # and the App Engine documentation for your runtime on [How Requests are
198
- # Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-
199
- # are-handled).
139
+ # The HTTP method to use for the request. The default is POST. The app's request
140
+ # handler for the task's target URL must be able to handle HTTP requests with
141
+ # this http_method, otherwise the task attempt fails with error code 405 (Method
142
+ # Not Allowed). See [Writing a push task request handler](https://cloud.google.
143
+ # com/appengine/docs/java/taskqueue/push/creating-handlers#
144
+ # writing_a_push_task_request_handler) and the App Engine documentation for your
145
+ # runtime on [How Requests are Handled](https://cloud.google.com/appengine/docs/
146
+ # standard/python3/how-requests-are-handled).
200
147
  # Corresponds to the JSON property `httpMethod`
201
148
  # @return [String]
202
149
  attr_accessor :http_method
203
150
 
204
- # The relative URI.
205
- # The relative URI must begin with "/" and must be a valid HTTP relative URI.
206
- # It can contain a path and query string arguments.
207
- # If the relative URI is empty, then the root path "/" will be used.
208
- # No spaces are allowed, and the maximum length allowed is 2083 characters.
151
+ # The relative URI. The relative URI must begin with "/" and must be a valid
152
+ # HTTP relative URI. It can contain a path and query string arguments. If the
153
+ # relative URI is empty, then the root path "/" will be used. No spaces are
154
+ # allowed, and the maximum length allowed is 2083 characters.
209
155
  # Corresponds to the JSON property `relativeUri`
210
156
  # @return [String]
211
157
  attr_accessor :relative_uri
@@ -224,89 +170,59 @@ module Google
224
170
  end
225
171
  end
226
172
 
227
- # App Engine Routing.
228
- # Defines routing characteristics specific to App Engine - service, version,
229
- # and instance.
230
- # For more information about services, versions, and instances see
231
- # [An Overview of App
232
- # Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
233
- # engine),
234
- # [Microservices Architecture on Google App
235
- # Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-
236
- # engine),
237
- # [App Engine Standard request
238
- # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
239
- # are-routed),
240
- # and [App Engine Flex request
241
- # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
242
- # are-routed).
173
+ # App Engine Routing. Defines routing characteristics specific to App Engine -
174
+ # service, version, and instance. For more information about services, versions,
175
+ # and instances see [An Overview of App Engine](https://cloud.google.com/
176
+ # appengine/docs/python/an-overview-of-app-engine), [Microservices Architecture
177
+ # on Google App Engine](https://cloud.google.com/appengine/docs/python/
178
+ # microservices-on-app-engine), [App Engine Standard request routing](https://
179
+ # cloud.google.com/appengine/docs/standard/python/how-requests-are-routed), and [
180
+ # App Engine Flex request routing](https://cloud.google.com/appengine/docs/
181
+ # flexible/python/how-requests-are-routed).
243
182
  class AppEngineRouting
244
183
  include Google::Apis::Core::Hashable
245
184
 
246
- # Output only. The host that the task is sent to.
247
- # The host is constructed from the domain name of the app associated with
248
- # the queue's project ID (for example <app-id>.appspot.com), and the
249
- # service, version,
250
- # and instance. Tasks which were created using
251
- # the App Engine SDK might have a custom domain name.
252
- # For more information, see
253
- # [How Requests are
254
- # Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
255
- # are-routed).
185
+ # Output only. The host that the task is sent to. The host is constructed from
186
+ # the domain name of the app associated with the queue's project ID (for example
187
+ # .appspot.com), and the service, version, and instance. Tasks which were
188
+ # created using the App Engine SDK might have a custom domain name. For more
189
+ # information, see [How Requests are Routed](https://cloud.google.com/appengine/
190
+ # docs/standard/python/how-requests-are-routed).
256
191
  # Corresponds to the JSON property `host`
257
192
  # @return [String]
258
193
  attr_accessor :host
259
194
 
260
- # App instance.
261
- # By default, the task is sent to an instance which is available when
262
- # the task is attempted.
263
- # Requests can only be sent to a specific instance if
264
- # [manual scaling is used in App Engine
265
- # Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-
266
- # engine?hl=en_US#scaling_types_and_instance_classes).
267
- # App Engine Flex does not support instances. For more information, see
268
- # [App Engine Standard request
269
- # routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-
270
- # are-routed)
271
- # and [App Engine Flex request
272
- # routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-
273
- # are-routed).
195
+ # App instance. By default, the task is sent to an instance which is available
196
+ # when the task is attempted. Requests can only be sent to a specific instance
197
+ # if [manual scaling is used in App Engine Standard](https://cloud.google.com/
198
+ # appengine/docs/python/an-overview-of-app-engine?hl=en_US#
199
+ # scaling_types_and_instance_classes). App Engine Flex does not support
200
+ # instances. For more information, see [App Engine Standard request routing](
201
+ # https://cloud.google.com/appengine/docs/standard/python/how-requests-are-
202
+ # routed) and [App Engine Flex request routing](https://cloud.google.com/
203
+ # appengine/docs/flexible/python/how-requests-are-routed).
274
204
  # Corresponds to the JSON property `instance`
275
205
  # @return [String]
276
206
  attr_accessor :instance
277
207
 
278
- # App service.
279
- # By default, the task is sent to the service which is the default
280
- # service when the task is attempted.
281
- # For some queues or tasks which were created using the App Engine
282
- # Task Queue API, host is not parsable
283
- # into service,
284
- # version, and
285
- # instance. For example, some tasks
286
- # which were created using the App Engine SDK use a custom domain
287
- # name; custom domains are not parsed by Cloud Tasks. If
288
- # host is not parsable, then
289
- # service,
290
- # version, and
291
- # instance are the empty string.
208
+ # App service. By default, the task is sent to the service which is the default
209
+ # service when the task is attempted. For some queues or tasks which were
210
+ # created using the App Engine Task Queue API, host is not parsable into service,
211
+ # version, and instance. For example, some tasks which were created using the
212
+ # App Engine SDK use a custom domain name; custom domains are not parsed by
213
+ # Cloud Tasks. If host is not parsable, then service, version, and instance are
214
+ # the empty string.
292
215
  # Corresponds to the JSON property `service`
293
216
  # @return [String]
294
217
  attr_accessor :service
295
218
 
296
- # App version.
297
- # By default, the task is sent to the version which is the default
298
- # version when the task is attempted.
299
- # For some queues or tasks which were created using the App Engine
300
- # Task Queue API, host is not parsable
301
- # into service,
302
- # version, and
303
- # instance. For example, some tasks
304
- # which were created using the App Engine SDK use a custom domain
305
- # name; custom domains are not parsed by Cloud Tasks. If
306
- # host is not parsable, then
307
- # service,
308
- # version, and
309
- # instance are the empty string.
219
+ # App version. By default, the task is sent to the version which is the default
220
+ # version when the task is attempted. For some queues or tasks which were
221
+ # created using the App Engine Task Queue API, host is not parsable into service,
222
+ # version, and instance. For example, some tasks which were created using the
223
+ # App Engine SDK use a custom domain name; custom domains are not parsed by
224
+ # Cloud Tasks. If host is not parsable, then service, version, and instance are
225
+ # the empty string.
310
226
  # Corresponds to the JSON property `version`
311
227
  # @return [String]
312
228
  attr_accessor :version
@@ -328,30 +244,30 @@ module Google
328
244
  class Attempt
329
245
  include Google::Apis::Core::Hashable
330
246
 
331
- # Output only. The time that this attempt was dispatched.
332
- # `dispatch_time` will be truncated to the nearest microsecond.
247
+ # Output only. The time that this attempt was dispatched. `dispatch_time` will
248
+ # be truncated to the nearest microsecond.
333
249
  # Corresponds to the JSON property `dispatchTime`
334
250
  # @return [String]
335
251
  attr_accessor :dispatch_time
336
252
 
337
- # The `Status` type defines a logical error model that is suitable for
338
- # different programming environments, including REST APIs and RPC APIs. It is
339
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
340
- # three pieces of data: error code, error message, and error details.
341
- # You can find out more about this error model and how to work with it in the
342
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
253
+ # The `Status` type defines a logical error model that is suitable for different
254
+ # programming environments, including REST APIs and RPC APIs. It is used by [
255
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
256
+ # data: error code, error message, and error details. You can find out more
257
+ # about this error model and how to work with it in the [API Design Guide](https:
258
+ # //cloud.google.com/apis/design/errors).
343
259
  # Corresponds to the JSON property `responseStatus`
344
260
  # @return [Google::Apis::CloudtasksV2beta3::Status]
345
261
  attr_accessor :response_status
346
262
 
347
- # Output only. The time that this attempt response was received.
348
- # `response_time` will be truncated to the nearest microsecond.
263
+ # Output only. The time that this attempt response was received. `response_time`
264
+ # will be truncated to the nearest microsecond.
349
265
  # Corresponds to the JSON property `responseTime`
350
266
  # @return [String]
351
267
  attr_accessor :response_time
352
268
 
353
- # Output only. The time that this attempt was scheduled.
354
- # `schedule_time` will be truncated to the nearest microsecond.
269
+ # Output only. The time that this attempt was scheduled. `schedule_time` will be
270
+ # truncated to the nearest microsecond.
355
271
  # Corresponds to the JSON property `scheduleTime`
356
272
  # @return [String]
357
273
  attr_accessor :schedule_time
@@ -373,69 +289,57 @@ module Google
373
289
  class Binding
374
290
  include Google::Apis::Core::Hashable
375
291
 
376
- # Represents a textual expression in the Common Expression Language (CEL)
377
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
378
- # are documented at https://github.com/google/cel-spec.
379
- # Example (Comparison):
380
- # title: "Summary size limit"
381
- # description: "Determines if a summary is less than 100 chars"
382
- # expression: "document.summary.size() < 100"
383
- # Example (Equality):
384
- # title: "Requestor is owner"
385
- # description: "Determines if requestor is the document owner"
386
- # expression: "document.owner == request.auth.claims.email"
387
- # Example (Logic):
388
- # title: "Public documents"
389
- # description: "Determine whether the document should be publicly visible"
390
- # expression: "document.type != 'private' && document.type != 'internal'"
391
- # Example (Data Manipulation):
392
- # title: "Notification string"
393
- # description: "Create a notification string with a timestamp."
394
- # expression: "'New message received at ' + string(document.create_time)"
395
- # The exact variables and functions that may be referenced within an expression
396
- # are determined by the service that evaluates it. See the service
397
- # documentation for additional information.
292
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
293
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
294
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
295
+ # "Summary size limit" description: "Determines if a summary is less than 100
296
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
297
+ # Requestor is owner" description: "Determines if requestor is the document
298
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
299
+ # Logic): title: "Public documents" description: "Determine whether the document
300
+ # should be publicly visible" expression: "document.type != 'private' &&
301
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
302
+ # string" description: "Create a notification string with a timestamp."
303
+ # expression: "'New message received at ' + string(document.create_time)" The
304
+ # exact variables and functions that may be referenced within an expression are
305
+ # determined by the service that evaluates it. See the service documentation for
306
+ # additional information.
398
307
  # Corresponds to the JSON property `condition`
399
308
  # @return [Google::Apis::CloudtasksV2beta3::Expr]
400
309
  attr_accessor :condition
401
310
 
402
- # Specifies the identities requesting access for a Cloud Platform resource.
403
- # `members` can have the following values:
404
- # * `allUsers`: A special identifier that represents anyone who is
405
- # on the internet; with or without a Google account.
406
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
407
- # who is authenticated with a Google account or a service account.
408
- # * `user:`emailid``: An email address that represents a specific Google
409
- # account. For example, `alice@example.com` .
410
- # * `serviceAccount:`emailid``: An email address that represents a service
411
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
412
- # * `group:`emailid``: An email address that represents a Google group.
413
- # For example, `admins@example.com`.
414
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
415
- # identifier) representing a user that has been recently deleted. For
416
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
417
- # recovered, this value reverts to `user:`emailid`` and the recovered user
418
- # retains the role in the binding.
419
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
420
- # unique identifier) representing a service account that has been recently
421
- # deleted. For example,
422
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
423
- # If the service account is undeleted, this value reverts to
424
- # `serviceAccount:`emailid`` and the undeleted service account retains the
425
- # role in the binding.
426
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
427
- # identifier) representing a Google group that has been recently
428
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
429
- # the group is recovered, this value reverts to `group:`emailid`` and the
430
- # recovered group retains the role in the binding.
431
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
432
- # users of that domain. For example, `google.com` or `example.com`.
311
+ # Specifies the identities requesting access for a Cloud Platform resource. `
312
+ # members` can have the following values: * `allUsers`: A special identifier
313
+ # that represents anyone who is on the internet; with or without a Google
314
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
315
+ # anyone who is authenticated with a Google account or a service account. * `
316
+ # user:`emailid``: An email address that represents a specific Google account.
317
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
318
+ # address that represents a service account. For example, `my-other-app@appspot.
319
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
320
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
321
+ # `uniqueid``: An email address (plus unique identifier) representing a user
322
+ # that has been recently deleted. For example, `alice@example.com?uid=
323
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
324
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
325
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
326
+ # identifier) representing a service account that has been recently deleted. For
327
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
328
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
329
+ # emailid`` and the undeleted service account retains the role in the binding. *
330
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
331
+ # identifier) representing a Google group that has been recently deleted. For
332
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
333
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
334
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
335
+ # primary) that represents all the users of that domain. For example, `google.
336
+ # com` or `example.com`.
433
337
  # Corresponds to the JSON property `members`
434
338
  # @return [Array<String>]
435
339
  attr_accessor :members
436
340
 
437
- # Role that is assigned to `members`.
438
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
341
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
342
+ # , or `roles/owner`.
439
343
  # Corresponds to the JSON property `role`
440
344
  # @return [String]
441
345
  attr_accessor :role
@@ -456,16 +360,12 @@ module Google
456
360
  class CreateTaskRequest
457
361
  include Google::Apis::Core::Hashable
458
362
 
459
- # The response_view specifies which subset of the Task will be
460
- # returned.
461
- # By default response_view is BASIC; not all
462
- # information is retrieved by default because some data, such as
463
- # payloads, might be desirable to return only when needed because
464
- # of its large size or because of the sensitivity of data that it
465
- # contains.
466
- # Authorization for FULL requires
467
- # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
468
- # permission on the Task resource.
363
+ # The response_view specifies which subset of the Task will be returned. By
364
+ # default response_view is BASIC; not all information is retrieved by default
365
+ # because some data, such as payloads, might be desirable to return only when
366
+ # needed because of its large size or because of the sensitivity of data that it
367
+ # contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
368
+ # IAM](https://cloud.google.com/iam/) permission on the Task resource.
469
369
  # Corresponds to the JSON property `responseView`
470
370
  # @return [String]
471
371
  attr_accessor :response_view
@@ -486,13 +386,11 @@ module Google
486
386
  end
487
387
  end
488
388
 
489
- # A generic empty message that you can re-use to avoid defining duplicated
490
- # empty messages in your APIs. A typical example is to use it as the request
491
- # or the response type of an API method. For instance:
492
- # service Foo `
493
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
494
- # `
495
- # The JSON representation for `Empty` is empty JSON object ````.
389
+ # A generic empty message that you can re-use to avoid defining duplicated empty
390
+ # messages in your APIs. A typical example is to use it as the request or the
391
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
392
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
393
+ # `Empty` is empty JSON object ````.
496
394
  class Empty
497
395
  include Google::Apis::Core::Hashable
498
396
 
@@ -505,52 +403,43 @@ module Google
505
403
  end
506
404
  end
507
405
 
508
- # Represents a textual expression in the Common Expression Language (CEL)
509
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
510
- # are documented at https://github.com/google/cel-spec.
511
- # Example (Comparison):
512
- # title: "Summary size limit"
513
- # description: "Determines if a summary is less than 100 chars"
514
- # expression: "document.summary.size() < 100"
515
- # Example (Equality):
516
- # title: "Requestor is owner"
517
- # description: "Determines if requestor is the document owner"
518
- # expression: "document.owner == request.auth.claims.email"
519
- # Example (Logic):
520
- # title: "Public documents"
521
- # description: "Determine whether the document should be publicly visible"
522
- # expression: "document.type != 'private' && document.type != 'internal'"
523
- # Example (Data Manipulation):
524
- # title: "Notification string"
525
- # description: "Create a notification string with a timestamp."
526
- # expression: "'New message received at ' + string(document.create_time)"
527
- # The exact variables and functions that may be referenced within an expression
528
- # are determined by the service that evaluates it. See the service
529
- # documentation for additional information.
406
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
407
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
408
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
409
+ # "Summary size limit" description: "Determines if a summary is less than 100
410
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
411
+ # Requestor is owner" description: "Determines if requestor is the document
412
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
413
+ # Logic): title: "Public documents" description: "Determine whether the document
414
+ # should be publicly visible" expression: "document.type != 'private' &&
415
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
416
+ # string" description: "Create a notification string with a timestamp."
417
+ # expression: "'New message received at ' + string(document.create_time)" The
418
+ # exact variables and functions that may be referenced within an expression are
419
+ # determined by the service that evaluates it. See the service documentation for
420
+ # additional information.
530
421
  class Expr
531
422
  include Google::Apis::Core::Hashable
532
423
 
533
- # Optional. Description of the expression. This is a longer text which
534
- # describes the expression, e.g. when hovered over it in a UI.
424
+ # Optional. Description of the expression. This is a longer text which describes
425
+ # the expression, e.g. when hovered over it in a UI.
535
426
  # Corresponds to the JSON property `description`
536
427
  # @return [String]
537
428
  attr_accessor :description
538
429
 
539
- # Textual representation of an expression in Common Expression Language
540
- # syntax.
430
+ # Textual representation of an expression in Common Expression Language syntax.
541
431
  # Corresponds to the JSON property `expression`
542
432
  # @return [String]
543
433
  attr_accessor :expression
544
434
 
545
- # Optional. String indicating the location of the expression for error
546
- # reporting, e.g. a file name and a position in the file.
435
+ # Optional. String indicating the location of the expression for error reporting,
436
+ # e.g. a file name and a position in the file.
547
437
  # Corresponds to the JSON property `location`
548
438
  # @return [String]
549
439
  attr_accessor :location
550
440
 
551
- # Optional. Title for the expression, i.e. a short string describing
552
- # its purpose. This can be used e.g. in UIs which allow to enter the
553
- # expression.
441
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
442
+ # This can be used e.g. in UIs which allow to enter the expression.
554
443
  # Corresponds to the JSON property `title`
555
444
  # @return [String]
556
445
  attr_accessor :title
@@ -591,15 +480,13 @@ module Google
591
480
  class GetPolicyOptions
592
481
  include Google::Apis::Core::Hashable
593
482
 
594
- # Optional. The policy format version to be returned.
595
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
596
- # rejected.
597
- # Requests for policies with any conditional bindings must specify version 3.
598
- # Policies without any conditional bindings may specify any valid value or
599
- # leave the field unset.
600
- # To learn which resources support conditions in their IAM policies, see the
601
- # [IAM
602
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
483
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
484
+ # 3. Requests specifying an invalid value will be rejected. Requests for
485
+ # policies with any conditional bindings must specify version 3. Policies
486
+ # without any conditional bindings may specify any valid value or leave the
487
+ # field unset. To learn which resources support conditions in their IAM policies,
488
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
489
+ # resource-policies).
603
490
  # Corresponds to the JSON property `requestedPolicyVersion`
604
491
  # @return [Fixnum]
605
492
  attr_accessor :requested_policy_version
@@ -614,61 +501,48 @@ module Google
614
501
  end
615
502
  end
616
503
 
617
- # HTTP request.
618
- # The task will be pushed to the worker as an HTTP request. If the worker
619
- # or the redirected worker acknowledges the task by returning a successful HTTP
620
- # response code ([`200` - `299`]), the task will be removed from the queue. If
621
- # any other HTTP response code is returned or no response is received, the
622
- # task will be retried according to the following:
623
- # * User-specified throttling: retry configuration,
624
- # rate limits, and the queue's state.
504
+ # HTTP request. The task will be pushed to the worker as an HTTP request. If the
505
+ # worker or the redirected worker acknowledges the task by returning a
506
+ # successful HTTP response code ([`200` - `299`]), the task will be removed from
507
+ # the queue. If any other HTTP response code is returned or no response is
508
+ # received, the task will be retried according to the following: * User-
509
+ # specified throttling: retry configuration, rate limits, and the queue's state.
625
510
  # * System throttling: To prevent the worker from overloading, Cloud Tasks may
626
- # temporarily reduce the queue's effective rate. User-specified settings
627
- # will not be changed.
628
- # System throttling happens because:
629
- # * Cloud Tasks backs off on all errors. Normally the backoff specified in
630
- # rate limits will be used. But if the worker returns
631
- # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
632
- # errors is high, Cloud Tasks will use a higher backoff rate. The retry
633
- # specified in the `Retry-After` HTTP response header is considered.
634
- # * To prevent traffic spikes and to smooth sudden increases in traffic,
635
- # dispatches ramp up slowly when the queue is newly created or idle and
636
- # if large numbers of tasks suddenly become available to dispatch (due to
637
- # spikes in create task rates, the queue being unpaused, or many tasks
638
- # that are scheduled at the same time).
511
+ # temporarily reduce the queue's effective rate. User-specified settings will
512
+ # not be changed. System throttling happens because: * Cloud Tasks backs off on
513
+ # all errors. Normally the backoff specified in rate limits will be used. But if
514
+ # the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
515
+ # the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
516
+ # retry specified in the `Retry-After` HTTP response header is considered. * To
517
+ # prevent traffic spikes and to smooth sudden increases in traffic, dispatches
518
+ # ramp up slowly when the queue is newly created or idle and if large numbers of
519
+ # tasks suddenly become available to dispatch (due to spikes in create task
520
+ # rates, the queue being unpaused, or many tasks that are scheduled at the same
521
+ # time).
639
522
  class HttpRequest
640
523
  include Google::Apis::Core::Hashable
641
524
 
642
- # HTTP request body.
643
- # A request body is allowed only if the
644
- # HTTP method is POST, PUT, or PATCH. It is an
645
- # error to set body on a task with an incompatible HttpMethod.
525
+ # HTTP request body. A request body is allowed only if the HTTP method is POST,
526
+ # PUT, or PATCH. It is an error to set body on a task with an incompatible
527
+ # HttpMethod.
646
528
  # Corresponds to the JSON property `body`
647
529
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
648
530
  # @return [String]
649
531
  attr_accessor :body
650
532
 
651
- # HTTP request headers.
652
- # This map contains the header field names and values.
653
- # Headers can be set when the
654
- # task is created.
655
- # These headers represent a subset of the headers that will accompany the
656
- # task's HTTP request. Some HTTP request headers will be ignored or replaced.
657
- # A partial list of headers that will be ignored or replaced is:
658
- # * Host: This will be computed by Cloud Tasks and derived from
659
- # HttpRequest.url.
660
- # * Content-Length: This will be computed by Cloud Tasks.
661
- # * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
662
- # * X-Google-*: Google use only.
663
- # * X-AppEngine-*: Google use only.
664
- # `Content-Type` won't be set by Cloud Tasks. You can explicitly set
665
- # `Content-Type` to a media type when the
666
- # task is created.
667
- # For example, `Content-Type` can be set to `"application/octet-stream"` or
668
- # `"application/json"`.
669
- # Headers which can have multiple values (according to RFC2616) can be
670
- # specified using comma-separated values.
671
- # The size of the headers must be less than 80KB.
533
+ # HTTP request headers. This map contains the header field names and values.
534
+ # Headers can be set when the task is created. These headers represent a subset
535
+ # of the headers that will accompany the task's HTTP request. Some HTTP request
536
+ # headers will be ignored or replaced. A partial list of headers that will be
537
+ # ignored or replaced is: * Host: This will be computed by Cloud Tasks and
538
+ # derived from HttpRequest.url. * Content-Length: This will be computed by Cloud
539
+ # Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * X-Google-*:
540
+ # Google use only. * X-AppEngine-*: Google use only. `Content-Type` won't be set
541
+ # by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the
542
+ # task is created. For example, `Content-Type` can be set to `"application/octet-
543
+ # stream"` or `"application/json"`. Headers which can have multiple values (
544
+ # according to RFC2616) can be specified using comma-separated values. The size
545
+ # of the headers must be less than 80KB.
672
546
  # Corresponds to the JSON property `headers`
673
547
  # @return [Hash<String,String>]
674
548
  attr_accessor :headers
@@ -678,31 +552,28 @@ module Google
678
552
  # @return [String]
679
553
  attr_accessor :http_method
680
554
 
681
- # Contains information needed for generating an
682
- # [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
683
- # This type of authorization should generally only be used when calling Google
684
- # APIs hosted on *.googleapis.com.
555
+ # Contains information needed for generating an [OAuth token](https://developers.
556
+ # google.com/identity/protocols/OAuth2). This type of authorization should
557
+ # generally only be used when calling Google APIs hosted on *.googleapis.com.
685
558
  # Corresponds to the JSON property `oauthToken`
686
559
  # @return [Google::Apis::CloudtasksV2beta3::OAuthToken]
687
560
  attr_accessor :oauth_token
688
561
 
689
- # Contains information needed for generating an
690
- # [OpenID Connect
691
- # token](https://developers.google.com/identity/protocols/OpenIDConnect).
692
- # This type of authorization can be used for many scenarios, including
693
- # calling Cloud Run, or endpoints where you intend to validate the token
694
- # yourself.
562
+ # Contains information needed for generating an [OpenID Connect token](https://
563
+ # developers.google.com/identity/protocols/OpenIDConnect). This type of
564
+ # authorization can be used for many scenarios, including calling Cloud Run, or
565
+ # endpoints where you intend to validate the token yourself.
695
566
  # Corresponds to the JSON property `oidcToken`
696
567
  # @return [Google::Apis::CloudtasksV2beta3::OidcToken]
697
568
  attr_accessor :oidc_token
698
569
 
699
- # Required. The full url path that the request will be sent to.
700
- # This string must begin with either "http://" or "https://". Some examples
701
- # are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
702
- # encode some characters for safety and compatibility. The maximum allowed
703
- # URL length is 2083 characters after encoding.
704
- # The `Location` header response from a redirect response [`300` - `399`]
705
- # may be followed. The redirect is not counted as a separate attempt.
570
+ # Required. The full url path that the request will be sent to. This string must
571
+ # begin with either "http://" or "https://". Some examples are: `http://acme.com`
572
+ # and `https://acme.com/sales:8080`. Cloud Tasks will encode some characters
573
+ # for safety and compatibility. The maximum allowed URL length is 2083
574
+ # characters after encoding. The `Location` header response from a redirect
575
+ # response [`300` - `399`] may be followed. The redirect is not counted as a
576
+ # separate attempt.
706
577
  # Corresponds to the JSON property `url`
707
578
  # @return [String]
708
579
  attr_accessor :url
@@ -751,12 +622,9 @@ module Google
751
622
  class ListQueuesResponse
752
623
  include Google::Apis::Core::Hashable
753
624
 
754
- # A token to retrieve next page of results.
755
- # To return the next page of results, call
756
- # ListQueues with this value as the
757
- # page_token.
758
- # If the next_page_token is empty, there are no more results.
759
- # The page token is valid for only 2 hours.
625
+ # A token to retrieve next page of results. To return the next page of results,
626
+ # call ListQueues with this value as the page_token. If the next_page_token is
627
+ # empty, there are no more results. The page token is valid for only 2 hours.
760
628
  # Corresponds to the JSON property `nextPageToken`
761
629
  # @return [String]
762
630
  attr_accessor :next_page_token
@@ -781,11 +649,9 @@ module Google
781
649
  class ListTasksResponse
782
650
  include Google::Apis::Core::Hashable
783
651
 
784
- # A token to retrieve next page of results.
785
- # To return the next page of results, call
786
- # ListTasks with this value as the
787
- # page_token.
788
- # If the next_page_token is empty, there are no more results.
652
+ # A token to retrieve next page of results. To return the next page of results,
653
+ # call ListTasks with this value as the page_token. If the next_page_token is
654
+ # empty, there are no more results.
789
655
  # Corresponds to the JSON property `nextPageToken`
790
656
  # @return [String]
791
657
  attr_accessor :next_page_token
@@ -810,14 +676,14 @@ module Google
810
676
  class Location
811
677
  include Google::Apis::Core::Hashable
812
678
 
813
- # The friendly name for this location, typically a nearby city name.
814
- # For example, "Tokyo".
679
+ # The friendly name for this location, typically a nearby city name. For example,
680
+ # "Tokyo".
815
681
  # Corresponds to the JSON property `displayName`
816
682
  # @return [String]
817
683
  attr_accessor :display_name
818
684
 
819
- # Cross-service attributes for the location. For example
820
- # `"cloud.googleapis.com/region": "us-east1"`
685
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
686
+ # region": "us-east1"`
821
687
  # Corresponds to the JSON property `labels`
822
688
  # @return [Hash<String,String>]
823
689
  attr_accessor :labels
@@ -833,8 +699,8 @@ module Google
833
699
  # @return [Hash<String,Object>]
834
700
  attr_accessor :metadata
835
701
 
836
- # Resource name for the location, which may vary between implementations.
837
- # For example: `"projects/example-project/locations/us-east1"`
702
+ # Resource name for the location, which may vary between implementations. For
703
+ # example: `"projects/example-project/locations/us-east1"`
838
704
  # Corresponds to the JSON property `name`
839
705
  # @return [String]
840
706
  attr_accessor :name
@@ -853,25 +719,22 @@ module Google
853
719
  end
854
720
  end
855
721
 
856
- # Contains information needed for generating an
857
- # [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
858
- # This type of authorization should generally only be used when calling Google
859
- # APIs hosted on *.googleapis.com.
722
+ # Contains information needed for generating an [OAuth token](https://developers.
723
+ # google.com/identity/protocols/OAuth2). This type of authorization should
724
+ # generally only be used when calling Google APIs hosted on *.googleapis.com.
860
725
  class OAuthToken
861
726
  include Google::Apis::Core::Hashable
862
727
 
863
- # OAuth scope to be used for generating OAuth access token.
864
- # If not specified, "https://www.googleapis.com/auth/cloud-platform"
865
- # will be used.
728
+ # OAuth scope to be used for generating OAuth access token. If not specified, "
729
+ # https://www.googleapis.com/auth/cloud-platform" will be used.
866
730
  # Corresponds to the JSON property `scope`
867
731
  # @return [String]
868
732
  attr_accessor :scope
869
733
 
870
- # [Service account email](https://cloud.google.com/iam/docs/service-accounts)
871
- # to be used for generating OAuth token.
872
- # The service account must be within the same project as the queue. The
873
- # caller must have iam.serviceAccounts.actAs permission for the service
874
- # account.
734
+ # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
735
+ # be used for generating OAuth token. The service account must be within the
736
+ # same project as the queue. The caller must have iam.serviceAccounts.actAs
737
+ # permission for the service account.
875
738
  # Corresponds to the JSON property `serviceAccountEmail`
876
739
  # @return [String]
877
740
  attr_accessor :service_account_email
@@ -887,12 +750,10 @@ module Google
887
750
  end
888
751
  end
889
752
 
890
- # Contains information needed for generating an
891
- # [OpenID Connect
892
- # token](https://developers.google.com/identity/protocols/OpenIDConnect).
893
- # This type of authorization can be used for many scenarios, including
894
- # calling Cloud Run, or endpoints where you intend to validate the token
895
- # yourself.
753
+ # Contains information needed for generating an [OpenID Connect token](https://
754
+ # developers.google.com/identity/protocols/OpenIDConnect). This type of
755
+ # authorization can be used for many scenarios, including calling Cloud Run, or
756
+ # endpoints where you intend to validate the token yourself.
896
757
  class OidcToken
897
758
  include Google::Apis::Core::Hashable
898
759
 
@@ -902,11 +763,10 @@ module Google
902
763
  # @return [String]
903
764
  attr_accessor :audience
904
765
 
905
- # [Service account email](https://cloud.google.com/iam/docs/service-accounts)
906
- # to be used for generating OIDC token.
907
- # The service account must be within the same project as the queue. The
908
- # caller must have iam.serviceAccounts.actAs permission for the service
909
- # account.
766
+ # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to
767
+ # be used for generating OIDC token. The service account must be within the same
768
+ # project as the queue. The caller must have iam.serviceAccounts.actAs
769
+ # permission for the service account.
910
770
  # Corresponds to the JSON property `serviceAccountEmail`
911
771
  # @return [String]
912
772
  attr_accessor :service_account_email
@@ -936,111 +796,73 @@ module Google
936
796
  end
937
797
 
938
798
  # An Identity and Access Management (IAM) policy, which specifies access
939
- # controls for Google Cloud resources.
940
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
941
- # `members` to a single `role`. Members can be user accounts, service accounts,
942
- # Google groups, and domains (such as G Suite). A `role` is a named list of
943
- # permissions; each `role` can be an IAM predefined role or a user-created
944
- # custom role.
945
- # For some types of Google Cloud resources, a `binding` can also specify a
946
- # `condition`, which is a logical expression that allows access to a resource
947
- # only if the expression evaluates to `true`. A condition can add constraints
948
- # based on attributes of the request, the resource, or both. To learn which
949
- # resources support conditions in their IAM policies, see the
950
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
951
- # policies).
952
- # **JSON example:**
953
- # `
954
- # "bindings": [
955
- # `
956
- # "role": "roles/resourcemanager.organizationAdmin",
957
- # "members": [
958
- # "user:mike@example.com",
959
- # "group:admins@example.com",
960
- # "domain:google.com",
961
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
962
- # ]
963
- # `,
964
- # `
965
- # "role": "roles/resourcemanager.organizationViewer",
966
- # "members": [
967
- # "user:eve@example.com"
968
- # ],
969
- # "condition": `
970
- # "title": "expirable access",
971
- # "description": "Does not grant access after Sep 2020",
972
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
973
- # ",
974
- # `
975
- # `
976
- # ],
977
- # "etag": "BwWWja0YfJA=",
978
- # "version": 3
979
- # `
980
- # **YAML example:**
981
- # bindings:
982
- # - members:
983
- # - user:mike@example.com
984
- # - group:admins@example.com
985
- # - domain:google.com
986
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
987
- # role: roles/resourcemanager.organizationAdmin
988
- # - members:
989
- # - user:eve@example.com
990
- # role: roles/resourcemanager.organizationViewer
991
- # condition:
992
- # title: expirable access
993
- # description: Does not grant access after Sep 2020
994
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
995
- # - etag: BwWWja0YfJA=
996
- # - version: 3
997
- # For a description of IAM and its features, see the
998
- # [IAM documentation](https://cloud.google.com/iam/docs/).
799
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
800
+ # A `binding` binds one or more `members` to a single `role`. Members can be
801
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
802
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
803
+ # role or a user-created custom role. For some types of Google Cloud resources,
804
+ # a `binding` can also specify a `condition`, which is a logical expression that
805
+ # allows access to a resource only if the expression evaluates to `true`. A
806
+ # condition can add constraints based on attributes of the request, the resource,
807
+ # or both. To learn which resources support conditions in their IAM policies,
808
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
809
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
810
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
811
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
812
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
813
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
814
+ # title": "expirable access", "description": "Does not grant access after Sep
815
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
816
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
817
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
818
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
819
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
820
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
821
+ # description: Does not grant access after Sep 2020 expression: request.time <
822
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
823
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
824
+ # google.com/iam/docs/).
999
825
  class Policy
1000
826
  include Google::Apis::Core::Hashable
1001
827
 
1002
- # Associates a list of `members` to a `role`. Optionally, may specify a
1003
- # `condition` that determines how and when the `bindings` are applied. Each
1004
- # of the `bindings` must contain at least one member.
828
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
829
+ # condition` that determines how and when the `bindings` are applied. Each of
830
+ # the `bindings` must contain at least one member.
1005
831
  # Corresponds to the JSON property `bindings`
1006
832
  # @return [Array<Google::Apis::CloudtasksV2beta3::Binding>]
1007
833
  attr_accessor :bindings
1008
834
 
1009
- # `etag` is used for optimistic concurrency control as a way to help
1010
- # prevent simultaneous updates of a policy from overwriting each other.
1011
- # It is strongly suggested that systems make use of the `etag` in the
1012
- # read-modify-write cycle to perform policy updates in order to avoid race
1013
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1014
- # systems are expected to put that etag in the request to `setIamPolicy` to
1015
- # ensure that their change will be applied to the same version of the policy.
1016
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1017
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1018
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1019
- # the conditions in the version `3` policy are lost.
835
+ # `etag` is used for optimistic concurrency control as a way to help prevent
836
+ # simultaneous updates of a policy from overwriting each other. It is strongly
837
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
838
+ # to perform policy updates in order to avoid race conditions: An `etag` is
839
+ # returned in the response to `getIamPolicy`, and systems are expected to put
840
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
841
+ # applied to the same version of the policy. **Important:** If you use IAM
842
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
843
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
844
+ # with a version `1` policy, and all of the conditions in the version `3` policy
845
+ # are lost.
1020
846
  # Corresponds to the JSON property `etag`
1021
847
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1022
848
  # @return [String]
1023
849
  attr_accessor :etag
1024
850
 
1025
- # Specifies the format of the policy.
1026
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1027
- # are rejected.
1028
- # Any operation that affects conditional role bindings must specify version
1029
- # `3`. This requirement applies to the following operations:
1030
- # * Getting a policy that includes a conditional role binding
1031
- # * Adding a conditional role binding to a policy
1032
- # * Changing a conditional role binding in a policy
1033
- # * Removing any role binding, with or without a condition, from a policy
1034
- # that includes conditions
1035
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1036
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1037
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1038
- # the conditions in the version `3` policy are lost.
1039
- # If a policy does not include any conditions, operations on that policy may
1040
- # specify any valid version or leave the field unset.
1041
- # To learn which resources support conditions in their IAM policies, see the
1042
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1043
- # policies).
851
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
852
+ # Requests that specify an invalid value are rejected. Any operation that
853
+ # affects conditional role bindings must specify version `3`. This requirement
854
+ # applies to the following operations: * Getting a policy that includes a
855
+ # conditional role binding * Adding a conditional role binding to a policy *
856
+ # Changing a conditional role binding in a policy * Removing any role binding,
857
+ # with or without a condition, from a policy that includes conditions **
858
+ # Important:** If you use IAM Conditions, you must include the `etag` field
859
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
860
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
861
+ # conditions in the version `3` policy are lost. If a policy does not include
862
+ # any conditions, operations on that policy may specify any valid version or
863
+ # leave the field unset. To learn which resources support conditions in their
864
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
865
+ # conditions/resource-policies).
1044
866
  # Corresponds to the JSON property `version`
1045
867
  # @return [Fixnum]
1046
868
  attr_accessor :version
@@ -1070,97 +892,78 @@ module Google
1070
892
  end
1071
893
  end
1072
894
 
1073
- # A queue is a container of related tasks. Queues are configured to manage
1074
- # how those tasks are dispatched. Configurable properties include rate limits,
1075
- # retry options, queue types, and others.
895
+ # A queue is a container of related tasks. Queues are configured to manage how
896
+ # those tasks are dispatched. Configurable properties include rate limits, retry
897
+ # options, queue types, and others.
1076
898
  class Queue
1077
899
  include Google::Apis::Core::Hashable
1078
900
 
1079
- # App Engine HTTP queue.
1080
- # The task will be delivered to the App Engine application hostname
1081
- # specified by its AppEngineHttpQueue and AppEngineHttpRequest.
1082
- # The documentation for AppEngineHttpRequest explains how the
1083
- # task's host URL is constructed.
1084
- # Using AppEngineHttpQueue requires
1085
- # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
1086
- # api/access-control)
1087
- # Google IAM permission for the project
1088
- # and the following scope:
901
+ # App Engine HTTP queue. The task will be delivered to the App Engine
902
+ # application hostname specified by its AppEngineHttpQueue and
903
+ # AppEngineHttpRequest. The documentation for AppEngineHttpRequest explains how
904
+ # the task's host URL is constructed. Using AppEngineHttpQueue requires [`
905
+ # appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/
906
+ # access-control) Google IAM permission for the project and the following scope:
1089
907
  # `https://www.googleapis.com/auth/cloud-platform`
1090
908
  # Corresponds to the JSON property `appEngineHttpQueue`
1091
909
  # @return [Google::Apis::CloudtasksV2beta3::AppEngineHttpQueue]
1092
910
  attr_accessor :app_engine_http_queue
1093
911
 
1094
- # Caller-specified and required in CreateQueue,
1095
- # after which it becomes output only.
1096
- # The queue name.
1097
- # The queue name must have the following format:
1098
- # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
1099
- # * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
1100
- # hyphens (-), colons (:), or periods (.).
1101
- # For more information, see
1102
- # [Identifying
1103
- # projects](https://cloud.google.com/resource-manager/docs/creating-managing-
1104
- # projects#identifying_projects)
1105
- # * `LOCATION_ID` is the canonical ID for the queue's location.
1106
- # The list of available locations can be obtained by calling
1107
- # ListLocations.
1108
- # For more information, see https://cloud.google.com/about/locations/.
1109
- # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
1110
- # hyphens (-). The maximum length is 100 characters.
912
+ # Caller-specified and required in CreateQueue, after which it becomes output
913
+ # only. The queue name. The queue name must have the following format: `projects/
914
+ # PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain
915
+ # letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.).
916
+ # For more information, see [Identifying projects](https://cloud.google.com/
917
+ # resource-manager/docs/creating-managing-projects#identifying_projects) * `
918
+ # LOCATION_ID` is the canonical ID for the queue's location. The list of
919
+ # available locations can be obtained by calling ListLocations. For more
920
+ # information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can
921
+ # contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum
922
+ # length is 100 characters.
1111
923
  # Corresponds to the JSON property `name`
1112
924
  # @return [String]
1113
925
  attr_accessor :name
1114
926
 
1115
- # Output only. The last time this queue was purged.
1116
- # All tasks that were created before this time
1117
- # were purged.
1118
- # A queue can be purged using PurgeQueue, the
1119
- # [App Engine Task Queue SDK, or the Cloud
1120
- # Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/
1121
- # push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
1122
- # Purge time will be truncated to the nearest microsecond. Purge
1123
- # time will be unset if the queue has never been purged.
927
+ # Output only. The last time this queue was purged. All tasks that were created
928
+ # before this time were purged. A queue can be purged using PurgeQueue, the [App
929
+ # Engine Task Queue SDK, or the Cloud Console](https://cloud.google.com/
930
+ # appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#
931
+ # purging_all_tasks_from_a_queue). Purge time will be truncated to the nearest
932
+ # microsecond. Purge time will be unset if the queue has never been purged.
1124
933
  # Corresponds to the JSON property `purgeTime`
1125
934
  # @return [String]
1126
935
  attr_accessor :purge_time
1127
936
 
1128
- # Rate limits.
1129
- # This message determines the maximum rate that tasks can be dispatched by a
1130
- # queue, regardless of whether the dispatch is a first task attempt or a retry.
1131
- # Note: The debugging command, RunTask, will run a task
1132
- # even if the queue has reached its RateLimits.
937
+ # Rate limits. This message determines the maximum rate that tasks can be
938
+ # dispatched by a queue, regardless of whether the dispatch is a first task
939
+ # attempt or a retry. Note: The debugging command, RunTask, will run a task even
940
+ # if the queue has reached its RateLimits.
1133
941
  # Corresponds to the JSON property `rateLimits`
1134
942
  # @return [Google::Apis::CloudtasksV2beta3::RateLimits]
1135
943
  attr_accessor :rate_limits
1136
944
 
1137
- # Retry config.
1138
- # These settings determine when a failed task attempt is retried.
945
+ # Retry config. These settings determine when a failed task attempt is retried.
1139
946
  # Corresponds to the JSON property `retryConfig`
1140
947
  # @return [Google::Apis::CloudtasksV2beta3::RetryConfig]
1141
948
  attr_accessor :retry_config
1142
949
 
1143
- # Configuration options for writing logs to
1144
- # [Stackdriver Logging](https://cloud.google.com/logging/docs/).
950
+ # Configuration options for writing logs to [Stackdriver Logging](https://cloud.
951
+ # google.com/logging/docs/).
1145
952
  # Corresponds to the JSON property `stackdriverLoggingConfig`
1146
953
  # @return [Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig]
1147
954
  attr_accessor :stackdriver_logging_config
1148
955
 
1149
- # Output only. The state of the queue.
1150
- # `state` can only be changed by called
1151
- # PauseQueue,
1152
- # ResumeQueue, or uploading
1153
- # [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/
1154
- # queueref).
1155
- # UpdateQueue cannot be used to change `state`.
956
+ # Output only. The state of the queue. `state` can only be changed by called
957
+ # PauseQueue, ResumeQueue, or uploading [queue.yaml/xml](https://cloud.google.
958
+ # com/appengine/docs/python/config/queueref). UpdateQueue cannot be used to
959
+ # change `state`.
1156
960
  # Corresponds to the JSON property `state`
1157
961
  # @return [String]
1158
962
  attr_accessor :state
1159
963
 
1160
- # Immutable. The type of a queue (push or pull).
1161
- # `Queue.type` is an immutable property of the queue that is set at the queue
1162
- # creation time. When left unspecified, the default value of `PUSH` is
1163
- # selected.
964
+ # Immutable. The type of a queue (push or pull). `Queue.type` is an immutable
965
+ # property of the queue that is set at the queue creation time. When left
966
+ # unspecified, the default value of `PUSH` is selected.
1164
967
  # Corresponds to the JSON property `type`
1165
968
  # @return [String]
1166
969
  attr_accessor :type
@@ -1182,71 +985,51 @@ module Google
1182
985
  end
1183
986
  end
1184
987
 
1185
- # Rate limits.
1186
- # This message determines the maximum rate that tasks can be dispatched by a
1187
- # queue, regardless of whether the dispatch is a first task attempt or a retry.
1188
- # Note: The debugging command, RunTask, will run a task
1189
- # even if the queue has reached its RateLimits.
988
+ # Rate limits. This message determines the maximum rate that tasks can be
989
+ # dispatched by a queue, regardless of whether the dispatch is a first task
990
+ # attempt or a retry. Note: The debugging command, RunTask, will run a task even
991
+ # if the queue has reached its RateLimits.
1190
992
  class RateLimits
1191
993
  include Google::Apis::Core::Hashable
1192
994
 
1193
- # Output only. The max burst size.
1194
- # Max burst size limits how fast tasks in queue are processed when
1195
- # many tasks are in the queue and the rate is high. This field
1196
- # allows the queue to have a high rate so processing starts shortly
1197
- # after a task is enqueued, but still limits resource usage when
1198
- # many tasks are enqueued in a short period of time.
1199
- # The [token bucket](https://wikipedia.org/wiki/Token_Bucket)
1200
- # algorithm is used to control the rate of task dispatches. Each
1201
- # queue has a token bucket that holds tokens, up to the maximum
1202
- # specified by `max_burst_size`. Each time a task is dispatched, a
1203
- # token is removed from the bucket. Tasks will be dispatched until
1204
- # the queue's bucket runs out of tokens. The bucket will be
1205
- # continuously refilled with new tokens based on
1206
- # max_dispatches_per_second.
1207
- # Cloud Tasks will pick the value of `max_burst_size` based on the
1208
- # value of
1209
- # max_dispatches_per_second.
1210
- # For App Engine queues that were created or updated using
1211
- # `queue.yaml/xml`, `max_burst_size` is equal to
1212
- # [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
1213
- # queueref#bucket_size).
1214
- # Since `max_burst_size` is output only, if
1215
- # UpdateQueue is called on a queue
1216
- # created by `queue.yaml/xml`, `max_burst_size` will be reset based
1217
- # on the value of
1218
- # max_dispatches_per_second,
1219
- # regardless of whether
1220
- # max_dispatches_per_second
1221
- # is updated.
995
+ # Output only. The max burst size. Max burst size limits how fast tasks in queue
996
+ # are processed when many tasks are in the queue and the rate is high. This
997
+ # field allows the queue to have a high rate so processing starts shortly after
998
+ # a task is enqueued, but still limits resource usage when many tasks are
999
+ # enqueued in a short period of time. The [token bucket](https://wikipedia.org/
1000
+ # wiki/Token_Bucket) algorithm is used to control the rate of task dispatches.
1001
+ # Each queue has a token bucket that holds tokens, up to the maximum specified
1002
+ # by `max_burst_size`. Each time a task is dispatched, a token is removed from
1003
+ # the bucket. Tasks will be dispatched until the queue's bucket runs out of
1004
+ # tokens. The bucket will be continuously refilled with new tokens based on
1005
+ # max_dispatches_per_second. Cloud Tasks will pick the value of `max_burst_size`
1006
+ # based on the value of max_dispatches_per_second. For App Engine queues that
1007
+ # were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [
1008
+ # bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/
1009
+ # queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue
1010
+ # is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be
1011
+ # reset based on the value of max_dispatches_per_second, regardless of whether
1012
+ # max_dispatches_per_second is updated.
1222
1013
  # Corresponds to the JSON property `maxBurstSize`
1223
1014
  # @return [Fixnum]
1224
1015
  attr_accessor :max_burst_size
1225
1016
 
1226
- # The maximum number of concurrent tasks that Cloud Tasks allows
1227
- # to be dispatched for this queue. After this threshold has been
1228
- # reached, Cloud Tasks stops dispatching tasks until the number of
1229
- # concurrent requests decreases.
1230
- # If unspecified when the queue is created, Cloud Tasks will pick the
1231
- # default.
1232
- # The maximum allowed value is 5,000.
1233
- # This field has the same meaning as
1234
- # [max_concurrent_requests in
1235
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1236
- # queueref#max_concurrent_requests).
1017
+ # The maximum number of concurrent tasks that Cloud Tasks allows to be
1018
+ # dispatched for this queue. After this threshold has been reached, Cloud Tasks
1019
+ # stops dispatching tasks until the number of concurrent requests decreases. If
1020
+ # unspecified when the queue is created, Cloud Tasks will pick the default. The
1021
+ # maximum allowed value is 5,000. This field has the same meaning as [
1022
+ # max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/
1023
+ # docs/standard/python/config/queueref#max_concurrent_requests).
1237
1024
  # Corresponds to the JSON property `maxConcurrentDispatches`
1238
1025
  # @return [Fixnum]
1239
1026
  attr_accessor :max_concurrent_dispatches
1240
1027
 
1241
- # The maximum rate at which tasks are dispatched from this queue.
1242
- # If unspecified when the queue is created, Cloud Tasks will pick the
1243
- # default.
1244
- # * For App Engine queues, the maximum allowed value
1245
- # is 500.
1246
- # This field has the same meaning as
1247
- # [rate in
1248
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1249
- # queueref#rate).
1028
+ # The maximum rate at which tasks are dispatched from this queue. If unspecified
1029
+ # when the queue is created, Cloud Tasks will pick the default. * For App Engine
1030
+ # queues, the maximum allowed value is 500. This field has the same meaning as [
1031
+ # rate in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/
1032
+ # python/config/queueref#rate).
1250
1033
  # Corresponds to the JSON property `maxDispatchesPerSecond`
1251
1034
  # @return [Float]
1252
1035
  attr_accessor :max_dispatches_per_second
@@ -1276,98 +1059,67 @@ module Google
1276
1059
  end
1277
1060
  end
1278
1061
 
1279
- # Retry config.
1280
- # These settings determine when a failed task attempt is retried.
1062
+ # Retry config. These settings determine when a failed task attempt is retried.
1281
1063
  class RetryConfig
1282
1064
  include Google::Apis::Core::Hashable
1283
1065
 
1284
- # Number of attempts per task.
1285
- # Cloud Tasks will attempt the task `max_attempts` times (that is, if the
1286
- # first attempt fails, then there will be `max_attempts - 1` retries). Must
1287
- # be >= -1.
1288
- # If unspecified when the queue is created, Cloud Tasks will pick the
1289
- # default.
1290
- # -1 indicates unlimited attempts.
1291
- # This field has the same meaning as
1292
- # [task_retry_limit in
1293
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1294
- # queueref#retry_parameters).
1066
+ # Number of attempts per task. Cloud Tasks will attempt the task `max_attempts`
1067
+ # times (that is, if the first attempt fails, then there will be `max_attempts -
1068
+ # 1` retries). Must be >= -1. If unspecified when the queue is created, Cloud
1069
+ # Tasks will pick the default. -1 indicates unlimited attempts. This field has
1070
+ # the same meaning as [task_retry_limit in queue.yaml/xml](https://cloud.google.
1071
+ # com/appengine/docs/standard/python/config/queueref#retry_parameters).
1295
1072
  # Corresponds to the JSON property `maxAttempts`
1296
1073
  # @return [Fixnum]
1297
1074
  attr_accessor :max_attempts
1298
1075
 
1299
- # A task will be scheduled for retry between
1300
- # min_backoff and
1301
- # max_backoff duration after it fails,
1302
- # if the queue's RetryConfig specifies that the task should be
1303
- # retried.
1304
- # If unspecified when the queue is created, Cloud Tasks will pick the
1305
- # default.
1306
- # `max_backoff` will be truncated to the nearest second.
1307
- # This field has the same meaning as
1308
- # [max_backoff_seconds in
1309
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1310
- # queueref#retry_parameters).
1076
+ # A task will be scheduled for retry between min_backoff and max_backoff
1077
+ # duration after it fails, if the queue's RetryConfig specifies that the task
1078
+ # should be retried. If unspecified when the queue is created, Cloud Tasks will
1079
+ # pick the default. `max_backoff` will be truncated to the nearest second. This
1080
+ # field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://
1081
+ # cloud.google.com/appengine/docs/standard/python/config/queueref#
1082
+ # retry_parameters).
1311
1083
  # Corresponds to the JSON property `maxBackoff`
1312
1084
  # @return [String]
1313
1085
  attr_accessor :max_backoff
1314
1086
 
1315
- # The time between retries will double `max_doublings` times.
1316
- # A task's retry interval starts at
1317
- # min_backoff, then doubles
1318
- # `max_doublings` times, then increases linearly, and finally
1319
- # retries at intervals of
1320
- # max_backoff up to
1321
- # max_attempts times.
1322
- # For example, if min_backoff is 10s,
1323
- # max_backoff is 300s, and
1324
- # `max_doublings` is 3, then the a task will first be retried in
1325
- # 10s. The retry interval will double three times, and then
1326
- # increase linearly by 2^3 * 10s. Finally, the task will retry at
1327
- # intervals of max_backoff until the
1328
- # task has been attempted max_attempts
1329
- # times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
1330
- # 240s, 300s, 300s, ....
1331
- # If unspecified when the queue is created, Cloud Tasks will pick the
1332
- # default.
1333
- # This field has the same meaning as
1334
- # [max_doublings in
1335
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1336
- # queueref#retry_parameters).
1087
+ # The time between retries will double `max_doublings` times. A task's retry
1088
+ # interval starts at min_backoff, then doubles `max_doublings` times, then
1089
+ # increases linearly, and finally retries at intervals of max_backoff up to
1090
+ # max_attempts times. For example, if min_backoff is 10s, max_backoff is 300s,
1091
+ # and `max_doublings` is 3, then the a task will first be retried in 10s. The
1092
+ # retry interval will double three times, and then increase linearly by 2^3 *
1093
+ # 10s. Finally, the task will retry at intervals of max_backoff until the task
1094
+ # has been attempted max_attempts times. Thus, the requests will retry at 10s,
1095
+ # 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... If unspecified when the queue is
1096
+ # created, Cloud Tasks will pick the default. This field has the same meaning as
1097
+ # [max_doublings in queue.yaml/xml](https://cloud.google.com/appengine/docs/
1098
+ # standard/python/config/queueref#retry_parameters).
1337
1099
  # Corresponds to the JSON property `maxDoublings`
1338
1100
  # @return [Fixnum]
1339
1101
  attr_accessor :max_doublings
1340
1102
 
1341
- # If positive, `max_retry_duration` specifies the time limit for
1342
- # retrying a failed task, measured from when the task was first
1343
- # attempted. Once `max_retry_duration` time has passed *and* the
1344
- # task has been attempted max_attempts
1345
- # times, no further attempts will be made and the task will be
1346
- # deleted.
1347
- # If zero, then the task age is unlimited.
1348
- # If unspecified when the queue is created, Cloud Tasks will pick the
1349
- # default.
1350
- # `max_retry_duration` will be truncated to the nearest second.
1351
- # This field has the same meaning as
1352
- # [task_age_limit in
1353
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1354
- # queueref#retry_parameters).
1103
+ # If positive, `max_retry_duration` specifies the time limit for retrying a
1104
+ # failed task, measured from when the task was first attempted. Once `
1105
+ # max_retry_duration` time has passed *and* the task has been attempted
1106
+ # max_attempts times, no further attempts will be made and the task will be
1107
+ # deleted. If zero, then the task age is unlimited. If unspecified when the
1108
+ # queue is created, Cloud Tasks will pick the default. `max_retry_duration` will
1109
+ # be truncated to the nearest second. This field has the same meaning as [
1110
+ # task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/
1111
+ # standard/python/config/queueref#retry_parameters).
1355
1112
  # Corresponds to the JSON property `maxRetryDuration`
1356
1113
  # @return [String]
1357
1114
  attr_accessor :max_retry_duration
1358
1115
 
1359
- # A task will be scheduled for retry between
1360
- # min_backoff and
1361
- # max_backoff duration after it fails,
1362
- # if the queue's RetryConfig specifies that the task should be
1363
- # retried.
1364
- # If unspecified when the queue is created, Cloud Tasks will pick the
1365
- # default.
1366
- # `min_backoff` will be truncated to the nearest second.
1367
- # This field has the same meaning as
1368
- # [min_backoff_seconds in
1369
- # queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/
1370
- # queueref#retry_parameters).
1116
+ # A task will be scheduled for retry between min_backoff and max_backoff
1117
+ # duration after it fails, if the queue's RetryConfig specifies that the task
1118
+ # should be retried. If unspecified when the queue is created, Cloud Tasks will
1119
+ # pick the default. `min_backoff` will be truncated to the nearest second. This
1120
+ # field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://
1121
+ # cloud.google.com/appengine/docs/standard/python/config/queueref#
1122
+ # retry_parameters).
1371
1123
  # Corresponds to the JSON property `minBackoff`
1372
1124
  # @return [String]
1373
1125
  attr_accessor :min_backoff
@@ -1386,21 +1138,16 @@ module Google
1386
1138
  end
1387
1139
  end
1388
1140
 
1389
- # Request message for forcing a task to run now using
1390
- # RunTask.
1141
+ # Request message for forcing a task to run now using RunTask.
1391
1142
  class RunTaskRequest
1392
1143
  include Google::Apis::Core::Hashable
1393
1144
 
1394
- # The response_view specifies which subset of the Task will be
1395
- # returned.
1396
- # By default response_view is BASIC; not all
1397
- # information is retrieved by default because some data, such as
1398
- # payloads, might be desirable to return only when needed because
1399
- # of its large size or because of the sensitivity of data that it
1400
- # contains.
1401
- # Authorization for FULL requires
1402
- # `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
1403
- # permission on the Task resource.
1145
+ # The response_view specifies which subset of the Task will be returned. By
1146
+ # default response_view is BASIC; not all information is retrieved by default
1147
+ # because some data, such as payloads, might be desirable to return only when
1148
+ # needed because of its large size or because of the sensitivity of data that it
1149
+ # contains. Authorization for FULL requires `cloudtasks.tasks.fullView` [Google
1150
+ # IAM](https://cloud.google.com/iam/) permission on the Task resource.
1404
1151
  # Corresponds to the JSON property `responseView`
1405
1152
  # @return [String]
1406
1153
  attr_accessor :response_view
@@ -1420,66 +1167,32 @@ module Google
1420
1167
  include Google::Apis::Core::Hashable
1421
1168
 
1422
1169
  # An Identity and Access Management (IAM) policy, which specifies access
1423
- # controls for Google Cloud resources.
1424
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1425
- # `members` to a single `role`. Members can be user accounts, service accounts,
1426
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1427
- # permissions; each `role` can be an IAM predefined role or a user-created
1428
- # custom role.
1429
- # For some types of Google Cloud resources, a `binding` can also specify a
1430
- # `condition`, which is a logical expression that allows access to a resource
1431
- # only if the expression evaluates to `true`. A condition can add constraints
1432
- # based on attributes of the request, the resource, or both. To learn which
1433
- # resources support conditions in their IAM policies, see the
1434
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1435
- # policies).
1436
- # **JSON example:**
1437
- # `
1438
- # "bindings": [
1439
- # `
1440
- # "role": "roles/resourcemanager.organizationAdmin",
1441
- # "members": [
1442
- # "user:mike@example.com",
1443
- # "group:admins@example.com",
1444
- # "domain:google.com",
1445
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1446
- # ]
1447
- # `,
1448
- # `
1449
- # "role": "roles/resourcemanager.organizationViewer",
1450
- # "members": [
1451
- # "user:eve@example.com"
1452
- # ],
1453
- # "condition": `
1454
- # "title": "expirable access",
1455
- # "description": "Does not grant access after Sep 2020",
1456
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1457
- # ",
1458
- # `
1459
- # `
1460
- # ],
1461
- # "etag": "BwWWja0YfJA=",
1462
- # "version": 3
1463
- # `
1464
- # **YAML example:**
1465
- # bindings:
1466
- # - members:
1467
- # - user:mike@example.com
1468
- # - group:admins@example.com
1469
- # - domain:google.com
1470
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1471
- # role: roles/resourcemanager.organizationAdmin
1472
- # - members:
1473
- # - user:eve@example.com
1474
- # role: roles/resourcemanager.organizationViewer
1475
- # condition:
1476
- # title: expirable access
1477
- # description: Does not grant access after Sep 2020
1478
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1479
- # - etag: BwWWja0YfJA=
1480
- # - version: 3
1481
- # For a description of IAM and its features, see the
1482
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1170
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1171
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1172
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1173
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1174
+ # role or a user-created custom role. For some types of Google Cloud resources,
1175
+ # a `binding` can also specify a `condition`, which is a logical expression that
1176
+ # allows access to a resource only if the expression evaluates to `true`. A
1177
+ # condition can add constraints based on attributes of the request, the resource,
1178
+ # or both. To learn which resources support conditions in their IAM policies,
1179
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1180
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1181
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1182
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1183
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1184
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1185
+ # title": "expirable access", "description": "Does not grant access after Sep
1186
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1187
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1188
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1189
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1190
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1191
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1192
+ # description: Does not grant access after Sep 2020 expression: request.time <
1193
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1194
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1195
+ # google.com/iam/docs/).
1483
1196
  # Corresponds to the JSON property `policy`
1484
1197
  # @return [Google::Apis::CloudtasksV2beta3::Policy]
1485
1198
  attr_accessor :policy
@@ -1494,15 +1207,14 @@ module Google
1494
1207
  end
1495
1208
  end
1496
1209
 
1497
- # Configuration options for writing logs to
1498
- # [Stackdriver Logging](https://cloud.google.com/logging/docs/).
1210
+ # Configuration options for writing logs to [Stackdriver Logging](https://cloud.
1211
+ # google.com/logging/docs/).
1499
1212
  class StackdriverLoggingConfig
1500
1213
  include Google::Apis::Core::Hashable
1501
1214
 
1502
- # Specifies the fraction of operations to write to
1503
- # [Stackdriver Logging](https://cloud.google.com/logging/docs/).
1504
- # This field may contain any value between 0.0 and 1.0, inclusive.
1505
- # 0.0 is the default and means that no operations are logged.
1215
+ # Specifies the fraction of operations to write to [Stackdriver Logging](https://
1216
+ # cloud.google.com/logging/docs/). This field may contain any value between 0.0
1217
+ # and 1.0, inclusive. 0.0 is the default and means that no operations are logged.
1506
1218
  # Corresponds to the JSON property `samplingRatio`
1507
1219
  # @return [Float]
1508
1220
  attr_accessor :sampling_ratio
@@ -1517,12 +1229,12 @@ module Google
1517
1229
  end
1518
1230
  end
1519
1231
 
1520
- # The `Status` type defines a logical error model that is suitable for
1521
- # different programming environments, including REST APIs and RPC APIs. It is
1522
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1523
- # three pieces of data: error code, error message, and error details.
1524
- # You can find out more about this error model and how to work with it in the
1525
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1232
+ # The `Status` type defines a logical error model that is suitable for different
1233
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1234
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1235
+ # data: error code, error message, and error details. You can find out more
1236
+ # about this error model and how to work with it in the [API Design Guide](https:
1237
+ # //cloud.google.com/apis/design/errors).
1526
1238
  class Status
1527
1239
  include Google::Apis::Core::Hashable
1528
1240
 
@@ -1531,15 +1243,15 @@ module Google
1531
1243
  # @return [Fixnum]
1532
1244
  attr_accessor :code
1533
1245
 
1534
- # A list of messages that carry the error details. There is a common set of
1246
+ # A list of messages that carry the error details. There is a common set of
1535
1247
  # message types for APIs to use.
1536
1248
  # Corresponds to the JSON property `details`
1537
1249
  # @return [Array<Hash<String,Object>>]
1538
1250
  attr_accessor :details
1539
1251
 
1540
- # A developer-facing error message, which should be in English. Any
1541
- # user-facing error message should be localized and sent in the
1542
- # google.rpc.Status.details field, or localized by the client.
1252
+ # A developer-facing error message, which should be in English. Any user-facing
1253
+ # error message should be localized and sent in the google.rpc.Status.details
1254
+ # field, or localized by the client.
1543
1255
  # Corresponds to the JSON property `message`
1544
1256
  # @return [String]
1545
1257
  attr_accessor :message
@@ -1560,104 +1272,76 @@ module Google
1560
1272
  class Task
1561
1273
  include Google::Apis::Core::Hashable
1562
1274
 
1563
- # App Engine HTTP request.
1564
- # The message defines the HTTP request that is sent to an App Engine app when
1565
- # the task is dispatched.
1566
- # Using AppEngineHttpRequest requires
1567
- # [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-
1568
- # api/access-control)
1569
- # Google IAM permission for the project
1570
- # and the following scope:
1571
- # `https://www.googleapis.com/auth/cloud-platform`
1572
- # The task will be delivered to the App Engine app which belongs to the same
1573
- # project as the queue. For more information, see
1574
- # [How Requests are
1575
- # Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-
1576
- # are-routed)
1577
- # and how routing is affected by
1578
- # [dispatch
1579
- # files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
1580
- # Traffic is encrypted during transport and never leaves Google datacenters.
1581
- # Because this traffic is carried over a communication mechanism internal to
1582
- # Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
1583
- # The request to the handler, however, will appear to have used the HTTP
1584
- # protocol.
1585
- # The AppEngineRouting used to construct the URL that the task is
1586
- # delivered to can be set at the queue-level or task-level:
1587
- # * If set,
1588
- # app_engine_routing_override
1589
- # is used for all tasks in the queue, no matter what the setting
1590
- # is for the
1591
- # task-level app_engine_routing.
1592
- # The `url` that the task will be sent to is:
1593
- # * `url =` host `+`
1594
- # relative_uri
1275
+ # App Engine HTTP request. The message defines the HTTP request that is sent to
1276
+ # an App Engine app when the task is dispatched. Using AppEngineHttpRequest
1277
+ # requires [`appengine.applications.get`](https://cloud.google.com/appengine/
1278
+ # docs/admin-api/access-control) Google IAM permission for the project and the
1279
+ # following scope: `https://www.googleapis.com/auth/cloud-platform` The task
1280
+ # will be delivered to the App Engine app which belongs to the same project as
1281
+ # the queue. For more information, see [How Requests are Routed](https://cloud.
1282
+ # google.com/appengine/docs/standard/python/how-requests-are-routed) and how
1283
+ # routing is affected by [dispatch files](https://cloud.google.com/appengine/
1284
+ # docs/python/config/dispatchref). Traffic is encrypted during transport and
1285
+ # never leaves Google datacenters. Because this traffic is carried over a
1286
+ # communication mechanism internal to Google, you cannot explicitly set the
1287
+ # protocol (for example, HTTP or HTTPS). The request to the handler, however,
1288
+ # will appear to have used the HTTP protocol. The AppEngineRouting used to
1289
+ # construct the URL that the task is delivered to can be set at the queue-level
1290
+ # or task-level: * If set, app_engine_routing_override is used for all tasks in
1291
+ # the queue, no matter what the setting is for the task-level app_engine_routing.
1292
+ # The `url` that the task will be sent to is: * `url =` host `+` relative_uri
1595
1293
  # Tasks can be dispatched to secure app handlers, unsecure app handlers, and
1596
- # URIs restricted with
1597
- # [`login:
1598
- # admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
1599
- # Because tasks are not run as any user, they cannot be dispatched to URIs
1600
- # restricted with
1601
- # [`login:
1602
- # required`](https://cloud.google.com/appengine/docs/standard/python/config/
1603
- # appref)
1604
- # Task dispatches also do not follow redirects.
1605
- # The task attempt has succeeded if the app's request handler returns an HTTP
1606
- # response code in the range [`200` - `299`]. The task attempt has failed if
1607
- # the app's handler returns a non-2xx response code or Cloud Tasks does
1608
- # not receive response before the deadline. Failed
1609
- # tasks will be retried according to the
1610
- # retry configuration. `503` (Service Unavailable) is
1611
- # considered an App Engine system error instead of an application error and
1612
- # will cause Cloud Tasks' traffic congestion control to temporarily throttle
1613
- # the queue's dispatches. Unlike other types of task targets, a `429` (Too Many
1294
+ # URIs restricted with [`login: admin`](https://cloud.google.com/appengine/docs/
1295
+ # standard/python/config/appref). Because tasks are not run as any user, they
1296
+ # cannot be dispatched to URIs restricted with [`login: required`](https://cloud.
1297
+ # google.com/appengine/docs/standard/python/config/appref) Task dispatches also
1298
+ # do not follow redirects. The task attempt has succeeded if the app's request
1299
+ # handler returns an HTTP response code in the range [`200` - `299`]. The task
1300
+ # attempt has failed if the app's handler returns a non-2xx response code or
1301
+ # Cloud Tasks does not receive response before the deadline. Failed tasks will
1302
+ # be retried according to the retry configuration. `503` (Service Unavailable)
1303
+ # is considered an App Engine system error instead of an application error and
1304
+ # will cause Cloud Tasks' traffic congestion control to temporarily throttle the
1305
+ # queue's dispatches. Unlike other types of task targets, a `429` (Too Many
1614
1306
  # Requests) response from an app handler does not cause traffic congestion
1615
1307
  # control to throttle the queue.
1616
1308
  # Corresponds to the JSON property `appEngineHttpRequest`
1617
1309
  # @return [Google::Apis::CloudtasksV2beta3::AppEngineHttpRequest]
1618
1310
  attr_accessor :app_engine_http_request
1619
1311
 
1620
- # Output only. The time that the task was created.
1621
- # `create_time` will be truncated to the nearest second.
1312
+ # Output only. The time that the task was created. `create_time` will be
1313
+ # truncated to the nearest second.
1622
1314
  # Corresponds to the JSON property `createTime`
1623
1315
  # @return [String]
1624
1316
  attr_accessor :create_time
1625
1317
 
1626
- # Output only. The number of attempts dispatched.
1627
- # This count includes attempts which have been dispatched but haven't
1628
- # received a response.
1318
+ # Output only. The number of attempts dispatched. This count includes attempts
1319
+ # which have been dispatched but haven't received a response.
1629
1320
  # Corresponds to the JSON property `dispatchCount`
1630
1321
  # @return [Fixnum]
1631
1322
  attr_accessor :dispatch_count
1632
1323
 
1633
- # The deadline for requests sent to the worker. If the worker does not
1634
- # respond by this deadline then the request is cancelled and the attempt
1635
- # is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the
1636
- # task according to the RetryConfig.
1637
- # Note that when the request is cancelled, Cloud Tasks will stop listening
1638
- # for the response, but whether the worker stops processing depends on the
1639
- # worker. For example, if the worker is stuck, it may not react to cancelled
1640
- # requests.
1641
- # The default and maximum values depend on the type of request:
1642
- # * For HTTP tasks, the default is 10 minutes. The deadline
1643
- # must be in the interval [15 seconds, 30 minutes].
1644
- # * For App Engine tasks, 0 indicates that the
1645
- # request has the default deadline. The default deadline depends on the
1646
- # [scaling
1647
- # type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-
1648
- # managed#instance_scaling)
1649
- # of the service: 10 minutes for standard apps with automatic scaling, 24
1650
- # hours for standard apps with manual and basic scaling, and 60 minutes for
1651
- # flex apps. If the request deadline is set, it must be in the interval [15
1652
- # seconds, 24 hours 15 seconds]. Regardless of the task's
1653
- # `dispatch_deadline`, the app handler will not run for longer than than
1654
- # the service's timeout. We recommend setting the `dispatch_deadline` to
1655
- # at most a few seconds more than the app handler's timeout. For more
1656
- # information see
1657
- # [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
1658
- # timeouts).
1659
- # `dispatch_deadline` will be truncated to the nearest millisecond. The
1660
- # deadline is an approximate deadline.
1324
+ # The deadline for requests sent to the worker. If the worker does not respond
1325
+ # by this deadline then the request is cancelled and the attempt is marked as a `
1326
+ # DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the task according to the
1327
+ # RetryConfig. Note that when the request is cancelled, Cloud Tasks will stop
1328
+ # listening for the response, but whether the worker stops processing depends on
1329
+ # the worker. For example, if the worker is stuck, it may not react to cancelled
1330
+ # requests. The default and maximum values depend on the type of request: * For
1331
+ # HTTP tasks, the default is 10 minutes. The deadline must be in the interval [
1332
+ # 15 seconds, 30 minutes]. * For App Engine tasks, 0 indicates that the request
1333
+ # has the default deadline. The default deadline depends on the [scaling type](
1334
+ # https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#
1335
+ # instance_scaling) of the service: 10 minutes for standard apps with automatic
1336
+ # scaling, 24 hours for standard apps with manual and basic scaling, and 60
1337
+ # minutes for flex apps. If the request deadline is set, it must be in the
1338
+ # interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `
1339
+ # dispatch_deadline`, the app handler will not run for longer than than the
1340
+ # service's timeout. We recommend setting the `dispatch_deadline` to at most a
1341
+ # few seconds more than the app handler's timeout. For more information see [
1342
+ # Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#
1343
+ # timeouts). `dispatch_deadline` will be truncated to the nearest millisecond.
1344
+ # The deadline is an approximate deadline.
1661
1345
  # Corresponds to the JSON property `dispatchDeadline`
1662
1346
  # @return [String]
1663
1347
  attr_accessor :dispatch_deadline
@@ -1667,28 +1351,24 @@ module Google
1667
1351
  # @return [Google::Apis::CloudtasksV2beta3::Attempt]
1668
1352
  attr_accessor :first_attempt
1669
1353
 
1670
- # HTTP request.
1671
- # The task will be pushed to the worker as an HTTP request. If the worker
1672
- # or the redirected worker acknowledges the task by returning a successful HTTP
1673
- # response code ([`200` - `299`]), the task will be removed from the queue. If
1674
- # any other HTTP response code is returned or no response is received, the
1675
- # task will be retried according to the following:
1676
- # * User-specified throttling: retry configuration,
1677
- # rate limits, and the queue's state.
1354
+ # HTTP request. The task will be pushed to the worker as an HTTP request. If the
1355
+ # worker or the redirected worker acknowledges the task by returning a
1356
+ # successful HTTP response code ([`200` - `299`]), the task will be removed from
1357
+ # the queue. If any other HTTP response code is returned or no response is
1358
+ # received, the task will be retried according to the following: * User-
1359
+ # specified throttling: retry configuration, rate limits, and the queue's state.
1678
1360
  # * System throttling: To prevent the worker from overloading, Cloud Tasks may
1679
- # temporarily reduce the queue's effective rate. User-specified settings
1680
- # will not be changed.
1681
- # System throttling happens because:
1682
- # * Cloud Tasks backs off on all errors. Normally the backoff specified in
1683
- # rate limits will be used. But if the worker returns
1684
- # `429` (Too Many Requests), `503` (Service Unavailable), or the rate of
1685
- # errors is high, Cloud Tasks will use a higher backoff rate. The retry
1686
- # specified in the `Retry-After` HTTP response header is considered.
1687
- # * To prevent traffic spikes and to smooth sudden increases in traffic,
1688
- # dispatches ramp up slowly when the queue is newly created or idle and
1689
- # if large numbers of tasks suddenly become available to dispatch (due to
1690
- # spikes in create task rates, the queue being unpaused, or many tasks
1691
- # that are scheduled at the same time).
1361
+ # temporarily reduce the queue's effective rate. User-specified settings will
1362
+ # not be changed. System throttling happens because: * Cloud Tasks backs off on
1363
+ # all errors. Normally the backoff specified in rate limits will be used. But if
1364
+ # the worker returns `429` (Too Many Requests), `503` (Service Unavailable), or
1365
+ # the rate of errors is high, Cloud Tasks will use a higher backoff rate. The
1366
+ # retry specified in the `Retry-After` HTTP response header is considered. * To
1367
+ # prevent traffic spikes and to smooth sudden increases in traffic, dispatches
1368
+ # ramp up slowly when the queue is newly created or idle and if large numbers of
1369
+ # tasks suddenly become available to dispatch (due to spikes in create task
1370
+ # rates, the queue being unpaused, or many tasks that are scheduled at the same
1371
+ # time).
1692
1372
  # Corresponds to the JSON property `httpRequest`
1693
1373
  # @return [Google::Apis::CloudtasksV2beta3::HttpRequest]
1694
1374
  attr_accessor :http_request
@@ -1698,24 +1378,18 @@ module Google
1698
1378
  # @return [Google::Apis::CloudtasksV2beta3::Attempt]
1699
1379
  attr_accessor :last_attempt
1700
1380
 
1701
- # Optionally caller-specified in CreateTask.
1702
- # The task name.
1703
- # The task name must have the following format:
1704
- # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1705
- # * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
1706
- # hyphens (-), colons (:), or periods (.).
1707
- # For more information, see
1708
- # [Identifying
1709
- # projects](https://cloud.google.com/resource-manager/docs/creating-managing-
1710
- # projects#identifying_projects)
1711
- # * `LOCATION_ID` is the canonical ID for the task's location.
1712
- # The list of available locations can be obtained by calling
1713
- # ListLocations.
1714
- # For more information, see https://cloud.google.com/about/locations/.
1715
- # * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or
1716
- # hyphens (-). The maximum length is 100 characters.
1717
- # * `TASK_ID` can contain only letters ([A-Za-z]), numbers ([0-9]),
1718
- # hyphens (-), or underscores (_). The maximum length is 500 characters.
1381
+ # Optionally caller-specified in CreateTask. The task name. The task name must
1382
+ # have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/
1383
+ # QUEUE_ID/tasks/TASK_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers
1384
+ # ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [
1385
+ # Identifying projects](https://cloud.google.com/resource-manager/docs/creating-
1386
+ # managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID
1387
+ # for the task's location. The list of available locations can be obtained by
1388
+ # calling ListLocations. For more information, see https://cloud.google.com/
1389
+ # about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]),
1390
+ # or hyphens (-). The maximum length is 100 characters. * `TASK_ID` can contain
1391
+ # only letters ([A-Za-z]), numbers ([0-9]), hyphens (-), or underscores (_). The
1392
+ # maximum length is 500 characters.
1719
1393
  # Corresponds to the JSON property `name`
1720
1394
  # @return [String]
1721
1395
  attr_accessor :name
@@ -1725,15 +1399,14 @@ module Google
1725
1399
  # @return [Fixnum]
1726
1400
  attr_accessor :response_count
1727
1401
 
1728
- # The time when the task is scheduled to be attempted.
1729
- # For App Engine queues, this is when the task will be attempted or retried.
1730
- # `schedule_time` will be truncated to the nearest microsecond.
1402
+ # The time when the task is scheduled to be attempted. For App Engine queues,
1403
+ # this is when the task will be attempted or retried. `schedule_time` will be
1404
+ # truncated to the nearest microsecond.
1731
1405
  # Corresponds to the JSON property `scheduleTime`
1732
1406
  # @return [String]
1733
1407
  attr_accessor :schedule_time
1734
1408
 
1735
- # Output only. The view specifies which subset of the Task has
1736
- # been returned.
1409
+ # Output only. The view specifies which subset of the Task has been returned.
1737
1410
  # Corresponds to the JSON property `view`
1738
1411
  # @return [String]
1739
1412
  attr_accessor :view
@@ -1762,10 +1435,9 @@ module Google
1762
1435
  class TestIamPermissionsRequest
1763
1436
  include Google::Apis::Core::Hashable
1764
1437
 
1765
- # The set of permissions to check for the `resource`. Permissions with
1766
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
1767
- # information see
1768
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1438
+ # The set of permissions to check for the `resource`. Permissions with wildcards
1439
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1440
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1769
1441
  # Corresponds to the JSON property `permissions`
1770
1442
  # @return [Array<String>]
1771
1443
  attr_accessor :permissions
@@ -1784,8 +1456,7 @@ module Google
1784
1456
  class TestIamPermissionsResponse
1785
1457
  include Google::Apis::Core::Hashable
1786
1458
 
1787
- # A subset of `TestPermissionsRequest.permissions` that the caller is
1788
- # allowed.
1459
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1789
1460
  # Corresponds to the JSON property `permissions`
1790
1461
  # @return [Array<String>]
1791
1462
  attr_accessor :permissions