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