google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/profiler/
26
26
  module CloudprofilerV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200210'
28
+ REVISION = '20200822'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,9 +22,9 @@ module Google
22
22
  module Apis
23
23
  module CloudprofilerV2
24
24
 
25
- # CreateProfileRequest describes a profile resource online creation request.
26
- # The deployment field must be populated. The profile_type specifies the list
27
- # of profile types supported by the agent. The creation call will hang until a
25
+ # CreateProfileRequest describes a profile resource online creation request. The
26
+ # deployment field must be populated. The profile_type specifies the list of
27
+ # profile types supported by the agent. The creation call will hang until a
28
28
  # profile of one of these types needs to be collected.
29
29
  class CreateProfileRequest
30
30
  include Google::Apis::Core::Hashable
@@ -56,30 +56,27 @@ module Google
56
56
 
57
57
  # Labels identify the deployment within the user universe and same target.
58
58
  # Validation regex for label names: `^[a-z0-9]([a-z0-9-]`0,61`[a-z0-9])?$`.
59
- # Value for an individual label must be <= 512 bytes, the total
60
- # size of all label names and values must be <= 1024 bytes.
61
- # Label named "language" can be used to record the programming language of
62
- # the profiled deployment. The standard choices for the value include "java",
63
- # "go", "python", "ruby", "nodejs", "php", "dotnet".
64
- # For deployments running on Google Cloud Platform, "zone" or "region" label
65
- # should be present describing the deployment location. An example of a zone
66
- # is "us-central1-a", an example of a region is "us-central1" or
67
- # "us-central".
59
+ # Value for an individual label must be <= 512 bytes, the total size of all
60
+ # label names and values must be <= 1024 bytes. Label named "language" can be
61
+ # used to record the programming language of the profiled deployment. The
62
+ # standard choices for the value include "java", "go", "python", "ruby", "nodejs"
63
+ # , "php", "dotnet". For deployments running on Google Cloud Platform, "zone" or
64
+ # "region" label should be present describing the deployment location. An
65
+ # example of a zone is "us-central1-a", an example of a region is "us-central1"
66
+ # or "us-central".
68
67
  # Corresponds to the JSON property `labels`
69
68
  # @return [Hash<String,String>]
70
69
  attr_accessor :labels
71
70
 
72
- # Project ID is the ID of a cloud project.
73
- # Validation regex: `^a-z`4,61`[a-z0-9]$`.
71
+ # Project ID is the ID of a cloud project. Validation regex: `^a-z`4,61`[a-z0-9]$
72
+ # `.
74
73
  # Corresponds to the JSON property `projectId`
75
74
  # @return [String]
76
75
  attr_accessor :project_id
77
76
 
78
- # Target is the service name used to group related deployments:
79
- # * Service name for GAE Flex / Standard.
80
- # * Cluster and container name for GKE.
81
- # * User-specified string for direct GCE profiling (e.g. Java).
82
- # * Job name for Dataflow.
77
+ # Target is the service name used to group related deployments: * Service name
78
+ # for GAE Flex / Standard. * Cluster and container name for GKE. * User-
79
+ # specified string for direct GCE profiling (e.g. Java). * Job name for Dataflow.
83
80
  # Validation regex: `^[a-z]([-a-z0-9_.]`0,253`[a-z0-9])?$`.
84
81
  # Corresponds to the JSON property `target`
85
82
  # @return [String]
@@ -106,19 +103,18 @@ module Google
106
103
  # @return [Google::Apis::CloudprofilerV2::Deployment]
107
104
  attr_accessor :deployment
108
105
 
109
- # Duration of the profiling session.
110
- # Input (for the offline mode) or output (for the online mode).
111
- # The field represents requested profiling duration. It may slightly differ
112
- # from the effective profiling duration, which is recorded in the profile
113
- # data, in case the profiling can't be stopped immediately (e.g. in case
114
- # stopping the profiling is handled asynchronously).
106
+ # Duration of the profiling session. Input (for the offline mode) or output (for
107
+ # the online mode). The field represents requested profiling duration. It may
108
+ # slightly differ from the effective profiling duration, which is recorded in
109
+ # the profile data, in case the profiling can't be stopped immediately (e.g. in
110
+ # case stopping the profiling is handled asynchronously).
115
111
  # Corresponds to the JSON property `duration`
116
112
  # @return [String]
117
113
  attr_accessor :duration
118
114
 
119
- # Input only. Labels associated to this specific profile. These labels will
120
- # get merged with the deployment labels for the final data set. See
121
- # documentation on deployment labels for validation rules and limits.
115
+ # Input only. Labels associated to this specific profile. These labels will get
116
+ # merged with the deployment labels for the final data set. See documentation on
117
+ # deployment labels for validation rules and limits.
122
118
  # Corresponds to the JSON property `labels`
123
119
  # @return [Hash<String,String>]
124
120
  attr_accessor :labels
@@ -128,16 +124,15 @@ module Google
128
124
  # @return [String]
129
125
  attr_accessor :name
130
126
 
131
- # Input only. Profile bytes, as a gzip compressed serialized proto, the
132
- # format is https://github.com/google/pprof/blob/master/proto/profile.proto.
127
+ # Input only. Profile bytes, as a gzip compressed serialized proto, the format
128
+ # is https://github.com/google/pprof/blob/master/proto/profile.proto.
133
129
  # Corresponds to the JSON property `profileBytes`
134
130
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
135
131
  # @return [String]
136
132
  attr_accessor :profile_bytes
137
133
 
138
- # Type of profile.
139
- # For offline mode, this must be specified when creating the profile. For
140
- # online mode it is assigned and returned by the server.
134
+ # Type of profile. For offline mode, this must be specified when creating the
135
+ # profile. For online mode it is assigned and returned by the server.
141
136
  # Corresponds to the JSON property `profileType`
142
137
  # @return [String]
143
138
  attr_accessor :profile_type
@@ -47,17 +47,15 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # CreateProfile creates a new profile resource in the online mode.
51
- # The server ensures that the new profiles are created at a constant rate per
52
- # deployment, so the creation request may hang for some time until the next
53
- # profile session is available.
54
- # The request may fail with ABORTED error if the creation is not available
55
- # within ~1m, the response will indicate the duration of the backoff the
56
- # client should take before attempting creating a profile again. The backoff
57
- # duration is returned in google.rpc.RetryInfo extension on the response
58
- # status. To a gRPC client, the extension will be return as a
59
- # binary-serialized proto in the trailing metadata item named
60
- # "google.rpc.retryinfo-bin".
50
+ # CreateProfile creates a new profile resource in the online mode. The server
51
+ # ensures that the new profiles are created at a constant rate per deployment,
52
+ # so the creation request may hang for some time until the next profile session
53
+ # is available. The request may fail with ABORTED error if the creation is not
54
+ # available within ~1m, the response will indicate the duration of the backoff
55
+ # the client should take before attempting creating a profile again. The backoff
56
+ # duration is returned in google.rpc.RetryInfo extension on the response status.
57
+ # To a gRPC client, the extension will be return as a binary-serialized proto in
58
+ # the trailing metadata item named "google.rpc.retryinfo-bin".
61
59
  # @param [String] parent
62
60
  # Parent project to create the profile in.
63
61
  # @param [Google::Apis::CloudprofilerV2::CreateProfileRequest] create_profile_request_object
@@ -90,9 +88,9 @@ module Google
90
88
  execute_or_queue_command(command, &block)
91
89
  end
92
90
 
93
- # CreateOfflineProfile creates a new profile resource in the offline mode.
94
- # The client provides the profile to create along with the profile bytes, the
95
- # server records it.
91
+ # CreateOfflineProfile creates a new profile resource in the offline mode. The
92
+ # client provides the profile to create along with the profile bytes, the server
93
+ # records it.
96
94
  # @param [String] parent
97
95
  # Parent project to create the profile in.
98
96
  # @param [Google::Apis::CloudprofilerV2::Profile] profile_object
@@ -127,16 +125,16 @@ module Google
127
125
 
128
126
  # UpdateProfile updates the profile bytes and labels on the profile resource
129
127
  # created in the online mode. Updating the bytes for profiles created in the
130
- # offline mode is currently not supported: the profile content must be
131
- # provided at the time of the profile creation.
128
+ # offline mode is currently not supported: the profile content must be provided
129
+ # at the time of the profile creation.
132
130
  # @param [String] name
133
131
  # Output only. Opaque, server-assigned, unique ID for this profile.
134
132
  # @param [Google::Apis::CloudprofilerV2::Profile] profile_object
135
133
  # @param [String] update_mask
136
134
  # Field mask used to specify the fields to be overwritten. Currently only
137
- # profile_bytes and labels fields are supported by UpdateProfile, so only
138
- # those fields can be specified in the mask. When no mask is provided, all
139
- # fields are overwritten.
135
+ # profile_bytes and labels fields are supported by UpdateProfile, so only those
136
+ # fields can be specified in the mask. When no mask is provided, all fields are
137
+ # overwritten.
140
138
  # @param [String] fields
141
139
  # Selector specifying which fields to include in a partial response.
142
140
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200622'
29
+ REVISION = '20200810'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -28,8 +28,8 @@ module Google
28
28
 
29
29
  # A container to reference an id for any resource type. A `resource` in Google
30
30
  # Cloud Platform is a generic term for something you (a developer) may want to
31
- # interact with through one of our API's. Some examples are an App Engine app,
32
- # a Compute Engine instance, a Cloud SQL database, and so on.
31
+ # interact with through one of our API's. Some examples are an App Engine app, a
32
+ # Compute Engine instance, a Cloud SQL database, and so on.
33
33
  # Corresponds to the JSON property `resourceId`
34
34
  # @return [Google::Apis::CloudresourcemanagerV1::ResourceId]
35
35
  attr_accessor :resource_id
@@ -44,53 +44,21 @@ module Google
44
44
  end
45
45
  end
46
46
 
47
- # Specifies the audit configuration for a service.
48
- # The configuration determines which permission types are logged, and what
49
- # identities, if any, are exempted from logging.
50
- # An AuditConfig must have one or more AuditLogConfigs.
51
- # If there are AuditConfigs for both `allServices` and a specific service,
52
- # the union of the two AuditConfigs is used for that service: the log_types
53
- # specified in each AuditConfig are enabled, and the exempted_members in each
54
- # AuditLogConfig are exempted.
55
- # Example Policy with multiple AuditConfigs:
56
- # `
57
- # "audit_configs": [
58
- # `
59
- # "service": "allServices",
60
- # "audit_log_configs": [
61
- # `
62
- # "log_type": "DATA_READ",
63
- # "exempted_members": [
64
- # "user:jose@example.com"
65
- # ]
66
- # `,
67
- # `
68
- # "log_type": "DATA_WRITE"
69
- # `,
70
- # `
71
- # "log_type": "ADMIN_READ"
72
- # `
73
- # ]
74
- # `,
75
- # `
76
- # "service": "sampleservice.googleapis.com",
77
- # "audit_log_configs": [
78
- # `
79
- # "log_type": "DATA_READ"
80
- # `,
81
- # `
82
- # "log_type": "DATA_WRITE",
83
- # "exempted_members": [
84
- # "user:aliya@example.com"
85
- # ]
86
- # `
87
- # ]
88
- # `
89
- # ]
90
- # `
91
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
92
- # logging. It also exempts jose@example.com from DATA_READ logging, and
93
- # aliya@example.com from DATA_WRITE logging.
47
+ # Specifies the audit configuration for a service. The configuration determines
48
+ # which permission types are logged, and what identities, if any, are exempted
49
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
50
+ # are AuditConfigs for both `allServices` and a specific service, the union of
51
+ # the two AuditConfigs is used for that service: the log_types specified in each
52
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
53
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
54
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
55
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
56
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
57
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
58
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
59
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
60
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
61
+ # DATA_WRITE logging.
94
62
  class AuditConfig
95
63
  include Google::Apis::Core::Hashable
96
64
 
@@ -99,9 +67,9 @@ module Google
99
67
  # @return [Array<Google::Apis::CloudresourcemanagerV1::AuditLogConfig>]
100
68
  attr_accessor :audit_log_configs
101
69
 
102
- # Specifies a service that will be enabled for audit logging.
103
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
104
- # `allServices` is a special value that covers all services.
70
+ # Specifies a service that will be enabled for audit logging. For example, `
71
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
72
+ # value that covers all services.
105
73
  # Corresponds to the JSON property `service`
106
74
  # @return [String]
107
75
  attr_accessor :service
@@ -117,28 +85,15 @@ module Google
117
85
  end
118
86
  end
119
87
 
120
- # Provides the configuration for logging a type of permissions.
121
- # Example:
122
- # `
123
- # "audit_log_configs": [
124
- # `
125
- # "log_type": "DATA_READ",
126
- # "exempted_members": [
127
- # "user:jose@example.com"
128
- # ]
129
- # `,
130
- # `
131
- # "log_type": "DATA_WRITE"
132
- # `
133
- # ]
134
- # `
135
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
136
- # jose@example.com from DATA_READ logging.
88
+ # Provides the configuration for logging a type of permissions. Example: ` "
89
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
90
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
91
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
92
+ # DATA_READ logging.
137
93
  class AuditLogConfig
138
94
  include Google::Apis::Core::Hashable
139
95
 
140
- # Specifies the identities that do not cause logging for this type of
141
- # permission.
96
+ # Specifies the identities that do not cause logging for this type of permission.
142
97
  # Follows the same format of Binding.members.
143
98
  # Corresponds to the JSON property `exemptedMembers`
144
99
  # @return [Array<String>]
@@ -164,69 +119,57 @@ module Google
164
119
  class Binding
165
120
  include Google::Apis::Core::Hashable
166
121
 
167
- # Represents a textual expression in the Common Expression Language (CEL)
168
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
169
- # are documented at https://github.com/google/cel-spec.
170
- # Example (Comparison):
171
- # title: "Summary size limit"
172
- # description: "Determines if a summary is less than 100 chars"
173
- # expression: "document.summary.size() < 100"
174
- # Example (Equality):
175
- # title: "Requestor is owner"
176
- # description: "Determines if requestor is the document owner"
177
- # expression: "document.owner == request.auth.claims.email"
178
- # Example (Logic):
179
- # title: "Public documents"
180
- # description: "Determine whether the document should be publicly visible"
181
- # expression: "document.type != 'private' && document.type != 'internal'"
182
- # Example (Data Manipulation):
183
- # title: "Notification string"
184
- # description: "Create a notification string with a timestamp."
185
- # expression: "'New message received at ' + string(document.create_time)"
186
- # The exact variables and functions that may be referenced within an expression
187
- # are determined by the service that evaluates it. See the service
188
- # documentation for additional information.
122
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
123
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
124
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
125
+ # "Summary size limit" description: "Determines if a summary is less than 100
126
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
127
+ # Requestor is owner" description: "Determines if requestor is the document
128
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
129
+ # Logic): title: "Public documents" description: "Determine whether the document
130
+ # should be publicly visible" expression: "document.type != 'private' &&
131
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
132
+ # string" description: "Create a notification string with a timestamp."
133
+ # expression: "'New message received at ' + string(document.create_time)" The
134
+ # exact variables and functions that may be referenced within an expression are
135
+ # determined by the service that evaluates it. See the service documentation for
136
+ # additional information.
189
137
  # Corresponds to the JSON property `condition`
190
138
  # @return [Google::Apis::CloudresourcemanagerV1::Expr]
191
139
  attr_accessor :condition
192
140
 
193
- # Specifies the identities requesting access for a Cloud Platform resource.
194
- # `members` can have the following values:
195
- # * `allUsers`: A special identifier that represents anyone who is
196
- # on the internet; with or without a Google account.
197
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
198
- # who is authenticated with a Google account or a service account.
199
- # * `user:`emailid``: An email address that represents a specific Google
200
- # account. For example, `alice@example.com` .
201
- # * `serviceAccount:`emailid``: An email address that represents a service
202
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
203
- # * `group:`emailid``: An email address that represents a Google group.
204
- # For example, `admins@example.com`.
205
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
206
- # identifier) representing a user that has been recently deleted. For
207
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
208
- # recovered, this value reverts to `user:`emailid`` and the recovered user
209
- # retains the role in the binding.
210
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
211
- # unique identifier) representing a service account that has been recently
212
- # deleted. For example,
213
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
214
- # If the service account is undeleted, this value reverts to
215
- # `serviceAccount:`emailid`` and the undeleted service account retains the
216
- # role in the binding.
217
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
218
- # identifier) representing a Google group that has been recently
219
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
220
- # the group is recovered, this value reverts to `group:`emailid`` and the
221
- # recovered group retains the role in the binding.
222
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
223
- # users of that domain. For example, `google.com` or `example.com`.
141
+ # Specifies the identities requesting access for a Cloud Platform resource. `
142
+ # members` can have the following values: * `allUsers`: A special identifier
143
+ # that represents anyone who is on the internet; with or without a Google
144
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
145
+ # anyone who is authenticated with a Google account or a service account. * `
146
+ # user:`emailid``: An email address that represents a specific Google account.
147
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
148
+ # address that represents a service account. For example, `my-other-app@appspot.
149
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
150
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
151
+ # `uniqueid``: An email address (plus unique identifier) representing a user
152
+ # that has been recently deleted. For example, `alice@example.com?uid=
153
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
154
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
155
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
156
+ # identifier) representing a service account that has been recently deleted. For
157
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
158
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
159
+ # emailid`` and the undeleted service account retains the role in the binding. *
160
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
161
+ # identifier) representing a Google group that has been recently deleted. For
162
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
163
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
164
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
165
+ # primary) that represents all the users of that domain. For example, `google.
166
+ # com` or `example.com`.
224
167
  # Corresponds to the JSON property `members`
225
168
  # @return [Array<String>]
226
169
  attr_accessor :members
227
170
 
228
- # Role that is assigned to `members`.
229
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
171
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
172
+ # , or `roles/owner`.
230
173
  # Corresponds to the JSON property `role`
231
174
  # @return [String]
232
175
  attr_accessor :role
@@ -243,10 +186,9 @@ module Google
243
186
  end
244
187
  end
245
188
 
246
- # A `Constraint` that is either enforced or not.
247
- # For example a constraint `constraints/compute.disableSerialPortAccess`.
248
- # If it is enforced on a VM instance, serial port connections will not be
249
- # opened to that instance.
189
+ # A `Constraint` that is either enforced or not. For example a constraint `
190
+ # constraints/compute.disableSerialPortAccess`. If it is enforced on a VM
191
+ # instance, serial port connections will not be opened to that instance.
250
192
  class BooleanConstraint
251
193
  include Google::Apis::Core::Hashable
252
194
 
@@ -264,45 +206,29 @@ module Google
264
206
  class BooleanPolicy
265
207
  include Google::Apis::Core::Hashable
266
208
 
267
- # If `true`, then the `Policy` is enforced. If `false`, then any
268
- # configuration is acceptable.
269
- # Suppose you have a `Constraint`
270
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
271
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
272
- # behavior:
273
- # - If the `Policy` at this resource has enforced set to `false`, serial
274
- # port connection attempts will be allowed.
275
- # - If the `Policy` at this resource has enforced set to `true`, serial
276
- # port connection attempts will be refused.
277
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
278
- # connection attempts will be allowed.
279
- # - If no `Policy` is set at this resource or anywhere higher in the
280
- # resource hierarchy, serial port connection attempts will be allowed.
281
- # - If no `Policy` is set at this resource, but one exists higher in the
282
- # resource hierarchy, the behavior is as if the`Policy` were set at
283
- # this resource.
284
- # The following examples demonstrate the different possible layerings:
285
- # Example 1 (nearest `Constraint` wins):
286
- # `organizations/foo` has a `Policy` with:
287
- # `enforced: false`
288
- # `projects/bar` has no `Policy` set.
289
- # The constraint at `projects/bar` and `organizations/foo` will not be
290
- # enforced.
291
- # Example 2 (enforcement gets replaced):
292
- # `organizations/foo` has a `Policy` with:
293
- # `enforced: false`
294
- # `projects/bar` has a `Policy` with:
295
- # `enforced: true`
296
- # The constraint at `organizations/foo` is not enforced.
297
- # The constraint at `projects/bar` is enforced.
298
- # Example 3 (RestoreDefault):
299
- # `organizations/foo` has a `Policy` with:
300
- # `enforced: true`
301
- # `projects/bar` has a `Policy` with:
302
- # `RestoreDefault: ```
303
- # The constraint at `organizations/foo` is enforced.
304
- # The constraint at `projects/bar` is not enforced, because
305
- # `constraint_default` for the `Constraint` is `ALLOW`.
209
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
210
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
211
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
212
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
213
+ # this resource has enforced set to `false`, serial port connection attempts
214
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
215
+ # serial port connection attempts will be refused. - If the `Policy` at this
216
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
217
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
218
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
219
+ # is set at this resource, but one exists higher in the resource hierarchy, the
220
+ # behavior is as if the`Policy` were set at this resource. The following
221
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
222
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
223
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
224
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
225
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
226
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
227
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
228
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
229
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
230
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
231
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
306
232
  # Corresponds to the JSON property `enforced`
307
233
  # @return [Boolean]
308
234
  attr_accessor :enforced
@@ -327,8 +253,8 @@ module Google
327
253
  # @return [String]
328
254
  attr_accessor :constraint
329
255
 
330
- # The current version, for concurrency control. Not sending an `etag`
331
- # will cause the `Policy` to be cleared blindly.
256
+ # The current version, for concurrency control. Not sending an `etag` will cause
257
+ # the `Policy` to be cleared blindly.
332
258
  # Corresponds to the JSON property `etag`
333
259
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
334
260
  # @return [String]
@@ -347,24 +273,22 @@ module Google
347
273
 
348
274
  # A `Constraint` describes a way in which a resource's configuration can be
349
275
  # restricted. For example, it controls which cloud services can be activated
350
- # across an organization, or whether a Compute Engine instance can have
351
- # serial port connections established. `Constraints` can be configured by the
276
+ # across an organization, or whether a Compute Engine instance can have serial
277
+ # port connections established. `Constraints` can be configured by the
352
278
  # organization's policy administrator to fit the needs of the organzation by
353
- # setting Policies for `Constraints` at different locations in the
354
- # organization's resource hierarchy. Policies are inherited down the resource
355
- # hierarchy from higher levels, but can also be overridden. For details about
356
- # the inheritance rules please read about
357
- # [Policies](/resource-manager/reference/rest/v1/Policy).
279
+ # setting Policies for `Constraints` at different locations in the organization'
280
+ # s resource hierarchy. Policies are inherited down the resource hierarchy from
281
+ # higher levels, but can also be overridden. For details about the inheritance
282
+ # rules please read about [Policies](/resource-manager/reference/rest/v1/Policy).
358
283
  # `Constraints` have a default behavior determined by the `constraint_default`
359
- # field, which is the enforcement behavior that is used in the absence of a
360
- # `Policy` being defined or inherited for the resource in question.
284
+ # field, which is the enforcement behavior that is used in the absence of a `
285
+ # Policy` being defined or inherited for the resource in question.
361
286
  class Constraint
362
287
  include Google::Apis::Core::Hashable
363
288
 
364
- # A `Constraint` that is either enforced or not.
365
- # For example a constraint `constraints/compute.disableSerialPortAccess`.
366
- # If it is enforced on a VM instance, serial port connections will not be
367
- # opened to that instance.
289
+ # A `Constraint` that is either enforced or not. For example a constraint `
290
+ # constraints/compute.disableSerialPortAccess`. If it is enforced on a VM
291
+ # instance, serial port connections will not be opened to that instance.
368
292
  # Corresponds to the JSON property `booleanConstraint`
369
293
  # @return [Google::Apis::CloudresourcemanagerV1::BooleanConstraint]
370
294
  attr_accessor :boolean_constraint
@@ -375,14 +299,12 @@ module Google
375
299
  attr_accessor :constraint_default
376
300
 
377
301
  # Detailed description of what this `Constraint` controls as well as how and
378
- # where it is enforced.
379
- # Mutable.
302
+ # where it is enforced. Mutable.
380
303
  # Corresponds to the JSON property `description`
381
304
  # @return [String]
382
305
  attr_accessor :description
383
306
 
384
- # The human readable name.
385
- # Mutable.
307
+ # The human readable name. Mutable.
386
308
  # Corresponds to the JSON property `displayName`
387
309
  # @return [String]
388
310
  attr_accessor :display_name
@@ -393,8 +315,8 @@ module Google
393
315
  # @return [Google::Apis::CloudresourcemanagerV1::ListConstraint]
394
316
  attr_accessor :list_constraint
395
317
 
396
- # Immutable value, required to globally be unique. For example,
397
- # `constraints/serviceuser.services`
318
+ # Immutable value, required to globally be unique. For example, `constraints/
319
+ # serviceuser.services`
398
320
  # Corresponds to the JSON property `name`
399
321
  # @return [String]
400
322
  attr_accessor :name
@@ -420,13 +342,11 @@ module Google
420
342
  end
421
343
  end
422
344
 
423
- # A generic empty message that you can re-use to avoid defining duplicated
424
- # empty messages in your APIs. A typical example is to use it as the request
425
- # or the response type of an API method. For instance:
426
- # service Foo `
427
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
428
- # `
429
- # The JSON representation for `Empty` is empty JSON object ````.
345
+ # A generic empty message that you can re-use to avoid defining duplicated empty
346
+ # messages in your APIs. A typical example is to use it as the request or the
347
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
348
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
349
+ # `Empty` is empty JSON object ````.
430
350
  class Empty
431
351
  include Google::Apis::Core::Hashable
432
352
 
@@ -439,52 +359,43 @@ module Google
439
359
  end
440
360
  end
441
361
 
442
- # Represents a textual expression in the Common Expression Language (CEL)
443
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
444
- # are documented at https://github.com/google/cel-spec.
445
- # Example (Comparison):
446
- # title: "Summary size limit"
447
- # description: "Determines if a summary is less than 100 chars"
448
- # expression: "document.summary.size() < 100"
449
- # Example (Equality):
450
- # title: "Requestor is owner"
451
- # description: "Determines if requestor is the document owner"
452
- # expression: "document.owner == request.auth.claims.email"
453
- # Example (Logic):
454
- # title: "Public documents"
455
- # description: "Determine whether the document should be publicly visible"
456
- # expression: "document.type != 'private' && document.type != 'internal'"
457
- # Example (Data Manipulation):
458
- # title: "Notification string"
459
- # description: "Create a notification string with a timestamp."
460
- # expression: "'New message received at ' + string(document.create_time)"
461
- # The exact variables and functions that may be referenced within an expression
462
- # are determined by the service that evaluates it. See the service
463
- # documentation for additional information.
362
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
363
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
364
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
365
+ # "Summary size limit" description: "Determines if a summary is less than 100
366
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
367
+ # Requestor is owner" description: "Determines if requestor is the document
368
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
369
+ # Logic): title: "Public documents" description: "Determine whether the document
370
+ # should be publicly visible" expression: "document.type != 'private' &&
371
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
372
+ # string" description: "Create a notification string with a timestamp."
373
+ # expression: "'New message received at ' + string(document.create_time)" The
374
+ # exact variables and functions that may be referenced within an expression are
375
+ # determined by the service that evaluates it. See the service documentation for
376
+ # additional information.
464
377
  class Expr
465
378
  include Google::Apis::Core::Hashable
466
379
 
467
- # Optional. Description of the expression. This is a longer text which
468
- # describes the expression, e.g. when hovered over it in a UI.
380
+ # Optional. Description of the expression. This is a longer text which describes
381
+ # the expression, e.g. when hovered over it in a UI.
469
382
  # Corresponds to the JSON property `description`
470
383
  # @return [String]
471
384
  attr_accessor :description
472
385
 
473
- # Textual representation of an expression in Common Expression Language
474
- # syntax.
386
+ # Textual representation of an expression in Common Expression Language syntax.
475
387
  # Corresponds to the JSON property `expression`
476
388
  # @return [String]
477
389
  attr_accessor :expression
478
390
 
479
- # Optional. String indicating the location of the expression for error
480
- # reporting, e.g. a file name and a position in the file.
391
+ # Optional. String indicating the location of the expression for error reporting,
392
+ # e.g. a file name and a position in the file.
481
393
  # Corresponds to the JSON property `location`
482
394
  # @return [String]
483
395
  attr_accessor :location
484
396
 
485
- # Optional. Title for the expression, i.e. a short string describing
486
- # its purpose. This can be used e.g. in UIs which allow to enter the
487
- # expression.
397
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
398
+ # This can be used e.g. in UIs which allow to enter the expression.
488
399
  # Corresponds to the JSON property `title`
489
400
  # @return [String]
490
401
  attr_accessor :title
@@ -506,8 +417,8 @@ module Google
506
417
  class FolderOperation
507
418
  include Google::Apis::Core::Hashable
508
419
 
509
- # The resource name of the folder or organization we are either creating
510
- # the folder under or moving the folder to.
420
+ # The resource name of the folder or organization we are either creating the
421
+ # folder under or moving the folder to.
511
422
  # Corresponds to the JSON property `destinationParent`
512
423
  # @return [String]
513
424
  attr_accessor :destination_parent
@@ -522,8 +433,8 @@ module Google
522
433
  # @return [String]
523
434
  attr_accessor :operation_type
524
435
 
525
- # The resource name of the folder's parent.
526
- # Only applicable when the operation_type is MOVE.
436
+ # The resource name of the folder's parent. Only applicable when the
437
+ # operation_type is MOVE.
527
438
  # Corresponds to the JSON property `sourceParent`
528
439
  # @return [String]
529
440
  attr_accessor :source_parent
@@ -560,9 +471,7 @@ module Google
560
471
  end
561
472
  end
562
473
 
563
- # The request sent to the
564
- # GetAncestry
565
- # method.
474
+ # The request sent to the GetAncestry method.
566
475
  class GetAncestryRequest
567
476
  include Google::Apis::Core::Hashable
568
477
 
@@ -575,15 +484,12 @@ module Google
575
484
  end
576
485
  end
577
486
 
578
- # Response from the
579
- # projects.getAncestry
580
- # method.
487
+ # Response from the projects.getAncestry method.
581
488
  class GetAncestryResponse
582
489
  include Google::Apis::Core::Hashable
583
490
 
584
- # Ancestors are ordered from bottom to top of the resource hierarchy. The
585
- # first ancestor is the project itself, followed by the project's parent,
586
- # etc..
491
+ # Ancestors are ordered from bottom to top of the resource hierarchy. The first
492
+ # ancestor is the project itself, followed by the project's parent, etc..
587
493
  # Corresponds to the JSON property `ancestor`
588
494
  # @return [Array<Google::Apis::CloudresourcemanagerV1::Ancestor>]
589
495
  attr_accessor :ancestor
@@ -659,15 +565,13 @@ module Google
659
565
  class GetPolicyOptions
660
566
  include Google::Apis::Core::Hashable
661
567
 
662
- # Optional. The policy format version to be returned.
663
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
664
- # rejected.
665
- # Requests for policies with any conditional bindings must specify version 3.
666
- # Policies without any conditional bindings may specify any valid value or
667
- # leave the field unset.
668
- # To learn which resources support conditions in their IAM policies, see the
669
- # [IAM
670
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
568
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
569
+ # 3. Requests specifying an invalid value will be rejected. Requests for
570
+ # policies with any conditional bindings must specify version 3. Policies
571
+ # without any conditional bindings may specify any valid value or leave the
572
+ # field unset. To learn which resources support conditions in their IAM policies,
573
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
574
+ # resource-policies).
671
575
  # Corresponds to the JSON property `requestedPolicyVersion`
672
576
  # @return [Fixnum]
673
577
  attr_accessor :requested_policy_version
@@ -692,39 +596,35 @@ module Google
692
596
  # @return [String]
693
597
  attr_accessor :create_time
694
598
 
695
- # A system-generated unique identifier for this Lien.
696
- # Example: `liens/1234abcd`
599
+ # A system-generated unique identifier for this Lien. Example: `liens/1234abcd`
697
600
  # Corresponds to the JSON property `name`
698
601
  # @return [String]
699
602
  attr_accessor :name
700
603
 
701
- # A stable, user-visible/meaningful string identifying the origin of the
702
- # Lien, intended to be inspected programmatically. Maximum length of 200
703
- # characters.
604
+ # A stable, user-visible/meaningful string identifying the origin of the Lien,
605
+ # intended to be inspected programmatically. Maximum length of 200 characters.
704
606
  # Example: 'compute.googleapis.com'
705
607
  # Corresponds to the JSON property `origin`
706
608
  # @return [String]
707
609
  attr_accessor :origin
708
610
 
709
- # A reference to the resource this Lien is attached to. The server will
710
- # validate the parent against those for which Liens are supported.
711
- # Example: `projects/1234`
611
+ # A reference to the resource this Lien is attached to. The server will validate
612
+ # the parent against those for which Liens are supported. Example: `projects/
613
+ # 1234`
712
614
  # Corresponds to the JSON property `parent`
713
615
  # @return [String]
714
616
  attr_accessor :parent
715
617
 
716
- # Concise user-visible strings indicating why an action cannot be performed
717
- # on a resource. Maximum length of 200 characters.
718
- # Example: 'Holds production API key'
618
+ # Concise user-visible strings indicating why an action cannot be performed on a
619
+ # resource. Maximum length of 200 characters. Example: 'Holds production API key'
719
620
  # Corresponds to the JSON property `reason`
720
621
  # @return [String]
721
622
  attr_accessor :reason
722
623
 
723
- # The types of operations which should be blocked as a result of this Lien.
724
- # Each value should correspond to an IAM permission. The server will
725
- # validate the permissions against those for which Liens are supported.
726
- # An empty list is meaningless and will be rejected.
727
- # Example: ['resourcemanager.projects.delete']
624
+ # The types of operations which should be blocked as a result of this Lien. Each
625
+ # value should correspond to an IAM permission. The server will validate the
626
+ # permissions against those for which Liens are supported. An empty list is
627
+ # meaningless and will be rejected. Example: ['resourcemanager.projects.delete']
728
628
  # Corresponds to the JSON property `restrictions`
729
629
  # @return [Array<String>]
730
630
  attr_accessor :restrictions
@@ -749,15 +649,14 @@ module Google
749
649
  class ListAvailableOrgPolicyConstraintsRequest
750
650
  include Google::Apis::Core::Hashable
751
651
 
752
- # Size of the pages to be returned. This is currently unsupported and will
753
- # be ignored. The server may at any point start using this field to limit
754
- # page size.
652
+ # Size of the pages to be returned. This is currently unsupported and will be
653
+ # ignored. The server may at any point start using this field to limit page size.
755
654
  # Corresponds to the JSON property `pageSize`
756
655
  # @return [Fixnum]
757
656
  attr_accessor :page_size
758
657
 
759
- # Page token used to retrieve the next page. This is currently unsupported
760
- # and will be ignored. The server may at any point start using this field.
658
+ # Page token used to retrieve the next page. This is currently unsupported and
659
+ # will be ignored. The server may at any point start using this field.
761
660
  # Corresponds to the JSON property `pageToken`
762
661
  # @return [String]
763
662
  attr_accessor :page_token
@@ -774,8 +673,8 @@ module Google
774
673
  end
775
674
 
776
675
  # The response returned from the `ListAvailableOrgPolicyConstraints` method.
777
- # Returns all `Constraints` that could be set at this level of the hierarchy
778
- # (contrast with the response from `ListPolicies`, which returns all policies
676
+ # Returns all `Constraints` that could be set at this level of the hierarchy (
677
+ # contrast with the response from `ListPolicies`, which returns all policies
779
678
  # which are set).
780
679
  class ListAvailableOrgPolicyConstraintsResponse
781
680
  include Google::Apis::Core::Hashable
@@ -806,16 +705,15 @@ module Google
806
705
  class ListConstraint
807
706
  include Google::Apis::Core::Hashable
808
707
 
809
- # Optional. The Google Cloud Console will try to default to a configuration
810
- # that matches the value specified in this `Constraint`.
708
+ # Optional. The Google Cloud Console will try to default to a configuration that
709
+ # matches the value specified in this `Constraint`.
811
710
  # Corresponds to the JSON property `suggestedValue`
812
711
  # @return [String]
813
712
  attr_accessor :suggested_value
814
713
 
815
- # Indicates whether subtrees of Cloud Resource Manager resource hierarchy
816
- # can be used in `Policy.allowed_values` and `Policy.denied_values`. For
817
- # example, `"under:folders/123"` would match any resource under the
818
- # 'folders/123' folder.
714
+ # Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be
715
+ # used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"
716
+ # under:folders/123"` would match any resource under the 'folders/123' folder.
819
717
  # Corresponds to the JSON property `supportsUnder`
820
718
  # @return [Boolean]
821
719
  attr_accessor :supports_under
@@ -862,15 +760,14 @@ module Google
862
760
  class ListOrgPoliciesRequest
863
761
  include Google::Apis::Core::Hashable
864
762
 
865
- # Size of the pages to be returned. This is currently unsupported and will
866
- # be ignored. The server may at any point start using this field to limit
867
- # page size.
763
+ # Size of the pages to be returned. This is currently unsupported and will be
764
+ # ignored. The server may at any point start using this field to limit page size.
868
765
  # Corresponds to the JSON property `pageSize`
869
766
  # @return [Fixnum]
870
767
  attr_accessor :page_size
871
768
 
872
- # Page token used to retrieve the next page. This is currently unsupported
873
- # and will be ignored. The server may at any point start using this field.
769
+ # Page token used to retrieve the next page. This is currently unsupported and
770
+ # will be ignored. The server may at any point start using this field.
874
771
  # Corresponds to the JSON property `pageToken`
875
772
  # @return [String]
876
773
  attr_accessor :page_token
@@ -886,19 +783,19 @@ module Google
886
783
  end
887
784
  end
888
785
 
889
- # The response returned from the `ListOrgPolicies` method. It will be empty
890
- # if no `Policies` are set on the resource.
786
+ # The response returned from the `ListOrgPolicies` method. It will be empty if
787
+ # no `Policies` are set on the resource.
891
788
  class ListOrgPoliciesResponse
892
789
  include Google::Apis::Core::Hashable
893
790
 
894
- # Page token used to retrieve the next page. This is currently not used, but
895
- # the server may at any point start supplying a valid token.
791
+ # Page token used to retrieve the next page. This is currently not used, but the
792
+ # server may at any point start supplying a valid token.
896
793
  # Corresponds to the JSON property `nextPageToken`
897
794
  # @return [String]
898
795
  attr_accessor :next_page_token
899
796
 
900
- # The `Policies` that are set on the resource. It will be empty if no
901
- # `Policies` are set.
797
+ # The `Policies` that are set on the resource. It will be empty if no `Policies`
798
+ # are set.
902
799
  # Corresponds to the JSON property `policies`
903
800
  # @return [Array<Google::Apis::CloudresourcemanagerV1::OrgPolicy>]
904
801
  attr_accessor :policies
@@ -914,26 +811,22 @@ module Google
914
811
  end
915
812
  end
916
813
 
917
- # Used in `policy_type` to specify how `list_policy` behaves at this
918
- # resource.
919
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
920
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
921
- # are allowed or denied by setting the `allowed_values` and `denied_values`
922
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
923
- # The `under:` prefix is used to denote resource subtree values.
924
- # The `is:` prefix is used to denote specific values, and is required only
925
- # if the value contains a ":". Values prefixed with "is:" are treated the
926
- # same as values with no prefix.
927
- # Ancestry subtrees must be in one of the following formats:
928
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
929
- # - "folders/<folder-id>", e.g. "folders/1234"
930
- # - "organizations/<organization-id>", e.g. "organizations/1234"
931
- # The `supports_under` field of the associated `Constraint` defines whether
932
- # ancestry prefixes can be used. You can set `allowed_values` and
933
- # `denied_values` in the same `Policy` if `all_values` is
934
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
935
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
936
- # `allowed_values` and `denied_values` must be unset.
814
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
815
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
816
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
817
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
818
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
819
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
820
+ # denote specific values, and is required only if the value contains a ":".
821
+ # Values prefixed with "is:" are treated the same as values with no prefix.
822
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
823
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
824
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
825
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
826
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
827
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
828
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
829
+ # and `denied_values` must be unset.
937
830
  class ListPolicy
938
831
  include Google::Apis::Core::Hashable
939
832
 
@@ -942,112 +835,83 @@ module Google
942
835
  # @return [String]
943
836
  attr_accessor :all_values
944
837
 
945
- # List of values allowed at this resource. Can only be set if `all_values`
946
- # is set to `ALL_VALUES_UNSPECIFIED`.
838
+ # List of values allowed at this resource. Can only be set if `all_values` is
839
+ # set to `ALL_VALUES_UNSPECIFIED`.
947
840
  # Corresponds to the JSON property `allowedValues`
948
841
  # @return [Array<String>]
949
842
  attr_accessor :allowed_values
950
843
 
951
- # List of values denied at this resource. Can only be set if `all_values`
952
- # is set to `ALL_VALUES_UNSPECIFIED`.
844
+ # List of values denied at this resource. Can only be set if `all_values` is set
845
+ # to `ALL_VALUES_UNSPECIFIED`.
953
846
  # Corresponds to the JSON property `deniedValues`
954
847
  # @return [Array<String>]
955
848
  attr_accessor :denied_values
956
849
 
957
- # Determines the inheritance behavior for this `Policy`.
958
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
959
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
960
- # set to `true`, then the values from the effective `Policy` of the parent
961
- # resource are inherited, meaning the values set in this `Policy` are
962
- # added to the values inherited up the hierarchy.
963
- # Setting `Policy` hierarchies that inherit both allowed values and denied
964
- # values isn't recommended in most circumstances to keep the configuration
965
- # simple and understandable. However, it is possible to set a `Policy` with
966
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
967
- # In this case, the values that are allowed must be in `allowed_values` and
968
- # not present in `denied_values`.
969
- # For example, suppose you have a `Constraint`
970
- # `constraints/serviceuser.services`, which has a `constraint_type` of
971
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
972
- # Suppose that at the Organization level, a `Policy` is applied that
973
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
974
- # `Policy` is applied to a project below the Organization that has
975
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
976
- # then an attempt to activate any API will be denied.
977
- # The following examples demonstrate different possible layerings for
978
- # `projects/bar` parented by `organizations/foo`:
979
- # Example 1 (no inherited values):
980
- # `organizations/foo` has a `Policy` with values:
981
- # `allowed_values: "E1" allowed_values:"E2"`
982
- # `projects/bar` has `inherit_from_parent` `false` and values:
983
- # `allowed_values: "E3" allowed_values: "E4"`
984
- # The accepted values at `organizations/foo` are `E1`, `E2`.
985
- # The accepted values at `projects/bar` are `E3`, and `E4`.
986
- # Example 2 (inherited values):
987
- # `organizations/foo` has a `Policy` with values:
988
- # `allowed_values: "E1" allowed_values:"E2"`
989
- # `projects/bar` has a `Policy` with values:
990
- # `value: "E3" value: "E4" inherit_from_parent: true`
991
- # The accepted values at `organizations/foo` are `E1`, `E2`.
992
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
993
- # Example 3 (inheriting both allowed and denied values):
994
- # `organizations/foo` has a `Policy` with values:
995
- # `allowed_values: "E1" allowed_values: "E2"`
996
- # `projects/bar` has a `Policy` with:
997
- # `denied_values: "E1"`
998
- # The accepted values at `organizations/foo` are `E1`, `E2`.
999
- # The value accepted at `projects/bar` is `E2`.
1000
- # Example 4 (RestoreDefault):
1001
- # `organizations/foo` has a `Policy` with values:
1002
- # `allowed_values: "E1" allowed_values:"E2"`
1003
- # `projects/bar` has a `Policy` with values:
1004
- # `RestoreDefault: ```
1005
- # The accepted values at `organizations/foo` are `E1`, `E2`.
1006
- # The accepted values at `projects/bar` are either all or none depending on
1007
- # the value of `constraint_default` (if `ALLOW`, all; if
1008
- # `DENY`, none).
1009
- # Example 5 (no policy inherits parent policy):
1010
- # `organizations/foo` has no `Policy` set.
1011
- # `projects/bar` has no `Policy` set.
1012
- # The accepted values at both levels are either all or none depending on
1013
- # the value of `constraint_default` (if `ALLOW`, all; if
1014
- # `DENY`, none).
1015
- # Example 6 (ListConstraint allowing all):
1016
- # `organizations/foo` has a `Policy` with values:
1017
- # `allowed_values: "E1" allowed_values: "E2"`
1018
- # `projects/bar` has a `Policy` with:
1019
- # `all: ALLOW`
1020
- # The accepted values at `organizations/foo` are `E1`, E2`.
1021
- # Any value is accepted at `projects/bar`.
1022
- # Example 7 (ListConstraint allowing none):
1023
- # `organizations/foo` has a `Policy` with values:
1024
- # `allowed_values: "E1" allowed_values: "E2"`
1025
- # `projects/bar` has a `Policy` with:
1026
- # `all: DENY`
1027
- # The accepted values at `organizations/foo` are `E1`, E2`.
1028
- # No value is accepted at `projects/bar`.
1029
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
1030
- # Given the following resource hierarchy
1031
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
1032
- # `organizations/foo` has a `Policy` with values:
1033
- # `allowed_values: "under:organizations/O1"`
1034
- # `projects/bar` has a `Policy` with:
1035
- # `allowed_values: "under:projects/P3"`
1036
- # `denied_values: "under:folders/F2"`
1037
- # The accepted values at `organizations/foo` are `organizations/O1`,
1038
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
1039
- # `projects/P3`.
1040
- # The accepted values at `projects/bar` are `organizations/O1`,
1041
- # `folders/F1`, `projects/P1`.
850
+ # Determines the inheritance behavior for this `Policy`. By default, a `
851
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
852
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
853
+ # the values from the effective `Policy` of the parent resource are inherited,
854
+ # meaning the values set in this `Policy` are added to the values inherited up
855
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
856
+ # and denied values isn't recommended in most circumstances to keep the
857
+ # configuration simple and understandable. However, it is possible to set a `
858
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
859
+ # set. In this case, the values that are allowed must be in `allowed_values`
860
+ # and not present in `denied_values`. For example, suppose you have a `
861
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
862
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
863
+ # that at the Organization level, a `Policy` is applied that restricts the
864
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
865
+ # project below the Organization that has `inherit_from_parent` set to `false`
866
+ # and field all_values set to DENY, then an attempt to activate any API will be
867
+ # denied. The following examples demonstrate different possible layerings for `
868
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
869
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
870
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
871
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
872
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
873
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
874
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
875
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
876
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
877
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
878
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
879
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
880
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
881
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
882
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
883
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
884
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
885
+ # The accepted values at `projects/bar` are either all or none depending on the
886
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
887
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
888
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
889
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
890
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
891
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
892
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
893
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
894
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
895
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
896
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
897
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
898
+ # subtrees of Resource Manager hierarchy): Given the following resource
899
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
900
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
901
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
902
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
903
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
904
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
905
+ # folders/F1`, `projects/P1`.
1042
906
  # Corresponds to the JSON property `inheritFromParent`
1043
907
  # @return [Boolean]
1044
908
  attr_accessor :inherit_from_parent
1045
909
  alias_method :inherit_from_parent?, :inherit_from_parent
1046
910
 
1047
- # Optional. The Google Cloud Console will try to default to a configuration
1048
- # that matches the value specified in this `Policy`. If `suggested_value`
1049
- # is not set, it will inherit the value specified higher in the hierarchy,
1050
- # unless `inherit_from_parent` is `false`.
911
+ # Optional. The Google Cloud Console will try to default to a configuration that
912
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
913
+ # it will inherit the value specified higher in the hierarchy, unless `
914
+ # inherit_from_parent` is `false`.
1051
915
  # Corresponds to the JSON property `suggestedValue`
1052
916
  # @return [String]
1053
917
  attr_accessor :suggested_value
@@ -1066,29 +930,23 @@ module Google
1066
930
  end
1067
931
  end
1068
932
 
1069
- # A page of the response received from the
1070
- # ListProjects
1071
- # method.
1072
- # A paginated response where more pages are available has
1073
- # `next_page_token` set. This token can be used in a subsequent request to
1074
- # retrieve the next request page.
933
+ # A page of the response received from the ListProjects method. A paginated
934
+ # response where more pages are available has `next_page_token` set. This token
935
+ # can be used in a subsequent request to retrieve the next request page.
1075
936
  class ListProjectsResponse
1076
937
  include Google::Apis::Core::Hashable
1077
938
 
1078
- # Pagination token.
1079
- # If the result set is too large to fit in a single response, this token
1080
- # is returned. It encodes the position of the current result cursor.
939
+ # Pagination token. If the result set is too large to fit in a single response,
940
+ # this token is returned. It encodes the position of the current result cursor.
1081
941
  # Feeding this value into a new list request with the `page_token` parameter
1082
- # gives the next page of the results.
1083
- # When `next_page_token` is not filled in, there is no next page and
1084
- # the list returned is the last page in the result set.
942
+ # gives the next page of the results. When `next_page_token` is not filled in,
943
+ # there is no next page and the list returned is the last page in the result set.
1085
944
  # Pagination tokens have a limited lifetime.
1086
945
  # Corresponds to the JSON property `nextPageToken`
1087
946
  # @return [String]
1088
947
  attr_accessor :next_page_token
1089
948
 
1090
- # The list of Projects that matched the list filter. This list can
1091
- # be paginated.
949
+ # The list of Projects that matched the list filter. This list can be paginated.
1092
950
  # Corresponds to the JSON property `projects`
1093
951
  # @return [Array<Google::Apis::CloudresourcemanagerV1::Project>]
1094
952
  attr_accessor :projects
@@ -1109,47 +967,45 @@ module Google
1109
967
  class Operation
1110
968
  include Google::Apis::Core::Hashable
1111
969
 
1112
- # If the value is `false`, it means the operation is still in progress.
1113
- # If `true`, the operation is completed, and either `error` or `response` is
1114
- # available.
970
+ # If the value is `false`, it means the operation is still in progress. If `true`
971
+ # , the operation is completed, and either `error` or `response` is available.
1115
972
  # Corresponds to the JSON property `done`
1116
973
  # @return [Boolean]
1117
974
  attr_accessor :done
1118
975
  alias_method :done?, :done
1119
976
 
1120
- # The `Status` type defines a logical error model that is suitable for
1121
- # different programming environments, including REST APIs and RPC APIs. It is
1122
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1123
- # three pieces of data: error code, error message, and error details.
1124
- # You can find out more about this error model and how to work with it in the
1125
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
977
+ # The `Status` type defines a logical error model that is suitable for different
978
+ # programming environments, including REST APIs and RPC APIs. It is used by [
979
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
980
+ # data: error code, error message, and error details. You can find out more
981
+ # about this error model and how to work with it in the [API Design Guide](https:
982
+ # //cloud.google.com/apis/design/errors).
1126
983
  # Corresponds to the JSON property `error`
1127
984
  # @return [Google::Apis::CloudresourcemanagerV1::Status]
1128
985
  attr_accessor :error
1129
986
 
1130
- # Service-specific metadata associated with the operation. It typically
1131
- # contains progress information and common metadata such as create time.
1132
- # Some services might not provide such metadata. Any method that returns a
1133
- # long-running operation should document the metadata type, if any.
987
+ # Service-specific metadata associated with the operation. It typically contains
988
+ # progress information and common metadata such as create time. Some services
989
+ # might not provide such metadata. Any method that returns a long-running
990
+ # operation should document the metadata type, if any.
1134
991
  # Corresponds to the JSON property `metadata`
1135
992
  # @return [Hash<String,Object>]
1136
993
  attr_accessor :metadata
1137
994
 
1138
995
  # The server-assigned name, which is only unique within the same service that
1139
- # originally returns it. If you use the default HTTP mapping, the
1140
- # `name` should be a resource name ending with `operations/`unique_id``.
996
+ # originally returns it. If you use the default HTTP mapping, the `name` should
997
+ # be a resource name ending with `operations/`unique_id``.
1141
998
  # Corresponds to the JSON property `name`
1142
999
  # @return [String]
1143
1000
  attr_accessor :name
1144
1001
 
1145
- # The normal response of the operation in case of success. If the original
1146
- # method returns no data on success, such as `Delete`, the response is
1147
- # `google.protobuf.Empty`. If the original method is standard
1148
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1149
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1150
- # is the original method name. For example, if the original method name
1151
- # is `TakeSnapshot()`, the inferred response type is
1152
- # `TakeSnapshotResponse`.
1002
+ # The normal response of the operation in case of success. If the original
1003
+ # method returns no data on success, such as `Delete`, the response is `google.
1004
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1005
+ # the response should be the resource. For other methods, the response should
1006
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1007
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1008
+ # response type is `TakeSnapshotResponse`.
1153
1009
  # Corresponds to the JSON property `response`
1154
1010
  # @return [Hash<String,Object>]
1155
1011
  attr_accessor :response
@@ -1179,76 +1035,65 @@ module Google
1179
1035
  # @return [Google::Apis::CloudresourcemanagerV1::BooleanPolicy]
1180
1036
  attr_accessor :boolean_policy
1181
1037
 
1182
- # The name of the `Constraint` the `Policy` is configuring, for example,
1183
- # `constraints/serviceuser.services`.
1184
- # A [list of available
1185
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
1186
- # is available.
1038
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
1039
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
1040
+ # manager/docs/organization-policy/org-policy-constraints) is available.
1187
1041
  # Immutable after creation.
1188
1042
  # Corresponds to the JSON property `constraint`
1189
1043
  # @return [String]
1190
1044
  attr_accessor :constraint
1191
1045
 
1192
1046
  # An opaque tag indicating the current version of the `Policy`, used for
1193
- # concurrency control.
1194
- # When the `Policy` is returned from either a `GetPolicy` or a
1195
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
1196
- # `Policy` to use when executing a read-modify-write loop.
1197
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
1198
- # `etag` will be unset.
1199
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
1200
- # that was returned from a `GetOrgPolicy` request as part of a
1201
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
1202
- # `SetOrgPolicy` request will result in an unconditional write of the
1203
- # `Policy`.
1047
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
1048
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
1049
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
1050
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
1051
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
1052
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
1053
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
1054
+ # result in an unconditional write of the `Policy`.
1204
1055
  # Corresponds to the JSON property `etag`
1205
1056
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1206
1057
  # @return [String]
1207
1058
  attr_accessor :etag
1208
1059
 
1209
- # Used in `policy_type` to specify how `list_policy` behaves at this
1210
- # resource.
1211
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
1212
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
1213
- # are allowed or denied by setting the `allowed_values` and `denied_values`
1214
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
1215
- # The `under:` prefix is used to denote resource subtree values.
1216
- # The `is:` prefix is used to denote specific values, and is required only
1217
- # if the value contains a ":". Values prefixed with "is:" are treated the
1218
- # same as values with no prefix.
1219
- # Ancestry subtrees must be in one of the following formats:
1220
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
1221
- # - "folders/<folder-id>", e.g. "folders/1234"
1222
- # - "organizations/<organization-id>", e.g. "organizations/1234"
1223
- # The `supports_under` field of the associated `Constraint` defines whether
1224
- # ancestry prefixes can be used. You can set `allowed_values` and
1225
- # `denied_values` in the same `Policy` if `all_values` is
1226
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
1227
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
1228
- # `allowed_values` and `denied_values` must be unset.
1060
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
1061
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
1062
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
1063
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
1064
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
1065
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
1066
+ # denote specific values, and is required only if the value contains a ":".
1067
+ # Values prefixed with "is:" are treated the same as values with no prefix.
1068
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
1069
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
1070
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
1071
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
1072
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
1073
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
1074
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
1075
+ # and `denied_values` must be unset.
1229
1076
  # Corresponds to the JSON property `listPolicy`
1230
1077
  # @return [Google::Apis::CloudresourcemanagerV1::ListPolicy]
1231
1078
  attr_accessor :list_policy
1232
1079
 
1233
- # Ignores policies set above this resource and restores the
1234
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1235
- # this resource.
1236
- # Suppose that `constraint_default` is set to `ALLOW` for the
1237
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1238
- # foo.com sets a `Policy` at their Organization resource node that restricts
1239
- # the allowed service activations to deny all service activations. They
1240
- # could then set a `Policy` with the `policy_type` `restore_default` on
1241
- # several experimental projects, restoring the `constraint_default`
1242
- # enforcement of the `Constraint` for only those projects, allowing those
1243
- # projects to have all services activated.
1080
+ # Ignores policies set above this resource and restores the `constraint_default`
1081
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
1082
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
1083
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
1084
+ # their Organization resource node that restricts the allowed service
1085
+ # activations to deny all service activations. They could then set a `Policy`
1086
+ # with the `policy_type` `restore_default` on several experimental projects,
1087
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
1088
+ # those projects, allowing those projects to have all services activated.
1244
1089
  # Corresponds to the JSON property `restoreDefault`
1245
1090
  # @return [Google::Apis::CloudresourcemanagerV1::RestoreDefault]
1246
1091
  attr_accessor :restore_default
1247
1092
 
1248
- # The time stamp the `Policy` was previously updated. This is set by the
1249
- # server, not specified by the caller, and represents the last time a call to
1250
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
1251
- # be ignored.
1093
+ # The time stamp the `Policy` was previously updated. This is set by the server,
1094
+ # not specified by the caller, and represents the last time a call to `
1095
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
1096
+ # ignored.
1252
1097
  # Corresponds to the JSON property `updateTime`
1253
1098
  # @return [String]
1254
1099
  attr_accessor :update_time
@@ -1274,8 +1119,8 @@ module Google
1274
1119
  end
1275
1120
  end
1276
1121
 
1277
- # The root node in the resource hierarchy to which a particular entity's
1278
- # (e.g., company) resources belong.
1122
+ # The root node in the resource hierarchy to which a particular entity's (e.g.,
1123
+ # company) resources belong.
1279
1124
  class Organization
1280
1125
  include Google::Apis::Core::Hashable
1281
1126
 
@@ -1284,10 +1129,10 @@ module Google
1284
1129
  # @return [String]
1285
1130
  attr_accessor :creation_time
1286
1131
 
1287
- # A human-readable string that refers to the Organization in the
1288
- # GCP Console UI. This string is set by the server and cannot be
1289
- # changed. The string will be set to the primary domain (for example,
1290
- # "google.com") of the G Suite customer that owns the organization.
1132
+ # A human-readable string that refers to the Organization in the GCP Console UI.
1133
+ # This string is set by the server and cannot be changed. The string will be set
1134
+ # to the primary domain (for example, "google.com") of the G Suite customer that
1135
+ # owns the organization.
1291
1136
  # Corresponds to the JSON property `displayName`
1292
1137
  # @return [String]
1293
1138
  attr_accessor :display_name
@@ -1297,16 +1142,16 @@ module Google
1297
1142
  # @return [String]
1298
1143
  attr_accessor :lifecycle_state
1299
1144
 
1300
- # Output only. The resource name of the organization. This is the
1301
- # organization's relative path in the API. Its format is
1302
- # "organizations/[organization_id]". For example, "organizations/1234".
1145
+ # Output only. The resource name of the organization. This is the organization's
1146
+ # relative path in the API. Its format is "organizations/[organization_id]". For
1147
+ # example, "organizations/1234".
1303
1148
  # Corresponds to the JSON property `name`
1304
1149
  # @return [String]
1305
1150
  attr_accessor :name
1306
1151
 
1307
- # The entity that owns an Organization. The lifetime of the Organization and
1308
- # all of its descendants are bound to the `OrganizationOwner`. If the
1309
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
1152
+ # The entity that owns an Organization. The lifetime of the Organization and all
1153
+ # of its descendants are bound to the `OrganizationOwner`. If the `
1154
+ # OrganizationOwner` is deleted, the Organization and all its descendants will
1310
1155
  # be deleted.
1311
1156
  # Corresponds to the JSON property `owner`
1312
1157
  # @return [Google::Apis::CloudresourcemanagerV1::OrganizationOwner]
@@ -1326,9 +1171,9 @@ module Google
1326
1171
  end
1327
1172
  end
1328
1173
 
1329
- # The entity that owns an Organization. The lifetime of the Organization and
1330
- # all of its descendants are bound to the `OrganizationOwner`. If the
1331
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
1174
+ # The entity that owns an Organization. The lifetime of the Organization and all
1175
+ # of its descendants are bound to the `OrganizationOwner`. If the `
1176
+ # OrganizationOwner` is deleted, the Organization and all its descendants will
1332
1177
  # be deleted.
1333
1178
  class OrganizationOwner
1334
1179
  include Google::Apis::Core::Hashable
@@ -1349,66 +1194,32 @@ module Google
1349
1194
  end
1350
1195
 
1351
1196
  # An Identity and Access Management (IAM) policy, which specifies access
1352
- # controls for Google Cloud resources.
1353
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1354
- # `members` to a single `role`. Members can be user accounts, service accounts,
1355
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1356
- # permissions; each `role` can be an IAM predefined role or a user-created
1357
- # custom role.
1358
- # For some types of Google Cloud resources, a `binding` can also specify a
1359
- # `condition`, which is a logical expression that allows access to a resource
1360
- # only if the expression evaluates to `true`. A condition can add constraints
1361
- # based on attributes of the request, the resource, or both. To learn which
1362
- # resources support conditions in their IAM policies, see the
1363
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1364
- # policies).
1365
- # **JSON example:**
1366
- # `
1367
- # "bindings": [
1368
- # `
1369
- # "role": "roles/resourcemanager.organizationAdmin",
1370
- # "members": [
1371
- # "user:mike@example.com",
1372
- # "group:admins@example.com",
1373
- # "domain:google.com",
1374
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1375
- # ]
1376
- # `,
1377
- # `
1378
- # "role": "roles/resourcemanager.organizationViewer",
1379
- # "members": [
1380
- # "user:eve@example.com"
1381
- # ],
1382
- # "condition": `
1383
- # "title": "expirable access",
1384
- # "description": "Does not grant access after Sep 2020",
1385
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1386
- # ",
1387
- # `
1388
- # `
1389
- # ],
1390
- # "etag": "BwWWja0YfJA=",
1391
- # "version": 3
1392
- # `
1393
- # **YAML example:**
1394
- # bindings:
1395
- # - members:
1396
- # - user:mike@example.com
1397
- # - group:admins@example.com
1398
- # - domain:google.com
1399
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1400
- # role: roles/resourcemanager.organizationAdmin
1401
- # - members:
1402
- # - user:eve@example.com
1403
- # role: roles/resourcemanager.organizationViewer
1404
- # condition:
1405
- # title: expirable access
1406
- # description: Does not grant access after Sep 2020
1407
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1408
- # - etag: BwWWja0YfJA=
1409
- # - version: 3
1410
- # For a description of IAM and its features, see the
1411
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1197
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1198
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1199
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1200
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1201
+ # role or a user-created custom role. For some types of Google Cloud resources,
1202
+ # a `binding` can also specify a `condition`, which is a logical expression that
1203
+ # allows access to a resource only if the expression evaluates to `true`. A
1204
+ # condition can add constraints based on attributes of the request, the resource,
1205
+ # or both. To learn which resources support conditions in their IAM policies,
1206
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1207
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1208
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1209
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1210
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1211
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1212
+ # title": "expirable access", "description": "Does not grant access after Sep
1213
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1214
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1215
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1216
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1217
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1218
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1219
+ # description: Does not grant access after Sep 2020 expression: request.time <
1220
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1221
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1222
+ # google.com/iam/docs/).
1412
1223
  class Policy
1413
1224
  include Google::Apis::Core::Hashable
1414
1225
 
@@ -1417,48 +1228,44 @@ module Google
1417
1228
  # @return [Array<Google::Apis::CloudresourcemanagerV1::AuditConfig>]
1418
1229
  attr_accessor :audit_configs
1419
1230
 
1420
- # Associates a list of `members` to a `role`. Optionally, may specify a
1421
- # `condition` that determines how and when the `bindings` are applied. Each
1422
- # of the `bindings` must contain at least one member.
1231
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1232
+ # condition` that determines how and when the `bindings` are applied. Each of
1233
+ # the `bindings` must contain at least one member.
1423
1234
  # Corresponds to the JSON property `bindings`
1424
1235
  # @return [Array<Google::Apis::CloudresourcemanagerV1::Binding>]
1425
1236
  attr_accessor :bindings
1426
1237
 
1427
- # `etag` is used for optimistic concurrency control as a way to help
1428
- # prevent simultaneous updates of a policy from overwriting each other.
1429
- # It is strongly suggested that systems make use of the `etag` in the
1430
- # read-modify-write cycle to perform policy updates in order to avoid race
1431
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1432
- # systems are expected to put that etag in the request to `setIamPolicy` to
1433
- # ensure that their change will be applied to the same version of the policy.
1434
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1435
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1436
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1437
- # the conditions in the version `3` policy are lost.
1238
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1239
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1240
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1241
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1242
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1243
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1244
+ # applied to the same version of the policy. **Important:** If you use IAM
1245
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1246
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1247
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1248
+ # are lost.
1438
1249
  # Corresponds to the JSON property `etag`
1439
1250
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1440
1251
  # @return [String]
1441
1252
  attr_accessor :etag
1442
1253
 
1443
- # Specifies the format of the policy.
1444
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1445
- # are rejected.
1446
- # Any operation that affects conditional role bindings must specify version
1447
- # `3`. This requirement applies to the following operations:
1448
- # * Getting a policy that includes a conditional role binding
1449
- # * Adding a conditional role binding to a policy
1450
- # * Changing a conditional role binding in a policy
1451
- # * Removing any role binding, with or without a condition, from a policy
1452
- # that includes conditions
1453
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1454
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1455
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1456
- # the conditions in the version `3` policy are lost.
1457
- # If a policy does not include any conditions, operations on that policy may
1458
- # specify any valid version or leave the field unset.
1459
- # To learn which resources support conditions in their IAM policies, see the
1460
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1461
- # policies).
1254
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1255
+ # Requests that specify an invalid value are rejected. Any operation that
1256
+ # affects conditional role bindings must specify version `3`. This requirement
1257
+ # applies to the following operations: * Getting a policy that includes a
1258
+ # conditional role binding * Adding a conditional role binding to a policy *
1259
+ # Changing a conditional role binding in a policy * Removing any role binding,
1260
+ # with or without a condition, from a policy that includes conditions **
1261
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1262
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1263
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1264
+ # conditions in the version `3` policy are lost. If a policy does not include
1265
+ # any conditions, operations on that policy may specify any valid version or
1266
+ # leave the field unset. To learn which resources support conditions in their
1267
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1268
+ # conditions/resource-policies).
1462
1269
  # Corresponds to the JSON property `version`
1463
1270
  # @return [Fixnum]
1464
1271
  attr_accessor :version
@@ -1476,69 +1283,56 @@ module Google
1476
1283
  end
1477
1284
  end
1478
1285
 
1479
- # A Project is a high-level Google Cloud Platform entity. It is a
1480
- # container for ACLs, APIs, App Engine Apps, VMs, and other
1481
- # Google Cloud Platform resources.
1286
+ # A Project is a high-level Google Cloud Platform entity. It is a container for
1287
+ # ACLs, APIs, App Engine Apps, VMs, and other Google Cloud Platform resources.
1482
1288
  class Project
1483
1289
  include Google::Apis::Core::Hashable
1484
1290
 
1485
- # Creation time.
1486
- # Read-only.
1291
+ # Creation time. Read-only.
1487
1292
  # Corresponds to the JSON property `createTime`
1488
1293
  # @return [String]
1489
1294
  attr_accessor :create_time
1490
1295
 
1491
- # The labels associated with this Project.
1492
- # Label keys must be between 1 and 63 characters long and must conform
1493
- # to the following regular expression: a-z`0,62`.
1494
- # Label values must be between 0 and 63 characters long and must conform
1495
- # to the regular expression [a-z0-9_-]`0,63`. A label value can be empty.
1496
- # No more than 256 labels can be associated with a given resource.
1497
- # Clients should store labels in a representation such as JSON that does not
1498
- # depend on specific characters being disallowed.
1499
- # Example: <code>"environment" : "dev"</code>
1500
- # Read-write.
1296
+ # The labels associated with this Project. Label keys must be between 1 and 63
1297
+ # characters long and must conform to the following regular expression: a-z`0,62`
1298
+ # . Label values must be between 0 and 63 characters long and must conform to
1299
+ # the regular expression [a-z0-9_-]`0,63`. A label value can be empty. No more
1300
+ # than 256 labels can be associated with a given resource. Clients should store
1301
+ # labels in a representation such as JSON that does not depend on specific
1302
+ # characters being disallowed. Example: "environment" : "dev" Read-write.
1501
1303
  # Corresponds to the JSON property `labels`
1502
1304
  # @return [Hash<String,String>]
1503
1305
  attr_accessor :labels
1504
1306
 
1505
- # The Project lifecycle state.
1506
- # Read-only.
1307
+ # The Project lifecycle state. Read-only.
1507
1308
  # Corresponds to the JSON property `lifecycleState`
1508
1309
  # @return [String]
1509
1310
  attr_accessor :lifecycle_state
1510
1311
 
1511
- # The optional user-assigned display name of the Project.
1512
- # When present it must be between 4 to 30 characters.
1513
- # Allowed characters are: lowercase and uppercase letters, numbers,
1514
- # hyphen, single-quote, double-quote, space, and exclamation point.
1515
- # Example: <code>My Project</code>
1516
- # Read-write.
1312
+ # The optional user-assigned display name of the Project. When present it must
1313
+ # be between 4 to 30 characters. Allowed characters are: lowercase and uppercase
1314
+ # letters, numbers, hyphen, single-quote, double-quote, space, and exclamation
1315
+ # point. Example: My Project Read-write.
1517
1316
  # Corresponds to the JSON property `name`
1518
1317
  # @return [String]
1519
1318
  attr_accessor :name
1520
1319
 
1521
1320
  # A container to reference an id for any resource type. A `resource` in Google
1522
1321
  # Cloud Platform is a generic term for something you (a developer) may want to
1523
- # interact with through one of our API's. Some examples are an App Engine app,
1524
- # a Compute Engine instance, a Cloud SQL database, and so on.
1322
+ # interact with through one of our API's. Some examples are an App Engine app, a
1323
+ # Compute Engine instance, a Cloud SQL database, and so on.
1525
1324
  # Corresponds to the JSON property `parent`
1526
1325
  # @return [Google::Apis::CloudresourcemanagerV1::ResourceId]
1527
1326
  attr_accessor :parent
1528
1327
 
1529
- # The unique, user-assigned ID of the Project.
1530
- # It must be 6 to 30 lowercase letters, digits, or hyphens.
1531
- # It must start with a letter.
1532
- # Trailing hyphens are prohibited.
1533
- # Example: <code>tokyo-rain-123</code>
1534
- # Read-only after creation.
1328
+ # The unique, user-assigned ID of the Project. It must be 6 to 30 lowercase
1329
+ # letters, digits, or hyphens. It must start with a letter. Trailing hyphens are
1330
+ # prohibited. Example: tokyo-rain-123 Read-only after creation.
1535
1331
  # Corresponds to the JSON property `projectId`
1536
1332
  # @return [String]
1537
1333
  attr_accessor :project_id
1538
1334
 
1539
- # The number uniquely identifying the project.
1540
- # Example: <code>415104041262</code>
1541
- # Read-only.
1335
+ # The number uniquely identifying the project. Example: 415104041262 Read-only.
1542
1336
  # Corresponds to the JSON property `projectNumber`
1543
1337
  # @return [Fixnum]
1544
1338
  attr_accessor :project_number
@@ -1570,9 +1364,8 @@ module Google
1570
1364
  # @return [String]
1571
1365
  attr_accessor :create_time
1572
1366
 
1573
- # True if the project can be retrieved using GetProject. No other operations
1574
- # on the project are guaranteed to work until the project creation is
1575
- # complete.
1367
+ # True if the project can be retrieved using GetProject. No other operations on
1368
+ # the project are guaranteed to work until the project creation is complete.
1576
1369
  # Corresponds to the JSON property `gettable`
1577
1370
  # @return [Boolean]
1578
1371
  attr_accessor :gettable
@@ -1598,19 +1391,19 @@ module Google
1598
1391
 
1599
1392
  # A container to reference an id for any resource type. A `resource` in Google
1600
1393
  # Cloud Platform is a generic term for something you (a developer) may want to
1601
- # interact with through one of our API's. Some examples are an App Engine app,
1602
- # a Compute Engine instance, a Cloud SQL database, and so on.
1394
+ # interact with through one of our API's. Some examples are an App Engine app, a
1395
+ # Compute Engine instance, a Cloud SQL database, and so on.
1603
1396
  class ResourceId
1604
1397
  include Google::Apis::Core::Hashable
1605
1398
 
1606
- # Required field for the type-specific id. This should correspond to the id
1607
- # used in the type-specific API's.
1399
+ # Required field for the type-specific id. This should correspond to the id used
1400
+ # in the type-specific API's.
1608
1401
  # Corresponds to the JSON property `id`
1609
1402
  # @return [String]
1610
1403
  attr_accessor :id
1611
1404
 
1612
- # Required field representing the resource type this id is for.
1613
- # At present, the valid types are: "organization", "folder", and "project".
1405
+ # Required field representing the resource type this id is for. At present, the
1406
+ # valid types are: "organization", "folder", and "project".
1614
1407
  # Corresponds to the JSON property `type`
1615
1408
  # @return [String]
1616
1409
  attr_accessor :type
@@ -1626,17 +1419,15 @@ module Google
1626
1419
  end
1627
1420
  end
1628
1421
 
1629
- # Ignores policies set above this resource and restores the
1630
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1631
- # this resource.
1632
- # Suppose that `constraint_default` is set to `ALLOW` for the
1633
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1634
- # foo.com sets a `Policy` at their Organization resource node that restricts
1635
- # the allowed service activations to deny all service activations. They
1636
- # could then set a `Policy` with the `policy_type` `restore_default` on
1637
- # several experimental projects, restoring the `constraint_default`
1638
- # enforcement of the `Constraint` for only those projects, allowing those
1639
- # projects to have all services activated.
1422
+ # Ignores policies set above this resource and restores the `constraint_default`
1423
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
1424
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
1425
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
1426
+ # their Organization resource node that restricts the allowed service
1427
+ # activations to deny all service activations. They could then set a `Policy`
1428
+ # with the `policy_type` `restore_default` on several experimental projects,
1429
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
1430
+ # those projects, allowing those projects to have all services activated.
1640
1431
  class RestoreDefault
1641
1432
  include Google::Apis::Core::Hashable
1642
1433
 
@@ -1653,28 +1444,25 @@ module Google
1653
1444
  class SearchOrganizationsRequest
1654
1445
  include Google::Apis::Core::Hashable
1655
1446
 
1656
- # An optional query string used to filter the Organizations to return in
1657
- # the response. Filter rules are case-insensitive.
1658
- # Organizations may be filtered by `owner.directoryCustomerId` or by
1659
- # `domain`, where the domain is a G Suite domain, for example:
1660
- # * Filter `owner.directorycustomerid:123456789` returns Organization
1661
- # resources with `owner.directory_customer_id` equal to `123456789`.
1662
- # * Filter `domain:google.com` returns Organization resources corresponding
1663
- # to the domain `google.com`.
1664
- # This field is optional.
1447
+ # An optional query string used to filter the Organizations to return in the
1448
+ # response. Filter rules are case-insensitive. Organizations may be filtered by `
1449
+ # owner.directoryCustomerId` or by `domain`, where the domain is a G Suite
1450
+ # domain, for example: * Filter `owner.directorycustomerid:123456789` returns
1451
+ # Organization resources with `owner.directory_customer_id` equal to `123456789`.
1452
+ # * Filter `domain:google.com` returns Organization resources corresponding to
1453
+ # the domain `google.com`. This field is optional.
1665
1454
  # Corresponds to the JSON property `filter`
1666
1455
  # @return [String]
1667
1456
  attr_accessor :filter
1668
1457
 
1669
- # The maximum number of Organizations to return in the response.
1670
- # This field is optional.
1458
+ # The maximum number of Organizations to return in the response. This field is
1459
+ # optional.
1671
1460
  # Corresponds to the JSON property `pageSize`
1672
1461
  # @return [Fixnum]
1673
1462
  attr_accessor :page_size
1674
1463
 
1675
- # A pagination token returned from a previous call to `SearchOrganizations`
1676
- # that indicates from where listing should continue.
1677
- # This field is optional.
1464
+ # A pagination token returned from a previous call to `SearchOrganizations` that
1465
+ # indicates from where listing should continue. This field is optional.
1678
1466
  # Corresponds to the JSON property `pageToken`
1679
1467
  # @return [String]
1680
1468
  attr_accessor :page_token
@@ -1696,16 +1484,15 @@ module Google
1696
1484
  include Google::Apis::Core::Hashable
1697
1485
 
1698
1486
  # A pagination token to be used to retrieve the next page of results. If the
1699
- # result is too large to fit within the page size specified in the request,
1700
- # this field will be set with a token that can be used to fetch the next page
1701
- # of results. If this field is empty, it indicates that this response
1702
- # contains the last page of results.
1487
+ # result is too large to fit within the page size specified in the request, this
1488
+ # field will be set with a token that can be used to fetch the next page of
1489
+ # results. If this field is empty, it indicates that this response contains the
1490
+ # last page of results.
1703
1491
  # Corresponds to the JSON property `nextPageToken`
1704
1492
  # @return [String]
1705
1493
  attr_accessor :next_page_token
1706
1494
 
1707
- # The list of Organizations that matched the search query, possibly
1708
- # paginated.
1495
+ # The list of Organizations that matched the search query, possibly paginated.
1709
1496
  # Corresponds to the JSON property `organizations`
1710
1497
  # @return [Array<Google::Apis::CloudresourcemanagerV1::Organization>]
1711
1498
  attr_accessor :organizations
@@ -1726,74 +1513,39 @@ module Google
1726
1513
  include Google::Apis::Core::Hashable
1727
1514
 
1728
1515
  # An Identity and Access Management (IAM) policy, which specifies access
1729
- # controls for Google Cloud resources.
1730
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1731
- # `members` to a single `role`. Members can be user accounts, service accounts,
1732
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1733
- # permissions; each `role` can be an IAM predefined role or a user-created
1734
- # custom role.
1735
- # For some types of Google Cloud resources, a `binding` can also specify a
1736
- # `condition`, which is a logical expression that allows access to a resource
1737
- # only if the expression evaluates to `true`. A condition can add constraints
1738
- # based on attributes of the request, the resource, or both. To learn which
1739
- # resources support conditions in their IAM policies, see the
1740
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1741
- # policies).
1742
- # **JSON example:**
1743
- # `
1744
- # "bindings": [
1745
- # `
1746
- # "role": "roles/resourcemanager.organizationAdmin",
1747
- # "members": [
1748
- # "user:mike@example.com",
1749
- # "group:admins@example.com",
1750
- # "domain:google.com",
1751
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1752
- # ]
1753
- # `,
1754
- # `
1755
- # "role": "roles/resourcemanager.organizationViewer",
1756
- # "members": [
1757
- # "user:eve@example.com"
1758
- # ],
1759
- # "condition": `
1760
- # "title": "expirable access",
1761
- # "description": "Does not grant access after Sep 2020",
1762
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1763
- # ",
1764
- # `
1765
- # `
1766
- # ],
1767
- # "etag": "BwWWja0YfJA=",
1768
- # "version": 3
1769
- # `
1770
- # **YAML example:**
1771
- # bindings:
1772
- # - members:
1773
- # - user:mike@example.com
1774
- # - group:admins@example.com
1775
- # - domain:google.com
1776
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1777
- # role: roles/resourcemanager.organizationAdmin
1778
- # - members:
1779
- # - user:eve@example.com
1780
- # role: roles/resourcemanager.organizationViewer
1781
- # condition:
1782
- # title: expirable access
1783
- # description: Does not grant access after Sep 2020
1784
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1785
- # - etag: BwWWja0YfJA=
1786
- # - version: 3
1787
- # For a description of IAM and its features, see the
1788
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1516
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1517
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1518
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1519
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1520
+ # role or a user-created custom role. For some types of Google Cloud resources,
1521
+ # a `binding` can also specify a `condition`, which is a logical expression that
1522
+ # allows access to a resource only if the expression evaluates to `true`. A
1523
+ # condition can add constraints based on attributes of the request, the resource,
1524
+ # or both. To learn which resources support conditions in their IAM policies,
1525
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1526
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1527
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1528
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1529
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1530
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1531
+ # title": "expirable access", "description": "Does not grant access after Sep
1532
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1533
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1534
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1535
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1536
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1537
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1538
+ # description: Does not grant access after Sep 2020 expression: request.time <
1539
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1540
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1541
+ # google.com/iam/docs/).
1789
1542
  # Corresponds to the JSON property `policy`
1790
1543
  # @return [Google::Apis::CloudresourcemanagerV1::Policy]
1791
1544
  attr_accessor :policy
1792
1545
 
1793
1546
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1794
- # the fields in the mask will be modified. If no mask is provided, the
1795
- # following default mask is used:
1796
- # `paths: "bindings, etag"`
1547
+ # the fields in the mask will be modified. If no mask is provided, the following
1548
+ # default mask is used: `paths: "bindings, etag"`
1797
1549
  # Corresponds to the JSON property `updateMask`
1798
1550
  # @return [String]
1799
1551
  attr_accessor :update_mask
@@ -1829,12 +1581,12 @@ module Google
1829
1581
  end
1830
1582
  end
1831
1583
 
1832
- # The `Status` type defines a logical error model that is suitable for
1833
- # different programming environments, including REST APIs and RPC APIs. It is
1834
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1835
- # three pieces of data: error code, error message, and error details.
1836
- # You can find out more about this error model and how to work with it in the
1837
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1584
+ # The `Status` type defines a logical error model that is suitable for different
1585
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1586
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1587
+ # data: error code, error message, and error details. You can find out more
1588
+ # about this error model and how to work with it in the [API Design Guide](https:
1589
+ # //cloud.google.com/apis/design/errors).
1838
1590
  class Status
1839
1591
  include Google::Apis::Core::Hashable
1840
1592
 
@@ -1843,15 +1595,15 @@ module Google
1843
1595
  # @return [Fixnum]
1844
1596
  attr_accessor :code
1845
1597
 
1846
- # A list of messages that carry the error details. There is a common set of
1598
+ # A list of messages that carry the error details. There is a common set of
1847
1599
  # message types for APIs to use.
1848
1600
  # Corresponds to the JSON property `details`
1849
1601
  # @return [Array<Hash<String,Object>>]
1850
1602
  attr_accessor :details
1851
1603
 
1852
- # A developer-facing error message, which should be in English. Any
1853
- # user-facing error message should be localized and sent in the
1854
- # google.rpc.Status.details field, or localized by the client.
1604
+ # A developer-facing error message, which should be in English. Any user-facing
1605
+ # error message should be localized and sent in the google.rpc.Status.details
1606
+ # field, or localized by the client.
1855
1607
  # Corresponds to the JSON property `message`
1856
1608
  # @return [String]
1857
1609
  attr_accessor :message
@@ -1872,10 +1624,9 @@ module Google
1872
1624
  class TestIamPermissionsRequest
1873
1625
  include Google::Apis::Core::Hashable
1874
1626
 
1875
- # The set of permissions to check for the `resource`. Permissions with
1876
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
1877
- # information see
1878
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1627
+ # The set of permissions to check for the `resource`. Permissions with wildcards
1628
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
1629
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
1879
1630
  # Corresponds to the JSON property `permissions`
1880
1631
  # @return [Array<String>]
1881
1632
  attr_accessor :permissions
@@ -1894,8 +1645,7 @@ module Google
1894
1645
  class TestIamPermissionsResponse
1895
1646
  include Google::Apis::Core::Hashable
1896
1647
 
1897
- # A subset of `TestPermissionsRequest.permissions` that the caller is
1898
- # allowed.
1648
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
1899
1649
  # Corresponds to the JSON property `permissions`
1900
1650
  # @return [Array<String>]
1901
1651
  attr_accessor :permissions
@@ -1910,8 +1660,7 @@ module Google
1910
1660
  end
1911
1661
  end
1912
1662
 
1913
- # The request sent to the UndeleteProject
1914
- # method.
1663
+ # The request sent to the UndeleteProject method.
1915
1664
  class UndeleteProjectRequest
1916
1665
  include Google::Apis::Core::Hashable
1917
1666