google-api-client 0.42.2 → 0.45.0

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