google-api-client 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/shell/docs/
27
27
  module CloudshellV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20200721'
29
+ REVISION = '20200803'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,8 +22,7 @@ module Google
22
22
  module Apis
23
23
  module CloudshellV1alpha1
24
24
 
25
- # Request message for
26
- # AuthorizeEnvironment.
25
+ # Request message for AuthorizeEnvironment.
27
26
  class AuthorizeEnvironmentRequest
28
27
  include Google::Apis::Core::Hashable
29
28
 
@@ -55,8 +54,7 @@ module Google
55
54
  end
56
55
  end
57
56
 
58
- # Request message for
59
- # CreatePublicKey.
57
+ # Request message for CreatePublicKey.
60
58
  class CreatePublicKeyRequest
61
59
  include Google::Apis::Core::Hashable
62
60
 
@@ -75,13 +73,11 @@ module Google
75
73
  end
76
74
  end
77
75
 
78
- # A generic empty message that you can re-use to avoid defining duplicated
79
- # empty messages in your APIs. A typical example is to use it as the request
80
- # or the response type of an API method. For instance:
81
- # service Foo `
82
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
83
- # `
84
- # The JSON representation for `Empty` is empty JSON object ````.
76
+ # A generic empty message that you can re-use to avoid defining duplicated empty
77
+ # messages in your APIs. A typical example is to use it as the request or the
78
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
79
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
80
+ # `Empty` is empty JSON object ````.
85
81
  class Empty
86
82
  include Google::Apis::Core::Hashable
87
83
 
@@ -101,8 +97,8 @@ module Google
101
97
  class Environment
102
98
  include Google::Apis::Core::Hashable
103
99
 
104
- # Required. Full path to the Docker image used to run this environment, e.g.
105
- # "gcr.io/dev-con/cloud-devshell:latest".
100
+ # Required. Full path to the Docker image used to run this environment, e.g. "
101
+ # gcr.io/dev-con/cloud-devshell:latest".
106
102
  # Corresponds to the JSON property `dockerImage`
107
103
  # @return [String]
108
104
  attr_accessor :docker_image
@@ -113,39 +109,38 @@ module Google
113
109
  # @return [String]
114
110
  attr_accessor :id
115
111
 
116
- # Output only. Full name of this resource, in the format
117
- # `users/`owner_email`/environments/`environment_id``. ``owner_email`` is the
118
- # email address of the user to whom this environment belongs, and
119
- # ``environment_id`` is the identifier of this environment. For example,
120
- # `users/someone@example.com/environments/default`.
112
+ # Output only. Full name of this resource, in the format `users/`owner_email`/
113
+ # environments/`environment_id``. ``owner_email`` is the email address of the
114
+ # user to whom this environment belongs, and ``environment_id`` is the
115
+ # identifier of this environment. For example, `users/someone@example.com/
116
+ # environments/default`.
121
117
  # Corresponds to the JSON property `name`
122
118
  # @return [String]
123
119
  attr_accessor :name
124
120
 
125
- # Output only. Public keys associated with the environment. Clients can
126
- # connect to this environment via SSH only if they possess a private key
127
- # corresponding to at least one of these public keys. Keys can be added to or
128
- # removed from the environment using the CreatePublicKey and DeletePublicKey
129
- # methods.
121
+ # Output only. Public keys associated with the environment. Clients can connect
122
+ # to this environment via SSH only if they possess a private key corresponding
123
+ # to at least one of these public keys. Keys can be added to or removed from the
124
+ # environment using the CreatePublicKey and DeletePublicKey methods.
130
125
  # Corresponds to the JSON property `publicKeys`
131
126
  # @return [Array<Google::Apis::CloudshellV1alpha1::PublicKey>]
132
127
  attr_accessor :public_keys
133
128
 
134
- # Indicates the size of the backing VM running the environment. If set to
135
- # something other than DEFAULT, it will be reverted to the default VM size
136
- # after vm_size_expire_time.
129
+ # Indicates the size of the backing VM running the environment. If set to
130
+ # something other than DEFAULT, it will be reverted to the default VM size after
131
+ # vm_size_expire_time.
137
132
  # Corresponds to the JSON property `size`
138
133
  # @return [String]
139
134
  attr_accessor :size
140
135
 
141
- # Output only. Host to which clients can connect to initiate SSH sessions
142
- # with the environment.
136
+ # Output only. Host to which clients can connect to initiate SSH sessions with
137
+ # the environment.
143
138
  # Corresponds to the JSON property `sshHost`
144
139
  # @return [String]
145
140
  attr_accessor :ssh_host
146
141
 
147
- # Output only. Port to which clients can connect to initiate SSH sessions
148
- # with the environment.
142
+ # Output only. Port to which clients can connect to initiate SSH sessions with
143
+ # the environment.
149
144
  # Corresponds to the JSON property `sshPort`
150
145
  # @return [Fixnum]
151
146
  attr_accessor :ssh_port
@@ -161,8 +156,8 @@ module Google
161
156
  # @return [String]
162
157
  attr_accessor :state
163
158
 
164
- # Output only. The time when the Environment will expire back to the default
165
- # VM size.
159
+ # Output only. The time when the Environment will expire back to the default VM
160
+ # size.
166
161
  # Corresponds to the JSON property `vmSizeExpireTime`
167
162
  # @return [String]
168
163
  attr_accessor :vm_size_expire_time
@@ -205,47 +200,45 @@ module Google
205
200
  class Operation
206
201
  include Google::Apis::Core::Hashable
207
202
 
208
- # If the value is `false`, it means the operation is still in progress.
209
- # If `true`, the operation is completed, and either `error` or `response` is
210
- # available.
203
+ # If the value is `false`, it means the operation is still in progress. If `true`
204
+ # , the operation is completed, and either `error` or `response` is available.
211
205
  # Corresponds to the JSON property `done`
212
206
  # @return [Boolean]
213
207
  attr_accessor :done
214
208
  alias_method :done?, :done
215
209
 
216
- # The `Status` type defines a logical error model that is suitable for
217
- # different programming environments, including REST APIs and RPC APIs. It is
218
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
219
- # three pieces of data: error code, error message, and error details.
220
- # You can find out more about this error model and how to work with it in the
221
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
210
+ # The `Status` type defines a logical error model that is suitable for different
211
+ # programming environments, including REST APIs and RPC APIs. It is used by [
212
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
213
+ # data: error code, error message, and error details. You can find out more
214
+ # about this error model and how to work with it in the [API Design Guide](https:
215
+ # //cloud.google.com/apis/design/errors).
222
216
  # Corresponds to the JSON property `error`
223
217
  # @return [Google::Apis::CloudshellV1alpha1::Status]
224
218
  attr_accessor :error
225
219
 
226
- # Service-specific metadata associated with the operation. It typically
227
- # contains progress information and common metadata such as create time.
228
- # Some services might not provide such metadata. Any method that returns a
229
- # long-running operation should document the metadata type, if any.
220
+ # Service-specific metadata associated with the operation. It typically contains
221
+ # progress information and common metadata such as create time. Some services
222
+ # might not provide such metadata. Any method that returns a long-running
223
+ # operation should document the metadata type, if any.
230
224
  # Corresponds to the JSON property `metadata`
231
225
  # @return [Hash<String,Object>]
232
226
  attr_accessor :metadata
233
227
 
234
228
  # The server-assigned name, which is only unique within the same service that
235
- # originally returns it. If you use the default HTTP mapping, the
236
- # `name` should be a resource name ending with `operations/`unique_id``.
229
+ # originally returns it. If you use the default HTTP mapping, the `name` should
230
+ # be a resource name ending with `operations/`unique_id``.
237
231
  # Corresponds to the JSON property `name`
238
232
  # @return [String]
239
233
  attr_accessor :name
240
234
 
241
- # The normal response of the operation in case of success. If the original
242
- # method returns no data on success, such as `Delete`, the response is
243
- # `google.protobuf.Empty`. If the original method is standard
244
- # `Get`/`Create`/`Update`, the response should be the resource. For other
245
- # methods, the response should have the type `XxxResponse`, where `Xxx`
246
- # is the original method name. For example, if the original method name
247
- # is `TakeSnapshot()`, the inferred response type is
248
- # `TakeSnapshotResponse`.
235
+ # The normal response of the operation in case of success. If the original
236
+ # method returns no data on success, such as `Delete`, the response is `google.
237
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
238
+ # the response should be the resource. For other methods, the response should
239
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
240
+ # example, if the original method name is `TakeSnapshot()`, the inferred
241
+ # response type is `TakeSnapshotResponse`.
249
242
  # Corresponds to the JSON property `response`
250
243
  # @return [Hash<String,Object>]
251
244
  attr_accessor :response
@@ -279,12 +272,12 @@ module Google
279
272
  # @return [String]
280
273
  attr_accessor :key
281
274
 
282
- # Output only. Full name of this resource, in the format
283
- # `users/`owner_email`/environments/`environment_id`/publicKeys/`key_id``.
284
- # ``owner_email`` is the email address of the user to whom the key belongs.
285
- # ``environment_id`` is the identifier of the environment to which the key
286
- # grants access. ``key_id`` is the unique identifier of the key. For example,
287
- # `users/someone@example.com/environments/default/publicKeys/myKey`.
275
+ # Output only. Full name of this resource, in the format `users/`owner_email`/
276
+ # environments/`environment_id`/publicKeys/`key_id``. ``owner_email`` is the
277
+ # email address of the user to whom the key belongs. ``environment_id`` is the
278
+ # identifier of the environment to which the key grants access. ``key_id`` is
279
+ # the unique identifier of the key. For example, `users/someone@example.com/
280
+ # environments/default/publicKeys/myKey`.
288
281
  # Corresponds to the JSON property `name`
289
282
  # @return [String]
290
283
  attr_accessor :name
@@ -321,15 +314,14 @@ module Google
321
314
  end
322
315
  end
323
316
 
324
- # Request message for
325
- # StartEnvironment.
317
+ # Request message for StartEnvironment.
326
318
  class StartEnvironmentRequest
327
319
  include Google::Apis::Core::Hashable
328
320
 
329
321
  # The initial access token passed to the environment. If this is present and
330
- # valid, the environment will be pre-authenticated with gcloud so that the
331
- # user can run gcloud commands in Cloud Shell without having to log in. This
332
- # code can be updated later by calling AuthorizeEnvironment.
322
+ # valid, the environment will be pre-authenticated with gcloud so that the user
323
+ # can run gcloud commands in Cloud Shell without having to log in. This code can
324
+ # be updated later by calling AuthorizeEnvironment.
333
325
  # Corresponds to the JSON property `accessToken`
334
326
  # @return [String]
335
327
  attr_accessor :access_token
@@ -351,8 +343,7 @@ module Google
351
343
  end
352
344
 
353
345
  # Message included in the response field of operations returned from
354
- # StartEnvironment
355
- # once the operation is complete.
346
+ # StartEnvironment once the operation is complete.
356
347
  class StartEnvironmentResponse
357
348
  include Google::Apis::Core::Hashable
358
349
 
@@ -374,12 +365,12 @@ module Google
374
365
  end
375
366
  end
376
367
 
377
- # The `Status` type defines a logical error model that is suitable for
378
- # different programming environments, including REST APIs and RPC APIs. It is
379
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
380
- # three pieces of data: error code, error message, and error details.
381
- # You can find out more about this error model and how to work with it in the
382
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
368
+ # The `Status` type defines a logical error model that is suitable for different
369
+ # programming environments, including REST APIs and RPC APIs. It is used by [
370
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
371
+ # data: error code, error message, and error details. You can find out more
372
+ # about this error model and how to work with it in the [API Design Guide](https:
373
+ # //cloud.google.com/apis/design/errors).
383
374
  class Status
384
375
  include Google::Apis::Core::Hashable
385
376
 
@@ -388,15 +379,15 @@ module Google
388
379
  # @return [Fixnum]
389
380
  attr_accessor :code
390
381
 
391
- # A list of messages that carry the error details. There is a common set of
382
+ # A list of messages that carry the error details. There is a common set of
392
383
  # message types for APIs to use.
393
384
  # Corresponds to the JSON property `details`
394
385
  # @return [Array<Hash<String,Object>>]
395
386
  attr_accessor :details
396
387
 
397
- # A developer-facing error message, which should be in English. Any
398
- # user-facing error message should be localized and sent in the
399
- # google.rpc.Status.details field, or localized by the client.
388
+ # A developer-facing error message, which should be in English. Any user-facing
389
+ # error message should be localized and sent in the google.rpc.Status.details
390
+ # field, or localized by the client.
400
391
  # Corresponds to the JSON property `message`
401
392
  # @return [String]
402
393
  attr_accessor :message
@@ -49,13 +49,11 @@ module Google
49
49
  end
50
50
 
51
51
  # Sends OAuth credentials to a running environment on behalf of a user. When
52
- # this completes, the environment will be authorized to run various Google
53
- # Cloud command line tools without requiring the user to manually
54
- # authenticate.
52
+ # this completes, the environment will be authorized to run various Google Cloud
53
+ # command line tools without requiring the user to manually authenticate.
55
54
  # @param [String] name
56
- # Name of the resource that should receive the credentials, for example
57
- # `users/me/environments/default` or
58
- # `users/someone@example.com/environments/default`.
55
+ # Name of the resource that should receive the credentials, for example `users/
56
+ # me/environments/default` or `users/someone@example.com/environments/default`.
59
57
  # @param [Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest] authorize_environment_request_object
60
58
  # @param [String] fields
61
59
  # Selector specifying which fields to include in a partial response.
@@ -88,8 +86,8 @@ module Google
88
86
 
89
87
  # Gets an environment. Returns NOT_FOUND if the environment does not exist.
90
88
  # @param [String] name
91
- # Name of the requested resource, for example `users/me/environments/default`
92
- # or `users/someone@example.com/environments/default`.
89
+ # Name of the requested resource, for example `users/me/environments/default` or
90
+ # `users/someone@example.com/environments/default`.
93
91
  # @param [String] fields
94
92
  # Selector specifying which fields to include in a partial response.
95
93
  # @param [String] quota_user
@@ -119,9 +117,8 @@ module Google
119
117
 
120
118
  # Updates an existing environment.
121
119
  # @param [String] name
122
- # Name of the resource to be updated, for example
123
- # `users/me/environments/default` or
124
- # `users/someone@example.com/environments/default`.
120
+ # Name of the resource to be updated, for example `users/me/environments/default`
121
+ # or `users/someone@example.com/environments/default`.
125
122
  # @param [Google::Apis::CloudshellV1alpha1::Environment] environment_object
126
123
  # @param [String] update_mask
127
124
  # Mask specifying which fields in the environment should be updated.
@@ -156,15 +153,14 @@ module Google
156
153
  end
157
154
 
158
155
  # Starts an existing environment, allowing clients to connect to it. The
159
- # returned operation will contain an instance of StartEnvironmentMetadata in
160
- # its metadata field. Users can wait for the environment to start by polling
161
- # this operation via GetOperation. Once the environment has finished starting
162
- # and is ready to accept connections, the operation will contain a
156
+ # returned operation will contain an instance of StartEnvironmentMetadata in its
157
+ # metadata field. Users can wait for the environment to start by polling this
158
+ # operation via GetOperation. Once the environment has finished starting and is
159
+ # ready to accept connections, the operation will contain a
163
160
  # StartEnvironmentResponse in its response field.
164
161
  # @param [String] name
165
- # Name of the resource that should be started, for example
166
- # `users/me/environments/default` or
167
- # `users/someone@example.com/environments/default`.
162
+ # Name of the resource that should be started, for example `users/me/
163
+ # environments/default` or `users/someone@example.com/environments/default`.
168
164
  # @param [Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest] start_environment_request_object
169
165
  # @param [String] fields
170
166
  # Selector specifying which fields to include in a partial response.
@@ -197,8 +193,8 @@ module Google
197
193
 
198
194
  # Adds a public SSH key to an environment, allowing clients with the
199
195
  # corresponding private key to connect to that environment via SSH. If a key
200
- # with the same format and content already exists, this will return the
201
- # existing key.
196
+ # with the same format and content already exists, this will return the existing
197
+ # key.
202
198
  # @param [String] parent
203
199
  # Parent resource name, e.g. `users/me/environments/default`.
204
200
  # @param [Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest] create_public_key_request_object
@@ -231,11 +227,11 @@ module Google
231
227
  execute_or_queue_command(command, &block)
232
228
  end
233
229
 
234
- # Removes a public SSH key from an environment. Clients will no longer be
235
- # able to connect to the environment using the corresponding private key.
230
+ # Removes a public SSH key from an environment. Clients will no longer be able
231
+ # to connect to the environment using the corresponding private key.
236
232
  # @param [String] name
237
- # Name of the resource to be deleted, e.g.
238
- # `users/me/environments/default/publicKeys/my-key`.
233
+ # Name of the resource to be deleted, e.g. `users/me/environments/default/
234
+ # publicKeys/my-key`.
239
235
  # @param [String] fields
240
236
  # Selector specifying which fields to include in a partial response.
241
237
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/tasks/
26
26
  module CloudtasksV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200529'
28
+ REVISION = '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