google-api-client 0.42.0 → 0.44.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (887) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +501 -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 -132
  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 +98 -61
  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 +925 -1226
  59. data/generated/google/apis/apigee_v1/representations.rb +66 -2
  60. data/generated/google/apis/apigee_v1/service.rb +1000 -1142
  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 +116 -123
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  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 +93 -98
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -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/classroom_v1.rb +1 -1
  133. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  134. data/generated/google/apis/classroom_v1/service.rb +643 -899
  135. data/generated/google/apis/cloudasset_v1.rb +1 -1
  136. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  137. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  138. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  140. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  141. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  143. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  144. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  146. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  147. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  148. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  149. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  150. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  151. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  152. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  153. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  154. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  155. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  156. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  157. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  158. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  159. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  160. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  161. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  162. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  163. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  164. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  165. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  166. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  167. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  168. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  169. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  170. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  171. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  172. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  173. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  174. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
  175. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  176. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  177. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  178. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  179. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  180. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  181. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  182. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  183. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  184. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  185. data/generated/google/apis/cloudiot_v1.rb +1 -1
  186. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  187. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  188. data/generated/google/apis/cloudkms_v1.rb +1 -1
  189. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  190. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  191. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  192. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  193. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  194. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  195. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  196. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  197. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  198. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  200. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  201. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  203. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  204. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  207. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  208. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  209. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  210. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  211. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  212. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  213. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  214. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  215. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  216. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  217. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  218. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  219. data/generated/google/apis/cloudshell_v1.rb +1 -1
  220. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  221. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  222. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  223. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  224. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  225. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  226. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  227. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  228. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  229. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  231. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  232. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  234. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  235. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  236. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  237. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  238. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  240. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  241. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  243. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  244. data/generated/google/apis/composer_v1.rb +1 -1
  245. data/generated/google/apis/composer_v1/classes.rb +190 -242
  246. data/generated/google/apis/composer_v1/service.rb +79 -150
  247. data/generated/google/apis/composer_v1beta1.rb +1 -1
  248. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  249. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  250. data/generated/google/apis/compute_alpha.rb +1 -1
  251. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  252. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  253. data/generated/google/apis/compute_alpha/service.rb +710 -699
  254. data/generated/google/apis/compute_beta.rb +1 -1
  255. data/generated/google/apis/compute_beta/classes.rb +879 -75
  256. data/generated/google/apis/compute_beta/representations.rb +204 -1
  257. data/generated/google/apis/compute_beta/service.rb +875 -607
  258. data/generated/google/apis/compute_v1.rb +1 -1
  259. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  260. data/generated/google/apis/compute_v1/representations.rb +480 -15
  261. data/generated/google/apis/compute_v1/service.rb +1076 -43
  262. data/generated/google/apis/container_v1.rb +1 -1
  263. data/generated/google/apis/container_v1/classes.rb +946 -961
  264. data/generated/google/apis/container_v1/representations.rb +69 -0
  265. data/generated/google/apis/container_v1/service.rb +435 -502
  266. data/generated/google/apis/container_v1beta1.rb +1 -1
  267. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  268. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  269. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  270. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  271. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  272. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  273. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  275. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  276. data/generated/google/apis/content_v2.rb +1 -1
  277. data/generated/google/apis/content_v2/classes.rb +20 -3
  278. data/generated/google/apis/content_v2/representations.rb +1 -0
  279. data/generated/google/apis/content_v2_1.rb +1 -1
  280. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  281. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  282. data/generated/google/apis/content_v2_1/service.rb +53 -2
  283. data/generated/google/apis/customsearch_v1.rb +1 -1
  284. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  285. data/generated/google/apis/customsearch_v1/service.rb +186 -333
  286. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  287. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  288. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  289. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  290. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  291. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  292. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  293. data/generated/google/apis/datafusion_v1.rb +40 -0
  294. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  295. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -94
  296. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  297. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  298. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  299. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  300. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  301. data/generated/google/apis/dataproc_v1.rb +1 -1
  302. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  303. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  304. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  305. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  306. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  307. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  308. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  309. data/generated/google/apis/datastore_v1.rb +1 -1
  310. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  311. data/generated/google/apis/datastore_v1/service.rb +52 -63
  312. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  313. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  314. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  315. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  316. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  317. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  318. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  319. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  320. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  321. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  322. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  323. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  324. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  325. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  327. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  328. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  329. data/generated/google/apis/dialogflow_v2.rb +1 -1
  330. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  331. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  332. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  333. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1643
  335. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -990
  337. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  338. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  339. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  340. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  341. data/generated/google/apis/displayvideo_v1.rb +7 -1
  342. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
  343. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  344. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  345. data/generated/google/apis/dlp_v2.rb +1 -1
  346. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  347. data/generated/google/apis/dlp_v2/service.rb +962 -905
  348. data/generated/google/apis/dns_v1.rb +1 -1
  349. data/generated/google/apis/dns_v1/classes.rb +175 -198
  350. data/generated/google/apis/dns_v1/service.rb +82 -97
  351. data/generated/google/apis/dns_v1beta2.rb +1 -1
  352. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  353. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  354. data/generated/google/apis/docs_v1.rb +1 -1
  355. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  356. data/generated/google/apis/docs_v1/service.rb +17 -22
  357. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  358. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  359. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  360. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  361. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  362. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  363. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  364. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  365. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  366. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  367. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  368. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  369. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  370. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  371. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  372. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  373. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  374. data/generated/google/apis/drive_v2.rb +1 -1
  375. data/generated/google/apis/drive_v2/classes.rb +82 -8
  376. data/generated/google/apis/drive_v2/representations.rb +23 -0
  377. data/generated/google/apis/drive_v2/service.rb +102 -25
  378. data/generated/google/apis/drive_v3.rb +1 -1
  379. data/generated/google/apis/drive_v3/classes.rb +87 -8
  380. data/generated/google/apis/drive_v3/representations.rb +24 -0
  381. data/generated/google/apis/drive_v3/service.rb +67 -16
  382. data/generated/google/apis/driveactivity_v2.rb +1 -1
  383. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  384. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  385. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  386. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  387. data/generated/google/apis/fcm_v1.rb +1 -1
  388. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  389. data/generated/google/apis/fcm_v1/service.rb +5 -6
  390. data/generated/google/apis/file_v1.rb +1 -1
  391. data/generated/google/apis/file_v1/classes.rb +154 -173
  392. data/generated/google/apis/file_v1/service.rb +43 -52
  393. data/generated/google/apis/file_v1beta1.rb +1 -1
  394. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  395. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  396. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  397. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  398. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  399. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  400. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  401. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  402. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  403. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  404. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  405. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  406. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  407. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  409. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  411. data/generated/google/apis/firebaseml_v1.rb +1 -1
  412. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  413. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  414. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  415. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  416. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  417. data/generated/google/apis/firebaserules_v1.rb +1 -1
  418. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  419. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  420. data/generated/google/apis/firestore_v1.rb +1 -1
  421. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  422. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  423. data/generated/google/apis/firestore_v1/service.rb +227 -185
  424. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  426. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  427. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  428. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  429. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  430. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  431. data/generated/google/apis/fitness_v1.rb +1 -1
  432. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  433. data/generated/google/apis/fitness_v1/service.rb +125 -146
  434. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  435. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  436. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  437. data/generated/google/apis/games_management_v1management.rb +2 -3
  438. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  439. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  440. data/generated/google/apis/games_v1.rb +2 -3
  441. data/generated/google/apis/games_v1/classes.rb +77 -84
  442. data/generated/google/apis/games_v1/representations.rb +2 -0
  443. data/generated/google/apis/games_v1/service.rb +86 -92
  444. data/generated/google/apis/gameservices_v1.rb +1 -1
  445. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  446. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  447. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  448. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  449. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  450. data/generated/google/apis/genomics_v1.rb +1 -1
  451. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  452. data/generated/google/apis/genomics_v1/service.rb +28 -43
  453. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  454. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  455. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  456. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  457. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  458. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  459. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  460. data/generated/google/apis/gmail_v1.rb +3 -3
  461. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  462. data/generated/google/apis/gmail_v1/service.rb +263 -290
  463. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  464. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  465. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  466. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  467. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  468. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  469. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  470. data/generated/google/apis/healthcare_v1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  472. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  473. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  474. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  475. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  476. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  477. data/generated/google/apis/homegraph_v1.rb +1 -1
  478. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  479. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  480. data/generated/google/apis/iam_v1.rb +5 -2
  481. data/generated/google/apis/iam_v1/classes.rb +388 -573
  482. data/generated/google/apis/iam_v1/service.rb +430 -544
  483. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  484. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  485. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  486. data/generated/google/apis/iap_v1.rb +1 -1
  487. data/generated/google/apis/iap_v1/classes.rb +246 -355
  488. data/generated/google/apis/iap_v1/service.rb +61 -71
  489. data/generated/google/apis/iap_v1beta1.rb +1 -1
  490. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/kgsearch_v1.rb +1 -1
  495. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  496. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  497. data/generated/google/apis/language_v1.rb +1 -1
  498. data/generated/google/apis/language_v1/classes.rb +93 -111
  499. data/generated/google/apis/language_v1/service.rb +4 -4
  500. data/generated/google/apis/language_v1beta1.rb +1 -1
  501. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  502. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  503. data/generated/google/apis/language_v1beta2.rb +1 -1
  504. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  505. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  506. data/generated/google/apis/libraryagent_v1.rb +1 -1
  507. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  508. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +174 -214
  518. data/generated/google/apis/logging_v2/representations.rb +15 -0
  519. data/generated/google/apis/logging_v2/service.rb +1017 -584
  520. data/generated/google/apis/managedidentities_v1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  522. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  523. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  525. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  526. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  527. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  528. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  529. data/generated/google/apis/manufacturers_v1.rb +1 -1
  530. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  531. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  532. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  533. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  534. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  535. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  536. data/generated/google/apis/ml_v1.rb +1 -1
  537. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  538. data/generated/google/apis/ml_v1/representations.rb +64 -0
  539. data/generated/google/apis/ml_v1/service.rb +194 -253
  540. data/generated/google/apis/monitoring_v1.rb +1 -1
  541. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  542. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  543. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  544. data/generated/google/apis/monitoring_v3.rb +1 -1
  545. data/generated/google/apis/monitoring_v3/classes.rb +253 -313
  546. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  547. data/generated/google/apis/monitoring_v3/service.rb +126 -144
  548. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  549. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  550. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  551. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  552. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  553. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  554. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  555. data/generated/google/apis/osconfig_v1.rb +1 -1
  556. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  557. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  558. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  559. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  560. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  561. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  562. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  563. data/generated/google/apis/oslogin_v1.rb +1 -1
  564. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  565. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  566. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  567. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  568. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  569. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  570. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  571. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  572. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  573. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  574. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  575. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  576. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  577. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  578. data/generated/google/apis/people_v1.rb +1 -1
  579. data/generated/google/apis/people_v1/classes.rb +493 -403
  580. data/generated/google/apis/people_v1/representations.rb +98 -0
  581. data/generated/google/apis/people_v1/service.rb +169 -385
  582. data/generated/google/apis/playablelocations_v3.rb +1 -1
  583. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  584. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  585. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  586. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  587. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  588. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  589. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  590. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  591. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  592. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  593. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  594. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  595. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  596. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  597. data/generated/google/apis/pubsub_v1.rb +1 -1
  598. data/generated/google/apis/pubsub_v1/classes.rb +407 -512
  599. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  600. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  601. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  602. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  603. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  604. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  605. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  606. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  607. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  608. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  609. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  610. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  611. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  612. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  613. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  614. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  615. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  616. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  617. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  618. data/generated/google/apis/recommender_v1.rb +1 -1
  619. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  620. data/generated/google/apis/recommender_v1/service.rb +43 -58
  621. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  622. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  623. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  624. data/generated/google/apis/redis_v1.rb +1 -1
  625. data/generated/google/apis/redis_v1/classes.rb +477 -116
  626. data/generated/google/apis/redis_v1/representations.rb +139 -0
  627. data/generated/google/apis/redis_v1/service.rb +93 -110
  628. data/generated/google/apis/redis_v1beta1.rb +1 -1
  629. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  630. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  631. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  632. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  633. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  634. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  635. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  636. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  637. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  638. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  639. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  640. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  641. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  642. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  643. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  644. data/generated/google/apis/reseller_v1.rb +4 -3
  645. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  646. data/generated/google/apis/reseller_v1/service.rb +247 -252
  647. data/generated/google/apis/run_v1.rb +2 -2
  648. data/generated/google/apis/run_v1/classes.rb +837 -1244
  649. data/generated/google/apis/run_v1/representations.rb +1 -1
  650. data/generated/google/apis/run_v1/service.rb +234 -248
  651. data/generated/google/apis/run_v1alpha1.rb +2 -2
  652. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  653. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  654. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  655. data/generated/google/apis/run_v1beta1.rb +2 -2
  656. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  657. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  658. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  659. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  660. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  661. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  662. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  663. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  664. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  665. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  666. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  667. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  668. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  669. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  670. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  671. data/generated/google/apis/script_v1.rb +1 -1
  672. data/generated/google/apis/script_v1/classes.rb +88 -111
  673. data/generated/google/apis/script_v1/service.rb +63 -69
  674. data/generated/google/apis/searchconsole_v1.rb +4 -3
  675. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  676. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  677. data/generated/google/apis/secretmanager_v1.rb +1 -1
  678. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  679. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  680. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  681. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  682. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  683. data/generated/google/apis/securitycenter_v1.rb +1 -1
  684. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  685. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  686. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  687. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  688. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  689. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  691. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  692. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  693. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  694. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  695. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  696. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  697. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  698. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  699. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  700. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  701. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  702. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  703. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  704. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  705. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  706. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  707. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  708. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  709. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  710. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  711. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  712. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  713. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  714. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  715. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  716. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  717. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  718. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  719. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  720. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  721. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  722. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  723. data/generated/google/apis/serviceusage_v1.rb +1 -1
  724. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  725. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  726. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  727. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  728. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  729. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  730. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  731. data/generated/google/apis/sheets_v4.rb +1 -1
  732. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  733. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  734. data/generated/google/apis/sheets_v4/service.rb +113 -149
  735. data/generated/google/apis/site_verification_v1.rb +1 -1
  736. data/generated/google/apis/slides_v1.rb +1 -1
  737. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  738. data/generated/google/apis/slides_v1/service.rb +23 -30
  739. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  740. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  741. data/generated/google/apis/spanner_v1.rb +1 -1
  742. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  743. data/generated/google/apis/spanner_v1/service.rb +443 -618
  744. data/generated/google/apis/speech_v1.rb +1 -1
  745. data/generated/google/apis/speech_v1/classes.rb +174 -220
  746. data/generated/google/apis/speech_v1/service.rb +27 -32
  747. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  748. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  749. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  750. data/generated/google/apis/speech_v2beta1.rb +1 -1
  751. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  752. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  753. data/generated/google/apis/sql_v1beta4.rb +1 -1
  754. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  755. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  756. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  757. data/generated/google/apis/storage_v1.rb +1 -1
  758. data/generated/google/apis/storage_v1/classes.rb +8 -7
  759. data/generated/google/apis/storage_v1/representations.rb +2 -2
  760. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  761. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  762. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  763. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  764. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  765. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  766. data/generated/google/apis/tagmanager_v1.rb +2 -3
  767. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  768. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  769. data/generated/google/apis/tagmanager_v2.rb +2 -3
  770. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  771. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  772. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  773. data/generated/google/apis/tasks_v1.rb +1 -1
  774. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  775. data/generated/google/apis/tasks_v1/service.rb +16 -17
  776. data/generated/google/apis/testing_v1.rb +1 -1
  777. data/generated/google/apis/testing_v1/classes.rb +374 -376
  778. data/generated/google/apis/testing_v1/representations.rb +34 -0
  779. data/generated/google/apis/testing_v1/service.rb +22 -28
  780. data/generated/google/apis/texttospeech_v1.rb +1 -1
  781. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  782. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  783. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  784. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  785. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  786. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  787. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  788. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  789. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  790. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  791. data/generated/google/apis/tpu_v1.rb +1 -1
  792. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  793. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  794. data/generated/google/apis/tpu_v1/service.rb +21 -25
  795. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  796. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  797. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  798. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  799. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  800. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  801. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  802. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  803. data/generated/google/apis/translate_v3.rb +1 -1
  804. data/generated/google/apis/translate_v3/classes.rb +148 -175
  805. data/generated/google/apis/translate_v3/service.rb +122 -138
  806. data/generated/google/apis/translate_v3beta1.rb +1 -1
  807. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  808. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  809. data/generated/google/apis/vectortile_v1.rb +1 -1
  810. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  811. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  812. data/generated/google/apis/videointelligence_v1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  814. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  815. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  817. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  818. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  820. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  821. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  826. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  827. data/generated/google/apis/vision_v1.rb +1 -1
  828. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  829. data/generated/google/apis/vision_v1/service.rb +254 -340
  830. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  831. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  832. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  833. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  834. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  835. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  836. data/generated/google/apis/webfonts_v1.rb +2 -3
  837. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  838. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  839. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  840. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  841. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  842. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  843. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  844. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  845. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  847. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  848. data/generated/google/apis/workflows_v1beta.rb +34 -0
  849. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  850. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  851. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  852. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  853. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  854. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  855. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  856. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  857. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  858. data/generated/google/apis/youtube_v3.rb +1 -1
  859. data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
  860. data/generated/google/apis/youtube_v3/representations.rb +177 -0
  861. data/generated/google/apis/youtube_v3/service.rb +1086 -1316
  862. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  863. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  864. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  865. data/lib/google/apis/core/base_service.rb +7 -1
  866. data/lib/google/apis/version.rb +1 -1
  867. metadata +47 -31
  868. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  869. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  870. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  871. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  872. data/generated/google/apis/dns_v2beta1.rb +0 -43
  873. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  874. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  875. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  876. data/generated/google/apis/oauth2_v2.rb +0 -40
  877. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  878. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  879. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  880. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -211
  881. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  882. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  883. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  884. data/generated/google/apis/storage_v1beta2.rb +0 -40
  885. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  886. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  887. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -47,14 +47,13 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Creates a feed in a parent project/folder/organization to listen to its
51
- # asset updates.
50
+ # Creates a feed in a parent project/folder/organization to listen to its asset
51
+ # updates.
52
52
  # @param [String] parent
53
- # Required. The name of the project/folder/organization where this feed
54
- # should be created in. It can only be an organization number (such as
55
- # "organizations/123"), a folder number (such as "folders/123"), a project ID
56
- # (such as "projects/my-project-id")", or a project number (such as
57
- # "projects/12345").
53
+ # Required. The name of the project/folder/organization where this feed should
54
+ # be created in. It can only be an organization number (such as "organizations/
55
+ # 123"), a folder number (such as "folders/123"), a project ID (such as "
56
+ # projects/my-project-id")", or a project number (such as "projects/12345").
58
57
  # @param [Google::Apis::CloudassetV1::CreateFeedRequest] create_feed_request_object
59
58
  # @param [String] fields
60
59
  # Selector specifying which fields to include in a partial response.
@@ -87,10 +86,9 @@ module Google
87
86
 
88
87
  # Deletes an asset feed.
89
88
  # @param [String] name
90
- # Required. The name of the feed and it must be in the format of:
91
- # projects/project_number/feeds/feed_id
92
- # folders/folder_number/feeds/feed_id
93
- # organizations/organization_number/feeds/feed_id
89
+ # Required. The name of the feed and it must be in the format of: projects/
90
+ # project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
91
+ # organization_number/feeds/feed_id
94
92
  # @param [String] fields
95
93
  # Selector specifying which fields to include in a partial response.
96
94
  # @param [String] quota_user
@@ -120,10 +118,9 @@ module Google
120
118
 
121
119
  # Gets details about an asset feed.
122
120
  # @param [String] name
123
- # Required. The name of the Feed and it must be in the format of:
124
- # projects/project_number/feeds/feed_id
125
- # folders/folder_number/feeds/feed_id
126
- # organizations/organization_number/feeds/feed_id
121
+ # Required. The name of the Feed and it must be in the format of: projects/
122
+ # project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/
123
+ # organization_number/feeds/feed_id
127
124
  # @param [String] fields
128
125
  # Selector specifying which fields to include in a partial response.
129
126
  # @param [String] quota_user
@@ -153,9 +150,9 @@ module Google
153
150
 
154
151
  # Lists all asset feeds in a parent project/folder/organization.
155
152
  # @param [String] parent
156
- # Required. The parent project/folder/organization whose feeds are to be
157
- # listed. It can only be using project/folder/organization number (such as
158
- # "folders/12345")", or a project ID (such as "projects/my-project-id").
153
+ # Required. The parent project/folder/organization whose feeds are to be listed.
154
+ # It can only be using project/folder/organization number (such as "folders/
155
+ # 12345")", or a project ID (such as "projects/my-project-id").
159
156
  # @param [String] fields
160
157
  # Selector specifying which fields to include in a partial response.
161
158
  # @param [String] quota_user
@@ -185,12 +182,11 @@ module Google
185
182
 
186
183
  # Updates an asset feed configuration.
187
184
  # @param [String] name
188
- # Required. The format will be
189
- # projects/`project_number`/feeds/`client-assigned_feed_identifier` or
190
- # folders/`folder_number`/feeds/`client-assigned_feed_identifier` or
191
- # organizations/`organization_number`/feeds/`client-assigned_feed_identifier`
192
- # The client-assigned feed identifier must be unique within the parent
193
- # project/folder/organization.
185
+ # Required. The format will be projects/`project_number`/feeds/`client-
186
+ # assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
187
+ # assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
188
+ # assigned_feed_identifier` The client-assigned feed identifier must be unique
189
+ # within the parent project/folder/organization.
194
190
  # @param [Google::Apis::CloudassetV1::UpdateFeedRequest] update_feed_request_object
195
191
  # @param [String] fields
196
192
  # Selector specifying which fields to include in a partial response.
@@ -221,9 +217,8 @@ module Google
221
217
  execute_or_queue_command(command, &block)
222
218
  end
223
219
 
224
- # Gets the latest state of a long-running operation. Clients can use this
225
- # method to poll the operation result at intervals as recommended by the API
226
- # service.
220
+ # Gets the latest state of a long-running operation. Clients can use this method
221
+ # to poll the operation result at intervals as recommended by the API service.
227
222
  # @param [String] name
228
223
  # The name of the operation resource.
229
224
  # @param [String] fields
@@ -253,25 +248,21 @@ module Google
253
248
  execute_or_queue_command(command, &block)
254
249
  end
255
250
 
256
- # Batch gets the update history of assets that overlap a time window.
257
- # For IAM_POLICY content, this API outputs history when the asset and its
258
- # attached IAM POLICY both exist. This can create gaps in the output history.
259
- # Otherwise, this API outputs history with asset in both non-delete or
260
- # deleted status.
261
- # If a specified asset does not exist, this API returns an INVALID_ARGUMENT
262
- # error.
251
+ # Batch gets the update history of assets that overlap a time window. For
252
+ # IAM_POLICY content, this API outputs history when the asset and its attached
253
+ # IAM POLICY both exist. This can create gaps in the output history. Otherwise,
254
+ # this API outputs history with asset in both non-delete or deleted status. If a
255
+ # specified asset does not exist, this API returns an INVALID_ARGUMENT error.
263
256
  # @param [String] parent
264
- # Required. The relative name of the root asset. It can only be an
265
- # organization number (such as "organizations/123"), a project ID (such as
266
- # "projects/my-project-id")", or a project number (such as "projects/12345").
257
+ # Required. The relative name of the root asset. It can only be an organization
258
+ # number (such as "organizations/123"), a project ID (such as "projects/my-
259
+ # project-id")", or a project number (such as "projects/12345").
267
260
  # @param [Array<String>, String] asset_names
268
- # A list of the full names of the assets.
269
- # See: https://cloud.google.com/asset-inventory/docs/resource-name-format
270
- # Example:
271
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
272
- # instance1`.
273
- # The request becomes a no-op if the asset name list is empty, and the max
274
- # size of the asset name list is 100 in one request.
261
+ # A list of the full names of the assets. See: https://cloud.google.com/asset-
262
+ # inventory/docs/resource-name-format Example: `//compute.googleapis.com/
263
+ # projects/my_project_123/zones/zone1/instances/instance1`. The request becomes
264
+ # a no-op if the asset name list is empty, and the max size of the asset name
265
+ # list is 100 in one request.
275
266
  # @param [String] content_type
276
267
  # Optional. The content type.
277
268
  # @param [String] read_time_window_end_time
@@ -310,21 +301,20 @@ module Google
310
301
  execute_or_queue_command(command, &block)
311
302
  end
312
303
 
313
- # Exports assets with time and resource types to a given Cloud Storage
314
- # location/BigQuery table. For Cloud Storage location destinations, the
315
- # output format is newline-delimited JSON. Each line represents a
316
- # google.cloud.asset.v1.Asset in the JSON format; for BigQuery table
317
- # destinations, the output table stores the fields in asset proto as columns.
318
- # This API implements the google.longrunning.Operation API
319
- # , which allows you to keep track of the export. We recommend intervals of
320
- # at least 2 seconds with exponential retry to poll the export operation
321
- # result. For regular-size resource parent, the export operation usually
322
- # finishes within 5 minutes.
304
+ # Exports assets with time and resource types to a given Cloud Storage location/
305
+ # BigQuery table. For Cloud Storage location destinations, the output format is
306
+ # newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in
307
+ # the JSON format; for BigQuery table destinations, the output table stores the
308
+ # fields in asset proto as columns. This API implements the google.longrunning.
309
+ # Operation API , which allows you to keep track of the export. We recommend
310
+ # intervals of at least 2 seconds with exponential retry to poll the export
311
+ # operation result. For regular-size resource parent, the export operation
312
+ # usually finishes within 5 minutes.
323
313
  # @param [String] parent
324
314
  # Required. The relative name of the root asset. This can only be an
325
- # organization number (such as "organizations/123"), a project ID (such as
326
- # "projects/my-project-id"), or a project number (such as "projects/12345"),
327
- # or a folder number (such as "folders/123").
315
+ # organization number (such as "organizations/123"), a project ID (such as "
316
+ # projects/my-project-id"), or a project number (such as "projects/12345"), or a
317
+ # folder number (such as "folders/123").
328
318
  # @param [Google::Apis::CloudassetV1::ExportAssetsRequest] export_assets_request_object
329
319
  # @param [String] fields
330
320
  # Selector specifying which fields to include in a partial response.
@@ -355,51 +345,48 @@ module Google
355
345
  execute_or_queue_command(command, &block)
356
346
  end
357
347
 
358
- # Searches all the IAM policies within the given accessible scope (e.g., a
359
- # project, a folder or an organization). Callers should have
360
- # `cloud.assets.SearchAllIamPolicies` permission upon the requested scope,
361
- # otherwise the request will be rejected.
348
+ # Searches all IAM policies within the specified scope, such as a project,
349
+ # folder, or organization. The caller must be granted the `cloudasset.assets.
350
+ # searchAllIamPolicies` permission on the desired scope, otherwise the request
351
+ # will be rejected.
362
352
  # @param [String] scope
363
- # Required. A scope can be a project, a folder or an organization. The search is
364
- # limited to the IAM policies within the `scope`.
365
- # The allowed values are:
366
- # * projects/`PROJECT_ID`
367
- # * projects/`PROJECT_NUMBER`
368
- # * folders/`FOLDER_NUMBER`
369
- # * organizations/`ORGANIZATION_NUMBER`
353
+ # Required. A scope can be a project, a folder, or an organization. The search
354
+ # is limited to the IAM policies within the `scope`. The caller must be granted
355
+ # the [`cloudasset.assets.searchAllIamPolicies`](http://cloud.google.com/asset-
356
+ # inventory/docs/access-control#required_permissions) permission on the desired
357
+ # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
358
+ # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
359
+ # FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
360
+ # (e.g., "organizations/123456")
370
361
  # @param [Fixnum] page_size
371
362
  # Optional. The page size for search result pagination. Page size is capped at
372
- # 500 even
373
- # if a larger value is given. If set to zero, server will pick an appropriate
374
- # default. Returned results may be fewer than requested. When this happens,
375
- # there could be more results as long as `next_page_token` is returned.
363
+ # 500 even if a larger value is given. If set to zero, server will pick an
364
+ # appropriate default. Returned results may be fewer than requested. When this
365
+ # happens, there could be more results as long as `next_page_token` is returned.
376
366
  # @param [String] page_token
377
367
  # Optional. If present, retrieve the next batch of results from the preceding
378
- # call to
379
- # this method. `page_token` must be the value of `next_page_token` from the
380
- # previous response. The values of all other method parameters must be
368
+ # call to this method. `page_token` must be the value of `next_page_token` from
369
+ # the previous response. The values of all other method parameters must be
381
370
  # identical to those in the previous call.
382
371
  # @param [String] query
383
- # Optional. The query statement. An empty query can be specified to search all
384
- # the IAM
385
- # policies within the given `scope`.
386
- # Examples:
387
- # * `policy : "amy@gmail.com"` to find Cloud IAM policy bindings that
388
- # specify user "amy@gmail.com".
389
- # * `policy : "roles/compute.admin"` to find Cloud IAM policy bindings that
390
- # specify the Compute Admin role.
391
- # * `policy.role.permissions : "storage.buckets.update"` to find Cloud IAM
392
- # policy bindings that specify a role containing "storage.buckets.update"
393
- # permission.
394
- # * `resource : "organizations/123"` to find Cloud IAM policy bindings that
395
- # are set on "organizations/123".
396
- # * `(resource : ("organizations/123" OR "folders/1234") AND policy : "amy")`
397
- # to find Cloud IAM policy bindings that are set on "organizations/123" or
398
- # "folders/1234", and also specify user "amy".
399
- # See [how to construct a
400
- # query](https://cloud.google.com/asset-inventory/docs/searching-iam-policies#
401
- # how_to_construct_a_query)
402
- # for more details.
372
+ # Optional. The query statement. See [how to construct a query](https://cloud.
373
+ # google.com/asset-inventory/docs/searching-iam-policies#
374
+ # how_to_construct_a_query) for more information. If not specified or empty, it
375
+ # will search all the IAM policies within the specified `scope`. Examples: * `
376
+ # policy:amy@gmail.com` to find IAM policy bindings that specify user "amy@gmail.
377
+ # com". * `policy:roles/compute.admin` to find IAM policy bindings that specify
378
+ # the Compute Admin role. * `policy.role.permissions:storage.buckets.update` to
379
+ # find IAM policy bindings that specify a role containing "storage.buckets.
380
+ # update" permission. Note that if callers don't have `iam.roles.get` access to
381
+ # a role's included permissions, policy bindings that specify this role will be
382
+ # dropped from the search results. * `resource:organizations/123456` to find IAM
383
+ # policy bindings that are set on "organizations/123456". * `Important` to find
384
+ # IAM policy bindings that contain "Important" as a word in any of the
385
+ # searchable fields (except for the included permissions). * `*por*` to find IAM
386
+ # policy bindings that contain "por" as a substring in any of the searchable
387
+ # fields (except for the included permissions). * `resource:(instance1 OR
388
+ # instance2) policy:amy` to find IAM policy bindings that are set on resources "
389
+ # instance1" or "instance2" and also specify user "amy".
403
390
  # @param [String] fields
404
391
  # Selector specifying which fields to include in a partial response.
405
392
  # @param [String] quota_user
@@ -430,77 +417,65 @@ module Google
430
417
  execute_or_queue_command(command, &block)
431
418
  end
432
419
 
433
- # Searches all the resources within the given accessible scope (e.g., a
434
- # project, a folder or an organization). Callers should have
435
- # `cloud.assets.SearchAllResources` permission upon the requested scope,
436
- # otherwise the request will be rejected.
420
+ # Searches all Cloud resources within the specified scope, such as a project,
421
+ # folder, or organization. The caller must be granted the `cloudasset.assets.
422
+ # searchAllResources` permission on the desired scope, otherwise the request
423
+ # will be rejected.
437
424
  # @param [String] scope
438
- # Required. A scope can be a project, a folder or an organization. The search is
439
- # limited to the resources within the `scope`.
440
- # The allowed values are:
441
- # * projects/`PROJECT_ID`
442
- # * projects/`PROJECT_NUMBER`
443
- # * folders/`FOLDER_NUMBER`
444
- # * organizations/`ORGANIZATION_NUMBER`
425
+ # Required. A scope can be a project, a folder, or an organization. The search
426
+ # is limited to the resources within the `scope`. The caller must be granted the
427
+ # [`cloudasset.assets.searchAllResources`](http://cloud.google.com/asset-
428
+ # inventory/docs/access-control#required_permissions) permission on the desired
429
+ # scope. The allowed values are: * projects/`PROJECT_ID` (e.g., "projects/foo-
430
+ # bar") * projects/`PROJECT_NUMBER` (e.g., "projects/12345678") * folders/`
431
+ # FOLDER_NUMBER` (e.g., "folders/1234567") * organizations/`ORGANIZATION_NUMBER`
432
+ # (e.g., "organizations/123456")
445
433
  # @param [Array<String>, String] asset_types
446
434
  # Optional. A list of asset types that this request searches for. If empty, it
447
- # will
448
- # search all the [searchable asset
449
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types#
450
- # searchable_asset_types).
435
+ # will search all the [searchable asset types](https://cloud.google.com/asset-
436
+ # inventory/docs/supported-asset-types#searchable_asset_types).
451
437
  # @param [String] order_by
452
438
  # Optional. A comma separated list of fields specifying the sorting order of the
453
- # results. The default order is ascending. Add " DESC" after the field name
454
- # to indicate descending order. Redundant space characters are ignored.
455
- # Example: "location DESC, name". Only string fields in the response are
456
- # sortable, including `name`, `displayName`, `description`, `location`. All
457
- # the other fields such as repeated fields (e.g., `networkTags`), map
458
- # fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`)
459
- # are not supported.
439
+ # results. The default order is ascending. Add " DESC" after the field name to
440
+ # indicate descending order. Redundant space characters are ignored. Example: "
441
+ # location DESC, name". Only string fields in the response are sortable,
442
+ # including `name`, `displayName`, `description`, `location`. All the other
443
+ # fields such as repeated fields (e.g., `networkTags`), map fields (e.g., `
444
+ # labels`) and struct fields (e.g., `additionalAttributes`) are not supported.
460
445
  # @param [Fixnum] page_size
461
446
  # Optional. The page size for search result pagination. Page size is capped at
462
- # 500 even
463
- # if a larger value is given. If set to zero, server will pick an appropriate
464
- # default. Returned results may be fewer than requested. When this happens,
465
- # there could be more results as long as `next_page_token` is returned.
447
+ # 500 even if a larger value is given. If set to zero, server will pick an
448
+ # appropriate default. Returned results may be fewer than requested. When this
449
+ # happens, there could be more results as long as `next_page_token` is returned.
466
450
  # @param [String] page_token
467
451
  # Optional. If present, then retrieve the next batch of results from the
468
- # preceding call
469
- # to this method. `page_token` must be the value of `next_page_token` from
470
- # the previous response. The values of all other method parameters, must be
471
- # identical to those in the previous call.
452
+ # preceding call to this method. `page_token` must be the value of `
453
+ # next_page_token` from the previous response. The values of all other method
454
+ # parameters, must be identical to those in the previous call.
472
455
  # @param [String] query
473
- # Optional. The query statement. An empty query can be specified to search all
474
- # the
475
- # resources of certain `asset_types` within the given `scope`.
476
- # Examples:
477
- # * `name : "Important"` to find Cloud resources whose name contains
478
- # "Important" as a word.
479
- # * `displayName : "Impor*"` to find Cloud resources whose display name
480
- # contains "Impor" as a word prefix.
481
- # * `description : "*por*"` to find Cloud resources whose description
482
- # contains "por" as a substring.
483
- # * `location : "us-west*"` to find Cloud resources whose location is
484
- # prefixed with "us-west".
485
- # * `labels : "prod"` to find Cloud resources whose labels contain "prod" as
486
- # a key or value.
487
- # * `labels.env : "prod"` to find Cloud resources which have a label "env"
488
- # and its value is "prod".
489
- # * `labels.env : *` to find Cloud resources which have a label "env".
490
- # * `"Important"` to find Cloud resources which contain "Important" as a word
491
- # in any of the searchable fields.
492
- # * `"Impor*"` to find Cloud resources which contain "Impor" as a word prefix
493
- # in any of the searchable fields.
494
- # * `"*por*"` to find Cloud resources which contain "por" as a substring in
495
- # any of the searchable fields.
496
- # * `("Important" AND location : ("us-west1" OR "global"))` to find Cloud
497
- # resources which contain "Important" as a word in any of the searchable
498
- # fields and are also located in the "us-west1" region or the "global"
499
- # location.
500
- # See [how to construct a
501
- # query](https://cloud.google.com/asset-inventory/docs/searching-resources#
502
- # how_to_construct_a_query)
503
- # for more details.
456
+ # Optional. The query statement. See [how to construct a query](http://cloud.
457
+ # google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
458
+ # for more information. If not specified or empty, it will search all the
459
+ # resources within the specified `scope`. Note that the query string is compared
460
+ # against each Cloud IAM policy binding, including its members, roles, and Cloud
461
+ # IAM conditions. The returned Cloud IAM policies will only contain the bindings
462
+ # that match your query. To learn more about the IAM policy structure, see [IAM
463
+ # policy doc](https://cloud.google.com/iam/docs/policies#structure). Examples: *
464
+ # `name:Important` to find Cloud resources whose name contains "Important" as a
465
+ # word. * `displayName:Impor*` to find Cloud resources whose display name
466
+ # contains "Impor" as a prefix. * `description:*por*` to find Cloud resources
467
+ # whose description contains "por" as a substring. * `location:us-west*` to find
468
+ # Cloud resources whose location is prefixed with "us-west". * `labels:prod` to
469
+ # find Cloud resources whose labels contain "prod" as a key or value. * `labels.
470
+ # env:prod` to find Cloud resources that have a label "env" and its value is "
471
+ # prod". * `labels.env:*` to find Cloud resources that have a label "env". * `
472
+ # Important` to find Cloud resources that contain "Important" as a word in any
473
+ # of the searchable fields. * `Impor*` to find Cloud resources that contain "
474
+ # Impor" as a prefix in any of the searchable fields. * `*por*` to find Cloud
475
+ # resources that contain "por" as a substring in any of the searchable fields. *
476
+ # `Important location:(us-west1 OR global)` to find Cloud resources that contain
477
+ # "Important" as a word in any of the searchable fields and are also located in
478
+ # the "us-west1" region or the "global" location.
504
479
  # @param [String] fields
505
480
  # Selector specifying which fields to include in a partial response.
506
481
  # @param [String] quota_user
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200613'
28
+ REVISION = '20200810'
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,15 +22,12 @@ module Google
22
22
  module Apis
23
23
  module CloudassetV1beta1
24
24
 
25
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
26
- # [resource
27
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
28
- # resource-hierarchy),
29
- # a resource outside the Google Cloud resource hierarchy (such as Google
30
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
31
- # See [Supported asset
32
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
33
- # for more information.
25
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
26
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
27
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
28
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
29
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
30
+ # asset-inventory/docs/supported-asset-types) for more information.
34
31
  class Asset
35
32
  include Google::Apis::Core::Hashable
36
33
 
@@ -42,102 +39,64 @@ module Google
42
39
  attr_accessor :access_level
43
40
 
44
41
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
45
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
46
- # define regions of services able to freely pass data within a perimeter). An
47
- # access policy is globally visible within an organization, and the
48
- # restrictions it specifies apply to all projects within an organization.
42
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
43
+ # regions of services able to freely pass data within a perimeter). An access
44
+ # policy is globally visible within an organization, and the restrictions it
45
+ # specifies apply to all projects within an organization.
49
46
  # Corresponds to the JSON property `accessPolicy`
50
47
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
51
48
  attr_accessor :access_policy
52
49
 
53
- # The type of the asset. Example: `compute.googleapis.com/Disk`
54
- # See [Supported asset
55
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
56
- # for more information.
50
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
51
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
52
+ # types) for more information.
57
53
  # Corresponds to the JSON property `assetType`
58
54
  # @return [String]
59
55
  attr_accessor :asset_type
60
56
 
61
57
  # An Identity and Access Management (IAM) policy, which specifies access
62
- # controls for Google Cloud resources.
63
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
64
- # `members` to a single `role`. Members can be user accounts, service accounts,
65
- # Google groups, and domains (such as G Suite). A `role` is a named list of
66
- # permissions; each `role` can be an IAM predefined role or a user-created
67
- # custom role.
68
- # For some types of Google Cloud resources, a `binding` can also specify a
69
- # `condition`, which is a logical expression that allows access to a resource
70
- # only if the expression evaluates to `true`. A condition can add constraints
71
- # based on attributes of the request, the resource, or both. To learn which
72
- # resources support conditions in their IAM policies, see the
73
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
74
- # policies).
75
- # **JSON example:**
76
- # `
77
- # "bindings": [
78
- # `
79
- # "role": "roles/resourcemanager.organizationAdmin",
80
- # "members": [
81
- # "user:mike@example.com",
82
- # "group:admins@example.com",
83
- # "domain:google.com",
84
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
85
- # ]
86
- # `,
87
- # `
88
- # "role": "roles/resourcemanager.organizationViewer",
89
- # "members": [
90
- # "user:eve@example.com"
91
- # ],
92
- # "condition": `
93
- # "title": "expirable access",
94
- # "description": "Does not grant access after Sep 2020",
95
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
96
- # ",
97
- # `
98
- # `
99
- # ],
100
- # "etag": "BwWWja0YfJA=",
101
- # "version": 3
102
- # `
103
- # **YAML example:**
104
- # bindings:
105
- # - members:
106
- # - user:mike@example.com
107
- # - group:admins@example.com
108
- # - domain:google.com
109
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
110
- # role: roles/resourcemanager.organizationAdmin
111
- # - members:
112
- # - user:eve@example.com
113
- # role: roles/resourcemanager.organizationViewer
114
- # condition:
115
- # title: expirable access
116
- # description: Does not grant access after Sep 2020
117
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
118
- # - etag: BwWWja0YfJA=
119
- # - version: 3
120
- # For a description of IAM and its features, see the
121
- # [IAM documentation](https://cloud.google.com/iam/docs/).
58
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
59
+ # A `binding` binds one or more `members` to a single `role`. Members can be
60
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
61
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
62
+ # role or a user-created custom role. For some types of Google Cloud resources,
63
+ # a `binding` can also specify a `condition`, which is a logical expression that
64
+ # allows access to a resource only if the expression evaluates to `true`. A
65
+ # condition can add constraints based on attributes of the request, the resource,
66
+ # or both. To learn which resources support conditions in their IAM policies,
67
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
68
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
69
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
70
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
71
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
72
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
73
+ # title": "expirable access", "description": "Does not grant access after Sep
74
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
75
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
76
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
77
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
78
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
79
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
80
+ # description: Does not grant access after Sep 2020 expression: request.time <
81
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
82
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
83
+ # google.com/iam/docs/).
122
84
  # Corresponds to the JSON property `iamPolicy`
123
85
  # @return [Google::Apis::CloudassetV1beta1::Policy]
124
86
  attr_accessor :iam_policy
125
87
 
126
- # The full name of the asset. Example:
127
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
128
- # instance1`
129
- # See [Resource
130
- # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
131
- # for more information.
88
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
89
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
90
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
91
+ # information.
132
92
  # Corresponds to the JSON property `name`
133
93
  # @return [String]
134
94
  attr_accessor :name
135
95
 
136
- # A representation of an [organization
137
- # policy](https://cloud.google.com/resource-manager/docs/organization-policy/
138
- # overview#organization_policy).
139
- # There can be more than one organization policy with different constraints
140
- # set on a given resource.
96
+ # A representation of an [organization policy](https://cloud.google.com/resource-
97
+ # manager/docs/organization-policy/overview#organization_policy). There can be
98
+ # more than one organization policy with different constraints set on a given
99
+ # resource.
141
100
  # Corresponds to the JSON property `orgPolicy`
142
101
  # @return [Array<Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1Policy>]
143
102
  attr_accessor :org_policy
@@ -148,15 +107,14 @@ module Google
148
107
  attr_accessor :resource
149
108
 
150
109
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
151
- # import and export data amongst themselves, but not export outside of the
152
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
110
+ # import and export data amongst themselves, but not export outside of the `
111
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
153
112
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
154
113
  # Otherwise the request is allowed. There are two types of Service Perimeter -
155
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
156
- # Google Cloud project can only belong to a single regular Service Perimeter.
157
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
158
- # a single Google Cloud project may belong to multiple Service Perimeter
159
- # Bridges.
114
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
115
+ # Cloud project can only belong to a single regular Service Perimeter. Service
116
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
117
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
160
118
  # Corresponds to the JSON property `servicePerimeter`
161
119
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
162
120
  attr_accessor :service_perimeter
@@ -178,53 +136,21 @@ module Google
178
136
  end
179
137
  end
180
138
 
181
- # Specifies the audit configuration for a service.
182
- # The configuration determines which permission types are logged, and what
183
- # identities, if any, are exempted from logging.
184
- # An AuditConfig must have one or more AuditLogConfigs.
185
- # If there are AuditConfigs for both `allServices` and a specific service,
186
- # the union of the two AuditConfigs is used for that service: the log_types
187
- # specified in each AuditConfig are enabled, and the exempted_members in each
188
- # AuditLogConfig are exempted.
189
- # Example Policy with multiple AuditConfigs:
190
- # `
191
- # "audit_configs": [
192
- # `
193
- # "service": "allServices",
194
- # "audit_log_configs": [
195
- # `
196
- # "log_type": "DATA_READ",
197
- # "exempted_members": [
198
- # "user:jose@example.com"
199
- # ]
200
- # `,
201
- # `
202
- # "log_type": "DATA_WRITE"
203
- # `,
204
- # `
205
- # "log_type": "ADMIN_READ"
206
- # `
207
- # ]
208
- # `,
209
- # `
210
- # "service": "sampleservice.googleapis.com",
211
- # "audit_log_configs": [
212
- # `
213
- # "log_type": "DATA_READ"
214
- # `,
215
- # `
216
- # "log_type": "DATA_WRITE",
217
- # "exempted_members": [
218
- # "user:aliya@example.com"
219
- # ]
220
- # `
221
- # ]
222
- # `
223
- # ]
224
- # `
225
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
226
- # logging. It also exempts jose@example.com from DATA_READ logging, and
227
- # aliya@example.com from DATA_WRITE logging.
139
+ # Specifies the audit configuration for a service. The configuration determines
140
+ # which permission types are logged, and what identities, if any, are exempted
141
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
142
+ # are AuditConfigs for both `allServices` and a specific service, the union of
143
+ # the two AuditConfigs is used for that service: the log_types specified in each
144
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
145
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
146
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
147
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
148
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
149
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
150
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
151
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
152
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
153
+ # DATA_WRITE logging.
228
154
  class AuditConfig
229
155
  include Google::Apis::Core::Hashable
230
156
 
@@ -233,9 +159,9 @@ module Google
233
159
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditLogConfig>]
234
160
  attr_accessor :audit_log_configs
235
161
 
236
- # Specifies a service that will be enabled for audit logging.
237
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
238
- # `allServices` is a special value that covers all services.
162
+ # Specifies a service that will be enabled for audit logging. For example, `
163
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
164
+ # value that covers all services.
239
165
  # Corresponds to the JSON property `service`
240
166
  # @return [String]
241
167
  attr_accessor :service
@@ -251,28 +177,15 @@ module Google
251
177
  end
252
178
  end
253
179
 
254
- # Provides the configuration for logging a type of permissions.
255
- # Example:
256
- # `
257
- # "audit_log_configs": [
258
- # `
259
- # "log_type": "DATA_READ",
260
- # "exempted_members": [
261
- # "user:jose@example.com"
262
- # ]
263
- # `,
264
- # `
265
- # "log_type": "DATA_WRITE"
266
- # `
267
- # ]
268
- # `
269
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
270
- # jose@example.com from DATA_READ logging.
180
+ # Provides the configuration for logging a type of permissions. Example: ` "
181
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
182
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
183
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
184
+ # DATA_READ logging.
271
185
  class AuditLogConfig
272
186
  include Google::Apis::Core::Hashable
273
187
 
274
- # Specifies the identities that do not cause logging for this type of
275
- # permission.
188
+ # Specifies the identities that do not cause logging for this type of permission.
276
189
  # Follows the same format of Binding.members.
277
190
  # Corresponds to the JSON property `exemptedMembers`
278
191
  # @return [Array<String>]
@@ -317,69 +230,57 @@ module Google
317
230
  class Binding
318
231
  include Google::Apis::Core::Hashable
319
232
 
320
- # Represents a textual expression in the Common Expression Language (CEL)
321
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
322
- # are documented at https://github.com/google/cel-spec.
323
- # Example (Comparison):
324
- # title: "Summary size limit"
325
- # description: "Determines if a summary is less than 100 chars"
326
- # expression: "document.summary.size() < 100"
327
- # Example (Equality):
328
- # title: "Requestor is owner"
329
- # description: "Determines if requestor is the document owner"
330
- # expression: "document.owner == request.auth.claims.email"
331
- # Example (Logic):
332
- # title: "Public documents"
333
- # description: "Determine whether the document should be publicly visible"
334
- # expression: "document.type != 'private' && document.type != 'internal'"
335
- # Example (Data Manipulation):
336
- # title: "Notification string"
337
- # description: "Create a notification string with a timestamp."
338
- # expression: "'New message received at ' + string(document.create_time)"
339
- # The exact variables and functions that may be referenced within an expression
340
- # are determined by the service that evaluates it. See the service
341
- # documentation for additional information.
233
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
234
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
235
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
236
+ # "Summary size limit" description: "Determines if a summary is less than 100
237
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
238
+ # Requestor is owner" description: "Determines if requestor is the document
239
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
240
+ # Logic): title: "Public documents" description: "Determine whether the document
241
+ # should be publicly visible" expression: "document.type != 'private' &&
242
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
243
+ # string" description: "Create a notification string with a timestamp."
244
+ # expression: "'New message received at ' + string(document.create_time)" The
245
+ # exact variables and functions that may be referenced within an expression are
246
+ # determined by the service that evaluates it. See the service documentation for
247
+ # additional information.
342
248
  # Corresponds to the JSON property `condition`
343
249
  # @return [Google::Apis::CloudassetV1beta1::Expr]
344
250
  attr_accessor :condition
345
251
 
346
- # Specifies the identities requesting access for a Cloud Platform resource.
347
- # `members` can have the following values:
348
- # * `allUsers`: A special identifier that represents anyone who is
349
- # on the internet; with or without a Google account.
350
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
351
- # who is authenticated with a Google account or a service account.
352
- # * `user:`emailid``: An email address that represents a specific Google
353
- # account. For example, `alice@example.com` .
354
- # * `serviceAccount:`emailid``: An email address that represents a service
355
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
356
- # * `group:`emailid``: An email address that represents a Google group.
357
- # For example, `admins@example.com`.
358
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
359
- # identifier) representing a user that has been recently deleted. For
360
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
361
- # recovered, this value reverts to `user:`emailid`` and the recovered user
362
- # retains the role in the binding.
363
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
364
- # unique identifier) representing a service account that has been recently
365
- # deleted. For example,
366
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
367
- # If the service account is undeleted, this value reverts to
368
- # `serviceAccount:`emailid`` and the undeleted service account retains the
369
- # role in the binding.
370
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
371
- # identifier) representing a Google group that has been recently
372
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
373
- # the group is recovered, this value reverts to `group:`emailid`` and the
374
- # recovered group retains the role in the binding.
375
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
376
- # users of that domain. For example, `google.com` or `example.com`.
252
+ # Specifies the identities requesting access for a Cloud Platform resource. `
253
+ # members` can have the following values: * `allUsers`: A special identifier
254
+ # that represents anyone who is on the internet; with or without a Google
255
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
256
+ # anyone who is authenticated with a Google account or a service account. * `
257
+ # user:`emailid``: An email address that represents a specific Google account.
258
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
259
+ # address that represents a service account. For example, `my-other-app@appspot.
260
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
261
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
262
+ # `uniqueid``: An email address (plus unique identifier) representing a user
263
+ # that has been recently deleted. For example, `alice@example.com?uid=
264
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
265
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
266
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
267
+ # identifier) representing a service account that has been recently deleted. For
268
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
269
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
270
+ # emailid`` and the undeleted service account retains the role in the binding. *
271
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
272
+ # identifier) representing a Google group that has been recently deleted. For
273
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
274
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
275
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
276
+ # primary) that represents all the users of that domain. For example, `google.
277
+ # com` or `example.com`.
377
278
  # Corresponds to the JSON property `members`
378
279
  # @return [Array<String>]
379
280
  attr_accessor :members
380
281
 
381
- # Role that is assigned to `members`.
382
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
282
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
283
+ # , or `roles/owner`.
383
284
  # Corresponds to the JSON property `role`
384
285
  # @return [String]
385
286
  attr_accessor :role
@@ -400,12 +301,10 @@ module Google
400
301
  class ExportAssetsRequest
401
302
  include Google::Apis::Core::Hashable
402
303
 
403
- # A list of asset types of which to take a snapshot for. For example:
404
- # "google.compute.Disk". If specified, only matching assets will be returned.
405
- # See [Introduction to Cloud Asset
406
- # Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
407
- # inventory/overview)
408
- # for all supported asset types.
304
+ # A list of asset types of which to take a snapshot for. For example: "google.
305
+ # compute.Disk". If specified, only matching assets will be returned. See [
306
+ # Introduction to Cloud Asset Inventory](https://cloud.google.com/resource-
307
+ # manager/docs/cloud-asset-inventory/overview) for all supported asset types.
409
308
  # Corresponds to the JSON property `assetTypes`
410
309
  # @return [Array<String>]
411
310
  attr_accessor :asset_types
@@ -422,10 +321,10 @@ module Google
422
321
  attr_accessor :output_config
423
322
 
424
323
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
425
- # between 2018-10-02 UTC (inclusive) and the current time. If not specified,
426
- # the current time will be used. Due to delays in resource data collection
427
- # and indexing, there is a volatile window during which running the same
428
- # query may get different results.
324
+ # between 2018-10-02 UTC (inclusive) and the current time. If not specified, the
325
+ # current time will be used. Due to delays in resource data collection and
326
+ # indexing, there is a volatile window during which running the same query may
327
+ # get different results.
429
328
  # Corresponds to the JSON property `readTime`
430
329
  # @return [String]
431
330
  attr_accessor :read_time
@@ -443,52 +342,43 @@ module Google
443
342
  end
444
343
  end
445
344
 
446
- # Represents a textual expression in the Common Expression Language (CEL)
447
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
448
- # are documented at https://github.com/google/cel-spec.
449
- # Example (Comparison):
450
- # title: "Summary size limit"
451
- # description: "Determines if a summary is less than 100 chars"
452
- # expression: "document.summary.size() < 100"
453
- # Example (Equality):
454
- # title: "Requestor is owner"
455
- # description: "Determines if requestor is the document owner"
456
- # expression: "document.owner == request.auth.claims.email"
457
- # Example (Logic):
458
- # title: "Public documents"
459
- # description: "Determine whether the document should be publicly visible"
460
- # expression: "document.type != 'private' && document.type != 'internal'"
461
- # Example (Data Manipulation):
462
- # title: "Notification string"
463
- # description: "Create a notification string with a timestamp."
464
- # expression: "'New message received at ' + string(document.create_time)"
465
- # The exact variables and functions that may be referenced within an expression
466
- # are determined by the service that evaluates it. See the service
467
- # documentation for additional information.
345
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
346
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
347
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
348
+ # "Summary size limit" description: "Determines if a summary is less than 100
349
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
350
+ # Requestor is owner" description: "Determines if requestor is the document
351
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
352
+ # Logic): title: "Public documents" description: "Determine whether the document
353
+ # should be publicly visible" expression: "document.type != 'private' &&
354
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
355
+ # string" description: "Create a notification string with a timestamp."
356
+ # expression: "'New message received at ' + string(document.create_time)" The
357
+ # exact variables and functions that may be referenced within an expression are
358
+ # determined by the service that evaluates it. See the service documentation for
359
+ # additional information.
468
360
  class Expr
469
361
  include Google::Apis::Core::Hashable
470
362
 
471
- # Optional. Description of the expression. This is a longer text which
472
- # describes the expression, e.g. when hovered over it in a UI.
363
+ # Optional. Description of the expression. This is a longer text which describes
364
+ # the expression, e.g. when hovered over it in a UI.
473
365
  # Corresponds to the JSON property `description`
474
366
  # @return [String]
475
367
  attr_accessor :description
476
368
 
477
- # Textual representation of an expression in Common Expression Language
478
- # syntax.
369
+ # Textual representation of an expression in Common Expression Language syntax.
479
370
  # Corresponds to the JSON property `expression`
480
371
  # @return [String]
481
372
  attr_accessor :expression
482
373
 
483
- # Optional. String indicating the location of the expression for error
484
- # reporting, e.g. a file name and a position in the file.
374
+ # Optional. String indicating the location of the expression for error reporting,
375
+ # e.g. a file name and a position in the file.
485
376
  # Corresponds to the JSON property `location`
486
377
  # @return [String]
487
378
  attr_accessor :location
488
379
 
489
- # Optional. Title for the expression, i.e. a short string describing
490
- # its purpose. This can be used e.g. in UIs which allow to enter the
491
- # expression.
380
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
381
+ # This can be used e.g. in UIs which allow to enter the expression.
492
382
  # Corresponds to the JSON property `title`
493
383
  # @return [String]
494
384
  attr_accessor :title
@@ -510,23 +400,21 @@ module Google
510
400
  class GcsDestination
511
401
  include Google::Apis::Core::Hashable
512
402
 
513
- # The uri of the Cloud Storage object. It's the same uri that is used by
514
- # gsutil. For example: "gs://bucket_name/object_name". See [Viewing and
515
- # Editing Object
516
- # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
517
- # for more information.
403
+ # The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
404
+ # For example: "gs://bucket_name/object_name". See [Viewing and Editing Object
405
+ # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
406
+ # more information.
518
407
  # Corresponds to the JSON property `uri`
519
408
  # @return [String]
520
409
  attr_accessor :uri
521
410
 
522
- # The uri prefix of all generated Cloud Storage objects. For example:
523
- # "gs://bucket_name/object_name_prefix". Each object uri is in format:
524
- # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
525
- # contains assets for that type. <shard number> starts from 0. For example:
526
- # "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first
527
- # shard of output objects containing all google.compute.disk assets.
528
- # An INVALID_ARGUMENT error will be returned if file with the same name
529
- # "gs://bucket_name/object_name_prefix" already exists.
411
+ # The uri prefix of all generated Cloud Storage objects. For example: "gs://
412
+ # bucket_name/object_name_prefix". Each object uri is in format: "gs://
413
+ # bucket_name/object_name_prefix// and only contains assets for that type.
414
+ # starts from 0. For example: "gs://bucket_name/object_name_prefix/google.
415
+ # compute.disk/0" is the first shard of output objects containing all google.
416
+ # compute.disk assets. An INVALID_ARGUMENT error will be returned if file with
417
+ # the same name "gs://bucket_name/object_name_prefix" already exists.
530
418
  # Corresponds to the JSON property `uriPrefix`
531
419
  # @return [String]
532
420
  attr_accessor :uri_prefix
@@ -547,45 +435,29 @@ module Google
547
435
  class GoogleCloudOrgpolicyV1BooleanPolicy
548
436
  include Google::Apis::Core::Hashable
549
437
 
550
- # If `true`, then the `Policy` is enforced. If `false`, then any
551
- # configuration is acceptable.
552
- # Suppose you have a `Constraint`
553
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
554
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
555
- # behavior:
556
- # - If the `Policy` at this resource has enforced set to `false`, serial
557
- # port connection attempts will be allowed.
558
- # - If the `Policy` at this resource has enforced set to `true`, serial
559
- # port connection attempts will be refused.
560
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
561
- # connection attempts will be allowed.
562
- # - If no `Policy` is set at this resource or anywhere higher in the
563
- # resource hierarchy, serial port connection attempts will be allowed.
564
- # - If no `Policy` is set at this resource, but one exists higher in the
565
- # resource hierarchy, the behavior is as if the`Policy` were set at
566
- # this resource.
567
- # The following examples demonstrate the different possible layerings:
568
- # Example 1 (nearest `Constraint` wins):
569
- # `organizations/foo` has a `Policy` with:
570
- # `enforced: false`
571
- # `projects/bar` has no `Policy` set.
572
- # The constraint at `projects/bar` and `organizations/foo` will not be
573
- # enforced.
574
- # Example 2 (enforcement gets replaced):
575
- # `organizations/foo` has a `Policy` with:
576
- # `enforced: false`
577
- # `projects/bar` has a `Policy` with:
578
- # `enforced: true`
579
- # The constraint at `organizations/foo` is not enforced.
580
- # The constraint at `projects/bar` is enforced.
581
- # Example 3 (RestoreDefault):
582
- # `organizations/foo` has a `Policy` with:
583
- # `enforced: true`
584
- # `projects/bar` has a `Policy` with:
585
- # `RestoreDefault: ```
586
- # The constraint at `organizations/foo` is enforced.
587
- # The constraint at `projects/bar` is not enforced, because
588
- # `constraint_default` for the `Constraint` is `ALLOW`.
438
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
439
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
440
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
441
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
442
+ # this resource has enforced set to `false`, serial port connection attempts
443
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
444
+ # serial port connection attempts will be refused. - If the `Policy` at this
445
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
446
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
447
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
448
+ # is set at this resource, but one exists higher in the resource hierarchy, the
449
+ # behavior is as if the`Policy` were set at this resource. The following
450
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
451
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
452
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
453
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
454
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
455
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
456
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
457
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
458
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
459
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
460
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
589
461
  # Corresponds to the JSON property `enforced`
590
462
  # @return [Boolean]
591
463
  attr_accessor :enforced
@@ -601,26 +473,22 @@ module Google
601
473
  end
602
474
  end
603
475
 
604
- # Used in `policy_type` to specify how `list_policy` behaves at this
605
- # resource.
606
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
607
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
608
- # are allowed or denied by setting the `allowed_values` and `denied_values`
609
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
610
- # The `under:` prefix is used to denote resource subtree values.
611
- # The `is:` prefix is used to denote specific values, and is required only
612
- # if the value contains a ":". Values prefixed with "is:" are treated the
613
- # same as values with no prefix.
614
- # Ancestry subtrees must be in one of the following formats:
615
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
616
- # - "folders/<folder-id>", e.g. "folders/1234"
617
- # - "organizations/<organization-id>", e.g. "organizations/1234"
618
- # The `supports_under` field of the associated `Constraint` defines whether
619
- # ancestry prefixes can be used. You can set `allowed_values` and
620
- # `denied_values` in the same `Policy` if `all_values` is
621
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
622
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
623
- # `allowed_values` and `denied_values` must be unset.
476
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
477
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
478
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
479
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
480
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
481
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
482
+ # denote specific values, and is required only if the value contains a ":".
483
+ # Values prefixed with "is:" are treated the same as values with no prefix.
484
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
485
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
486
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
487
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
488
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
489
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
490
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
491
+ # and `denied_values` must be unset.
624
492
  class GoogleCloudOrgpolicyV1ListPolicy
625
493
  include Google::Apis::Core::Hashable
626
494
 
@@ -629,112 +497,83 @@ module Google
629
497
  # @return [String]
630
498
  attr_accessor :all_values
631
499
 
632
- # List of values allowed at this resource. Can only be set if `all_values`
633
- # is set to `ALL_VALUES_UNSPECIFIED`.
500
+ # List of values allowed at this resource. Can only be set if `all_values` is
501
+ # set to `ALL_VALUES_UNSPECIFIED`.
634
502
  # Corresponds to the JSON property `allowedValues`
635
503
  # @return [Array<String>]
636
504
  attr_accessor :allowed_values
637
505
 
638
- # List of values denied at this resource. Can only be set if `all_values`
639
- # is set to `ALL_VALUES_UNSPECIFIED`.
506
+ # List of values denied at this resource. Can only be set if `all_values` is set
507
+ # to `ALL_VALUES_UNSPECIFIED`.
640
508
  # Corresponds to the JSON property `deniedValues`
641
509
  # @return [Array<String>]
642
510
  attr_accessor :denied_values
643
511
 
644
- # Determines the inheritance behavior for this `Policy`.
645
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
646
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
647
- # set to `true`, then the values from the effective `Policy` of the parent
648
- # resource are inherited, meaning the values set in this `Policy` are
649
- # added to the values inherited up the hierarchy.
650
- # Setting `Policy` hierarchies that inherit both allowed values and denied
651
- # values isn't recommended in most circumstances to keep the configuration
652
- # simple and understandable. However, it is possible to set a `Policy` with
653
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
654
- # In this case, the values that are allowed must be in `allowed_values` and
655
- # not present in `denied_values`.
656
- # For example, suppose you have a `Constraint`
657
- # `constraints/serviceuser.services`, which has a `constraint_type` of
658
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
659
- # Suppose that at the Organization level, a `Policy` is applied that
660
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
661
- # `Policy` is applied to a project below the Organization that has
662
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
663
- # then an attempt to activate any API will be denied.
664
- # The following examples demonstrate different possible layerings for
665
- # `projects/bar` parented by `organizations/foo`:
666
- # Example 1 (no inherited values):
667
- # `organizations/foo` has a `Policy` with values:
668
- # `allowed_values: "E1" allowed_values:"E2"`
669
- # `projects/bar` has `inherit_from_parent` `false` and values:
670
- # `allowed_values: "E3" allowed_values: "E4"`
671
- # The accepted values at `organizations/foo` are `E1`, `E2`.
672
- # The accepted values at `projects/bar` are `E3`, and `E4`.
673
- # Example 2 (inherited values):
674
- # `organizations/foo` has a `Policy` with values:
675
- # `allowed_values: "E1" allowed_values:"E2"`
676
- # `projects/bar` has a `Policy` with values:
677
- # `value: "E3" value: "E4" inherit_from_parent: true`
678
- # The accepted values at `organizations/foo` are `E1`, `E2`.
679
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
680
- # Example 3 (inheriting both allowed and denied values):
681
- # `organizations/foo` has a `Policy` with values:
682
- # `allowed_values: "E1" allowed_values: "E2"`
683
- # `projects/bar` has a `Policy` with:
684
- # `denied_values: "E1"`
685
- # The accepted values at `organizations/foo` are `E1`, `E2`.
686
- # The value accepted at `projects/bar` is `E2`.
687
- # Example 4 (RestoreDefault):
688
- # `organizations/foo` has a `Policy` with values:
689
- # `allowed_values: "E1" allowed_values:"E2"`
690
- # `projects/bar` has a `Policy` with values:
691
- # `RestoreDefault: ```
692
- # The accepted values at `organizations/foo` are `E1`, `E2`.
693
- # The accepted values at `projects/bar` are either all or none depending on
694
- # the value of `constraint_default` (if `ALLOW`, all; if
695
- # `DENY`, none).
696
- # Example 5 (no policy inherits parent policy):
697
- # `organizations/foo` has no `Policy` set.
698
- # `projects/bar` has no `Policy` set.
699
- # The accepted values at both levels are either all or none depending on
700
- # the value of `constraint_default` (if `ALLOW`, all; if
701
- # `DENY`, none).
702
- # Example 6 (ListConstraint allowing all):
703
- # `organizations/foo` has a `Policy` with values:
704
- # `allowed_values: "E1" allowed_values: "E2"`
705
- # `projects/bar` has a `Policy` with:
706
- # `all: ALLOW`
707
- # The accepted values at `organizations/foo` are `E1`, E2`.
708
- # Any value is accepted at `projects/bar`.
709
- # Example 7 (ListConstraint allowing none):
710
- # `organizations/foo` has a `Policy` with values:
711
- # `allowed_values: "E1" allowed_values: "E2"`
712
- # `projects/bar` has a `Policy` with:
713
- # `all: DENY`
714
- # The accepted values at `organizations/foo` are `E1`, E2`.
715
- # No value is accepted at `projects/bar`.
716
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
717
- # Given the following resource hierarchy
718
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
719
- # `organizations/foo` has a `Policy` with values:
720
- # `allowed_values: "under:organizations/O1"`
721
- # `projects/bar` has a `Policy` with:
722
- # `allowed_values: "under:projects/P3"`
723
- # `denied_values: "under:folders/F2"`
724
- # The accepted values at `organizations/foo` are `organizations/O1`,
725
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
726
- # `projects/P3`.
727
- # The accepted values at `projects/bar` are `organizations/O1`,
728
- # `folders/F1`, `projects/P1`.
512
+ # Determines the inheritance behavior for this `Policy`. By default, a `
513
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
514
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
515
+ # the values from the effective `Policy` of the parent resource are inherited,
516
+ # meaning the values set in this `Policy` are added to the values inherited up
517
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
518
+ # and denied values isn't recommended in most circumstances to keep the
519
+ # configuration simple and understandable. However, it is possible to set a `
520
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
521
+ # set. In this case, the values that are allowed must be in `allowed_values`
522
+ # and not present in `denied_values`. For example, suppose you have a `
523
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
524
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
525
+ # that at the Organization level, a `Policy` is applied that restricts the
526
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
527
+ # project below the Organization that has `inherit_from_parent` set to `false`
528
+ # and field all_values set to DENY, then an attempt to activate any API will be
529
+ # denied. The following examples demonstrate different possible layerings for `
530
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
531
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
532
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
533
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
534
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
535
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
536
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
537
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
538
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
539
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
540
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
541
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
542
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
543
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
544
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
545
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
546
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
547
+ # The accepted values at `projects/bar` are either all or none depending on the
548
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
549
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
550
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
551
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
552
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
553
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
554
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
555
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
556
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
557
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
558
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
559
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
560
+ # subtrees of Resource Manager hierarchy): Given the following resource
561
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
562
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
563
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
564
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
565
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
566
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
567
+ # folders/F1`, `projects/P1`.
729
568
  # Corresponds to the JSON property `inheritFromParent`
730
569
  # @return [Boolean]
731
570
  attr_accessor :inherit_from_parent
732
571
  alias_method :inherit_from_parent?, :inherit_from_parent
733
572
 
734
- # Optional. The Google Cloud Console will try to default to a configuration
735
- # that matches the value specified in this `Policy`. If `suggested_value`
736
- # is not set, it will inherit the value specified higher in the hierarchy,
737
- # unless `inherit_from_parent` is `false`.
573
+ # Optional. The Google Cloud Console will try to default to a configuration that
574
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
575
+ # it will inherit the value specified higher in the hierarchy, unless `
576
+ # inherit_from_parent` is `false`.
738
577
  # Corresponds to the JSON property `suggestedValue`
739
578
  # @return [String]
740
579
  attr_accessor :suggested_value
@@ -764,76 +603,65 @@ module Google
764
603
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1BooleanPolicy]
765
604
  attr_accessor :boolean_policy
766
605
 
767
- # The name of the `Constraint` the `Policy` is configuring, for example,
768
- # `constraints/serviceuser.services`.
769
- # A [list of available
770
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
771
- # is available.
606
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
607
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
608
+ # manager/docs/organization-policy/org-policy-constraints) is available.
772
609
  # Immutable after creation.
773
610
  # Corresponds to the JSON property `constraint`
774
611
  # @return [String]
775
612
  attr_accessor :constraint
776
613
 
777
614
  # An opaque tag indicating the current version of the `Policy`, used for
778
- # concurrency control.
779
- # When the `Policy` is returned from either a `GetPolicy` or a
780
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
781
- # `Policy` to use when executing a read-modify-write loop.
782
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
783
- # `etag` will be unset.
784
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
785
- # that was returned from a `GetOrgPolicy` request as part of a
786
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
787
- # `SetOrgPolicy` request will result in an unconditional write of the
788
- # `Policy`.
615
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
616
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
617
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
618
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
619
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
620
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
621
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
622
+ # result in an unconditional write of the `Policy`.
789
623
  # Corresponds to the JSON property `etag`
790
624
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
791
625
  # @return [String]
792
626
  attr_accessor :etag
793
627
 
794
- # Used in `policy_type` to specify how `list_policy` behaves at this
795
- # resource.
796
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
797
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
798
- # are allowed or denied by setting the `allowed_values` and `denied_values`
799
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
800
- # The `under:` prefix is used to denote resource subtree values.
801
- # The `is:` prefix is used to denote specific values, and is required only
802
- # if the value contains a ":". Values prefixed with "is:" are treated the
803
- # same as values with no prefix.
804
- # Ancestry subtrees must be in one of the following formats:
805
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
806
- # - "folders/<folder-id>", e.g. "folders/1234"
807
- # - "organizations/<organization-id>", e.g. "organizations/1234"
808
- # The `supports_under` field of the associated `Constraint` defines whether
809
- # ancestry prefixes can be used. You can set `allowed_values` and
810
- # `denied_values` in the same `Policy` if `all_values` is
811
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
812
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
813
- # `allowed_values` and `denied_values` must be unset.
628
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
629
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
630
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
631
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
632
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
633
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
634
+ # denote specific values, and is required only if the value contains a ":".
635
+ # Values prefixed with "is:" are treated the same as values with no prefix.
636
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
637
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
638
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
639
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
640
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
641
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
642
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
643
+ # and `denied_values` must be unset.
814
644
  # Corresponds to the JSON property `listPolicy`
815
645
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1ListPolicy]
816
646
  attr_accessor :list_policy
817
647
 
818
- # Ignores policies set above this resource and restores the
819
- # `constraint_default` enforcement behavior of the specific `Constraint` at
820
- # this resource.
821
- # Suppose that `constraint_default` is set to `ALLOW` for the
822
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
823
- # foo.com sets a `Policy` at their Organization resource node that restricts
824
- # the allowed service activations to deny all service activations. They
825
- # could then set a `Policy` with the `policy_type` `restore_default` on
826
- # several experimental projects, restoring the `constraint_default`
827
- # enforcement of the `Constraint` for only those projects, allowing those
828
- # projects to have all services activated.
648
+ # Ignores policies set above this resource and restores the `constraint_default`
649
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
650
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
651
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
652
+ # their Organization resource node that restricts the allowed service
653
+ # activations to deny all service activations. They could then set a `Policy`
654
+ # with the `policy_type` `restore_default` on several experimental projects,
655
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
656
+ # those projects, allowing those projects to have all services activated.
829
657
  # Corresponds to the JSON property `restoreDefault`
830
658
  # @return [Google::Apis::CloudassetV1beta1::GoogleCloudOrgpolicyV1RestoreDefault]
831
659
  attr_accessor :restore_default
832
660
 
833
- # The time stamp the `Policy` was previously updated. This is set by the
834
- # server, not specified by the caller, and represents the last time a call to
835
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
836
- # be ignored.
661
+ # The time stamp the `Policy` was previously updated. This is set by the server,
662
+ # not specified by the caller, and represents the last time a call to `
663
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
664
+ # ignored.
837
665
  # Corresponds to the JSON property `updateTime`
838
666
  # @return [String]
839
667
  attr_accessor :update_time
@@ -859,17 +687,15 @@ module Google
859
687
  end
860
688
  end
861
689
 
862
- # Ignores policies set above this resource and restores the
863
- # `constraint_default` enforcement behavior of the specific `Constraint` at
864
- # this resource.
865
- # Suppose that `constraint_default` is set to `ALLOW` for the
866
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
867
- # foo.com sets a `Policy` at their Organization resource node that restricts
868
- # the allowed service activations to deny all service activations. They
869
- # could then set a `Policy` with the `policy_type` `restore_default` on
870
- # several experimental projects, restoring the `constraint_default`
871
- # enforcement of the `Constraint` for only those projects, allowing those
872
- # projects to have all services activated.
690
+ # Ignores policies set above this resource and restores the `constraint_default`
691
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
692
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
693
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
694
+ # their Organization resource node that restricts the allowed service
695
+ # activations to deny all service activations. They could then set a `Policy`
696
+ # with the `policy_type` `restore_default` on several experimental projects,
697
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
698
+ # those projects, allowing those projects to have all services activated.
873
699
  class GoogleCloudOrgpolicyV1RestoreDefault
874
700
  include Google::Apis::Core::Hashable
875
701
 
@@ -894,8 +720,8 @@ module Google
894
720
  attr_accessor :basic
895
721
 
896
722
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
897
- # to represent the necessary conditions for the level to apply to a request.
898
- # See CEL spec at: https://github.com/google/cel-spec
723
+ # to represent the necessary conditions for the level to apply to a request. See
724
+ # CEL spec at: https://github.com/google/cel-spec
899
725
  # Corresponds to the JSON property `custom`
900
726
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
901
727
  attr_accessor :custom
@@ -905,10 +731,10 @@ module Google
905
731
  # @return [String]
906
732
  attr_accessor :description
907
733
 
908
- # Required. Resource name for the Access Level. The `short_name` component
909
- # must begin with a letter and only include alphanumeric and '_'. Format:
910
- # `accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length
911
- # of the `short_name` component is 50 characters.
734
+ # Required. Resource name for the Access Level. The `short_name` component must
735
+ # begin with a letter and only include alphanumeric and '_'. Format: `
736
+ # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
737
+ # the `short_name` component is 50 characters.
912
738
  # Corresponds to the JSON property `name`
913
739
  # @return [String]
914
740
  attr_accessor :name
@@ -933,30 +759,29 @@ module Google
933
759
  end
934
760
 
935
761
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
936
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
937
- # define regions of services able to freely pass data within a perimeter). An
938
- # access policy is globally visible within an organization, and the
939
- # restrictions it specifies apply to all projects within an organization.
762
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
763
+ # regions of services able to freely pass data within a perimeter). An access
764
+ # policy is globally visible within an organization, and the restrictions it
765
+ # specifies apply to all projects within an organization.
940
766
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
941
767
  include Google::Apis::Core::Hashable
942
768
 
943
- # Output only. An opaque identifier for the current version of the
944
- # `AccessPolicy`. This will always be a strongly validated etag, meaning that
945
- # two Access Polices will be identical if and only if their etags are
946
- # identical. Clients should not expect this to be in any specific format.
769
+ # Output only. An opaque identifier for the current version of the `AccessPolicy`
770
+ # . This will always be a strongly validated etag, meaning that two Access
771
+ # Polices will be identical if and only if their etags are identical. Clients
772
+ # should not expect this to be in any specific format.
947
773
  # Corresponds to the JSON property `etag`
948
774
  # @return [String]
949
775
  attr_accessor :etag
950
776
 
951
- # Output only. Resource name of the `AccessPolicy`. Format:
952
- # `accessPolicies/`policy_id``
777
+ # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
778
+ # policy_id``
953
779
  # Corresponds to the JSON property `name`
954
780
  # @return [String]
955
781
  attr_accessor :name
956
782
 
957
- # Required. The parent of this `AccessPolicy` in the Cloud Resource
958
- # Hierarchy. Currently immutable once created. Format:
959
- # `organizations/`organization_id``
783
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
784
+ # Currently immutable once created. Format: `organizations/`organization_id``
960
785
  # Corresponds to the JSON property `parent`
961
786
  # @return [String]
962
787
  attr_accessor :parent
@@ -984,10 +809,10 @@ module Google
984
809
  include Google::Apis::Core::Hashable
985
810
 
986
811
  # How the `conditions` list should be combined to determine if a request is
987
- # granted this `AccessLevel`. If AND is used, each `Condition` in
988
- # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
989
- # is used, at least one `Condition` in `conditions` must be satisfied for the
990
- # `AccessLevel` to be applied. Default behavior is AND.
812
+ # granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
813
+ # must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
814
+ # one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
815
+ # applied. Default behavior is AND.
991
816
  # Corresponds to the JSON property `combiningFunction`
992
817
  # @return [String]
993
818
  attr_accessor :combining_function
@@ -1021,54 +846,48 @@ module Google
1021
846
  # devices to be granted access levels, it does not do any enforcement on the
1022
847
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1023
848
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1024
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1025
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1026
- # true for requests originating from encrypted Linux desktops and encrypted
1027
- # Windows desktops.
849
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
850
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
851
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1028
852
  # Corresponds to the JSON property `devicePolicy`
1029
853
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
1030
854
  attr_accessor :device_policy
1031
855
 
1032
- # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
1033
- # a CIDR IP address block, the specified IP address portion must be properly
856
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
857
+ # CIDR IP address block, the specified IP address portion must be properly
1034
858
  # truncated (i.e. all the host bits must be zero) or the input is considered
1035
- # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
1036
- # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
1037
- # "2001:db8::1/32" is not. The originating IP of a request must be in one of
1038
- # the listed subnets in order for this Condition to be true. If empty, all IP
1039
- # addresses are allowed.
859
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
860
+ # Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
861
+ # not. The originating IP of a request must be in one of the listed subnets in
862
+ # order for this Condition to be true. If empty, all IP addresses are allowed.
1040
863
  # Corresponds to the JSON property `ipSubnetworks`
1041
864
  # @return [Array<String>]
1042
865
  attr_accessor :ip_subnetworks
1043
866
 
1044
- # The request must be made by one of the provided user or service
1045
- # accounts. Groups are not supported.
1046
- # Syntax:
1047
- # `user:`emailid``
1048
- # `serviceAccount:`emailid``
867
+ # The request must be made by one of the provided user or service accounts.
868
+ # Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
1049
869
  # If not specified, a request may come from any user.
1050
870
  # Corresponds to the JSON property `members`
1051
871
  # @return [Array<String>]
1052
872
  attr_accessor :members
1053
873
 
1054
874
  # Whether to negate the Condition. If true, the Condition becomes a NAND over
1055
- # its non-empty fields, each field must be false for the Condition overall to
1056
- # be satisfied. Defaults to false.
875
+ # its non-empty fields, each field must be false for the Condition overall to be
876
+ # satisfied. Defaults to false.
1057
877
  # Corresponds to the JSON property `negate`
1058
878
  # @return [Boolean]
1059
879
  attr_accessor :negate
1060
880
  alias_method :negate?, :negate
1061
881
 
1062
- # The request must originate from one of the provided countries/regions.
1063
- # Must be valid ISO 3166-1 alpha-2 codes.
882
+ # The request must originate from one of the provided countries/regions. Must be
883
+ # valid ISO 3166-1 alpha-2 codes.
1064
884
  # Corresponds to the JSON property `regions`
1065
885
  # @return [Array<String>]
1066
886
  attr_accessor :regions
1067
887
 
1068
888
  # A list of other access levels defined in the same `Policy`, referenced by
1069
- # resource name. Referencing an `AccessLevel` which does not exist is an
1070
- # error. All access levels listed must be granted for the Condition
1071
- # to be true. Example:
889
+ # resource name. Referencing an `AccessLevel` which does not exist is an error.
890
+ # All access levels listed must be granted for the Condition to be true. Example:
1072
891
  # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
1073
892
  # Corresponds to the JSON property `requiredAccessLevels`
1074
893
  # @return [Array<String>]
@@ -1090,33 +909,26 @@ module Google
1090
909
  end
1091
910
 
1092
911
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1093
- # to represent the necessary conditions for the level to apply to a request.
1094
- # See CEL spec at: https://github.com/google/cel-spec
912
+ # to represent the necessary conditions for the level to apply to a request. See
913
+ # CEL spec at: https://github.com/google/cel-spec
1095
914
  class GoogleIdentityAccesscontextmanagerV1CustomLevel
1096
915
  include Google::Apis::Core::Hashable
1097
916
 
1098
- # Represents a textual expression in the Common Expression Language (CEL)
1099
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1100
- # are documented at https://github.com/google/cel-spec.
1101
- # Example (Comparison):
1102
- # title: "Summary size limit"
1103
- # description: "Determines if a summary is less than 100 chars"
1104
- # expression: "document.summary.size() < 100"
1105
- # Example (Equality):
1106
- # title: "Requestor is owner"
1107
- # description: "Determines if requestor is the document owner"
1108
- # expression: "document.owner == request.auth.claims.email"
1109
- # Example (Logic):
1110
- # title: "Public documents"
1111
- # description: "Determine whether the document should be publicly visible"
1112
- # expression: "document.type != 'private' && document.type != 'internal'"
1113
- # Example (Data Manipulation):
1114
- # title: "Notification string"
1115
- # description: "Create a notification string with a timestamp."
1116
- # expression: "'New message received at ' + string(document.create_time)"
1117
- # The exact variables and functions that may be referenced within an expression
1118
- # are determined by the service that evaluates it. See the service
1119
- # documentation for additional information.
917
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
918
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
919
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
920
+ # "Summary size limit" description: "Determines if a summary is less than 100
921
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
922
+ # Requestor is owner" description: "Determines if requestor is the document
923
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
924
+ # Logic): title: "Public documents" description: "Determine whether the document
925
+ # should be publicly visible" expression: "document.type != 'private' &&
926
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
927
+ # string" description: "Create a notification string with a timestamp."
928
+ # expression: "'New message received at ' + string(document.create_time)" The
929
+ # exact variables and functions that may be referenced within an expression are
930
+ # determined by the service that evaluates it. See the service documentation for
931
+ # additional information.
1120
932
  # Corresponds to the JSON property `expr`
1121
933
  # @return [Google::Apis::CloudassetV1beta1::Expr]
1122
934
  attr_accessor :expr
@@ -1136,15 +948,13 @@ module Google
1136
948
  # devices to be granted access levels, it does not do any enforcement on the
1137
949
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1138
950
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1139
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1140
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1141
- # true for requests originating from encrypted Linux desktops and encrypted
1142
- # Windows desktops.
951
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
952
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
953
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1143
954
  class GoogleIdentityAccesscontextmanagerV1DevicePolicy
1144
955
  include Google::Apis::Core::Hashable
1145
956
 
1146
- # Allowed device management levels, an empty list allows all management
1147
- # levels.
957
+ # Allowed device management levels, an empty list allows all management levels.
1148
958
  # Corresponds to the JSON property `allowedDeviceManagementLevels`
1149
959
  # @return [Array<String>]
1150
960
  attr_accessor :allowed_device_management_levels
@@ -1197,9 +1007,9 @@ module Google
1197
1007
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1198
1008
  include Google::Apis::Core::Hashable
1199
1009
 
1200
- # The minimum allowed OS version. If not set, any version of this OS
1201
- # satisfies the constraint. Format: `"major.minor.patch"`.
1202
- # Examples: `"10.5.301"`, `"9.2.1"`.
1010
+ # The minimum allowed OS version. If not set, any version of this OS satisfies
1011
+ # the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
1012
+ # `.
1203
1013
  # Corresponds to the JSON property `minimumVersion`
1204
1014
  # @return [String]
1205
1015
  attr_accessor :minimum_version
@@ -1209,10 +1019,10 @@ module Google
1209
1019
  # @return [String]
1210
1020
  attr_accessor :os_type
1211
1021
 
1212
- # Only allows requests from devices with a verified Chrome OS.
1213
- # Verifications includes requirements that the device is enterprise-managed,
1214
- # conformant to domain policies, and the caller has permission to call
1215
- # the API targeted by the request.
1022
+ # Only allows requests from devices with a verified Chrome OS. Verifications
1023
+ # includes requirements that the device is enterprise-managed, conformant to
1024
+ # domain policies, and the caller has permission to call the API targeted by the
1025
+ # request.
1216
1026
  # Corresponds to the JSON property `requireVerifiedChromeOs`
1217
1027
  # @return [Boolean]
1218
1028
  attr_accessor :require_verified_chrome_os
@@ -1231,37 +1041,34 @@ module Google
1231
1041
  end
1232
1042
 
1233
1043
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1234
- # import and export data amongst themselves, but not export outside of the
1235
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1044
+ # import and export data amongst themselves, but not export outside of the `
1045
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1236
1046
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1237
1047
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1238
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1239
- # Google Cloud project can only belong to a single regular Service Perimeter.
1240
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
1241
- # a single Google Cloud project may belong to multiple Service Perimeter
1242
- # Bridges.
1048
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
1049
+ # Cloud project can only belong to a single regular Service Perimeter. Service
1050
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
1051
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
1243
1052
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1244
1053
  include Google::Apis::Core::Hashable
1245
1054
 
1246
- # Description of the `ServicePerimeter` and its use. Does not affect
1247
- # behavior.
1055
+ # Description of the `ServicePerimeter` and its use. Does not affect behavior.
1248
1056
  # Corresponds to the JSON property `description`
1249
1057
  # @return [String]
1250
1058
  attr_accessor :description
1251
1059
 
1252
- # Required. Resource name for the ServicePerimeter. The `short_name`
1253
- # component must begin with a letter and only include alphanumeric and '_'.
1254
- # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
1060
+ # Required. Resource name for the ServicePerimeter. The `short_name` component
1061
+ # must begin with a letter and only include alphanumeric and '_'. Format: `
1062
+ # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1255
1063
  # Corresponds to the JSON property `name`
1256
1064
  # @return [String]
1257
1065
  attr_accessor :name
1258
1066
 
1259
- # Perimeter type indicator. A single project is
1260
- # allowed to be a member of single regular perimeter, but multiple service
1261
- # perimeter bridges. A project cannot be a included in a perimeter bridge
1262
- # without being included in regular perimeter. For perimeter bridges,
1263
- # the restricted service list as well as access level lists must be
1264
- # empty.
1067
+ # Perimeter type indicator. A single project is allowed to be a member of single
1068
+ # regular perimeter, but multiple service perimeter bridges. A project cannot be
1069
+ # a included in a perimeter bridge without being included in regular perimeter.
1070
+ # For perimeter bridges, the restricted service list as well as access level
1071
+ # lists must be empty.
1265
1072
  # Corresponds to the JSON property `perimeterType`
1266
1073
  # @return [String]
1267
1074
  attr_accessor :perimeter_type
@@ -1283,16 +1090,15 @@ module Google
1283
1090
  # @return [String]
1284
1091
  attr_accessor :title
1285
1092
 
1286
- # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1287
- # exists for all Service Perimeters, and that spec is identical to the
1288
- # status for those Service Perimeters. When this flag is set, it inhibits the
1289
- # generation of the implicit spec, thereby allowing the user to explicitly
1290
- # provide a configuration ("spec") to use in a dry-run version of the Service
1291
- # Perimeter. This allows the user to test changes to the enforced config
1292
- # ("status") without actually enforcing them. This testing is done through
1293
- # analyzing the differences between currently enforced and suggested
1294
- # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1295
- # fields in the spec are set to non-default values.
1093
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
1094
+ # for all Service Perimeters, and that spec is identical to the status for those
1095
+ # Service Perimeters. When this flag is set, it inhibits the generation of the
1096
+ # implicit spec, thereby allowing the user to explicitly provide a configuration
1097
+ # ("spec") to use in a dry-run version of the Service Perimeter. This allows the
1098
+ # user to test changes to the enforced config ("status") without actually
1099
+ # enforcing them. This testing is done through analyzing the differences between
1100
+ # currently enforced and suggested restrictions. use_explicit_dry_run_spec must
1101
+ # bet set to True if any of the fields in the spec are set to non-default values.
1296
1102
  # Corresponds to the JSON property `useExplicitDryRunSpec`
1297
1103
  # @return [Boolean]
1298
1104
  attr_accessor :use_explicit_dry_run_spec
@@ -1319,14 +1125,13 @@ module Google
1319
1125
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1320
1126
  include Google::Apis::Core::Hashable
1321
1127
 
1322
- # A list of `AccessLevel` resource names that allow resources within the
1323
- # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1324
- # must be in the same policy as this `ServicePerimeter`. Referencing a
1325
- # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1326
- # listed, resources within the perimeter can only be accessed via Google
1327
- # Cloud calls with request origins within the perimeter. Example:
1328
- # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1329
- # For Service Perimeter Bridge, must be empty.
1128
+ # A list of `AccessLevel` resource names that allow resources within the `
1129
+ # ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
1130
+ # be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
1131
+ # AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
1132
+ # resources within the perimeter can only be accessed via Google Cloud calls
1133
+ # with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
1134
+ # accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
1330
1135
  # Corresponds to the JSON property `accessLevels`
1331
1136
  # @return [Array<String>]
1332
1137
  attr_accessor :access_levels
@@ -1337,16 +1142,14 @@ module Google
1337
1142
  # @return [Array<String>]
1338
1143
  attr_accessor :resources
1339
1144
 
1340
- # Google Cloud services that are subject to the Service Perimeter
1341
- # restrictions. For example, if `storage.googleapis.com` is specified, access
1342
- # to the storage buckets inside the perimeter must meet the perimeter's
1343
- # access restrictions.
1145
+ # Google Cloud services that are subject to the Service Perimeter restrictions.
1146
+ # For example, if `storage.googleapis.com` is specified, access to the storage
1147
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
1344
1148
  # Corresponds to the JSON property `restrictedServices`
1345
1149
  # @return [Array<String>]
1346
1150
  attr_accessor :restricted_services
1347
1151
 
1348
- # Specifies how APIs are allowed to communicate within the Service
1349
- # Perimeter.
1152
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1350
1153
  # Corresponds to the JSON property `vpcAccessibleServices`
1351
1154
  # @return [Google::Apis::CloudassetV1beta1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1352
1155
  attr_accessor :vpc_accessible_services
@@ -1364,19 +1167,20 @@ module Google
1364
1167
  end
1365
1168
  end
1366
1169
 
1367
- # Specifies how APIs are allowed to communicate within the Service
1368
- # Perimeter.
1170
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1369
1171
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1370
1172
  include Google::Apis::Core::Hashable
1371
1173
 
1372
- # The list of APIs usable within the Service Perimeter. Must be empty
1373
- # unless 'enable_restriction' is True.
1174
+ # The list of APIs usable within the Service Perimeter. Must be empty unless '
1175
+ # enable_restriction' is True. You can specify a list of individual services, as
1176
+ # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
1177
+ # all of the services protected by the perimeter.
1374
1178
  # Corresponds to the JSON property `allowedServices`
1375
1179
  # @return [Array<String>]
1376
1180
  attr_accessor :allowed_services
1377
1181
 
1378
- # Whether to restrict API calls within the Service Perimeter to the list of
1379
- # APIs specified in 'allowed_services'.
1182
+ # Whether to restrict API calls within the Service Perimeter to the list of APIs
1183
+ # specified in 'allowed_services'.
1380
1184
  # Corresponds to the JSON property `enableRestriction`
1381
1185
  # @return [Boolean]
1382
1186
  attr_accessor :enable_restriction
@@ -1398,47 +1202,45 @@ module Google
1398
1202
  class Operation
1399
1203
  include Google::Apis::Core::Hashable
1400
1204
 
1401
- # If the value is `false`, it means the operation is still in progress.
1402
- # If `true`, the operation is completed, and either `error` or `response` is
1403
- # available.
1205
+ # If the value is `false`, it means the operation is still in progress. If `true`
1206
+ # , the operation is completed, and either `error` or `response` is available.
1404
1207
  # Corresponds to the JSON property `done`
1405
1208
  # @return [Boolean]
1406
1209
  attr_accessor :done
1407
1210
  alias_method :done?, :done
1408
1211
 
1409
- # The `Status` type defines a logical error model that is suitable for
1410
- # different programming environments, including REST APIs and RPC APIs. It is
1411
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1412
- # three pieces of data: error code, error message, and error details.
1413
- # You can find out more about this error model and how to work with it in the
1414
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1212
+ # The `Status` type defines a logical error model that is suitable for different
1213
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1214
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1215
+ # data: error code, error message, and error details. You can find out more
1216
+ # about this error model and how to work with it in the [API Design Guide](https:
1217
+ # //cloud.google.com/apis/design/errors).
1415
1218
  # Corresponds to the JSON property `error`
1416
1219
  # @return [Google::Apis::CloudassetV1beta1::Status]
1417
1220
  attr_accessor :error
1418
1221
 
1419
- # Service-specific metadata associated with the operation. It typically
1420
- # contains progress information and common metadata such as create time.
1421
- # Some services might not provide such metadata. Any method that returns a
1422
- # long-running operation should document the metadata type, if any.
1222
+ # Service-specific metadata associated with the operation. It typically contains
1223
+ # progress information and common metadata such as create time. Some services
1224
+ # might not provide such metadata. Any method that returns a long-running
1225
+ # operation should document the metadata type, if any.
1423
1226
  # Corresponds to the JSON property `metadata`
1424
1227
  # @return [Hash<String,Object>]
1425
1228
  attr_accessor :metadata
1426
1229
 
1427
1230
  # The server-assigned name, which is only unique within the same service that
1428
- # originally returns it. If you use the default HTTP mapping, the
1429
- # `name` should be a resource name ending with `operations/`unique_id``.
1231
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1232
+ # be a resource name ending with `operations/`unique_id``.
1430
1233
  # Corresponds to the JSON property `name`
1431
1234
  # @return [String]
1432
1235
  attr_accessor :name
1433
1236
 
1434
- # The normal response of the operation in case of success. If the original
1435
- # method returns no data on success, such as `Delete`, the response is
1436
- # `google.protobuf.Empty`. If the original method is standard
1437
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1438
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1439
- # is the original method name. For example, if the original method name
1440
- # is `TakeSnapshot()`, the inferred response type is
1441
- # `TakeSnapshotResponse`.
1237
+ # The normal response of the operation in case of success. If the original
1238
+ # method returns no data on success, such as `Delete`, the response is `google.
1239
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1240
+ # the response should be the resource. For other methods, the response should
1241
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1242
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1243
+ # response type is `TakeSnapshotResponse`.
1442
1244
  # Corresponds to the JSON property `response`
1443
1245
  # @return [Hash<String,Object>]
1444
1246
  attr_accessor :response
@@ -1477,66 +1279,32 @@ module Google
1477
1279
  end
1478
1280
 
1479
1281
  # An Identity and Access Management (IAM) policy, which specifies access
1480
- # controls for Google Cloud resources.
1481
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1482
- # `members` to a single `role`. Members can be user accounts, service accounts,
1483
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1484
- # permissions; each `role` can be an IAM predefined role or a user-created
1485
- # custom role.
1486
- # For some types of Google Cloud resources, a `binding` can also specify a
1487
- # `condition`, which is a logical expression that allows access to a resource
1488
- # only if the expression evaluates to `true`. A condition can add constraints
1489
- # based on attributes of the request, the resource, or both. To learn which
1490
- # resources support conditions in their IAM policies, see the
1491
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1492
- # policies).
1493
- # **JSON example:**
1494
- # `
1495
- # "bindings": [
1496
- # `
1497
- # "role": "roles/resourcemanager.organizationAdmin",
1498
- # "members": [
1499
- # "user:mike@example.com",
1500
- # "group:admins@example.com",
1501
- # "domain:google.com",
1502
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1503
- # ]
1504
- # `,
1505
- # `
1506
- # "role": "roles/resourcemanager.organizationViewer",
1507
- # "members": [
1508
- # "user:eve@example.com"
1509
- # ],
1510
- # "condition": `
1511
- # "title": "expirable access",
1512
- # "description": "Does not grant access after Sep 2020",
1513
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1514
- # ",
1515
- # `
1516
- # `
1517
- # ],
1518
- # "etag": "BwWWja0YfJA=",
1519
- # "version": 3
1520
- # `
1521
- # **YAML example:**
1522
- # bindings:
1523
- # - members:
1524
- # - user:mike@example.com
1525
- # - group:admins@example.com
1526
- # - domain:google.com
1527
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1528
- # role: roles/resourcemanager.organizationAdmin
1529
- # - members:
1530
- # - user:eve@example.com
1531
- # role: roles/resourcemanager.organizationViewer
1532
- # condition:
1533
- # title: expirable access
1534
- # description: Does not grant access after Sep 2020
1535
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1536
- # - etag: BwWWja0YfJA=
1537
- # - version: 3
1538
- # For a description of IAM and its features, see the
1539
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1282
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1283
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1284
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1285
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1286
+ # role or a user-created custom role. For some types of Google Cloud resources,
1287
+ # a `binding` can also specify a `condition`, which is a logical expression that
1288
+ # allows access to a resource only if the expression evaluates to `true`. A
1289
+ # condition can add constraints based on attributes of the request, the resource,
1290
+ # or both. To learn which resources support conditions in their IAM policies,
1291
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1292
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1293
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1294
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1295
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1296
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1297
+ # title": "expirable access", "description": "Does not grant access after Sep
1298
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1299
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1300
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1301
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1302
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1303
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1304
+ # description: Does not grant access after Sep 2020 expression: request.time <
1305
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1306
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1307
+ # google.com/iam/docs/).
1540
1308
  class Policy
1541
1309
  include Google::Apis::Core::Hashable
1542
1310
 
@@ -1545,48 +1313,44 @@ module Google
1545
1313
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
1546
1314
  attr_accessor :audit_configs
1547
1315
 
1548
- # Associates a list of `members` to a `role`. Optionally, may specify a
1549
- # `condition` that determines how and when the `bindings` are applied. Each
1550
- # of the `bindings` must contain at least one member.
1316
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1317
+ # condition` that determines how and when the `bindings` are applied. Each of
1318
+ # the `bindings` must contain at least one member.
1551
1319
  # Corresponds to the JSON property `bindings`
1552
1320
  # @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
1553
1321
  attr_accessor :bindings
1554
1322
 
1555
- # `etag` is used for optimistic concurrency control as a way to help
1556
- # prevent simultaneous updates of a policy from overwriting each other.
1557
- # It is strongly suggested that systems make use of the `etag` in the
1558
- # read-modify-write cycle to perform policy updates in order to avoid race
1559
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1560
- # systems are expected to put that etag in the request to `setIamPolicy` to
1561
- # ensure that their change will be applied to the same version of the policy.
1562
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1563
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1564
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1565
- # the conditions in the version `3` policy are lost.
1323
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1324
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1325
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1326
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1327
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1328
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1329
+ # applied to the same version of the policy. **Important:** If you use IAM
1330
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1331
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1332
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1333
+ # are lost.
1566
1334
  # Corresponds to the JSON property `etag`
1567
1335
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1568
1336
  # @return [String]
1569
1337
  attr_accessor :etag
1570
1338
 
1571
- # Specifies the format of the policy.
1572
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1573
- # are rejected.
1574
- # Any operation that affects conditional role bindings must specify version
1575
- # `3`. This requirement applies to the following operations:
1576
- # * Getting a policy that includes a conditional role binding
1577
- # * Adding a conditional role binding to a policy
1578
- # * Changing a conditional role binding in a policy
1579
- # * Removing any role binding, with or without a condition, from a policy
1580
- # that includes conditions
1581
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1582
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1583
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1584
- # the conditions in the version `3` policy are lost.
1585
- # If a policy does not include any conditions, operations on that policy may
1586
- # specify any valid version or leave the field unset.
1587
- # To learn which resources support conditions in their IAM policies, see the
1588
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1589
- # policies).
1339
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1340
+ # Requests that specify an invalid value are rejected. Any operation that
1341
+ # affects conditional role bindings must specify version `3`. This requirement
1342
+ # applies to the following operations: * Getting a policy that includes a
1343
+ # conditional role binding * Adding a conditional role binding to a policy *
1344
+ # Changing a conditional role binding in a policy * Removing any role binding,
1345
+ # with or without a condition, from a policy that includes conditions **
1346
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1347
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1348
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1349
+ # conditions in the version `3` policy are lost. If a policy does not include
1350
+ # any conditions, operations on that policy may specify any valid version or
1351
+ # leave the field unset. To learn which resources support conditions in their
1352
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1353
+ # conditions/resource-policies).
1590
1354
  # Corresponds to the JSON property `version`
1591
1355
  # @return [Fixnum]
1592
1356
  attr_accessor :version
@@ -1608,47 +1372,42 @@ module Google
1608
1372
  class Resource
1609
1373
  include Google::Apis::Core::Hashable
1610
1374
 
1611
- # The content of the resource, in which some sensitive fields are removed
1612
- # and may not be present.
1375
+ # The content of the resource, in which some sensitive fields are removed and
1376
+ # may not be present.
1613
1377
  # Corresponds to the JSON property `data`
1614
1378
  # @return [Hash<String,Object>]
1615
1379
  attr_accessor :data
1616
1380
 
1617
1381
  # The URL of the discovery document containing the resource's JSON schema.
1618
- # Example:
1619
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
1620
- # This value is unspecified for resources that do not have an API based on a
1382
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
1383
+ # value is unspecified for resources that do not have an API based on a
1621
1384
  # discovery document, such as Cloud Bigtable.
1622
1385
  # Corresponds to the JSON property `discoveryDocumentUri`
1623
1386
  # @return [String]
1624
1387
  attr_accessor :discovery_document_uri
1625
1388
 
1626
- # The JSON schema name listed in the discovery document. Example:
1627
- # `Project`
1628
- # This value is unspecified for resources that do not have an API based on a
1389
+ # The JSON schema name listed in the discovery document. Example: `Project` This
1390
+ # value is unspecified for resources that do not have an API based on a
1629
1391
  # discovery document, such as Cloud Bigtable.
1630
1392
  # Corresponds to the JSON property `discoveryName`
1631
1393
  # @return [String]
1632
1394
  attr_accessor :discovery_name
1633
1395
 
1634
- # The full name of the immediate parent of this resource. See
1635
- # [Resource
1636
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
1637
- # for more information.
1638
- # For Google Cloud assets, this value is the parent resource defined in the
1639
- # [Cloud IAM policy
1640
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
1641
- # Example:
1642
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
1643
- # For third-party assets, this field may be set differently.
1396
+ # The full name of the immediate parent of this resource. See [Resource Names](
1397
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
1398
+ # more information. For Google Cloud assets, this value is the parent resource
1399
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
1400
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
1401
+ # projects/my_project_123` For third-party assets, this field may be set
1402
+ # differently.
1644
1403
  # Corresponds to the JSON property `parent`
1645
1404
  # @return [String]
1646
1405
  attr_accessor :parent
1647
1406
 
1648
- # The REST URL for accessing the resource. An HTTP `GET` request using this
1649
- # URL returns the resource itself. Example:
1650
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
1651
- # This value is unspecified for resources without a REST API.
1407
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
1408
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
1409
+ # com/v1/projects/my-project-123` This value is unspecified for resources
1410
+ # without a REST API.
1652
1411
  # Corresponds to the JSON property `resourceUrl`
1653
1412
  # @return [String]
1654
1413
  attr_accessor :resource_url
@@ -1673,12 +1432,12 @@ module Google
1673
1432
  end
1674
1433
  end
1675
1434
 
1676
- # The `Status` type defines a logical error model that is suitable for
1677
- # different programming environments, including REST APIs and RPC APIs. It is
1678
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1679
- # three pieces of data: error code, error message, and error details.
1680
- # You can find out more about this error model and how to work with it in the
1681
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1435
+ # The `Status` type defines a logical error model that is suitable for different
1436
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1437
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1438
+ # data: error code, error message, and error details. You can find out more
1439
+ # about this error model and how to work with it in the [API Design Guide](https:
1440
+ # //cloud.google.com/apis/design/errors).
1682
1441
  class Status
1683
1442
  include Google::Apis::Core::Hashable
1684
1443
 
@@ -1687,15 +1446,15 @@ module Google
1687
1446
  # @return [Fixnum]
1688
1447
  attr_accessor :code
1689
1448
 
1690
- # A list of messages that carry the error details. There is a common set of
1449
+ # A list of messages that carry the error details. There is a common set of
1691
1450
  # message types for APIs to use.
1692
1451
  # Corresponds to the JSON property `details`
1693
1452
  # @return [Array<Hash<String,Object>>]
1694
1453
  attr_accessor :details
1695
1454
 
1696
- # A developer-facing error message, which should be in English. Any
1697
- # user-facing error message should be localized and sent in the
1698
- # google.rpc.Status.details field, or localized by the client.
1455
+ # A developer-facing error message, which should be in English. Any user-facing
1456
+ # error message should be localized and sent in the google.rpc.Status.details
1457
+ # field, or localized by the client.
1699
1458
  # Corresponds to the JSON property `message`
1700
1459
  # @return [String]
1701
1460
  attr_accessor :message
@@ -1717,15 +1476,12 @@ module Google
1717
1476
  class TemporalAsset
1718
1477
  include Google::Apis::Core::Hashable
1719
1478
 
1720
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
1721
- # [resource
1722
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
1723
- # resource-hierarchy),
1724
- # a resource outside the Google Cloud resource hierarchy (such as Google
1725
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
1726
- # See [Supported asset
1727
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
1728
- # for more information.
1479
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
1480
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
1481
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
1482
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
1483
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
1484
+ # asset-inventory/docs/supported-asset-types) for more information.
1729
1485
  # Corresponds to the JSON property `asset`
1730
1486
  # @return [Google::Apis::CloudassetV1beta1::Asset]
1731
1487
  attr_accessor :asset