google-api-client 0.43.0 → 0.45.1

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