google-api-client 0.42.1 → 0.44.2

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