google-api-client 0.43.0 → 0.44.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -24,7 +24,10 @@ module Google
24
24
  #
25
25
  # Manages identity and access control for Google Cloud Platform resources,
26
26
  # including the creation of service accounts, which you can use to authenticate
27
- # to Google and make API calls.
27
+ # to Google and make API calls. *Note:* This API is tied to the IAM service
28
+ # account credentials API ( iamcredentials.googleapis.com). Enabling or
29
+ # disabling this API will also enable or disable the IAM service account
30
+ # credentials API.
28
31
  #
29
32
  # @example
30
33
  # require 'google/apis/iam_v1'
@@ -49,9 +52,8 @@ module Google
49
52
  @batch_path = 'batch'
50
53
  end
51
54
 
52
- # Lints, or validates, an IAM policy. Currently checks the
53
- # google.iam.v1.Binding.condition field, which contains a condition
54
- # expression for a role binding.
55
+ # Lints, or validates, an IAM policy. Currently checks the google.iam.v1.Binding.
56
+ # condition field, which contains a condition expression for a role binding.
55
57
  # Successful calls to this method always return an HTTP `200 OK` status code,
56
58
  # even if the linter detects an issue in the IAM policy.
57
59
  # @param [Google::Apis::IamV1::LintPolicyRequest] lint_policy_request_object
@@ -83,9 +85,8 @@ module Google
83
85
  execute_or_queue_command(command, &block)
84
86
  end
85
87
 
86
- # Returns a list of services that allow you to opt into audit logs that are
87
- # not generated by default.
88
- # To learn more about audit logs, see the [Logging
88
+ # Returns a list of services that allow you to opt into audit logs that are not
89
+ # generated by default. To learn more about audit logs, see the [Logging
89
90
  # documentation](https://cloud.google.com/logging/docs/audit).
90
91
  # @param [Google::Apis::IamV1::QueryAuditableServicesRequest] query_auditable_services_request_object
91
92
  # @param [String] fields
@@ -118,24 +119,19 @@ module Google
118
119
 
119
120
  # Creates a new custom Role.
120
121
  # @param [String] parent
121
- # The `parent` parameter's value depends on the target resource for the
122
- # request, namely
123
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
124
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
125
- # resource type's `parent` value format is described below:
126
- # * [`projects.roles.create()`](/iam/reference/rest/v1/projects.roles/create):
127
- # `projects/`PROJECT_ID``. This method creates project-level
128
- # [custom roles](/iam/docs/understanding-custom-roles).
129
- # Example request URL:
130
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles`
131
- # * [`organizations.roles.create()`](/iam/reference/rest/v1/organizations.roles/
132
- # create):
133
- # `organizations/`ORGANIZATION_ID``. This method creates organization-level
134
- # [custom roles](/iam/docs/understanding-custom-roles). Example request
135
- # URL:
136
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
137
- # Note: Wildcard (*) values are invalid; you must specify a complete project
138
- # ID or organization ID.
122
+ # The `parent` parameter's value depends on the target resource for the request,
123
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
124
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `parent`
125
+ # value format is described below: * [`projects.roles.create()`](/iam/reference/
126
+ # rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
127
+ # project-level [custom roles](/iam/docs/understanding-custom-roles). Example
128
+ # request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles` * [`
129
+ # organizations.roles.create()`](/iam/reference/rest/v1/organizations.roles/
130
+ # create): `organizations/`ORGANIZATION_ID``. This method creates organization-
131
+ # level [custom roles](/iam/docs/understanding-custom-roles). Example request
132
+ # URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
133
+ # Note: Wildcard (*) values are invalid; you must specify a complete project ID
134
+ # or organization ID.
139
135
  # @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
140
136
  # @param [String] fields
141
137
  # Selector specifying which fields to include in a partial response.
@@ -166,39 +162,30 @@ module Google
166
162
  execute_or_queue_command(command, &block)
167
163
  end
168
164
 
169
- # Deletes a custom Role.
170
- # When you delete a custom role, the following changes occur immediately:
171
- # * You cannot bind a member to the custom role in an IAM
172
- # Policy.
173
- # * Existing bindings to the custom role are not changed, but they have no
174
- # effect.
175
- # * By default, the response from ListRoles does not include the custom
176
- # role.
177
- # You have 7 days to undelete the custom role. After 7 days, the following
178
- # changes occur:
179
- # * The custom role is permanently deleted and cannot be recovered.
180
- # * If an IAM policy contains a binding to the custom role, the binding is
181
- # permanently removed.
165
+ # Deletes a custom Role. When you delete a custom role, the following changes
166
+ # occur immediately: * You cannot bind a member to the custom role in an IAM
167
+ # Policy. * Existing bindings to the custom role are not changed, but they have
168
+ # no effect. * By default, the response from ListRoles does not include the
169
+ # custom role. You have 7 days to undelete the custom role. After 7 days, the
170
+ # following changes occur: * The custom role is permanently deleted and cannot
171
+ # be recovered. * If an IAM policy contains a binding to the custom role, the
172
+ # binding is permanently removed.
182
173
  # @param [String] name
183
- # The `name` parameter's value depends on the target resource for the
184
- # request, namely
185
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
186
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
187
- # resource type's `name` value format is described below:
188
- # * [`projects.roles.delete()`](/iam/reference/rest/v1/projects.roles/delete):
189
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only
190
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
191
- # created at the project level. Example request URL:
192
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
193
- # * [`organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/
194
- # delete):
195
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
196
- # deletes only [custom roles](/iam/docs/understanding-custom-roles) that
197
- # have been created at the organization level. Example request URL:
198
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
199
- # CUSTOM_ROLE_ID``
200
- # Note: Wildcard (*) values are invalid; you must specify a complete project
201
- # ID or organization ID.
174
+ # The `name` parameter's value depends on the target resource for the request,
175
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
176
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
177
+ # value format is described below: * [`projects.roles.delete()`](/iam/reference/
178
+ # rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
179
+ # This method deletes only [custom roles](/iam/docs/understanding-custom-roles)
180
+ # that have been created at the project level. Example request URL: `https://iam.
181
+ # googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` * [`
182
+ # organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/
183
+ # delete): `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
184
+ # deletes only [custom roles](/iam/docs/understanding-custom-roles) that have
185
+ # been created at the organization level. Example request URL: `https://iam.
186
+ # googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
187
+ # Wildcard (*) values are invalid; you must specify a complete project ID or
188
+ # organization ID.
202
189
  # @param [String] etag
203
190
  # Used to perform a consistent read-modify-write.
204
191
  # @param [String] fields
@@ -231,31 +218,25 @@ module Google
231
218
 
232
219
  # Gets the definition of a Role.
233
220
  # @param [String] name
234
- # The `name` parameter's value depends on the target resource for the
235
- # request, namely
236
- # [`roles`](/iam/reference/rest/v1/roles),
237
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
238
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
239
- # resource type's `name` value format is described below:
240
- # * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``.
241
- # This method returns results from all
242
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
243
- # Cloud IAM. Example request URL:
244
- # `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
245
- # * [`projects.roles.get()`](/iam/reference/rest/v1/projects.roles/get):
246
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only
247
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
248
- # created at the project level. Example request URL:
249
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
250
- # * [`organizations.roles.get()`](/iam/reference/rest/v1/organizations.roles/get)
251
- # :
252
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
253
- # returns only [custom roles](/iam/docs/understanding-custom-roles) that
254
- # have been created at the organization level. Example request URL:
255
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
256
- # CUSTOM_ROLE_ID``
257
- # Note: Wildcard (*) values are invalid; you must specify a complete project
258
- # ID or organization ID.
221
+ # The `name` parameter's value depends on the target resource for the request,
222
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
223
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
224
+ # organizations.roles). Each resource type's `name` value format is described
225
+ # below: * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``
226
+ # . This method returns results from all [predefined roles](/iam/docs/
227
+ # understanding-roles#predefined_roles) in Cloud IAM. Example request URL: `
228
+ # https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`projects.roles.get()`](/
229
+ # iam/reference/rest/v1/projects.roles/get): `projects/`PROJECT_ID`/roles/`
230
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
231
+ # understanding-custom-roles) that have been created at the project level.
232
+ # Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
233
+ # roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.get()`](/iam/reference/rest/v1/
234
+ # organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
235
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
236
+ # understanding-custom-roles) that have been created at the organization level.
237
+ # Example request URL: `https://iam.googleapis.com/v1/organizations/`
238
+ # ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*) values are invalid;
239
+ # you must specify a complete project ID or organization ID.
259
240
  # @param [String] fields
260
241
  # Selector specifying which fields to include in a partial response.
261
242
  # @param [String] quota_user
@@ -283,45 +264,38 @@ module Google
283
264
  execute_or_queue_command(command, &block)
284
265
  end
285
266
 
286
- # Lists every predefined Role that IAM supports, or every custom role
287
- # that is defined for an organization or project.
267
+ # Lists every predefined Role that IAM supports, or every custom role that is
268
+ # defined for an organization or project.
288
269
  # @param [String] parent
289
- # The `parent` parameter's value depends on the target resource for the
290
- # request, namely
291
- # [`roles`](/iam/reference/rest/v1/roles),
292
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
293
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
294
- # resource type's `parent` value format is described below:
295
- # * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
296
- # This method doesn't require a resource; it simply returns all
297
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
298
- # Cloud IAM. Example request URL:
299
- # `https://iam.googleapis.com/v1/roles`
300
- # * [`projects.roles.list()`](/iam/reference/rest/v1/projects.roles/list):
301
- # `projects/`PROJECT_ID``. This method lists all project-level
302
- # [custom roles](/iam/docs/understanding-custom-roles).
303
- # Example request URL:
304
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles`
305
- # * [`organizations.roles.list()`](/iam/reference/rest/v1/organizations.roles/
306
- # list):
307
- # `organizations/`ORGANIZATION_ID``. This method lists all
308
- # organization-level [custom roles](/iam/docs/understanding-custom-roles).
309
- # Example request URL:
310
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
311
- # Note: Wildcard (*) values are invalid; you must specify a complete project
312
- # ID or organization ID.
270
+ # The `parent` parameter's value depends on the target resource for the request,
271
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
272
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
273
+ # organizations.roles). Each resource type's `parent` value format is described
274
+ # below: * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
275
+ # This method doesn't require a resource; it simply returns all [predefined
276
+ # roles](/iam/docs/understanding-roles#predefined_roles) in Cloud IAM. Example
277
+ # request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](
278
+ # /iam/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
279
+ # method lists all project-level [custom roles](/iam/docs/understanding-custom-
280
+ # roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
281
+ # PROJECT_ID`/roles` * [`organizations.roles.list()`](/iam/reference/rest/v1/
282
+ # organizations.roles/list): `organizations/`ORGANIZATION_ID``. This method
283
+ # lists all organization-level [custom roles](/iam/docs/understanding-custom-
284
+ # roles). Example request URL: `https://iam.googleapis.com/v1/organizations/`
285
+ # ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
286
+ # specify a complete project ID or organization ID.
313
287
  # @param [Fixnum] page_size
314
- # Optional limit on the number of roles to include in the response.
315
- # The default is 300, and the maximum is 1,000.
288
+ # Optional limit on the number of roles to include in the response. The default
289
+ # is 300, and the maximum is 1,000.
316
290
  # @param [String] page_token
317
291
  # Optional pagination token returned in an earlier ListRolesResponse.
318
292
  # @param [Boolean] show_deleted
319
293
  # Include Roles that have been deleted.
320
294
  # @param [String] view
321
- # Optional view for the returned Role objects. When `FULL` is specified,
322
- # the `includedPermissions` field is returned, which includes a list of all
323
- # permissions in the role. The default value is `BASIC`, which does not
324
- # return the `includedPermissions` field.
295
+ # Optional view for the returned Role objects. When `FULL` is specified, the `
296
+ # includedPermissions` field is returned, which includes a list of all
297
+ # permissions in the role. The default value is `BASIC`, which does not return
298
+ # the `includedPermissions` field.
325
299
  # @param [String] fields
326
300
  # Selector specifying which fields to include in a partial response.
327
301
  # @param [String] quota_user
@@ -355,25 +329,21 @@ module Google
355
329
 
356
330
  # Updates the definition of a custom Role.
357
331
  # @param [String] name
358
- # The `name` parameter's value depends on the target resource for the
359
- # request, namely
360
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
361
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
362
- # resource type's `name` value format is described below:
363
- # * [`projects.roles.patch()`](/iam/reference/rest/v1/projects.roles/patch):
364
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only
365
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
366
- # created at the project level. Example request URL:
367
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
368
- # * [`organizations.roles.patch()`](/iam/reference/rest/v1/organizations.roles/
369
- # patch):
370
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
371
- # updates only [custom roles](/iam/docs/understanding-custom-roles) that
372
- # have been created at the organization level. Example request URL:
373
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
374
- # CUSTOM_ROLE_ID``
375
- # Note: Wildcard (*) values are invalid; you must specify a complete project
376
- # ID or organization ID.
332
+ # The `name` parameter's value depends on the target resource for the request,
333
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
334
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
335
+ # value format is described below: * [`projects.roles.patch()`](/iam/reference/
336
+ # rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
337
+ # This method updates only [custom roles](/iam/docs/understanding-custom-roles)
338
+ # that have been created at the project level. Example request URL: `https://iam.
339
+ # googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` * [`
340
+ # organizations.roles.patch()`](/iam/reference/rest/v1/organizations.roles/patch)
341
+ # : `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
342
+ # updates only [custom roles](/iam/docs/understanding-custom-roles) that have
343
+ # been created at the organization level. Example request URL: `https://iam.
344
+ # googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
345
+ # Wildcard (*) values are invalid; you must specify a complete project ID or
346
+ # organization ID.
377
347
  # @param [Google::Apis::IamV1::Role] role_object
378
348
  # @param [String] update_mask
379
349
  # A mask describing which fields in the Role have changed.
@@ -409,26 +379,21 @@ module Google
409
379
 
410
380
  # Undeletes a custom Role.
411
381
  # @param [String] name
412
- # The `name` parameter's value depends on the target resource for the
413
- # request, namely
414
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
415
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
416
- # resource type's `name` value format is described below:
417
- # * [`projects.roles.undelete()`](/iam/reference/rest/v1/projects.roles/undelete)
418
- # :
419
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes
420
- # only [custom roles](/iam/docs/understanding-custom-roles) that have been
421
- # created at the project level. Example request URL:
422
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
423
- # * [`organizations.roles.undelete()`](/iam/reference/rest/v1/organizations.
424
- # roles/undelete):
425
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
426
- # undeletes only [custom roles](/iam/docs/understanding-custom-roles) that
427
- # have been created at the organization level. Example request URL:
428
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
429
- # CUSTOM_ROLE_ID``
430
- # Note: Wildcard (*) values are invalid; you must specify a complete project
431
- # ID or organization ID.
382
+ # The `name` parameter's value depends on the target resource for the request,
383
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
384
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
385
+ # value format is described below: * [`projects.roles.undelete()`](/iam/
386
+ # reference/rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`
387
+ # CUSTOM_ROLE_ID``. This method undeletes only [custom roles](/iam/docs/
388
+ # understanding-custom-roles) that have been created at the project level.
389
+ # Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
390
+ # roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](/iam/reference/
391
+ # rest/v1/organizations.roles/undelete): `organizations/`ORGANIZATION_ID`/roles/`
392
+ # CUSTOM_ROLE_ID``. This method undeletes only [custom roles](/iam/docs/
393
+ # understanding-custom-roles) that have been created at the organization level.
394
+ # Example request URL: `https://iam.googleapis.com/v1/organizations/`
395
+ # ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*) values are invalid;
396
+ # you must specify a complete project ID or organization ID.
432
397
  # @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
433
398
  # @param [String] fields
434
399
  # Selector specifying which fields to include in a partial response.
@@ -460,8 +425,7 @@ module Google
460
425
  end
461
426
 
462
427
  # Lists every permission that you can test on a resource. A permission is
463
- # testable if you can check whether a member has that permission on the
464
- # resource.
428
+ # testable if you can check whether a member has that permission on the resource.
465
429
  # @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_request_object
466
430
  # @param [String] fields
467
431
  # Selector specifying which fields to include in a partial response.
@@ -493,24 +457,19 @@ module Google
493
457
 
494
458
  # Creates a new custom Role.
495
459
  # @param [String] parent
496
- # The `parent` parameter's value depends on the target resource for the
497
- # request, namely
498
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
499
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
500
- # resource type's `parent` value format is described below:
501
- # * [`projects.roles.create()`](/iam/reference/rest/v1/projects.roles/create):
502
- # `projects/`PROJECT_ID``. This method creates project-level
503
- # [custom roles](/iam/docs/understanding-custom-roles).
504
- # Example request URL:
505
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles`
506
- # * [`organizations.roles.create()`](/iam/reference/rest/v1/organizations.roles/
507
- # create):
508
- # `organizations/`ORGANIZATION_ID``. This method creates organization-level
509
- # [custom roles](/iam/docs/understanding-custom-roles). Example request
510
- # URL:
511
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
512
- # Note: Wildcard (*) values are invalid; you must specify a complete project
513
- # ID or organization ID.
460
+ # The `parent` parameter's value depends on the target resource for the request,
461
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
462
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `parent`
463
+ # value format is described below: * [`projects.roles.create()`](/iam/reference/
464
+ # rest/v1/projects.roles/create): `projects/`PROJECT_ID``. This method creates
465
+ # project-level [custom roles](/iam/docs/understanding-custom-roles). Example
466
+ # request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles` * [`
467
+ # organizations.roles.create()`](/iam/reference/rest/v1/organizations.roles/
468
+ # create): `organizations/`ORGANIZATION_ID``. This method creates organization-
469
+ # level [custom roles](/iam/docs/understanding-custom-roles). Example request
470
+ # URL: `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
471
+ # Note: Wildcard (*) values are invalid; you must specify a complete project ID
472
+ # or organization ID.
514
473
  # @param [Google::Apis::IamV1::CreateRoleRequest] create_role_request_object
515
474
  # @param [String] fields
516
475
  # Selector specifying which fields to include in a partial response.
@@ -541,39 +500,30 @@ module Google
541
500
  execute_or_queue_command(command, &block)
542
501
  end
543
502
 
544
- # Deletes a custom Role.
545
- # When you delete a custom role, the following changes occur immediately:
546
- # * You cannot bind a member to the custom role in an IAM
547
- # Policy.
548
- # * Existing bindings to the custom role are not changed, but they have no
549
- # effect.
550
- # * By default, the response from ListRoles does not include the custom
551
- # role.
552
- # You have 7 days to undelete the custom role. After 7 days, the following
553
- # changes occur:
554
- # * The custom role is permanently deleted and cannot be recovered.
555
- # * If an IAM policy contains a binding to the custom role, the binding is
556
- # permanently removed.
503
+ # Deletes a custom Role. When you delete a custom role, the following changes
504
+ # occur immediately: * You cannot bind a member to the custom role in an IAM
505
+ # Policy. * Existing bindings to the custom role are not changed, but they have
506
+ # no effect. * By default, the response from ListRoles does not include the
507
+ # custom role. You have 7 days to undelete the custom role. After 7 days, the
508
+ # following changes occur: * The custom role is permanently deleted and cannot
509
+ # be recovered. * If an IAM policy contains a binding to the custom role, the
510
+ # binding is permanently removed.
557
511
  # @param [String] name
558
- # The `name` parameter's value depends on the target resource for the
559
- # request, namely
560
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
561
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
562
- # resource type's `name` value format is described below:
563
- # * [`projects.roles.delete()`](/iam/reference/rest/v1/projects.roles/delete):
564
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method deletes only
565
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
566
- # created at the project level. Example request URL:
567
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
568
- # * [`organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/
569
- # delete):
570
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
571
- # deletes only [custom roles](/iam/docs/understanding-custom-roles) that
572
- # have been created at the organization level. Example request URL:
573
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
574
- # CUSTOM_ROLE_ID``
575
- # Note: Wildcard (*) values are invalid; you must specify a complete project
576
- # ID or organization ID.
512
+ # The `name` parameter's value depends on the target resource for the request,
513
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
514
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
515
+ # value format is described below: * [`projects.roles.delete()`](/iam/reference/
516
+ # rest/v1/projects.roles/delete): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
517
+ # This method deletes only [custom roles](/iam/docs/understanding-custom-roles)
518
+ # that have been created at the project level. Example request URL: `https://iam.
519
+ # googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` * [`
520
+ # organizations.roles.delete()`](/iam/reference/rest/v1/organizations.roles/
521
+ # delete): `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
522
+ # deletes only [custom roles](/iam/docs/understanding-custom-roles) that have
523
+ # been created at the organization level. Example request URL: `https://iam.
524
+ # googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
525
+ # Wildcard (*) values are invalid; you must specify a complete project ID or
526
+ # organization ID.
577
527
  # @param [String] etag
578
528
  # Used to perform a consistent read-modify-write.
579
529
  # @param [String] fields
@@ -606,31 +556,25 @@ module Google
606
556
 
607
557
  # Gets the definition of a Role.
608
558
  # @param [String] name
609
- # The `name` parameter's value depends on the target resource for the
610
- # request, namely
611
- # [`roles`](/iam/reference/rest/v1/roles),
612
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
613
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
614
- # resource type's `name` value format is described below:
615
- # * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``.
616
- # This method returns results from all
617
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
618
- # Cloud IAM. Example request URL:
619
- # `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
620
- # * [`projects.roles.get()`](/iam/reference/rest/v1/projects.roles/get):
621
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only
622
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
623
- # created at the project level. Example request URL:
624
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
625
- # * [`organizations.roles.get()`](/iam/reference/rest/v1/organizations.roles/get)
626
- # :
627
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
628
- # returns only [custom roles](/iam/docs/understanding-custom-roles) that
629
- # have been created at the organization level. Example request URL:
630
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
631
- # CUSTOM_ROLE_ID``
632
- # Note: Wildcard (*) values are invalid; you must specify a complete project
633
- # ID or organization ID.
559
+ # The `name` parameter's value depends on the target resource for the request,
560
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
561
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
562
+ # organizations.roles). Each resource type's `name` value format is described
563
+ # below: * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``
564
+ # . This method returns results from all [predefined roles](/iam/docs/
565
+ # understanding-roles#predefined_roles) in Cloud IAM. Example request URL: `
566
+ # https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`projects.roles.get()`](/
567
+ # iam/reference/rest/v1/projects.roles/get): `projects/`PROJECT_ID`/roles/`
568
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
569
+ # understanding-custom-roles) that have been created at the project level.
570
+ # Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
571
+ # roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.get()`](/iam/reference/rest/v1/
572
+ # organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
573
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
574
+ # understanding-custom-roles) that have been created at the organization level.
575
+ # Example request URL: `https://iam.googleapis.com/v1/organizations/`
576
+ # ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*) values are invalid;
577
+ # you must specify a complete project ID or organization ID.
634
578
  # @param [String] fields
635
579
  # Selector specifying which fields to include in a partial response.
636
580
  # @param [String] quota_user
@@ -658,45 +602,38 @@ module Google
658
602
  execute_or_queue_command(command, &block)
659
603
  end
660
604
 
661
- # Lists every predefined Role that IAM supports, or every custom role
662
- # that is defined for an organization or project.
605
+ # Lists every predefined Role that IAM supports, or every custom role that is
606
+ # defined for an organization or project.
663
607
  # @param [String] parent
664
- # The `parent` parameter's value depends on the target resource for the
665
- # request, namely
666
- # [`roles`](/iam/reference/rest/v1/roles),
667
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
668
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
669
- # resource type's `parent` value format is described below:
670
- # * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
671
- # This method doesn't require a resource; it simply returns all
672
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
673
- # Cloud IAM. Example request URL:
674
- # `https://iam.googleapis.com/v1/roles`
675
- # * [`projects.roles.list()`](/iam/reference/rest/v1/projects.roles/list):
676
- # `projects/`PROJECT_ID``. This method lists all project-level
677
- # [custom roles](/iam/docs/understanding-custom-roles).
678
- # Example request URL:
679
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles`
680
- # * [`organizations.roles.list()`](/iam/reference/rest/v1/organizations.roles/
681
- # list):
682
- # `organizations/`ORGANIZATION_ID``. This method lists all
683
- # organization-level [custom roles](/iam/docs/understanding-custom-roles).
684
- # Example request URL:
685
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
686
- # Note: Wildcard (*) values are invalid; you must specify a complete project
687
- # ID or organization ID.
608
+ # The `parent` parameter's value depends on the target resource for the request,
609
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
610
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
611
+ # organizations.roles). Each resource type's `parent` value format is described
612
+ # below: * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
613
+ # This method doesn't require a resource; it simply returns all [predefined
614
+ # roles](/iam/docs/understanding-roles#predefined_roles) in Cloud IAM. Example
615
+ # request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](
616
+ # /iam/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
617
+ # method lists all project-level [custom roles](/iam/docs/understanding-custom-
618
+ # roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
619
+ # PROJECT_ID`/roles` * [`organizations.roles.list()`](/iam/reference/rest/v1/
620
+ # organizations.roles/list): `organizations/`ORGANIZATION_ID``. This method
621
+ # lists all organization-level [custom roles](/iam/docs/understanding-custom-
622
+ # roles). Example request URL: `https://iam.googleapis.com/v1/organizations/`
623
+ # ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
624
+ # specify a complete project ID or organization ID.
688
625
  # @param [Fixnum] page_size
689
- # Optional limit on the number of roles to include in the response.
690
- # The default is 300, and the maximum is 1,000.
626
+ # Optional limit on the number of roles to include in the response. The default
627
+ # is 300, and the maximum is 1,000.
691
628
  # @param [String] page_token
692
629
  # Optional pagination token returned in an earlier ListRolesResponse.
693
630
  # @param [Boolean] show_deleted
694
631
  # Include Roles that have been deleted.
695
632
  # @param [String] view
696
- # Optional view for the returned Role objects. When `FULL` is specified,
697
- # the `includedPermissions` field is returned, which includes a list of all
698
- # permissions in the role. The default value is `BASIC`, which does not
699
- # return the `includedPermissions` field.
633
+ # Optional view for the returned Role objects. When `FULL` is specified, the `
634
+ # includedPermissions` field is returned, which includes a list of all
635
+ # permissions in the role. The default value is `BASIC`, which does not return
636
+ # the `includedPermissions` field.
700
637
  # @param [String] fields
701
638
  # Selector specifying which fields to include in a partial response.
702
639
  # @param [String] quota_user
@@ -730,25 +667,21 @@ module Google
730
667
 
731
668
  # Updates the definition of a custom Role.
732
669
  # @param [String] name
733
- # The `name` parameter's value depends on the target resource for the
734
- # request, namely
735
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
736
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
737
- # resource type's `name` value format is described below:
738
- # * [`projects.roles.patch()`](/iam/reference/rest/v1/projects.roles/patch):
739
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method updates only
740
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
741
- # created at the project level. Example request URL:
742
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
743
- # * [`organizations.roles.patch()`](/iam/reference/rest/v1/organizations.roles/
744
- # patch):
745
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
746
- # updates only [custom roles](/iam/docs/understanding-custom-roles) that
747
- # have been created at the organization level. Example request URL:
748
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
749
- # CUSTOM_ROLE_ID``
750
- # Note: Wildcard (*) values are invalid; you must specify a complete project
751
- # ID or organization ID.
670
+ # The `name` parameter's value depends on the target resource for the request,
671
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
672
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
673
+ # value format is described below: * [`projects.roles.patch()`](/iam/reference/
674
+ # rest/v1/projects.roles/patch): `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``.
675
+ # This method updates only [custom roles](/iam/docs/understanding-custom-roles)
676
+ # that have been created at the project level. Example request URL: `https://iam.
677
+ # googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID`` * [`
678
+ # organizations.roles.patch()`](/iam/reference/rest/v1/organizations.roles/patch)
679
+ # : `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
680
+ # updates only [custom roles](/iam/docs/understanding-custom-roles) that have
681
+ # been created at the organization level. Example request URL: `https://iam.
682
+ # googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note:
683
+ # Wildcard (*) values are invalid; you must specify a complete project ID or
684
+ # organization ID.
752
685
  # @param [Google::Apis::IamV1::Role] role_object
753
686
  # @param [String] update_mask
754
687
  # A mask describing which fields in the Role have changed.
@@ -784,26 +717,21 @@ module Google
784
717
 
785
718
  # Undeletes a custom Role.
786
719
  # @param [String] name
787
- # The `name` parameter's value depends on the target resource for the
788
- # request, namely
789
- # [`projects`](/iam/reference/rest/v1/projects.roles) or
790
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
791
- # resource type's `name` value format is described below:
792
- # * [`projects.roles.undelete()`](/iam/reference/rest/v1/projects.roles/undelete)
793
- # :
794
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method undeletes
795
- # only [custom roles](/iam/docs/understanding-custom-roles) that have been
796
- # created at the project level. Example request URL:
797
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
798
- # * [`organizations.roles.undelete()`](/iam/reference/rest/v1/organizations.
799
- # roles/undelete):
800
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
801
- # undeletes only [custom roles](/iam/docs/understanding-custom-roles) that
802
- # have been created at the organization level. Example request URL:
803
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
804
- # CUSTOM_ROLE_ID``
805
- # Note: Wildcard (*) values are invalid; you must specify a complete project
806
- # ID or organization ID.
720
+ # The `name` parameter's value depends on the target resource for the request,
721
+ # namely [`projects`](/iam/reference/rest/v1/projects.roles) or [`organizations`]
722
+ # (/iam/reference/rest/v1/organizations.roles). Each resource type's `name`
723
+ # value format is described below: * [`projects.roles.undelete()`](/iam/
724
+ # reference/rest/v1/projects.roles/undelete): `projects/`PROJECT_ID`/roles/`
725
+ # CUSTOM_ROLE_ID``. This method undeletes only [custom roles](/iam/docs/
726
+ # understanding-custom-roles) that have been created at the project level.
727
+ # Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
728
+ # roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.undelete()`](/iam/reference/
729
+ # rest/v1/organizations.roles/undelete): `organizations/`ORGANIZATION_ID`/roles/`
730
+ # CUSTOM_ROLE_ID``. This method undeletes only [custom roles](/iam/docs/
731
+ # understanding-custom-roles) that have been created at the organization level.
732
+ # Example request URL: `https://iam.googleapis.com/v1/organizations/`
733
+ # ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*) values are invalid;
734
+ # you must specify a complete project ID or organization ID.
807
735
  # @param [Google::Apis::IamV1::UndeleteRoleRequest] undelete_role_request_object
808
736
  # @param [String] fields
809
737
  # Selector specifying which fields to include in a partial response.
@@ -868,24 +796,21 @@ module Google
868
796
  execute_or_queue_command(command, &block)
869
797
  end
870
798
 
871
- # Deletes a ServiceAccount.
872
- # **Warning:** After you delete a service account, you might not be able to
873
- # undelete it. If you know that you need to re-enable the service account in
874
- # the future, use DisableServiceAccount instead.
875
- # If you delete a service account, IAM permanently removes the service
876
- # account 30 days later. Google Cloud cannot recover the service account
877
- # after it is permanently removed, even if you file a support request.
878
- # To help avoid unplanned outages, we recommend that you disable the service
879
- # account before you delete it. Use DisableServiceAccount to disable the
880
- # service account, then wait at least 24 hours and watch for unintended
881
- # consequences. If there are no unintended consequences, you can delete the
882
- # service account.
799
+ # Deletes a ServiceAccount. **Warning:** After you delete a service account, you
800
+ # might not be able to undelete it. If you know that you need to re-enable the
801
+ # service account in the future, use DisableServiceAccount instead. If you
802
+ # delete a service account, IAM permanently removes the service account 30 days
803
+ # later. Google Cloud cannot recover the service account after it is permanently
804
+ # removed, even if you file a support request. To help avoid unplanned outages,
805
+ # we recommend that you disable the service account before you delete it. Use
806
+ # DisableServiceAccount to disable the service account, then wait at least 24
807
+ # hours and watch for unintended consequences. If there are no unintended
808
+ # consequences, you can delete the service account.
883
809
  # @param [String] name
884
- # Required. The resource name of the service account in the following format:
885
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
886
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
887
- # the account. The `ACCOUNT` value can be the `email` address or the
888
- # `unique_id` of the service account.
810
+ # Required. The resource name of the service account in the following format: `
811
+ # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for
812
+ # the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value
813
+ # can be the `email` address or the `unique_id` of the service account.
889
814
  # @param [String] fields
890
815
  # Selector specifying which fields to include in a partial response.
891
816
  # @param [String] quota_user
@@ -913,25 +838,22 @@ module Google
913
838
  execute_or_queue_command(command, &block)
914
839
  end
915
840
 
916
- # Disables a ServiceAccount immediately.
917
- # If an application uses the service account to authenticate, that
918
- # application can no longer call Google APIs or access Google Cloud
919
- # resources. Existing access tokens for the service account are rejected, and
920
- # requests for new access tokens will fail.
921
- # To re-enable the service account, use EnableServiceAccount. After you
922
- # re-enable the service account, its existing access tokens will be accepted,
923
- # and you can request new access tokens.
924
- # To help avoid unplanned outages, we recommend that you disable the service
925
- # account before you delete it. Use this method to disable the service
926
- # account, then wait at least 24 hours and watch for unintended consequences.
927
- # If there are no unintended consequences, you can delete the service account
928
- # with DeleteServiceAccount.
841
+ # Disables a ServiceAccount immediately. If an application uses the service
842
+ # account to authenticate, that application can no longer call Google APIs or
843
+ # access Google Cloud resources. Existing access tokens for the service account
844
+ # are rejected, and requests for new access tokens will fail. To re-enable the
845
+ # service account, use EnableServiceAccount. After you re-enable the service
846
+ # account, its existing access tokens will be accepted, and you can request new
847
+ # access tokens. To help avoid unplanned outages, we recommend that you disable
848
+ # the service account before you delete it. Use this method to disable the
849
+ # service account, then wait at least 24 hours and watch for unintended
850
+ # consequences. If there are no unintended consequences, you can delete the
851
+ # service account with DeleteServiceAccount.
929
852
  # @param [String] name
930
- # The resource name of the service account in the following format:
931
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
932
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
933
- # the account. The `ACCOUNT` value can be the `email` address or the
934
- # `unique_id` of the service account.
853
+ # The resource name of the service account in the following format: `projects/`
854
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for the `
855
+ # PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can
856
+ # be the `email` address or the `unique_id` of the service account.
935
857
  # @param [Google::Apis::IamV1::DisableServiceAccountRequest] disable_service_account_request_object
936
858
  # @param [String] fields
937
859
  # Selector specifying which fields to include in a partial response.
@@ -962,18 +884,16 @@ module Google
962
884
  execute_or_queue_command(command, &block)
963
885
  end
964
886
 
965
- # Enables a ServiceAccount that was disabled by
966
- # DisableServiceAccount.
967
- # If the service account is already enabled, then this method has no effect.
968
- # If the service account was disabled by other means—for example, if Google
969
- # disabled the service account because it was compromised—you cannot use this
970
- # method to enable the service account.
887
+ # Enables a ServiceAccount that was disabled by DisableServiceAccount. If the
888
+ # service account is already enabled, then this method has no effect. If the
889
+ # service account was disabled by other means—for example, if Google disabled
890
+ # the service account because it was compromised—you cannot use this method to
891
+ # enable the service account.
971
892
  # @param [String] name
972
- # The resource name of the service account in the following format:
973
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
974
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
975
- # the account. The `ACCOUNT` value can be the `email` address or the
976
- # `unique_id` of the service account.
893
+ # The resource name of the service account in the following format: `projects/`
894
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for the `
895
+ # PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can
896
+ # be the `email` address or the `unique_id` of the service account.
977
897
  # @param [Google::Apis::IamV1::EnableServiceAccountRequest] enable_service_account_request_object
978
898
  # @param [String] fields
979
899
  # Selector specifying which fields to include in a partial response.
@@ -1006,11 +926,10 @@ module Google
1006
926
 
1007
927
  # Gets a ServiceAccount.
1008
928
  # @param [String] name
1009
- # Required. The resource name of the service account in the following format:
1010
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1011
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1012
- # the account. The `ACCOUNT` value can be the `email` address or the
1013
- # `unique_id` of the service account.
929
+ # Required. The resource name of the service account in the following format: `
930
+ # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for
931
+ # the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value
932
+ # can be the `email` address or the `unique_id` of the service account.
1014
933
  # @param [String] fields
1015
934
  # Selector specifying which fields to include in a partial response.
1016
935
  # @param [String] quota_user
@@ -1038,29 +957,25 @@ module Google
1038
957
  execute_or_queue_command(command, &block)
1039
958
  end
1040
959
 
1041
- # Gets the IAM policy that is attached to a ServiceAccount. This IAM
1042
- # policy specifies which members have access to the service account.
1043
- # This method does not tell you whether the service account has been granted
1044
- # any roles on other resources. To check whether a service account has role
1045
- # grants on a resource, use the `getIamPolicy` method for that resource. For
1046
- # example, to view the role grants for a project, call the Resource Manager
1047
- # API's
1048
- # [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/
1049
- # rest/v1/projects/getIamPolicy)
1050
- # method.
960
+ # Gets the IAM policy that is attached to a ServiceAccount. This IAM policy
961
+ # specifies which members have access to the service account. This method does
962
+ # not tell you whether the service account has been granted any roles on other
963
+ # resources. To check whether a service account has role grants on a resource,
964
+ # use the `getIamPolicy` method for that resource. For example, to view the role
965
+ # grants for a project, call the Resource Manager API's [`projects.getIamPolicy`]
966
+ # (https://cloud.google.com/resource-manager/reference/rest/v1/projects/
967
+ # getIamPolicy) method.
1051
968
  # @param [String] resource
1052
- # REQUIRED: The resource for which the policy is being requested.
1053
- # See the operation documentation for the appropriate value for this field.
969
+ # REQUIRED: The resource for which the policy is being requested. See the
970
+ # operation documentation for the appropriate value for this field.
1054
971
  # @param [Fixnum] options_requested_policy_version
1055
- # Optional. The policy format version to be returned.
1056
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1057
- # rejected.
1058
- # Requests for policies with any conditional bindings must specify version 3.
1059
- # Policies without any conditional bindings may specify any valid value or
1060
- # leave the field unset.
1061
- # To learn which resources support conditions in their IAM policies, see the
1062
- # [IAM
1063
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
972
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
973
+ # 3. Requests specifying an invalid value will be rejected. Requests for
974
+ # policies with any conditional bindings must specify version 3. Policies
975
+ # without any conditional bindings may specify any valid value or leave the
976
+ # field unset. To learn which resources support conditions in their IAM policies,
977
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
978
+ # resource-policies).
1064
979
  # @param [String] fields
1065
980
  # Selector specifying which fields to include in a partial response.
1066
981
  # @param [String] quota_user
@@ -1094,14 +1009,13 @@ module Google
1094
1009
  # Required. The resource name of the project associated with the service
1095
1010
  # accounts, such as `projects/my-project-123`.
1096
1011
  # @param [Fixnum] page_size
1097
- # Optional limit on the number of service accounts to include in the
1098
- # response. Further accounts can subsequently be obtained by including the
1099
- # ListServiceAccountsResponse.next_page_token
1100
- # in a subsequent request.
1101
- # The default is 20, and the maximum is 100.
1012
+ # Optional limit on the number of service accounts to include in the response.
1013
+ # Further accounts can subsequently be obtained by including the
1014
+ # ListServiceAccountsResponse.next_page_token in a subsequent request. The
1015
+ # default is 20, and the maximum is 100.
1102
1016
  # @param [String] page_token
1103
- # Optional pagination token returned in an earlier
1104
- # ListServiceAccountsResponse.next_page_token.
1017
+ # Optional pagination token returned in an earlier ListServiceAccountsResponse.
1018
+ # next_page_token.
1105
1019
  # @param [String] fields
1106
1020
  # Selector specifying which fields to include in a partial response.
1107
1021
  # @param [String] quota_user
@@ -1133,19 +1047,15 @@ module Google
1133
1047
 
1134
1048
  # Patches a ServiceAccount.
1135
1049
  # @param [String] name
1136
- # The resource name of the service account.
1137
- # Use one of the following formats:
1138
- # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1139
- # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1140
- # As an alternative, you can use the `-` wildcard character instead of the
1141
- # project ID:
1142
- # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1143
- # * `projects/-/serviceAccounts/`UNIQUE_ID``
1144
- # When possible, avoid using the `-` wildcard character, because it can cause
1145
- # response messages to contain misleading error codes. For example, if you
1146
- # try to get the service account
1147
- # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1148
- # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1050
+ # The resource name of the service account. Use one of the following formats: * `
1051
+ # projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
1052
+ # /serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-` wildcard
1053
+ # character instead of the project ID: * `projects/-/serviceAccounts/`
1054
+ # EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
1055
+ # avoid using the `-` wildcard character, because it can cause response messages
1056
+ # to contain misleading error codes. For example, if you try to get the service
1057
+ # account `projects/-/serviceAccounts/fake@example.com`, which does not exist,
1058
+ # the response contains an HTTP `403 Forbidden` error instead of a `404 Not
1149
1059
  # Found` error.
1150
1060
  # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
1151
1061
  # @param [String] fields
@@ -1177,23 +1087,20 @@ module Google
1177
1087
  execute_or_queue_command(command, &block)
1178
1088
  end
1179
1089
 
1180
- # Sets the IAM policy that is attached to a ServiceAccount.
1181
- # Use this method to grant or revoke access to the service account. For
1182
- # example, you could grant a member the ability to impersonate the service
1183
- # account.
1184
- # This method does not enable the service account to access other resources.
1185
- # To grant roles to a service account on a resource, follow these steps:
1186
- # 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
1187
- # 2. Edit the policy so that it binds the service account to an IAM role for
1188
- # the resource.
1189
- # 3. Call the resource's `setIamPolicy` method to update its IAM policy.
1190
- # For detailed instructions, see
1191
- # [Granting roles to a service account for specific
1192
- # resources](https://cloud.google.com/iam/help/service-accounts/granting-access-
1193
- # to-service-accounts).
1090
+ # Sets the IAM policy that is attached to a ServiceAccount. Use this method to
1091
+ # grant or revoke access to the service account. For example, you could grant a
1092
+ # member the ability to impersonate the service account. This method does not
1093
+ # enable the service account to access other resources. To grant roles to a
1094
+ # service account on a resource, follow these steps: 1. Call the resource's `
1095
+ # getIamPolicy` method to get its current IAM policy. 2. Edit the policy so that
1096
+ # it binds the service account to an IAM role for the resource. 3. Call the
1097
+ # resource's `setIamPolicy` method to update its IAM policy. For detailed
1098
+ # instructions, see [Granting roles to a service account for specific resources](
1099
+ # https://cloud.google.com/iam/help/service-accounts/granting-access-to-service-
1100
+ # accounts).
1194
1101
  # @param [String] resource
1195
- # REQUIRED: The resource for which the policy is being specified.
1196
- # See the operation documentation for the appropriate value for this field.
1102
+ # REQUIRED: The resource for which the policy is being specified. See the
1103
+ # operation documentation for the appropriate value for this field.
1197
1104
  # @param [Google::Apis::IamV1::SetIamPolicyRequest] set_iam_policy_request_object
1198
1105
  # @param [String] fields
1199
1106
  # Selector specifying which fields to include in a partial response.
@@ -1224,23 +1131,20 @@ module Google
1224
1131
  execute_or_queue_command(command, &block)
1225
1132
  end
1226
1133
 
1227
- # **Note:** This method is deprecated and will stop working on July 1, 2021.
1228
- # Use the
1229
- # [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1230
- # serviceAccounts/signBlob)
1231
- # method in the IAM Service Account Credentials API instead. If you currently
1232
- # use this method, see the [migration
1134
+ # **Note:** This method is deprecated and will stop working on July 1, 2021. Use
1135
+ # the [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/
1136
+ # projects.serviceAccounts/signBlob) method in the IAM Service Account
1137
+ # Credentials API instead. If you currently use this method, see the [migration
1233
1138
  # guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
1234
- # instructions.
1235
- # Signs a blob using the system-managed private key for a ServiceAccount.
1139
+ # instructions. Signs a blob using the system-managed private key for a
1140
+ # ServiceAccount.
1236
1141
  # @param [String] name
1237
- # Required. Deprecated. [Migrate to Service Account Credentials
1238
- # API](https://cloud.google.com/iam/help/credentials/migrate-api).
1239
- # The resource name of the service account in the following format:
1240
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1241
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1242
- # the account. The `ACCOUNT` value can be the `email` address or the
1243
- # `unique_id` of the service account.
1142
+ # Required. Deprecated. [Migrate to Service Account Credentials API](https://
1143
+ # cloud.google.com/iam/help/credentials/migrate-api). The resource name of the
1144
+ # service account in the following format: `projects/`PROJECT_ID`/
1145
+ # serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for the `PROJECT_ID` will
1146
+ # infer the project from the account. The `ACCOUNT` value can be the `email`
1147
+ # address or the `unique_id` of the service account.
1244
1148
  # @param [Google::Apis::IamV1::SignBlobRequest] sign_blob_request_object
1245
1149
  # @param [String] fields
1246
1150
  # Selector specifying which fields to include in a partial response.
@@ -1271,24 +1175,19 @@ module Google
1271
1175
  execute_or_queue_command(command, &block)
1272
1176
  end
1273
1177
 
1274
- # **Note:** This method is deprecated and will stop working on July 1, 2021.
1275
- # Use the
1276
- # [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1277
- # serviceAccounts/signJwt)
1278
- # method in the IAM Service Account Credentials API instead. If you currently
1279
- # use this method, see the [migration
1280
- # guide](https://cloud.google.com/iam/help/credentials/migrate-api) for
1281
- # instructions.
1282
- # Signs a JSON Web Token (JWT) using the system-managed private key for a
1283
- # ServiceAccount.
1178
+ # **Note:** This method is deprecated and will stop working on July 1, 2021. Use
1179
+ # the [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1180
+ # serviceAccounts/signJwt) method in the IAM Service Account Credentials API
1181
+ # instead. If you currently use this method, see the [migration guide](https://
1182
+ # cloud.google.com/iam/help/credentials/migrate-api) for instructions. Signs a
1183
+ # JSON Web Token (JWT) using the system-managed private key for a ServiceAccount.
1284
1184
  # @param [String] name
1285
- # Required. Deprecated. [Migrate to Service Account Credentials
1286
- # API](https://cloud.google.com/iam/help/credentials/migrate-api).
1287
- # The resource name of the service account in the following format:
1288
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1289
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1290
- # the account. The `ACCOUNT` value can be the `email` address or the
1291
- # `unique_id` of the service account.
1185
+ # Required. Deprecated. [Migrate to Service Account Credentials API](https://
1186
+ # cloud.google.com/iam/help/credentials/migrate-api). The resource name of the
1187
+ # service account in the following format: `projects/`PROJECT_ID`/
1188
+ # serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for the `PROJECT_ID` will
1189
+ # infer the project from the account. The `ACCOUNT` value can be the `email`
1190
+ # address or the `unique_id` of the service account.
1292
1191
  # @param [Google::Apis::IamV1::SignJwtRequest] sign_jwt_request_object
1293
1192
  # @param [String] fields
1294
1193
  # Selector specifying which fields to include in a partial response.
@@ -1319,11 +1218,10 @@ module Google
1319
1218
  execute_or_queue_command(command, &block)
1320
1219
  end
1321
1220
 
1322
- # Tests whether the caller has the specified permissions on a
1323
- # ServiceAccount.
1221
+ # Tests whether the caller has the specified permissions on a ServiceAccount.
1324
1222
  # @param [String] resource
1325
- # REQUIRED: The resource for which the policy detail is being requested.
1326
- # See the operation documentation for the appropriate value for this field.
1223
+ # REQUIRED: The resource for which the policy detail is being requested. See the
1224
+ # operation documentation for the appropriate value for this field.
1327
1225
  # @param [Google::Apis::IamV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1328
1226
  # @param [String] fields
1329
1227
  # Selector specifying which fields to include in a partial response.
@@ -1354,17 +1252,15 @@ module Google
1354
1252
  execute_or_queue_command(command, &block)
1355
1253
  end
1356
1254
 
1357
- # Restores a deleted ServiceAccount.
1358
- # **Important:** It is not always possible to restore a deleted service
1359
- # account. Use this method only as a last resort.
1255
+ # Restores a deleted ServiceAccount. **Important:** It is not always possible to
1256
+ # restore a deleted service account. Use this method only as a last resort.
1360
1257
  # After you delete a service account, IAM permanently removes the service
1361
1258
  # account 30 days later. There is no way to restore a deleted service account
1362
1259
  # that has been permanently removed.
1363
1260
  # @param [String] name
1364
- # The resource name of the service account in the following format:
1365
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``.
1366
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1367
- # the account.
1261
+ # The resource name of the service account in the following format: `projects/`
1262
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``. Using `-` as a wildcard for
1263
+ # the `PROJECT_ID` will infer the project from the account.
1368
1264
  # @param [Google::Apis::IamV1::UndeleteServiceAccountRequest] undelete_service_account_request_object
1369
1265
  # @param [String] fields
1370
1266
  # Selector specifying which fields to include in a partial response.
@@ -1396,23 +1292,18 @@ module Google
1396
1292
  end
1397
1293
 
1398
1294
  # **Note:** We are in the process of deprecating this method. Use
1399
- # PatchServiceAccount instead.
1400
- # Updates a ServiceAccount.
1401
- # You can update only the `display_name` and `description` fields.
1295
+ # PatchServiceAccount instead. Updates a ServiceAccount. You can update only the
1296
+ # `display_name` and `description` fields.
1402
1297
  # @param [String] name
1403
- # The resource name of the service account.
1404
- # Use one of the following formats:
1405
- # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1406
- # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1407
- # As an alternative, you can use the `-` wildcard character instead of the
1408
- # project ID:
1409
- # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1410
- # * `projects/-/serviceAccounts/`UNIQUE_ID``
1411
- # When possible, avoid using the `-` wildcard character, because it can cause
1412
- # response messages to contain misleading error codes. For example, if you
1413
- # try to get the service account
1414
- # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1415
- # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1298
+ # The resource name of the service account. Use one of the following formats: * `
1299
+ # projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS`` * `projects/`PROJECT_ID`
1300
+ # /serviceAccounts/`UNIQUE_ID`` As an alternative, you can use the `-` wildcard
1301
+ # character instead of the project ID: * `projects/-/serviceAccounts/`
1302
+ # EMAIL_ADDRESS`` * `projects/-/serviceAccounts/`UNIQUE_ID`` When possible,
1303
+ # avoid using the `-` wildcard character, because it can cause response messages
1304
+ # to contain misleading error codes. For example, if you try to get the service
1305
+ # account `projects/-/serviceAccounts/fake@example.com`, which does not exist,
1306
+ # the response contains an HTTP `403 Forbidden` error instead of a `404 Not
1416
1307
  # Found` error.
1417
1308
  # @param [Google::Apis::IamV1::ServiceAccount] service_account_object
1418
1309
  # @param [String] fields
@@ -1446,11 +1337,10 @@ module Google
1446
1337
 
1447
1338
  # Creates a ServiceAccountKey.
1448
1339
  # @param [String] name
1449
- # Required. The resource name of the service account in the following format:
1450
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1451
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1452
- # the account. The `ACCOUNT` value can be the `email` address or the
1453
- # `unique_id` of the service account.
1340
+ # Required. The resource name of the service account in the following format: `
1341
+ # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for
1342
+ # the `PROJECT_ID` will infer the project from the account. The `ACCOUNT` value
1343
+ # can be the `email` address or the `unique_id` of the service account.
1454
1344
  # @param [Google::Apis::IamV1::CreateServiceAccountKeyRequest] create_service_account_key_request_object
1455
1345
  # @param [String] fields
1456
1346
  # Selector specifying which fields to include in a partial response.
@@ -1484,10 +1374,10 @@ module Google
1484
1374
  # Deletes a ServiceAccountKey.
1485
1375
  # @param [String] name
1486
1376
  # Required. The resource name of the service account key in the following format:
1487
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
1488
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1489
- # the account. The `ACCOUNT` value can be the `email` address or the
1490
- # `unique_id` of the service account.
1377
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a
1378
+ # wildcard for the `PROJECT_ID` will infer the project from the account. The `
1379
+ # ACCOUNT` value can be the `email` address or the `unique_id` of the service
1380
+ # account.
1491
1381
  # @param [String] fields
1492
1382
  # Selector specifying which fields to include in a partial response.
1493
1383
  # @param [String] quota_user
@@ -1518,13 +1408,13 @@ module Google
1518
1408
  # Gets a ServiceAccountKey.
1519
1409
  # @param [String] name
1520
1410
  # Required. The resource name of the service account key in the following format:
1521
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
1522
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1523
- # the account. The `ACCOUNT` value can be the `email` address or the
1524
- # `unique_id` of the service account.
1411
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``. Using `-` as a
1412
+ # wildcard for the `PROJECT_ID` will infer the project from the account. The `
1413
+ # ACCOUNT` value can be the `email` address or the `unique_id` of the service
1414
+ # account.
1525
1415
  # @param [String] public_key_type
1526
- # The output format of the public key requested.
1527
- # X509_PEM is the default output format.
1416
+ # The output format of the public key requested. X509_PEM is the default output
1417
+ # format.
1528
1418
  # @param [String] fields
1529
1419
  # Selector specifying which fields to include in a partial response.
1530
1420
  # @param [String] quota_user
@@ -1555,15 +1445,14 @@ module Google
1555
1445
 
1556
1446
  # Lists every ServiceAccountKey for a service account.
1557
1447
  # @param [String] name
1558
- # Required. The resource name of the service account in the following format:
1559
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1560
- # Using `-` as a wildcard for the `PROJECT_ID`, will infer the project from
1561
- # the account. The `ACCOUNT` value can be the `email` address or the
1562
- # `unique_id` of the service account.
1448
+ # Required. The resource name of the service account in the following format: `
1449
+ # projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for
1450
+ # the `PROJECT_ID`, will infer the project from the account. The `ACCOUNT` value
1451
+ # can be the `email` address or the `unique_id` of the service account.
1563
1452
  # @param [Array<String>, String] key_types
1564
- # Filters the types of keys the user wants to include in the list
1565
- # response. Duplicate key types are not allowed. If no key type
1566
- # is provided, all keys are returned.
1453
+ # Filters the types of keys the user wants to include in the list response.
1454
+ # Duplicate key types are not allowed. If no key type is provided, all keys are
1455
+ # returned.
1567
1456
  # @param [String] fields
1568
1457
  # Selector specifying which fields to include in a partial response.
1569
1458
  # @param [String] quota_user
@@ -1594,11 +1483,10 @@ module Google
1594
1483
 
1595
1484
  # Creates a ServiceAccountKey, using a public key that you provide.
1596
1485
  # @param [String] name
1597
- # The resource name of the service account in the following format:
1598
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1599
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1600
- # the account. The `ACCOUNT` value can be the `email` address or the
1601
- # `unique_id` of the service account.
1486
+ # The resource name of the service account in the following format: `projects/`
1487
+ # PROJECT_ID`/serviceAccounts/`ACCOUNT``. Using `-` as a wildcard for the `
1488
+ # PROJECT_ID` will infer the project from the account. The `ACCOUNT` value can
1489
+ # be the `email` address or the `unique_id` of the service account.
1602
1490
  # @param [Google::Apis::IamV1::UploadServiceAccountKeyRequest] upload_service_account_key_request_object
1603
1491
  # @param [String] fields
1604
1492
  # Selector specifying which fields to include in a partial response.
@@ -1631,31 +1519,25 @@ module Google
1631
1519
 
1632
1520
  # Gets the definition of a Role.
1633
1521
  # @param [String] name
1634
- # The `name` parameter's value depends on the target resource for the
1635
- # request, namely
1636
- # [`roles`](/iam/reference/rest/v1/roles),
1637
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
1638
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
1639
- # resource type's `name` value format is described below:
1640
- # * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``.
1641
- # This method returns results from all
1642
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
1643
- # Cloud IAM. Example request URL:
1644
- # `https://iam.googleapis.com/v1/roles/`ROLE_NAME``
1645
- # * [`projects.roles.get()`](/iam/reference/rest/v1/projects.roles/get):
1646
- # `projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``. This method returns only
1647
- # [custom roles](/iam/docs/understanding-custom-roles) that have been
1648
- # created at the project level. Example request URL:
1649
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles/`CUSTOM_ROLE_ID``
1650
- # * [`organizations.roles.get()`](/iam/reference/rest/v1/organizations.roles/get)
1651
- # :
1652
- # `organizations/`ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID``. This method
1653
- # returns only [custom roles](/iam/docs/understanding-custom-roles) that
1654
- # have been created at the organization level. Example request URL:
1655
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles/`
1656
- # CUSTOM_ROLE_ID``
1657
- # Note: Wildcard (*) values are invalid; you must specify a complete project
1658
- # ID or organization ID.
1522
+ # The `name` parameter's value depends on the target resource for the request,
1523
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
1524
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
1525
+ # organizations.roles). Each resource type's `name` value format is described
1526
+ # below: * [`roles.get()`](/iam/reference/rest/v1/roles/get): `roles/`ROLE_NAME``
1527
+ # . This method returns results from all [predefined roles](/iam/docs/
1528
+ # understanding-roles#predefined_roles) in Cloud IAM. Example request URL: `
1529
+ # https://iam.googleapis.com/v1/roles/`ROLE_NAME`` * [`projects.roles.get()`](/
1530
+ # iam/reference/rest/v1/projects.roles/get): `projects/`PROJECT_ID`/roles/`
1531
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
1532
+ # understanding-custom-roles) that have been created at the project level.
1533
+ # Example request URL: `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/
1534
+ # roles/`CUSTOM_ROLE_ID`` * [`organizations.roles.get()`](/iam/reference/rest/v1/
1535
+ # organizations.roles/get): `organizations/`ORGANIZATION_ID`/roles/`
1536
+ # CUSTOM_ROLE_ID``. This method returns only [custom roles](/iam/docs/
1537
+ # understanding-custom-roles) that have been created at the organization level.
1538
+ # Example request URL: `https://iam.googleapis.com/v1/organizations/`
1539
+ # ORGANIZATION_ID`/roles/`CUSTOM_ROLE_ID`` Note: Wildcard (*) values are invalid;
1540
+ # you must specify a complete project ID or organization ID.
1659
1541
  # @param [String] fields
1660
1542
  # Selector specifying which fields to include in a partial response.
1661
1543
  # @param [String] quota_user
@@ -1683,45 +1565,38 @@ module Google
1683
1565
  execute_or_queue_command(command, &block)
1684
1566
  end
1685
1567
 
1686
- # Lists every predefined Role that IAM supports, or every custom role
1687
- # that is defined for an organization or project.
1568
+ # Lists every predefined Role that IAM supports, or every custom role that is
1569
+ # defined for an organization or project.
1688
1570
  # @param [Fixnum] page_size
1689
- # Optional limit on the number of roles to include in the response.
1690
- # The default is 300, and the maximum is 1,000.
1571
+ # Optional limit on the number of roles to include in the response. The default
1572
+ # is 300, and the maximum is 1,000.
1691
1573
  # @param [String] page_token
1692
1574
  # Optional pagination token returned in an earlier ListRolesResponse.
1693
1575
  # @param [String] parent
1694
- # The `parent` parameter's value depends on the target resource for the
1695
- # request, namely
1696
- # [`roles`](/iam/reference/rest/v1/roles),
1697
- # [`projects`](/iam/reference/rest/v1/projects.roles), or
1698
- # [`organizations`](/iam/reference/rest/v1/organizations.roles). Each
1699
- # resource type's `parent` value format is described below:
1700
- # * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
1701
- # This method doesn't require a resource; it simply returns all
1702
- # [predefined roles](/iam/docs/understanding-roles#predefined_roles) in
1703
- # Cloud IAM. Example request URL:
1704
- # `https://iam.googleapis.com/v1/roles`
1705
- # * [`projects.roles.list()`](/iam/reference/rest/v1/projects.roles/list):
1706
- # `projects/`PROJECT_ID``. This method lists all project-level
1707
- # [custom roles](/iam/docs/understanding-custom-roles).
1708
- # Example request URL:
1709
- # `https://iam.googleapis.com/v1/projects/`PROJECT_ID`/roles`
1710
- # * [`organizations.roles.list()`](/iam/reference/rest/v1/organizations.roles/
1711
- # list):
1712
- # `organizations/`ORGANIZATION_ID``. This method lists all
1713
- # organization-level [custom roles](/iam/docs/understanding-custom-roles).
1714
- # Example request URL:
1715
- # `https://iam.googleapis.com/v1/organizations/`ORGANIZATION_ID`/roles`
1716
- # Note: Wildcard (*) values are invalid; you must specify a complete project
1717
- # ID or organization ID.
1576
+ # The `parent` parameter's value depends on the target resource for the request,
1577
+ # namely [`roles`](/iam/reference/rest/v1/roles), [`projects`](/iam/reference/
1578
+ # rest/v1/projects.roles), or [`organizations`](/iam/reference/rest/v1/
1579
+ # organizations.roles). Each resource type's `parent` value format is described
1580
+ # below: * [`roles.list()`](/iam/reference/rest/v1/roles/list): An empty string.
1581
+ # This method doesn't require a resource; it simply returns all [predefined
1582
+ # roles](/iam/docs/understanding-roles#predefined_roles) in Cloud IAM. Example
1583
+ # request URL: `https://iam.googleapis.com/v1/roles` * [`projects.roles.list()`](
1584
+ # /iam/reference/rest/v1/projects.roles/list): `projects/`PROJECT_ID``. This
1585
+ # method lists all project-level [custom roles](/iam/docs/understanding-custom-
1586
+ # roles). Example request URL: `https://iam.googleapis.com/v1/projects/`
1587
+ # PROJECT_ID`/roles` * [`organizations.roles.list()`](/iam/reference/rest/v1/
1588
+ # organizations.roles/list): `organizations/`ORGANIZATION_ID``. This method
1589
+ # lists all organization-level [custom roles](/iam/docs/understanding-custom-
1590
+ # roles). Example request URL: `https://iam.googleapis.com/v1/organizations/`
1591
+ # ORGANIZATION_ID`/roles` Note: Wildcard (*) values are invalid; you must
1592
+ # specify a complete project ID or organization ID.
1718
1593
  # @param [Boolean] show_deleted
1719
1594
  # Include Roles that have been deleted.
1720
1595
  # @param [String] view
1721
- # Optional view for the returned Role objects. When `FULL` is specified,
1722
- # the `includedPermissions` field is returned, which includes a list of all
1723
- # permissions in the role. The default value is `BASIC`, which does not
1724
- # return the `includedPermissions` field.
1596
+ # Optional view for the returned Role objects. When `FULL` is specified, the `
1597
+ # includedPermissions` field is returned, which includes a list of all
1598
+ # permissions in the role. The default value is `BASIC`, which does not return
1599
+ # the `includedPermissions` field.
1725
1600
  # @param [String] fields
1726
1601
  # Selector specifying which fields to include in a partial response.
1727
1602
  # @param [String] quota_user
@@ -1754,8 +1629,7 @@ module Google
1754
1629
  end
1755
1630
 
1756
1631
  # Lists roles that can be granted on a Google Cloud resource. A role is
1757
- # grantable if the IAM policy for the resource can contain bindings to the
1758
- # role.
1632
+ # grantable if the IAM policy for the resource can contain bindings to the role.
1759
1633
  # @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
1760
1634
  # @param [String] fields
1761
1635
  # Selector specifying which fields to include in a partial response.