google-api-client 0.43.0 → 0.48.0

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