google-api-client 0.43.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (863) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +462 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
  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 +17 -6
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  23. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  26. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  27. data/generated/google/apis/admin_directory_v1.rb +6 -8
  28. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  29. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  30. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  31. data/generated/google/apis/admin_reports_v1.rb +6 -5
  32. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  33. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  34. data/generated/google/apis/admob_v1.rb +4 -1
  35. data/generated/google/apis/admob_v1/classes.rb +2 -2
  36. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  37. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  40. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  41. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  43. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  44. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  45. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  48. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  49. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  50. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  51. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  53. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  54. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  55. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  56. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  57. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  58. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  59. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  60. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  61. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  62. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  63. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  64. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  65. data/generated/google/apis/apigee_v1.rb +6 -7
  66. data/generated/google/apis/apigee_v1/classes.rb +432 -82
  67. data/generated/google/apis/apigee_v1/representations.rb +139 -1
  68. data/generated/google/apis/apigee_v1/service.rb +158 -41
  69. data/generated/google/apis/appengine_v1.rb +1 -1
  70. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  71. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  72. data/generated/google/apis/appengine_v1/service.rb +38 -47
  73. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  74. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  75. data/generated/google/apis/appengine_v1beta.rb +1 -1
  76. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  77. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  78. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  79. data/generated/google/apis/appsmarket_v2.rb +1 -1
  80. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  81. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  82. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  83. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  84. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  85. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  86. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  87. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  88. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +403 -553
  91. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  119. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  128. data/generated/google/apis/calendar_v3.rb +1 -1
  129. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  130. data/generated/google/apis/chat_v1.rb +1 -1
  131. data/generated/google/apis/chat_v1/classes.rb +165 -116
  132. data/generated/google/apis/chat_v1/representations.rb +35 -0
  133. data/generated/google/apis/chat_v1/service.rb +30 -42
  134. data/generated/google/apis/civicinfo_v2.rb +1 -1
  135. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  136. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  137. data/generated/google/apis/classroom_v1.rb +7 -1
  138. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  139. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  140. data/generated/google/apis/classroom_v1/service.rb +240 -0
  141. data/generated/google/apis/cloudasset_v1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
  143. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  144. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  145. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  147. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  148. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  149. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  150. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  151. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  152. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  153. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  154. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  156. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  157. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  158. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  159. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  160. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  161. data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
  162. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  163. data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
  164. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  165. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  166. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  167. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  168. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  169. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  170. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  171. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  172. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  173. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  174. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  175. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  176. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  177. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  178. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  179. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  180. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  181. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  182. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  183. data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
  184. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  185. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  186. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  187. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
  188. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  189. data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
  190. data/generated/google/apis/cloudiot_v1.rb +1 -1
  191. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  192. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  193. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  194. data/generated/google/apis/cloudkms_v1.rb +1 -1
  195. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  196. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  197. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  198. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  199. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  200. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  201. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  203. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  204. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  205. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  206. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  207. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  209. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  210. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  211. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  212. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  213. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  214. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  215. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  216. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  217. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  218. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  220. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  221. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  222. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  223. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  224. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  225. data/generated/google/apis/cloudshell_v1.rb +1 -1
  226. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  227. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  228. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  229. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  230. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  231. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  232. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  234. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  235. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  236. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  237. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  238. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  239. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  240. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  241. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  242. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  243. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  244. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  246. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  247. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  248. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  249. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  250. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  251. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  252. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  253. data/generated/google/apis/composer_v1.rb +1 -1
  254. data/generated/google/apis/composer_v1/classes.rb +190 -242
  255. data/generated/google/apis/composer_v1/service.rb +79 -150
  256. data/generated/google/apis/composer_v1beta1.rb +1 -1
  257. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  258. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  259. data/generated/google/apis/compute_alpha.rb +1 -1
  260. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  261. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  262. data/generated/google/apis/compute_alpha/service.rb +695 -692
  263. data/generated/google/apis/compute_beta.rb +1 -1
  264. data/generated/google/apis/compute_beta/classes.rb +570 -70
  265. data/generated/google/apis/compute_beta/representations.rb +112 -1
  266. data/generated/google/apis/compute_beta/service.rb +608 -605
  267. data/generated/google/apis/compute_v1.rb +1 -1
  268. data/generated/google/apis/compute_v1/classes.rb +977 -85
  269. data/generated/google/apis/compute_v1/representations.rb +372 -0
  270. data/generated/google/apis/compute_v1/service.rb +747 -15
  271. data/generated/google/apis/container_v1.rb +1 -1
  272. data/generated/google/apis/container_v1/classes.rb +970 -965
  273. data/generated/google/apis/container_v1/representations.rb +60 -0
  274. data/generated/google/apis/container_v1/service.rb +435 -502
  275. data/generated/google/apis/container_v1beta1.rb +1 -1
  276. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  277. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  278. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  279. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  280. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  281. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  282. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  283. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  284. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  285. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  286. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  287. data/generated/google/apis/content_v2.rb +1 -1
  288. data/generated/google/apis/content_v2/classes.rb +5 -2
  289. data/generated/google/apis/content_v2_1.rb +1 -1
  290. data/generated/google/apis/content_v2_1/classes.rb +107 -5
  291. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  292. data/generated/google/apis/content_v2_1/service.rb +54 -3
  293. data/generated/google/apis/customsearch_v1.rb +1 -1
  294. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  295. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  296. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
  297. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  298. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  299. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  300. data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
  301. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  302. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  303. data/generated/google/apis/datafusion_v1.rb +5 -8
  304. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  305. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  306. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  307. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  308. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  309. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  310. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  311. data/generated/google/apis/dataproc_v1.rb +1 -1
  312. data/generated/google/apis/dataproc_v1/classes.rb +60 -14
  313. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  314. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  315. data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
  316. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  317. data/generated/google/apis/datastore_v1.rb +1 -1
  318. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  319. data/generated/google/apis/datastore_v1/service.rb +52 -63
  320. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  321. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  322. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  323. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  324. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  325. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  326. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  327. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
  335. data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
  336. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  337. data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
  338. data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
  339. data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
  340. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  341. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
  342. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
  343. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  344. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  345. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  346. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  347. data/generated/google/apis/displayvideo_v1.rb +1 -1
  348. data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
  349. data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
  350. data/generated/google/apis/displayvideo_v1/service.rb +47 -35
  351. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  352. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  353. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  354. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  355. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  356. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  357. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  358. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  359. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  360. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  361. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  362. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  363. data/generated/google/apis/dlp_v2.rb +1 -1
  364. data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
  365. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  366. data/generated/google/apis/dlp_v2/service.rb +962 -905
  367. data/generated/google/apis/dns_v1.rb +1 -1
  368. data/generated/google/apis/dns_v1/classes.rb +175 -198
  369. data/generated/google/apis/dns_v1/service.rb +82 -97
  370. data/generated/google/apis/dns_v1beta2.rb +1 -1
  371. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  372. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  373. data/generated/google/apis/docs_v1.rb +1 -1
  374. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  375. data/generated/google/apis/docs_v1/service.rb +17 -22
  376. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  377. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  378. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  379. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  380. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  381. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
  382. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  383. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  384. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
  385. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  386. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  387. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  388. data/generated/google/apis/drive_v2.rb +1 -1
  389. data/generated/google/apis/drive_v2/classes.rb +14 -6
  390. data/generated/google/apis/drive_v2/representations.rb +1 -0
  391. data/generated/google/apis/drive_v2/service.rb +79 -15
  392. data/generated/google/apis/drive_v3.rb +1 -1
  393. data/generated/google/apis/drive_v3/classes.rb +14 -6
  394. data/generated/google/apis/drive_v3/representations.rb +1 -0
  395. data/generated/google/apis/drive_v3/service.rb +59 -11
  396. data/generated/google/apis/file_v1.rb +1 -1
  397. data/generated/google/apis/file_v1/classes.rb +154 -173
  398. data/generated/google/apis/file_v1/service.rb +43 -52
  399. data/generated/google/apis/file_v1beta1.rb +1 -1
  400. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  401. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  402. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  403. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  404. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  405. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  406. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  407. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  409. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  411. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  412. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  413. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  414. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  415. data/generated/google/apis/firebaserules_v1.rb +1 -1
  416. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  417. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  418. data/generated/google/apis/firestore_v1.rb +1 -1
  419. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  420. data/generated/google/apis/firestore_v1/service.rb +165 -201
  421. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  422. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  423. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  424. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  426. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  427. data/generated/google/apis/fitness_v1.rb +85 -0
  428. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  429. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  430. data/generated/google/apis/fitness_v1/service.rb +626 -0
  431. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  432. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  433. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  434. data/generated/google/apis/games_management_v1management.rb +2 -3
  435. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  436. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  437. data/generated/google/apis/games_v1.rb +2 -3
  438. data/generated/google/apis/games_v1/classes.rb +76 -83
  439. data/generated/google/apis/games_v1/representations.rb +2 -0
  440. data/generated/google/apis/games_v1/service.rb +84 -90
  441. data/generated/google/apis/gameservices_v1.rb +1 -1
  442. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  443. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  444. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  445. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  446. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  447. data/generated/google/apis/genomics_v1.rb +1 -1
  448. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  449. data/generated/google/apis/genomics_v1/service.rb +28 -43
  450. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  451. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  452. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  453. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  454. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  455. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  456. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  457. data/generated/google/apis/gmail_v1.rb +1 -1
  458. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  459. data/generated/google/apis/gmail_v1/service.rb +5 -4
  460. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  461. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  462. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  463. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  464. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  465. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  466. data/generated/google/apis/healthcare_v1.rb +1 -1
  467. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  468. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  469. data/generated/google/apis/healthcare_v1/service.rb +840 -854
  470. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
  472. data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
  473. data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
  474. data/generated/google/apis/homegraph_v1.rb +4 -1
  475. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  476. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  477. data/generated/google/apis/iam_v1.rb +5 -2
  478. data/generated/google/apis/iam_v1/classes.rb +395 -592
  479. data/generated/google/apis/iam_v1/representations.rb +1 -0
  480. data/generated/google/apis/iam_v1/service.rb +431 -556
  481. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  482. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  483. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  484. data/generated/google/apis/iap_v1.rb +1 -1
  485. data/generated/google/apis/iap_v1/classes.rb +253 -355
  486. data/generated/google/apis/iap_v1/representations.rb +1 -0
  487. data/generated/google/apis/iap_v1/service.rb +61 -71
  488. data/generated/google/apis/iap_v1beta1.rb +1 -1
  489. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  490. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  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/jobs_v2.rb +1 -1
  495. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  496. data/generated/google/apis/jobs_v2/service.rb +85 -126
  497. data/generated/google/apis/jobs_v3.rb +1 -1
  498. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  499. data/generated/google/apis/jobs_v3/service.rb +101 -139
  500. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  501. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  502. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  503. data/generated/google/apis/kgsearch_v1.rb +1 -1
  504. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  505. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  506. data/generated/google/apis/licensing_v1.rb +4 -3
  507. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  508. data/generated/google/apis/licensing_v1/service.rb +55 -85
  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 +230 -227
  518. data/generated/google/apis/logging_v2/representations.rb +47 -0
  519. data/generated/google/apis/logging_v2/service.rb +2056 -673
  520. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  522. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  523. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  525. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  526. data/generated/google/apis/manufacturers_v1.rb +1 -1
  527. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  528. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  529. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  530. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  531. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  532. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  533. data/generated/google/apis/ml_v1.rb +1 -1
  534. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  535. data/generated/google/apis/ml_v1/representations.rb +65 -0
  536. data/generated/google/apis/ml_v1/service.rb +194 -253
  537. data/generated/google/apis/monitoring_v1.rb +1 -1
  538. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  539. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  540. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  541. data/generated/google/apis/monitoring_v3.rb +1 -1
  542. data/generated/google/apis/monitoring_v3/classes.rb +232 -328
  543. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  544. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  545. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  546. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  547. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  548. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  549. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  550. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  551. data/generated/google/apis/osconfig_v1.rb +1 -1
  552. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  553. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  554. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  555. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  556. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  557. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  558. data/generated/google/apis/oslogin_v1.rb +1 -1
  559. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  560. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  561. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  562. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  563. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  564. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  565. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  566. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  567. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  568. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  569. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  570. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  571. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  572. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  573. data/generated/google/apis/people_v1.rb +1 -1
  574. data/generated/google/apis/people_v1/classes.rb +121 -12
  575. data/generated/google/apis/people_v1/representations.rb +41 -0
  576. data/generated/google/apis/people_v1/service.rb +47 -45
  577. data/generated/google/apis/playablelocations_v3.rb +1 -1
  578. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  579. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  580. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  581. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  582. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  583. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  584. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  585. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  586. data/generated/google/apis/pubsub_v1.rb +1 -1
  587. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  588. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  589. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  590. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  591. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  592. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  593. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  594. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  595. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  596. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  597. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  598. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  599. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  600. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
  601. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  602. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  603. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  604. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  605. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  606. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  607. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  608. data/generated/google/apis/redis_v1.rb +1 -1
  609. data/generated/google/apis/redis_v1/classes.rb +91 -513
  610. data/generated/google/apis/redis_v1/representations.rb +0 -139
  611. data/generated/google/apis/redis_v1/service.rb +93 -110
  612. data/generated/google/apis/redis_v1beta1.rb +1 -1
  613. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  614. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  615. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  616. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  617. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  618. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  619. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  620. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  621. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  622. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  623. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  624. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  625. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  626. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  627. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  628. data/generated/google/apis/reseller_v1.rb +2 -2
  629. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  630. data/generated/google/apis/reseller_v1/service.rb +122 -173
  631. data/generated/google/apis/run_v1.rb +1 -1
  632. data/generated/google/apis/run_v1/classes.rb +12 -135
  633. data/generated/google/apis/run_v1/representations.rb +1 -62
  634. data/generated/google/apis/run_v1/service.rb +0 -342
  635. data/generated/google/apis/run_v1alpha1.rb +1 -1
  636. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  637. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  638. data/generated/google/apis/run_v1beta1.rb +1 -1
  639. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  640. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  641. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  642. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  643. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  644. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  645. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  646. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  647. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  648. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  649. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  650. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  651. data/generated/google/apis/script_v1.rb +1 -1
  652. data/generated/google/apis/script_v1/classes.rb +88 -111
  653. data/generated/google/apis/script_v1/service.rb +63 -69
  654. data/generated/google/apis/searchconsole_v1.rb +7 -1
  655. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  656. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  657. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  658. data/generated/google/apis/secretmanager_v1.rb +1 -1
  659. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  660. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  661. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  662. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  663. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  664. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  665. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  666. data/generated/google/apis/securitycenter_v1.rb +1 -1
  667. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  668. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  669. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  670. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  671. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  672. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  673. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  674. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  675. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  676. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  677. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
  678. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  679. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  680. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  681. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  682. data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
  683. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  684. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  685. data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
  686. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  687. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  688. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  689. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  691. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  692. data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
  693. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  694. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  695. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  696. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
  697. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  698. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  699. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  700. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  701. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  702. data/generated/google/apis/serviceusage_v1.rb +1 -1
  703. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  704. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  705. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  706. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  707. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  708. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  709. data/generated/google/apis/sheets_v4.rb +1 -1
  710. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  711. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  712. data/generated/google/apis/sheets_v4/service.rb +113 -149
  713. data/generated/google/apis/site_verification_v1.rb +1 -1
  714. data/generated/google/apis/slides_v1.rb +1 -1
  715. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  716. data/generated/google/apis/slides_v1/service.rb +23 -30
  717. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  718. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  719. data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
  720. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  721. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  722. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  723. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  724. data/generated/google/apis/spanner_v1.rb +1 -1
  725. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  726. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  727. data/generated/google/apis/spanner_v1/service.rb +443 -618
  728. data/generated/google/apis/speech_v1.rb +1 -1
  729. data/generated/google/apis/speech_v1/classes.rb +174 -220
  730. data/generated/google/apis/speech_v1/service.rb +27 -32
  731. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  732. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  733. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  734. data/generated/google/apis/speech_v2beta1.rb +1 -1
  735. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  736. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  737. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  738. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
  739. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
  740. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  741. data/generated/google/apis/storage_v1.rb +1 -1
  742. data/generated/google/apis/storage_v1/classes.rb +8 -7
  743. data/generated/google/apis/storage_v1/representations.rb +2 -2
  744. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  745. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  746. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  747. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  748. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  749. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  750. data/generated/google/apis/sts_v1.rb +32 -0
  751. data/generated/google/apis/sts_v1/classes.rb +120 -0
  752. data/generated/google/apis/sts_v1/representations.rb +59 -0
  753. data/generated/google/apis/sts_v1/service.rb +90 -0
  754. data/generated/google/apis/sts_v1beta.rb +32 -0
  755. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  756. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  757. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  758. data/generated/google/apis/tagmanager_v1.rb +1 -1
  759. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  760. data/generated/google/apis/tagmanager_v2.rb +1 -1
  761. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  762. data/generated/google/apis/tasks_v1.rb +1 -1
  763. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  764. data/generated/google/apis/tasks_v1/service.rb +19 -19
  765. data/generated/google/apis/testing_v1.rb +1 -1
  766. data/generated/google/apis/testing_v1/classes.rb +317 -382
  767. data/generated/google/apis/testing_v1/representations.rb +2 -0
  768. data/generated/google/apis/testing_v1/service.rb +22 -28
  769. data/generated/google/apis/texttospeech_v1.rb +1 -1
  770. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  771. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  772. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  773. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  774. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  775. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  776. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  777. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  778. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  779. data/generated/google/apis/tpu_v1.rb +1 -1
  780. data/generated/google/apis/tpu_v1/classes.rb +54 -0
  781. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  782. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  783. data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
  784. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  785. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  786. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  787. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  788. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  789. data/generated/google/apis/translate_v3.rb +1 -1
  790. data/generated/google/apis/translate_v3/classes.rb +148 -175
  791. data/generated/google/apis/translate_v3/service.rb +122 -151
  792. data/generated/google/apis/translate_v3beta1.rb +1 -1
  793. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  794. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  795. data/generated/google/apis/vault_v1.rb +1 -1
  796. data/generated/google/apis/vault_v1/classes.rb +80 -103
  797. data/generated/google/apis/vault_v1/service.rb +31 -37
  798. data/generated/google/apis/vectortile_v1.rb +1 -1
  799. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  800. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  801. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  802. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  803. data/generated/google/apis/videointelligence_v1.rb +1 -1
  804. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  805. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  806. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  807. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  808. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  809. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  810. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  811. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  812. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  814. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  815. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  817. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  818. data/generated/google/apis/vision_v1.rb +1 -1
  819. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  820. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  821. data/generated/google/apis/webfonts_v1.rb +2 -3
  822. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  823. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  824. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  825. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  826. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  827. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  828. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  829. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  830. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  831. data/generated/google/apis/workflows_v1beta.rb +34 -0
  832. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  833. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  834. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  835. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  836. data/generated/google/apis/youtube_v3.rb +1 -1
  837. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  838. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  839. data/generated/google/apis/youtube_v3/service.rb +0 -117
  840. data/google-api-client.gemspec +2 -1
  841. data/lib/google/apis/version.rb +1 -1
  842. metadata +106 -40
  843. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  844. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  845. data/generated/google/apis/dns_v2beta1.rb +0 -43
  846. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  847. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  848. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  849. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  850. data/generated/google/apis/oauth2_v2.rb +0 -40
  851. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  852. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  853. data/generated/google/apis/plus_v1.rb +0 -43
  854. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  855. data/generated/google/apis/plus_v1/representations.rb +0 -907
  856. data/generated/google/apis/plus_v1/service.rb +0 -451
  857. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  858. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  859. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  860. data/generated/google/apis/storage_v1beta2.rb +0 -40
  861. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  862. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  863. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -1335,6 +1335,246 @@ module Google
1335
1335
  execute_or_queue_command(command, &block)
1336
1336
  end
1337
1337
 
1338
+ # Creates a course work material. This method returns the following error codes:
1339
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1340
+ # requested course, create course work material in the requested course, share a
1341
+ # Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is
1342
+ # malformed or if more than 20 * materials are provided. * `NOT_FOUND` if the
1343
+ # requested course does not exist. * `FAILED_PRECONDITION` for the following
1344
+ # request error: * AttachmentNotVisible
1345
+ # @param [String] course_id
1346
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1347
+ # identifier or an alias.
1348
+ # @param [Google::Apis::ClassroomV1::CourseWorkMaterial] course_work_material_object
1349
+ # @param [String] fields
1350
+ # Selector specifying which fields to include in a partial response.
1351
+ # @param [String] quota_user
1352
+ # Available to use for quota purposes for server-side applications. Can be any
1353
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1354
+ # @param [Google::Apis::RequestOptions] options
1355
+ # Request-specific options
1356
+ #
1357
+ # @yield [result, err] Result & error if block supplied
1358
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1359
+ # @yieldparam err [StandardError] error object if request failed
1360
+ #
1361
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1362
+ #
1363
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1364
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1365
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1366
+ def create_course_course_work_material(course_id, course_work_material_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1367
+ command = make_simple_command(:post, 'v1/courses/{courseId}/courseWorkMaterials', options)
1368
+ command.request_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1369
+ command.request_object = course_work_material_object
1370
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1371
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1372
+ command.params['courseId'] = course_id unless course_id.nil?
1373
+ command.query['fields'] = fields unless fields.nil?
1374
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1375
+ execute_or_queue_command(command, &block)
1376
+ end
1377
+
1378
+ # Deletes a course work material. This request must be made by the Developer
1379
+ # Console project of the [OAuth client ID](https://support.google.com/cloud/
1380
+ # answer/6158849) used to create the corresponding course work material item.
1381
+ # This method returns the following error codes: * `PERMISSION_DENIED` if the
1382
+ # requesting developer project did not create the corresponding course work
1383
+ # material, if the requesting user is not permitted to delete the requested
1384
+ # course or for access errors. * `FAILED_PRECONDITION` if the requested course
1385
+ # work material has already been deleted. * `NOT_FOUND` if no course exists with
1386
+ # the requested ID.
1387
+ # @param [String] course_id
1388
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1389
+ # identifier or an alias.
1390
+ # @param [String] id
1391
+ # Identifier of the course work material to delete. This identifier is a
1392
+ # Classroom-assigned identifier.
1393
+ # @param [String] fields
1394
+ # Selector specifying which fields to include in a partial response.
1395
+ # @param [String] quota_user
1396
+ # Available to use for quota purposes for server-side applications. Can be any
1397
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1398
+ # @param [Google::Apis::RequestOptions] options
1399
+ # Request-specific options
1400
+ #
1401
+ # @yield [result, err] Result & error if block supplied
1402
+ # @yieldparam result [Google::Apis::ClassroomV1::Empty] parsed result object
1403
+ # @yieldparam err [StandardError] error object if request failed
1404
+ #
1405
+ # @return [Google::Apis::ClassroomV1::Empty]
1406
+ #
1407
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1408
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1409
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1410
+ def delete_course_course_work_material(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1411
+ command = make_simple_command(:delete, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1412
+ command.response_representation = Google::Apis::ClassroomV1::Empty::Representation
1413
+ command.response_class = Google::Apis::ClassroomV1::Empty
1414
+ command.params['courseId'] = course_id unless course_id.nil?
1415
+ command.params['id'] = id unless id.nil?
1416
+ command.query['fields'] = fields unless fields.nil?
1417
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1418
+ execute_or_queue_command(command, &block)
1419
+ end
1420
+
1421
+ # Returns a course work material. This method returns the following error codes:
1422
+ # * `PERMISSION_DENIED` if the requesting user is not permitted to access the
1423
+ # requested course or course work material, or for access errors. * `
1424
+ # INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested
1425
+ # course or course work material does not exist.
1426
+ # @param [String] course_id
1427
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1428
+ # identifier or an alias.
1429
+ # @param [String] id
1430
+ # Identifier of the course work material.
1431
+ # @param [String] fields
1432
+ # Selector specifying which fields to include in a partial response.
1433
+ # @param [String] quota_user
1434
+ # Available to use for quota purposes for server-side applications. Can be any
1435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1436
+ # @param [Google::Apis::RequestOptions] options
1437
+ # Request-specific options
1438
+ #
1439
+ # @yield [result, err] Result & error if block supplied
1440
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1441
+ # @yieldparam err [StandardError] error object if request failed
1442
+ #
1443
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1444
+ #
1445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1448
+ def get_course_course_work_material(course_id, id, fields: nil, quota_user: nil, options: nil, &block)
1449
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1450
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1451
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1452
+ command.params['courseId'] = course_id unless course_id.nil?
1453
+ command.params['id'] = id unless id.nil?
1454
+ command.query['fields'] = fields unless fields.nil?
1455
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1456
+ execute_or_queue_command(command, &block)
1457
+ end
1458
+
1459
+ # Returns a list of course work material that the requester is permitted to view.
1460
+ # Course students may only view `PUBLISHED` course work material. Course
1461
+ # teachers and domain administrators may view all course work material. This
1462
+ # method returns the following error codes: * `PERMISSION_DENIED` if the
1463
+ # requesting user is not permitted to access the requested course or for access
1464
+ # errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
1465
+ # requested course does not exist.
1466
+ # @param [String] course_id
1467
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1468
+ # identifier or an alias.
1469
+ # @param [Array<String>, String] course_work_material_states
1470
+ # Restriction on the work status to return. Only course work material that
1471
+ # matches is returned. If unspecified, items with a work status of `PUBLISHED`
1472
+ # is returned.
1473
+ # @param [String] material_drive_id
1474
+ # Optional filtering for course work material with at least one Drive material
1475
+ # whose ID matches the provided string. If `material_link` is also specified,
1476
+ # course work material must have materials matching both filters.
1477
+ # @param [String] material_link
1478
+ # Optional filtering for course work material with at least one link material
1479
+ # whose URL partially matches the provided string.
1480
+ # @param [String] order_by
1481
+ # Optional sort ordering for results. A comma-separated list of fields with an
1482
+ # optional sort direction keyword. Supported field is `updateTime`. Supported
1483
+ # direction keywords are `asc` and `desc`. If not specified, `updateTime desc`
1484
+ # is the default behavior. Examples: `updateTime asc`, `updateTime`
1485
+ # @param [Fixnum] page_size
1486
+ # Maximum number of items to return. Zero or unspecified indicates that the
1487
+ # server may assign a maximum. The server may return fewer than the specified
1488
+ # number of results.
1489
+ # @param [String] page_token
1490
+ # nextPageToken value returned from a previous list call, indicating that the
1491
+ # subsequent page of results should be returned. The list request must be
1492
+ # otherwise identical to the one that resulted in this token.
1493
+ # @param [String] fields
1494
+ # Selector specifying which fields to include in a partial response.
1495
+ # @param [String] quota_user
1496
+ # Available to use for quota purposes for server-side applications. Can be any
1497
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1498
+ # @param [Google::Apis::RequestOptions] options
1499
+ # Request-specific options
1500
+ #
1501
+ # @yield [result, err] Result & error if block supplied
1502
+ # @yieldparam result [Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse] parsed result object
1503
+ # @yieldparam err [StandardError] error object if request failed
1504
+ #
1505
+ # @return [Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse]
1506
+ #
1507
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1508
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1509
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1510
+ def list_course_course_work_materials(course_id, course_work_material_states: nil, material_drive_id: nil, material_link: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1511
+ command = make_simple_command(:get, 'v1/courses/{courseId}/courseWorkMaterials', options)
1512
+ command.response_representation = Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse::Representation
1513
+ command.response_class = Google::Apis::ClassroomV1::ListCourseWorkMaterialResponse
1514
+ command.params['courseId'] = course_id unless course_id.nil?
1515
+ command.query['courseWorkMaterialStates'] = course_work_material_states unless course_work_material_states.nil?
1516
+ command.query['materialDriveId'] = material_drive_id unless material_drive_id.nil?
1517
+ command.query['materialLink'] = material_link unless material_link.nil?
1518
+ command.query['orderBy'] = order_by unless order_by.nil?
1519
+ command.query['pageSize'] = page_size unless page_size.nil?
1520
+ command.query['pageToken'] = page_token unless page_token.nil?
1521
+ command.query['fields'] = fields unless fields.nil?
1522
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1523
+ execute_or_queue_command(command, &block)
1524
+ end
1525
+
1526
+ # Updates one or more fields of a course work material. This method returns the
1527
+ # following error codes: * `PERMISSION_DENIED` if the requesting developer
1528
+ # project for access errors. * `INVALID_ARGUMENT` if the request is malformed. *
1529
+ # `FAILED_PRECONDITION` if the requested course work material has already been
1530
+ # deleted. * `NOT_FOUND` if the requested course or course work material does
1531
+ # not exist
1532
+ # @param [String] course_id
1533
+ # Identifier of the course. This identifier can be either the Classroom-assigned
1534
+ # identifier or an alias.
1535
+ # @param [String] id
1536
+ # Identifier of the course work material.
1537
+ # @param [Google::Apis::ClassroomV1::CourseWorkMaterial] course_work_material_object
1538
+ # @param [String] update_mask
1539
+ # Mask that identifies which fields on the course work material to update. This
1540
+ # field is required to do an update. The update fails if invalid fields are
1541
+ # specified. If a field supports empty values, it can be cleared by specifying
1542
+ # it in the update mask and not in the course work material object. If a field
1543
+ # that does not support empty values is included in the update mask and not set
1544
+ # in the course work material object, an `INVALID_ARGUMENT` error is returned.
1545
+ # The following fields may be specified by teachers: * `title` * `description` *
1546
+ # `state` * `scheduled_time` * `topic_id`
1547
+ # @param [String] fields
1548
+ # Selector specifying which fields to include in a partial response.
1549
+ # @param [String] quota_user
1550
+ # Available to use for quota purposes for server-side applications. Can be any
1551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1552
+ # @param [Google::Apis::RequestOptions] options
1553
+ # Request-specific options
1554
+ #
1555
+ # @yield [result, err] Result & error if block supplied
1556
+ # @yieldparam result [Google::Apis::ClassroomV1::CourseWorkMaterial] parsed result object
1557
+ # @yieldparam err [StandardError] error object if request failed
1558
+ #
1559
+ # @return [Google::Apis::ClassroomV1::CourseWorkMaterial]
1560
+ #
1561
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1562
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1563
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1564
+ def patch_course_course_work_material(course_id, id, course_work_material_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1565
+ command = make_simple_command(:patch, 'v1/courses/{courseId}/courseWorkMaterials/{id}', options)
1566
+ command.request_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1567
+ command.request_object = course_work_material_object
1568
+ command.response_representation = Google::Apis::ClassroomV1::CourseWorkMaterial::Representation
1569
+ command.response_class = Google::Apis::ClassroomV1::CourseWorkMaterial
1570
+ command.params['courseId'] = course_id unless course_id.nil?
1571
+ command.params['id'] = id unless id.nil?
1572
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1573
+ command.query['fields'] = fields unless fields.nil?
1574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1575
+ execute_or_queue_command(command, &block)
1576
+ end
1577
+
1338
1578
  # Adds a user as a student of a course. This method returns the following error
1339
1579
  # codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create
1340
1580
  # students in this course or for access errors. * `NOT_FOUND` if the requested
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200731'
28
+ REVISION = '20200911'
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 CloudassetV1
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,114 +39,74 @@ 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::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
51
48
  attr_accessor :access_policy
52
49
 
53
- # The ancestry path of an asset in Google Cloud [resource
54
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
55
- # resource-hierarchy),
56
- # represented as a list of relative resource names. An ancestry path starts
57
- # with the closest ancestor in the hierarchy and ends at root. If the asset
58
- # is a project, folder, or organization, the ancestry path starts from the
59
- # asset itself.
60
- # Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
50
+ # The ancestry path of an asset in Google Cloud [resource hierarchy](https://
51
+ # cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy),
52
+ # represented as a list of relative resource names. An ancestry path starts with
53
+ # the closest ancestor in the hierarchy and ends at root. If the asset is a
54
+ # project, folder, or organization, the ancestry path starts from the asset
55
+ # itself. Example: `["projects/123456789", "folders/5432", "organizations/1234"]`
61
56
  # Corresponds to the JSON property `ancestors`
62
57
  # @return [Array<String>]
63
58
  attr_accessor :ancestors
64
59
 
65
- # The type of the asset. Example: `compute.googleapis.com/Disk`
66
- # See [Supported asset
67
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
68
- # for more information.
60
+ # The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported
61
+ # asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-
62
+ # types) for more information.
69
63
  # Corresponds to the JSON property `assetType`
70
64
  # @return [String]
71
65
  attr_accessor :asset_type
72
66
 
73
67
  # An Identity and Access Management (IAM) policy, which specifies access
74
- # controls for Google Cloud resources.
75
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
76
- # `members` to a single `role`. Members can be user accounts, service accounts,
77
- # Google groups, and domains (such as G Suite). A `role` is a named list of
78
- # permissions; each `role` can be an IAM predefined role or a user-created
79
- # custom role.
80
- # For some types of Google Cloud resources, a `binding` can also specify a
81
- # `condition`, which is a logical expression that allows access to a resource
82
- # only if the expression evaluates to `true`. A condition can add constraints
83
- # based on attributes of the request, the resource, or both. To learn which
84
- # resources support conditions in their IAM policies, see the
85
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
86
- # policies).
87
- # **JSON example:**
88
- # `
89
- # "bindings": [
90
- # `
91
- # "role": "roles/resourcemanager.organizationAdmin",
92
- # "members": [
93
- # "user:mike@example.com",
94
- # "group:admins@example.com",
95
- # "domain:google.com",
96
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
97
- # ]
98
- # `,
99
- # `
100
- # "role": "roles/resourcemanager.organizationViewer",
101
- # "members": [
102
- # "user:eve@example.com"
103
- # ],
104
- # "condition": `
105
- # "title": "expirable access",
106
- # "description": "Does not grant access after Sep 2020",
107
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
108
- # ",
109
- # `
110
- # `
111
- # ],
112
- # "etag": "BwWWja0YfJA=",
113
- # "version": 3
114
- # `
115
- # **YAML example:**
116
- # bindings:
117
- # - members:
118
- # - user:mike@example.com
119
- # - group:admins@example.com
120
- # - domain:google.com
121
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
122
- # role: roles/resourcemanager.organizationAdmin
123
- # - members:
124
- # - user:eve@example.com
125
- # role: roles/resourcemanager.organizationViewer
126
- # condition:
127
- # title: expirable access
128
- # description: Does not grant access after Sep 2020
129
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
130
- # - etag: BwWWja0YfJA=
131
- # - version: 3
132
- # For a description of IAM and its features, see the
133
- # [IAM documentation](https://cloud.google.com/iam/docs/).
68
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
69
+ # A `binding` binds one or more `members` to a single `role`. Members can be
70
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
71
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
72
+ # role or a user-created custom role. For some types of Google Cloud resources,
73
+ # a `binding` can also specify a `condition`, which is a logical expression that
74
+ # allows access to a resource only if the expression evaluates to `true`. A
75
+ # condition can add constraints based on attributes of the request, the resource,
76
+ # or both. To learn which resources support conditions in their IAM policies,
77
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
78
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
79
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
80
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
81
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
82
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
83
+ # title": "expirable access", "description": "Does not grant access after Sep
84
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
85
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
86
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
87
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
88
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
89
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
90
+ # description: Does not grant access after Sep 2020 expression: request.time <
91
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
92
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
93
+ # google.com/iam/docs/).
134
94
  # Corresponds to the JSON property `iamPolicy`
135
95
  # @return [Google::Apis::CloudassetV1::Policy]
136
96
  attr_accessor :iam_policy
137
97
 
138
- # The full name of the asset. Example:
139
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
140
- # instance1`
141
- # See [Resource
142
- # names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
143
- # for more information.
98
+ # The full name of the asset. Example: `//compute.googleapis.com/projects/
99
+ # my_project_123/zones/zone1/instances/instance1` See [Resource names](https://
100
+ # cloud.google.com/apis/design/resource_names#full_resource_name) for more
101
+ # information.
144
102
  # Corresponds to the JSON property `name`
145
103
  # @return [String]
146
104
  attr_accessor :name
147
105
 
148
- # A representation of an [organization
149
- # policy](https://cloud.google.com/resource-manager/docs/organization-policy/
150
- # overview#organization_policy).
151
- # There can be more than one organization policy with different constraints
152
- # set on a given resource.
106
+ # A representation of an [organization policy](https://cloud.google.com/resource-
107
+ # manager/docs/organization-policy/overview#organization_policy). There can be
108
+ # more than one organization policy with different constraints set on a given
109
+ # resource.
153
110
  # Corresponds to the JSON property `orgPolicy`
154
111
  # @return [Array<Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1Policy>]
155
112
  attr_accessor :org_policy
@@ -160,21 +117,20 @@ module Google
160
117
  attr_accessor :resource
161
118
 
162
119
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
163
- # import and export data amongst themselves, but not export outside of the
164
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
120
+ # import and export data amongst themselves, but not export outside of the `
121
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
165
122
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
166
123
  # Otherwise the request is allowed. There are two types of Service Perimeter -
167
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
168
- # Google Cloud project can only belong to a single regular Service Perimeter.
169
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
170
- # a single Google Cloud project may belong to multiple Service Perimeter
171
- # Bridges.
124
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
125
+ # Cloud project can only belong to a single regular Service Perimeter. Service
126
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
127
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
172
128
  # Corresponds to the JSON property `servicePerimeter`
173
129
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeter]
174
130
  attr_accessor :service_perimeter
175
131
 
176
- # The last update timestamp of an asset. update_time is updated when
177
- # create/update/delete operation is performed.
132
+ # The last update timestamp of an asset. update_time is updated when create/
133
+ # update/delete operation is performed.
178
134
  # Corresponds to the JSON property `updateTime`
179
135
  # @return [String]
180
136
  attr_accessor :update_time
@@ -198,53 +154,21 @@ module Google
198
154
  end
199
155
  end
200
156
 
201
- # Specifies the audit configuration for a service.
202
- # The configuration determines which permission types are logged, and what
203
- # identities, if any, are exempted from logging.
204
- # An AuditConfig must have one or more AuditLogConfigs.
205
- # If there are AuditConfigs for both `allServices` and a specific service,
206
- # the union of the two AuditConfigs is used for that service: the log_types
207
- # specified in each AuditConfig are enabled, and the exempted_members in each
208
- # AuditLogConfig are exempted.
209
- # Example Policy with multiple AuditConfigs:
210
- # `
211
- # "audit_configs": [
212
- # `
213
- # "service": "allServices",
214
- # "audit_log_configs": [
215
- # `
216
- # "log_type": "DATA_READ",
217
- # "exempted_members": [
218
- # "user:jose@example.com"
219
- # ]
220
- # `,
221
- # `
222
- # "log_type": "DATA_WRITE"
223
- # `,
224
- # `
225
- # "log_type": "ADMIN_READ"
226
- # `
227
- # ]
228
- # `,
229
- # `
230
- # "service": "sampleservice.googleapis.com",
231
- # "audit_log_configs": [
232
- # `
233
- # "log_type": "DATA_READ"
234
- # `,
235
- # `
236
- # "log_type": "DATA_WRITE",
237
- # "exempted_members": [
238
- # "user:aliya@example.com"
239
- # ]
240
- # `
241
- # ]
242
- # `
243
- # ]
244
- # `
245
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
246
- # logging. It also exempts jose@example.com from DATA_READ logging, and
247
- # aliya@example.com from DATA_WRITE logging.
157
+ # Specifies the audit configuration for a service. The configuration determines
158
+ # which permission types are logged, and what identities, if any, are exempted
159
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
160
+ # are AuditConfigs for both `allServices` and a specific service, the union of
161
+ # the two AuditConfigs is used for that service: the log_types specified in each
162
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
163
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
164
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
165
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
166
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
167
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
168
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
169
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
170
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
171
+ # DATA_WRITE logging.
248
172
  class AuditConfig
249
173
  include Google::Apis::Core::Hashable
250
174
 
@@ -253,9 +177,9 @@ module Google
253
177
  # @return [Array<Google::Apis::CloudassetV1::AuditLogConfig>]
254
178
  attr_accessor :audit_log_configs
255
179
 
256
- # Specifies a service that will be enabled for audit logging.
257
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
258
- # `allServices` is a special value that covers all services.
180
+ # Specifies a service that will be enabled for audit logging. For example, `
181
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
182
+ # value that covers all services.
259
183
  # Corresponds to the JSON property `service`
260
184
  # @return [String]
261
185
  attr_accessor :service
@@ -271,28 +195,15 @@ module Google
271
195
  end
272
196
  end
273
197
 
274
- # Provides the configuration for logging a type of permissions.
275
- # Example:
276
- # `
277
- # "audit_log_configs": [
278
- # `
279
- # "log_type": "DATA_READ",
280
- # "exempted_members": [
281
- # "user:jose@example.com"
282
- # ]
283
- # `,
284
- # `
285
- # "log_type": "DATA_WRITE"
286
- # `
287
- # ]
288
- # `
289
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
290
- # jose@example.com from DATA_READ logging.
198
+ # Provides the configuration for logging a type of permissions. Example: ` "
199
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
200
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
201
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
202
+ # DATA_READ logging.
291
203
  class AuditLogConfig
292
204
  include Google::Apis::Core::Hashable
293
205
 
294
- # Specifies the identities that do not cause logging for this type of
295
- # permission.
206
+ # Specifies the identities that do not cause logging for this type of permission.
296
207
  # Follows the same format of Binding.members.
297
208
  # Corresponds to the JSON property `exemptedMembers`
298
209
  # @return [Array<String>]
@@ -337,26 +248,55 @@ module Google
337
248
  class BigQueryDestination
338
249
  include Google::Apis::Core::Hashable
339
250
 
340
- # Required. The BigQuery dataset in format
341
- # "projects/projectId/datasets/datasetId", to which the snapshot result
342
- # should be exported. If this dataset does not exist, the export call returns
343
- # an INVALID_ARGUMENT error.
251
+ # Required. The BigQuery dataset in format "projects/projectId/datasets/
252
+ # datasetId", to which the snapshot result should be exported. If this dataset
253
+ # does not exist, the export call returns an INVALID_ARGUMENT error.
344
254
  # Corresponds to the JSON property `dataset`
345
255
  # @return [String]
346
256
  attr_accessor :dataset
347
257
 
348
- # If the destination table already exists and this flag is `TRUE`, the
349
- # table will be overwritten by the contents of assets snapshot. If the flag
350
- # is `FALSE` or unset and the destination table already exists, the export
351
- # call returns an INVALID_ARGUMEMT error.
258
+ # If the destination table already exists and this flag is `TRUE`, the table
259
+ # will be overwritten by the contents of assets snapshot. If the flag is `FALSE`
260
+ # or unset and the destination table already exists, the export call returns an
261
+ # INVALID_ARGUMEMT error.
352
262
  # Corresponds to the JSON property `force`
353
263
  # @return [Boolean]
354
264
  attr_accessor :force
355
265
  alias_method :force?, :force
356
266
 
357
- # Required. The BigQuery table to which the snapshot result should be
358
- # written. If this table does not exist, a new table with the given name
359
- # will be created.
267
+ # Specifications of BigQuery partitioned table as export destination.
268
+ # Corresponds to the JSON property `partitionSpec`
269
+ # @return [Google::Apis::CloudassetV1::PartitionSpec]
270
+ attr_accessor :partition_spec
271
+
272
+ # If this flag is `TRUE`, the snapshot results will be written to one or
273
+ # multiple tables, each of which contains results of one asset type. The [force]
274
+ # and [partition_spec] fields will apply to each of them. Field [table] will be
275
+ # concatenated with "_" and the asset type names (see https://cloud.google.com/
276
+ # asset-inventory/docs/supported-asset-types for supported asset types) to
277
+ # construct per-asset-type table names, in which all non-alphanumeric characters
278
+ # like "." and "/" will be substituted by "_". Example: if field [table] is "
279
+ # mytable" and snapshot results contain "storage.googleapis.com/Bucket" assets,
280
+ # the corresponding table name will be "mytable_storage_googleapis_com_Bucket".
281
+ # If any of these tables does not exist, a new table with the concatenated name
282
+ # will be created. When [content_type] in the ExportAssetsRequest is `RESOURCE`,
283
+ # the schema of each table will include RECORD-type columns mapped to the nested
284
+ # fields in the Asset.resource.data field of that asset type (up to the 15
285
+ # nested level BigQuery supports (https://cloud.google.com/bigquery/docs/nested-
286
+ # repeated#limitations)). The fields in >15 nested levels will be stored in JSON
287
+ # format string as a child column of its parent RECORD column. If error occurs
288
+ # when exporting to any table, the whole export call will return an error but
289
+ # the export results that already succeed will persist. Example: if exporting to
290
+ # table_type_A succeeds when exporting to table_type_B fails during one export
291
+ # call, the results in table_type_A will persist and there will not be partial
292
+ # results persisting in a table.
293
+ # Corresponds to the JSON property `separateTablesPerAssetType`
294
+ # @return [Boolean]
295
+ attr_accessor :separate_tables_per_asset_type
296
+ alias_method :separate_tables_per_asset_type?, :separate_tables_per_asset_type
297
+
298
+ # Required. The BigQuery table to which the snapshot result should be written.
299
+ # If this table does not exist, a new table with the given name will be created.
360
300
  # Corresponds to the JSON property `table`
361
301
  # @return [String]
362
302
  attr_accessor :table
@@ -369,6 +309,8 @@ module Google
369
309
  def update!(**args)
370
310
  @dataset = args[:dataset] if args.key?(:dataset)
371
311
  @force = args[:force] if args.key?(:force)
312
+ @partition_spec = args[:partition_spec] if args.key?(:partition_spec)
313
+ @separate_tables_per_asset_type = args[:separate_tables_per_asset_type] if args.key?(:separate_tables_per_asset_type)
372
314
  @table = args[:table] if args.key?(:table)
373
315
  end
374
316
  end
@@ -377,69 +319,57 @@ module Google
377
319
  class Binding
378
320
  include Google::Apis::Core::Hashable
379
321
 
380
- # Represents a textual expression in the Common Expression Language (CEL)
381
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
382
- # are documented at https://github.com/google/cel-spec.
383
- # Example (Comparison):
384
- # title: "Summary size limit"
385
- # description: "Determines if a summary is less than 100 chars"
386
- # expression: "document.summary.size() < 100"
387
- # Example (Equality):
388
- # title: "Requestor is owner"
389
- # description: "Determines if requestor is the document owner"
390
- # expression: "document.owner == request.auth.claims.email"
391
- # Example (Logic):
392
- # title: "Public documents"
393
- # description: "Determine whether the document should be publicly visible"
394
- # expression: "document.type != 'private' && document.type != 'internal'"
395
- # Example (Data Manipulation):
396
- # title: "Notification string"
397
- # description: "Create a notification string with a timestamp."
398
- # expression: "'New message received at ' + string(document.create_time)"
399
- # The exact variables and functions that may be referenced within an expression
400
- # are determined by the service that evaluates it. See the service
401
- # documentation for additional information.
322
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
323
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
324
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
325
+ # "Summary size limit" description: "Determines if a summary is less than 100
326
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
327
+ # Requestor is owner" description: "Determines if requestor is the document
328
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
329
+ # Logic): title: "Public documents" description: "Determine whether the document
330
+ # should be publicly visible" expression: "document.type != 'private' &&
331
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
332
+ # string" description: "Create a notification string with a timestamp."
333
+ # expression: "'New message received at ' + string(document.create_time)" The
334
+ # exact variables and functions that may be referenced within an expression are
335
+ # determined by the service that evaluates it. See the service documentation for
336
+ # additional information.
402
337
  # Corresponds to the JSON property `condition`
403
338
  # @return [Google::Apis::CloudassetV1::Expr]
404
339
  attr_accessor :condition
405
340
 
406
- # Specifies the identities requesting access for a Cloud Platform resource.
407
- # `members` can have the following values:
408
- # * `allUsers`: A special identifier that represents anyone who is
409
- # on the internet; with or without a Google account.
410
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
411
- # who is authenticated with a Google account or a service account.
412
- # * `user:`emailid``: An email address that represents a specific Google
413
- # account. For example, `alice@example.com` .
414
- # * `serviceAccount:`emailid``: An email address that represents a service
415
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
416
- # * `group:`emailid``: An email address that represents a Google group.
417
- # For example, `admins@example.com`.
418
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
419
- # identifier) representing a user that has been recently deleted. For
420
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
421
- # recovered, this value reverts to `user:`emailid`` and the recovered user
422
- # retains the role in the binding.
423
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
424
- # unique identifier) representing a service account that has been recently
425
- # deleted. For example,
426
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
427
- # If the service account is undeleted, this value reverts to
428
- # `serviceAccount:`emailid`` and the undeleted service account retains the
429
- # role in the binding.
430
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
431
- # identifier) representing a Google group that has been recently
432
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
433
- # the group is recovered, this value reverts to `group:`emailid`` and the
434
- # recovered group retains the role in the binding.
435
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
436
- # users of that domain. For example, `google.com` or `example.com`.
341
+ # Specifies the identities requesting access for a Cloud Platform resource. `
342
+ # members` can have the following values: * `allUsers`: A special identifier
343
+ # that represents anyone who is on the internet; with or without a Google
344
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
345
+ # anyone who is authenticated with a Google account or a service account. * `
346
+ # user:`emailid``: An email address that represents a specific Google account.
347
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
348
+ # address that represents a service account. For example, `my-other-app@appspot.
349
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
350
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
351
+ # `uniqueid``: An email address (plus unique identifier) representing a user
352
+ # that has been recently deleted. For example, `alice@example.com?uid=
353
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
354
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
355
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
356
+ # identifier) representing a service account that has been recently deleted. For
357
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
358
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
359
+ # emailid`` and the undeleted service account retains the role in the binding. *
360
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
361
+ # identifier) representing a Google group that has been recently deleted. For
362
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
363
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
364
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
365
+ # primary) that represents all the users of that domain. For example, `google.
366
+ # com` or `example.com`.
437
367
  # Corresponds to the JSON property `members`
438
368
  # @return [Array<String>]
439
369
  attr_accessor :members
440
370
 
441
- # Role that is assigned to `members`.
442
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
371
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
372
+ # , or `roles/owner`.
443
373
  # Corresponds to the JSON property `role`
444
374
  # @return [String]
445
375
  attr_accessor :role
@@ -460,17 +390,16 @@ module Google
460
390
  class CreateFeedRequest
461
391
  include Google::Apis::Core::Hashable
462
392
 
463
- # An asset feed used to export asset updates to a destinations.
464
- # An asset feed filter controls what updates are exported.
465
- # The asset feed must be created within a project, organization, or
466
- # folder. Supported destinations are:
467
- # Pub/Sub topics.
393
+ # An asset feed used to export asset updates to a destinations. An asset feed
394
+ # filter controls what updates are exported. The asset feed must be created
395
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
396
+ # topics.
468
397
  # Corresponds to the JSON property `feed`
469
398
  # @return [Google::Apis::CloudassetV1::Feed]
470
399
  attr_accessor :feed
471
400
 
472
- # Required. This is the client-assigned asset feed identifier and it needs to
473
- # be unique under a specific parent project/folder/organization.
401
+ # Required. This is the client-assigned asset feed identifier and it needs to be
402
+ # unique under a specific parent project/folder/organization.
474
403
  # Corresponds to the JSON property `feedId`
475
404
  # @return [String]
476
405
  attr_accessor :feed_id
@@ -486,13 +415,11 @@ module Google
486
415
  end
487
416
  end
488
417
 
489
- # A generic empty message that you can re-use to avoid defining duplicated
490
- # empty messages in your APIs. A typical example is to use it as the request
491
- # or the response type of an API method. For instance:
492
- # service Foo `
493
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
494
- # `
495
- # The JSON representation for `Empty` is empty JSON object ````.
418
+ # A generic empty message that you can re-use to avoid defining duplicated empty
419
+ # messages in your APIs. A typical example is to use it as the request or the
420
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
421
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
422
+ # `Empty` is empty JSON object ````.
496
423
  class Empty
497
424
  include Google::Apis::Core::Hashable
498
425
 
@@ -509,13 +436,13 @@ module Google
509
436
  class Explanation
510
437
  include Google::Apis::Core::Hashable
511
438
 
512
- # The map from roles to their included permissions that match the
513
- # permission query (i.e., a query containing `policy.role.permissions:`).
514
- # Example: if query `policy.role.permissions : "compute.disk.get"`
515
- # matches a policy binding that contains owner role, the
516
- # matched_permissions will be ``"roles/owner": ["compute.disk.get"]``. The
517
- # roles can also be found in the returned `policy` bindings. Note that the
518
- # map is populated only for requests with permission queries.
439
+ # The map from roles to their included permissions that match the permission
440
+ # query (i.e., a query containing `policy.role.permissions:`). Example: if query
441
+ # `policy.role.permissions:compute.disk.get` matches a policy binding that
442
+ # contains owner role, the matched_permissions will be ``"roles/owner": ["
443
+ # compute.disk.get"]``. The roles can also be found in the returned `policy`
444
+ # bindings. Note that the map is populated only for requests with permission
445
+ # queries.
519
446
  # Corresponds to the JSON property `matchedPermissions`
520
447
  # @return [Hash<String,Google::Apis::CloudassetV1::Permissions>]
521
448
  attr_accessor :matched_permissions
@@ -534,20 +461,17 @@ module Google
534
461
  class ExportAssetsRequest
535
462
  include Google::Apis::Core::Hashable
536
463
 
537
- # A list of asset types to take a snapshot for. For example:
538
- # "compute.googleapis.com/Disk".
539
- # Regular expressions are also supported. For example:
540
- # * "compute.googleapis.com.*" snapshots resources whose asset type starts
541
- # with "compute.googleapis.com".
542
- # * ".*Instance" snapshots resources whose asset type ends with "Instance".
543
- # * ".*Instance.*" snapshots resources whose asset type contains "Instance".
544
- # See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported
545
- # regular expression syntax. If the regular expression does not match any
546
- # supported asset type, an INVALID_ARGUMENT error will be returned.
547
- # If specified, only matching assets will be returned, otherwise, it will
548
- # snapshot all asset types. See [Introduction to Cloud Asset
549
- # Inventory](https://cloud.google.com/asset-inventory/docs/overview)
550
- # for all supported asset types.
464
+ # A list of asset types to take a snapshot for. For example: "compute.googleapis.
465
+ # com/Disk". Regular expressions are also supported. For example: * "compute.
466
+ # googleapis.com.*" snapshots resources whose asset type starts with "compute.
467
+ # googleapis.com". * ".*Instance" snapshots resources whose asset type ends with
468
+ # "Instance". * ".*Instance.*" snapshots resources whose asset type contains "
469
+ # Instance". See [RE2](https://github.com/google/re2/wiki/Syntax) for all
470
+ # supported regular expression syntax. If the regular expression does not match
471
+ # any supported asset type, an INVALID_ARGUMENT error will be returned. If
472
+ # specified, only matching assets will be returned, otherwise, it will snapshot
473
+ # all asset types. See [Introduction to Cloud Asset Inventory](https://cloud.
474
+ # google.com/asset-inventory/docs/overview) for all supported asset types.
551
475
  # Corresponds to the JSON property `assetTypes`
552
476
  # @return [Array<String>]
553
477
  attr_accessor :asset_types
@@ -564,10 +488,10 @@ module Google
564
488
  attr_accessor :output_config
565
489
 
566
490
  # Timestamp to take an asset snapshot. This can only be set to a timestamp
567
- # between the current time and the current time minus 35 days (inclusive).
568
- # If not specified, the current time will be used. Due to delays in resource
569
- # data collection and indexing, there is a volatile window during which
570
- # running the same query may get different results.
491
+ # between the current time and the current time minus 35 days (inclusive). If
492
+ # not specified, the current time will be used. Due to delays in resource data
493
+ # collection and indexing, there is a volatile window during which running the
494
+ # same query may get different results.
571
495
  # Corresponds to the JSON property `readTime`
572
496
  # @return [String]
573
497
  attr_accessor :read_time
@@ -585,52 +509,43 @@ module Google
585
509
  end
586
510
  end
587
511
 
588
- # Represents a textual expression in the Common Expression Language (CEL)
589
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
590
- # are documented at https://github.com/google/cel-spec.
591
- # Example (Comparison):
592
- # title: "Summary size limit"
593
- # description: "Determines if a summary is less than 100 chars"
594
- # expression: "document.summary.size() < 100"
595
- # Example (Equality):
596
- # title: "Requestor is owner"
597
- # description: "Determines if requestor is the document owner"
598
- # expression: "document.owner == request.auth.claims.email"
599
- # Example (Logic):
600
- # title: "Public documents"
601
- # description: "Determine whether the document should be publicly visible"
602
- # expression: "document.type != 'private' && document.type != 'internal'"
603
- # Example (Data Manipulation):
604
- # title: "Notification string"
605
- # description: "Create a notification string with a timestamp."
606
- # expression: "'New message received at ' + string(document.create_time)"
607
- # The exact variables and functions that may be referenced within an expression
608
- # are determined by the service that evaluates it. See the service
609
- # documentation for additional information.
512
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
513
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
514
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
515
+ # "Summary size limit" description: "Determines if a summary is less than 100
516
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
517
+ # Requestor is owner" description: "Determines if requestor is the document
518
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
519
+ # Logic): title: "Public documents" description: "Determine whether the document
520
+ # should be publicly visible" expression: "document.type != 'private' &&
521
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
522
+ # string" description: "Create a notification string with a timestamp."
523
+ # expression: "'New message received at ' + string(document.create_time)" The
524
+ # exact variables and functions that may be referenced within an expression are
525
+ # determined by the service that evaluates it. See the service documentation for
526
+ # additional information.
610
527
  class Expr
611
528
  include Google::Apis::Core::Hashable
612
529
 
613
- # Optional. Description of the expression. This is a longer text which
614
- # describes the expression, e.g. when hovered over it in a UI.
530
+ # Optional. Description of the expression. This is a longer text which describes
531
+ # the expression, e.g. when hovered over it in a UI.
615
532
  # Corresponds to the JSON property `description`
616
533
  # @return [String]
617
534
  attr_accessor :description
618
535
 
619
- # Textual representation of an expression in Common Expression Language
620
- # syntax.
536
+ # Textual representation of an expression in Common Expression Language syntax.
621
537
  # Corresponds to the JSON property `expression`
622
538
  # @return [String]
623
539
  attr_accessor :expression
624
540
 
625
- # Optional. String indicating the location of the expression for error
626
- # reporting, e.g. a file name and a position in the file.
541
+ # Optional. String indicating the location of the expression for error reporting,
542
+ # e.g. a file name and a position in the file.
627
543
  # Corresponds to the JSON property `location`
628
544
  # @return [String]
629
545
  attr_accessor :location
630
546
 
631
- # Optional. Title for the expression, i.e. a short string describing
632
- # its purpose. This can be used e.g. in UIs which allow to enter the
633
- # expression.
547
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
548
+ # This can be used e.g. in UIs which allow to enter the expression.
634
549
  # Corresponds to the JSON property `title`
635
550
  # @return [String]
636
551
  attr_accessor :title
@@ -648,66 +563,53 @@ module Google
648
563
  end
649
564
  end
650
565
 
651
- # An asset feed used to export asset updates to a destinations.
652
- # An asset feed filter controls what updates are exported.
653
- # The asset feed must be created within a project, organization, or
654
- # folder. Supported destinations are:
655
- # Pub/Sub topics.
566
+ # An asset feed used to export asset updates to a destinations. An asset feed
567
+ # filter controls what updates are exported. The asset feed must be created
568
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
569
+ # topics.
656
570
  class Feed
657
571
  include Google::Apis::Core::Hashable
658
572
 
659
573
  # A list of the full names of the assets to receive updates. You must specify
660
574
  # either or both of asset_names and asset_types. Only asset updates matching
661
- # specified asset_names or asset_types are exported to the feed.
662
- # Example:
663
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
664
- # instance1`.
665
- # See [Resource
666
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
667
- # for more info.
575
+ # specified asset_names or asset_types are exported to the feed. Example: `//
576
+ # compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`
577
+ # . See [Resource Names](https://cloud.google.com/apis/design/resource_names#
578
+ # full_resource_name) for more info.
668
579
  # Corresponds to the JSON property `assetNames`
669
580
  # @return [Array<String>]
670
581
  attr_accessor :asset_names
671
582
 
672
- # A list of types of the assets to receive updates. You must specify either
673
- # or both of asset_names and asset_types. Only asset updates matching
674
- # specified asset_names or asset_types are exported to the feed.
675
- # Example: `"compute.googleapis.com/Disk"`
676
- # See [this
677
- # topic](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
678
- # for a list of all supported asset types.
583
+ # A list of types of the assets to receive updates. You must specify either or
584
+ # both of asset_names and asset_types. Only asset updates matching specified
585
+ # asset_names or asset_types are exported to the feed. Example: `"compute.
586
+ # googleapis.com/Disk"` See [this topic](https://cloud.google.com/asset-
587
+ # inventory/docs/supported-asset-types) for a list of all supported asset types.
679
588
  # Corresponds to the JSON property `assetTypes`
680
589
  # @return [Array<String>]
681
590
  attr_accessor :asset_types
682
591
 
683
- # Represents a textual expression in the Common Expression Language (CEL)
684
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
685
- # are documented at https://github.com/google/cel-spec.
686
- # Example (Comparison):
687
- # title: "Summary size limit"
688
- # description: "Determines if a summary is less than 100 chars"
689
- # expression: "document.summary.size() < 100"
690
- # Example (Equality):
691
- # title: "Requestor is owner"
692
- # description: "Determines if requestor is the document owner"
693
- # expression: "document.owner == request.auth.claims.email"
694
- # Example (Logic):
695
- # title: "Public documents"
696
- # description: "Determine whether the document should be publicly visible"
697
- # expression: "document.type != 'private' && document.type != 'internal'"
698
- # Example (Data Manipulation):
699
- # title: "Notification string"
700
- # description: "Create a notification string with a timestamp."
701
- # expression: "'New message received at ' + string(document.create_time)"
702
- # The exact variables and functions that may be referenced within an expression
703
- # are determined by the service that evaluates it. See the service
704
- # documentation for additional information.
592
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
593
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
594
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
595
+ # "Summary size limit" description: "Determines if a summary is less than 100
596
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
597
+ # Requestor is owner" description: "Determines if requestor is the document
598
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
599
+ # Logic): title: "Public documents" description: "Determine whether the document
600
+ # should be publicly visible" expression: "document.type != 'private' &&
601
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
602
+ # string" description: "Create a notification string with a timestamp."
603
+ # expression: "'New message received at ' + string(document.create_time)" The
604
+ # exact variables and functions that may be referenced within an expression are
605
+ # determined by the service that evaluates it. See the service documentation for
606
+ # additional information.
705
607
  # Corresponds to the JSON property `condition`
706
608
  # @return [Google::Apis::CloudassetV1::Expr]
707
609
  attr_accessor :condition
708
610
 
709
- # Asset content type. If not specified, no content but the asset name and
710
- # type will be returned.
611
+ # Asset content type. If not specified, no content but the asset name and type
612
+ # will be returned.
711
613
  # Corresponds to the JSON property `contentType`
712
614
  # @return [String]
713
615
  attr_accessor :content_type
@@ -717,12 +619,11 @@ module Google
717
619
  # @return [Google::Apis::CloudassetV1::FeedOutputConfig]
718
620
  attr_accessor :feed_output_config
719
621
 
720
- # Required. The format will be
721
- # projects/`project_number`/feeds/`client-assigned_feed_identifier` or
722
- # folders/`folder_number`/feeds/`client-assigned_feed_identifier` or
723
- # organizations/`organization_number`/feeds/`client-assigned_feed_identifier`
724
- # The client-assigned feed identifier must be unique within the parent
725
- # project/folder/organization.
622
+ # Required. The format will be projects/`project_number`/feeds/`client-
623
+ # assigned_feed_identifier` or folders/`folder_number`/feeds/`client-
624
+ # assigned_feed_identifier` or organizations/`organization_number`/feeds/`client-
625
+ # assigned_feed_identifier` The client-assigned feed identifier must be unique
626
+ # within the parent project/folder/organization.
726
627
  # Corresponds to the JSON property `name`
727
628
  # @return [String]
728
629
  attr_accessor :name
@@ -765,24 +666,22 @@ module Google
765
666
  class GcsDestination
766
667
  include Google::Apis::Core::Hashable
767
668
 
768
- # The uri of the Cloud Storage object. It's the same uri that is used by
769
- # gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
770
- # Editing Object
771
- # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
772
- # for more information.
669
+ # The uri of the Cloud Storage object. It's the same uri that is used by gsutil.
670
+ # Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
671
+ # Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for
672
+ # more information.
773
673
  # Corresponds to the JSON property `uri`
774
674
  # @return [String]
775
675
  attr_accessor :uri
776
676
 
777
- # The uri prefix of all generated Cloud Storage objects. Example:
778
- # "gs://bucket_name/object_name_prefix". Each object uri is in format:
779
- # "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
780
- # contains assets for that type. <shard number> starts from 0. Example:
781
- # "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
782
- # the first shard of output objects containing all
783
- # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
784
- # returned if file with the same name "gs://bucket_name/object_name_prefix"
785
- # already exists.
677
+ # The uri prefix of all generated Cloud Storage objects. Example: "gs://
678
+ # bucket_name/object_name_prefix". Each object uri is in format: "gs://
679
+ # bucket_name/object_name_prefix// and only contains assets for that type.
680
+ # starts from 0. Example: "gs://bucket_name/object_name_prefix/compute.
681
+ # googleapis.com/Disk/0" is the first shard of output objects containing all
682
+ # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be returned
683
+ # if file with the same name "gs://bucket_name/object_name_prefix" already
684
+ # exists.
786
685
  # Corresponds to the JSON property `uriPrefix`
787
686
  # @return [String]
788
687
  attr_accessor :uri_prefix
@@ -803,45 +702,29 @@ module Google
803
702
  class GoogleCloudOrgpolicyV1BooleanPolicy
804
703
  include Google::Apis::Core::Hashable
805
704
 
806
- # If `true`, then the `Policy` is enforced. If `false`, then any
807
- # configuration is acceptable.
808
- # Suppose you have a `Constraint`
809
- # `constraints/compute.disableSerialPortAccess` with `constraint_default`
810
- # set to `ALLOW`. A `Policy` for that `Constraint` exhibits the following
811
- # behavior:
812
- # - If the `Policy` at this resource has enforced set to `false`, serial
813
- # port connection attempts will be allowed.
814
- # - If the `Policy` at this resource has enforced set to `true`, serial
815
- # port connection attempts will be refused.
816
- # - If the `Policy` at this resource is `RestoreDefault`, serial port
817
- # connection attempts will be allowed.
818
- # - If no `Policy` is set at this resource or anywhere higher in the
819
- # resource hierarchy, serial port connection attempts will be allowed.
820
- # - If no `Policy` is set at this resource, but one exists higher in the
821
- # resource hierarchy, the behavior is as if the`Policy` were set at
822
- # this resource.
823
- # The following examples demonstrate the different possible layerings:
824
- # Example 1 (nearest `Constraint` wins):
825
- # `organizations/foo` has a `Policy` with:
826
- # `enforced: false`
827
- # `projects/bar` has no `Policy` set.
828
- # The constraint at `projects/bar` and `organizations/foo` will not be
829
- # enforced.
830
- # Example 2 (enforcement gets replaced):
831
- # `organizations/foo` has a `Policy` with:
832
- # `enforced: false`
833
- # `projects/bar` has a `Policy` with:
834
- # `enforced: true`
835
- # The constraint at `organizations/foo` is not enforced.
836
- # The constraint at `projects/bar` is enforced.
837
- # Example 3 (RestoreDefault):
838
- # `organizations/foo` has a `Policy` with:
839
- # `enforced: true`
840
- # `projects/bar` has a `Policy` with:
841
- # `RestoreDefault: ```
842
- # The constraint at `organizations/foo` is enforced.
843
- # The constraint at `projects/bar` is not enforced, because
844
- # `constraint_default` for the `Constraint` is `ALLOW`.
705
+ # If `true`, then the `Policy` is enforced. If `false`, then any configuration
706
+ # is acceptable. Suppose you have a `Constraint` `constraints/compute.
707
+ # disableSerialPortAccess` with `constraint_default` set to `ALLOW`. A `Policy`
708
+ # for that `Constraint` exhibits the following behavior: - If the `Policy` at
709
+ # this resource has enforced set to `false`, serial port connection attempts
710
+ # will be allowed. - If the `Policy` at this resource has enforced set to `true`,
711
+ # serial port connection attempts will be refused. - If the `Policy` at this
712
+ # resource is `RestoreDefault`, serial port connection attempts will be allowed.
713
+ # - If no `Policy` is set at this resource or anywhere higher in the resource
714
+ # hierarchy, serial port connection attempts will be allowed. - If no `Policy`
715
+ # is set at this resource, but one exists higher in the resource hierarchy, the
716
+ # behavior is as if the`Policy` were set at this resource. The following
717
+ # examples demonstrate the different possible layerings: Example 1 (nearest `
718
+ # Constraint` wins): `organizations/foo` has a `Policy` with: `enforced: false` `
719
+ # projects/bar` has no `Policy` set. The constraint at `projects/bar` and `
720
+ # organizations/foo` will not be enforced. Example 2 (enforcement gets replaced):
721
+ # `organizations/foo` has a `Policy` with: `enforced: false` `projects/bar` has
722
+ # a `Policy` with: `enforced: true` The constraint at `organizations/foo` is not
723
+ # enforced. The constraint at `projects/bar` is enforced. Example 3 (
724
+ # RestoreDefault): `organizations/foo` has a `Policy` with: `enforced: true` `
725
+ # projects/bar` has a `Policy` with: `RestoreDefault: ``` The constraint at `
726
+ # organizations/foo` is enforced. The constraint at `projects/bar` is not
727
+ # enforced, because `constraint_default` for the `Constraint` is `ALLOW`.
845
728
  # Corresponds to the JSON property `enforced`
846
729
  # @return [Boolean]
847
730
  attr_accessor :enforced
@@ -857,26 +740,22 @@ module Google
857
740
  end
858
741
  end
859
742
 
860
- # Used in `policy_type` to specify how `list_policy` behaves at this
861
- # resource.
862
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
863
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
864
- # are allowed or denied by setting the `allowed_values` and `denied_values`
865
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
866
- # The `under:` prefix is used to denote resource subtree values.
867
- # The `is:` prefix is used to denote specific values, and is required only
868
- # if the value contains a ":". Values prefixed with "is:" are treated the
869
- # same as values with no prefix.
870
- # Ancestry subtrees must be in one of the following formats:
871
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
872
- # - "folders/<folder-id>", e.g. "folders/1234"
873
- # - "organizations/<organization-id>", e.g. "organizations/1234"
874
- # The `supports_under` field of the associated `Constraint` defines whether
875
- # ancestry prefixes can be used. You can set `allowed_values` and
876
- # `denied_values` in the same `Policy` if `all_values` is
877
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
878
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
879
- # `allowed_values` and `denied_values` must be unset.
743
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
744
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
745
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
746
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
747
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
748
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
749
+ # denote specific values, and is required only if the value contains a ":".
750
+ # Values prefixed with "is:" are treated the same as values with no prefix.
751
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
752
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
753
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
754
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
755
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
756
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
757
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
758
+ # and `denied_values` must be unset.
880
759
  class GoogleCloudOrgpolicyV1ListPolicy
881
760
  include Google::Apis::Core::Hashable
882
761
 
@@ -885,112 +764,83 @@ module Google
885
764
  # @return [String]
886
765
  attr_accessor :all_values
887
766
 
888
- # List of values allowed at this resource. Can only be set if `all_values`
889
- # is set to `ALL_VALUES_UNSPECIFIED`.
767
+ # List of values allowed at this resource. Can only be set if `all_values` is
768
+ # set to `ALL_VALUES_UNSPECIFIED`.
890
769
  # Corresponds to the JSON property `allowedValues`
891
770
  # @return [Array<String>]
892
771
  attr_accessor :allowed_values
893
772
 
894
- # List of values denied at this resource. Can only be set if `all_values`
895
- # is set to `ALL_VALUES_UNSPECIFIED`.
773
+ # List of values denied at this resource. Can only be set if `all_values` is set
774
+ # to `ALL_VALUES_UNSPECIFIED`.
896
775
  # Corresponds to the JSON property `deniedValues`
897
776
  # @return [Array<String>]
898
777
  attr_accessor :denied_values
899
778
 
900
- # Determines the inheritance behavior for this `Policy`.
901
- # By default, a `ListPolicy` set at a resource supersedes any `Policy` set
902
- # anywhere up the resource hierarchy. However, if `inherit_from_parent` is
903
- # set to `true`, then the values from the effective `Policy` of the parent
904
- # resource are inherited, meaning the values set in this `Policy` are
905
- # added to the values inherited up the hierarchy.
906
- # Setting `Policy` hierarchies that inherit both allowed values and denied
907
- # values isn't recommended in most circumstances to keep the configuration
908
- # simple and understandable. However, it is possible to set a `Policy` with
909
- # `allowed_values` set that inherits a `Policy` with `denied_values` set.
910
- # In this case, the values that are allowed must be in `allowed_values` and
911
- # not present in `denied_values`.
912
- # For example, suppose you have a `Constraint`
913
- # `constraints/serviceuser.services`, which has a `constraint_type` of
914
- # `list_constraint`, and with `constraint_default` set to `ALLOW`.
915
- # Suppose that at the Organization level, a `Policy` is applied that
916
- # restricts the allowed API activations to ``E1`, `E2``. Then, if a
917
- # `Policy` is applied to a project below the Organization that has
918
- # `inherit_from_parent` set to `false` and field all_values set to DENY,
919
- # then an attempt to activate any API will be denied.
920
- # The following examples demonstrate different possible layerings for
921
- # `projects/bar` parented by `organizations/foo`:
922
- # Example 1 (no inherited values):
923
- # `organizations/foo` has a `Policy` with values:
924
- # `allowed_values: "E1" allowed_values:"E2"`
925
- # `projects/bar` has `inherit_from_parent` `false` and values:
926
- # `allowed_values: "E3" allowed_values: "E4"`
927
- # The accepted values at `organizations/foo` are `E1`, `E2`.
928
- # The accepted values at `projects/bar` are `E3`, and `E4`.
929
- # Example 2 (inherited values):
930
- # `organizations/foo` has a `Policy` with values:
931
- # `allowed_values: "E1" allowed_values:"E2"`
932
- # `projects/bar` has a `Policy` with values:
933
- # `value: "E3" value: "E4" inherit_from_parent: true`
934
- # The accepted values at `organizations/foo` are `E1`, `E2`.
935
- # The accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.
936
- # Example 3 (inheriting both allowed and denied values):
937
- # `organizations/foo` has a `Policy` with values:
938
- # `allowed_values: "E1" allowed_values: "E2"`
939
- # `projects/bar` has a `Policy` with:
940
- # `denied_values: "E1"`
941
- # The accepted values at `organizations/foo` are `E1`, `E2`.
942
- # The value accepted at `projects/bar` is `E2`.
943
- # Example 4 (RestoreDefault):
944
- # `organizations/foo` has a `Policy` with values:
945
- # `allowed_values: "E1" allowed_values:"E2"`
946
- # `projects/bar` has a `Policy` with values:
947
- # `RestoreDefault: ```
948
- # The accepted values at `organizations/foo` are `E1`, `E2`.
949
- # The accepted values at `projects/bar` are either all or none depending on
950
- # the value of `constraint_default` (if `ALLOW`, all; if
951
- # `DENY`, none).
952
- # Example 5 (no policy inherits parent policy):
953
- # `organizations/foo` has no `Policy` set.
954
- # `projects/bar` has no `Policy` set.
955
- # The accepted values at both levels are either all or none depending on
956
- # the value of `constraint_default` (if `ALLOW`, all; if
957
- # `DENY`, none).
958
- # Example 6 (ListConstraint allowing all):
959
- # `organizations/foo` has a `Policy` with values:
960
- # `allowed_values: "E1" allowed_values: "E2"`
961
- # `projects/bar` has a `Policy` with:
962
- # `all: ALLOW`
963
- # The accepted values at `organizations/foo` are `E1`, E2`.
964
- # Any value is accepted at `projects/bar`.
965
- # Example 7 (ListConstraint allowing none):
966
- # `organizations/foo` has a `Policy` with values:
967
- # `allowed_values: "E1" allowed_values: "E2"`
968
- # `projects/bar` has a `Policy` with:
969
- # `all: DENY`
970
- # The accepted values at `organizations/foo` are `E1`, E2`.
971
- # No value is accepted at `projects/bar`.
972
- # Example 10 (allowed and denied subtrees of Resource Manager hierarchy):
973
- # Given the following resource hierarchy
974
- # O1->`F1, F2`; F1->`P1`; F2->`P2, P3`,
975
- # `organizations/foo` has a `Policy` with values:
976
- # `allowed_values: "under:organizations/O1"`
977
- # `projects/bar` has a `Policy` with:
978
- # `allowed_values: "under:projects/P3"`
979
- # `denied_values: "under:folders/F2"`
980
- # The accepted values at `organizations/foo` are `organizations/O1`,
981
- # `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`,
982
- # `projects/P3`.
983
- # The accepted values at `projects/bar` are `organizations/O1`,
984
- # `folders/F1`, `projects/P1`.
779
+ # Determines the inheritance behavior for this `Policy`. By default, a `
780
+ # ListPolicy` set at a resource supersedes any `Policy` set anywhere up the
781
+ # resource hierarchy. However, if `inherit_from_parent` is set to `true`, then
782
+ # the values from the effective `Policy` of the parent resource are inherited,
783
+ # meaning the values set in this `Policy` are added to the values inherited up
784
+ # the hierarchy. Setting `Policy` hierarchies that inherit both allowed values
785
+ # and denied values isn't recommended in most circumstances to keep the
786
+ # configuration simple and understandable. However, it is possible to set a `
787
+ # Policy` with `allowed_values` set that inherits a `Policy` with `denied_values`
788
+ # set. In this case, the values that are allowed must be in `allowed_values`
789
+ # and not present in `denied_values`. For example, suppose you have a `
790
+ # Constraint` `constraints/serviceuser.services`, which has a `constraint_type`
791
+ # of `list_constraint`, and with `constraint_default` set to `ALLOW`. Suppose
792
+ # that at the Organization level, a `Policy` is applied that restricts the
793
+ # allowed API activations to ``E1`, `E2``. Then, if a `Policy` is applied to a
794
+ # project below the Organization that has `inherit_from_parent` set to `false`
795
+ # and field all_values set to DENY, then an attempt to activate any API will be
796
+ # denied. The following examples demonstrate different possible layerings for `
797
+ # projects/bar` parented by `organizations/foo`: Example 1 (no inherited values):
798
+ # `organizations/foo` has a `Policy` with values: `allowed_values: "E1"
799
+ # allowed_values:"E2"` `projects/bar` has `inherit_from_parent` `false` and
800
+ # values: `allowed_values: "E3" allowed_values: "E4"` The accepted values at `
801
+ # organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` are `
802
+ # E3`, and `E4`. Example 2 (inherited values): `organizations/foo` has a `Policy`
803
+ # with values: `allowed_values: "E1" allowed_values:"E2"` `projects/bar` has a `
804
+ # Policy` with values: `value: "E3" value: "E4" inherit_from_parent: true` The
805
+ # accepted values at `organizations/foo` are `E1`, `E2`. The accepted values at `
806
+ # projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both
807
+ # allowed and denied values): `organizations/foo` has a `Policy` with values: `
808
+ # allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `Policy` with:
809
+ # `denied_values: "E1"` The accepted values at `organizations/foo` are `E1`, `E2`
810
+ # . The value accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): `
811
+ # organizations/foo` has a `Policy` with values: `allowed_values: "E1"
812
+ # allowed_values:"E2"` `projects/bar` has a `Policy` with values: `
813
+ # RestoreDefault: ``` The accepted values at `organizations/foo` are `E1`, `E2`.
814
+ # The accepted values at `projects/bar` are either all or none depending on the
815
+ # value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (
816
+ # no policy inherits parent policy): `organizations/foo` has no `Policy` set. `
817
+ # projects/bar` has no `Policy` set. The accepted values at both levels are
818
+ # either all or none depending on the value of `constraint_default` (if `ALLOW`,
819
+ # all; if `DENY`, none). Example 6 (ListConstraint allowing all): `organizations/
820
+ # foo` has a `Policy` with values: `allowed_values: "E1" allowed_values: "E2"` `
821
+ # projects/bar` has a `Policy` with: `all: ALLOW` The accepted values at `
822
+ # organizations/foo` are `E1`, E2`. Any value is accepted at `projects/bar`.
823
+ # Example 7 (ListConstraint allowing none): `organizations/foo` has a `Policy`
824
+ # with values: `allowed_values: "E1" allowed_values: "E2"` `projects/bar` has a `
825
+ # Policy` with: `all: DENY` The accepted values at `organizations/foo` are `E1`,
826
+ # E2`. No value is accepted at `projects/bar`. Example 10 (allowed and denied
827
+ # subtrees of Resource Manager hierarchy): Given the following resource
828
+ # hierarchy O1->`F1, F2`; F1->`P1`; F2->`P2, P3`, `organizations/foo` has a `
829
+ # Policy` with values: `allowed_values: "under:organizations/O1"` `projects/bar`
830
+ # has a `Policy` with: `allowed_values: "under:projects/P3"` `denied_values: "
831
+ # under:folders/F2"` The accepted values at `organizations/foo` are `
832
+ # organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, `projects/P2`, `
833
+ # projects/P3`. The accepted values at `projects/bar` are `organizations/O1`, `
834
+ # folders/F1`, `projects/P1`.
985
835
  # Corresponds to the JSON property `inheritFromParent`
986
836
  # @return [Boolean]
987
837
  attr_accessor :inherit_from_parent
988
838
  alias_method :inherit_from_parent?, :inherit_from_parent
989
839
 
990
- # Optional. The Google Cloud Console will try to default to a configuration
991
- # that matches the value specified in this `Policy`. If `suggested_value`
992
- # is not set, it will inherit the value specified higher in the hierarchy,
993
- # unless `inherit_from_parent` is `false`.
840
+ # Optional. The Google Cloud Console will try to default to a configuration that
841
+ # matches the value specified in this `Policy`. If `suggested_value` is not set,
842
+ # it will inherit the value specified higher in the hierarchy, unless `
843
+ # inherit_from_parent` is `false`.
994
844
  # Corresponds to the JSON property `suggestedValue`
995
845
  # @return [String]
996
846
  attr_accessor :suggested_value
@@ -1020,76 +870,65 @@ module Google
1020
870
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1BooleanPolicy]
1021
871
  attr_accessor :boolean_policy
1022
872
 
1023
- # The name of the `Constraint` the `Policy` is configuring, for example,
1024
- # `constraints/serviceuser.services`.
1025
- # A [list of available
1026
- # constraints](/resource-manager/docs/organization-policy/org-policy-constraints)
1027
- # is available.
873
+ # The name of the `Constraint` the `Policy` is configuring, for example, `
874
+ # constraints/serviceuser.services`. A [list of available constraints](/resource-
875
+ # manager/docs/organization-policy/org-policy-constraints) is available.
1028
876
  # Immutable after creation.
1029
877
  # Corresponds to the JSON property `constraint`
1030
878
  # @return [String]
1031
879
  attr_accessor :constraint
1032
880
 
1033
881
  # An opaque tag indicating the current version of the `Policy`, used for
1034
- # concurrency control.
1035
- # When the `Policy` is returned from either a `GetPolicy` or a
1036
- # `ListOrgPolicy` request, this `etag` indicates the version of the current
1037
- # `Policy` to use when executing a read-modify-write loop.
1038
- # When the `Policy` is returned from a `GetEffectivePolicy` request, the
1039
- # `etag` will be unset.
1040
- # When the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value
1041
- # that was returned from a `GetOrgPolicy` request as part of a
1042
- # read-modify-write loop for concurrency control. Not setting the `etag`in a
1043
- # `SetOrgPolicy` request will result in an unconditional write of the
1044
- # `Policy`.
882
+ # concurrency control. When the `Policy` is returned from either a `GetPolicy`
883
+ # or a `ListOrgPolicy` request, this `etag` indicates the version of the current
884
+ # `Policy` to use when executing a read-modify-write loop. When the `Policy` is
885
+ # returned from a `GetEffectivePolicy` request, the `etag` will be unset. When
886
+ # the `Policy` is used in a `SetOrgPolicy` method, use the `etag` value that was
887
+ # returned from a `GetOrgPolicy` request as part of a read-modify-write loop for
888
+ # concurrency control. Not setting the `etag`in a `SetOrgPolicy` request will
889
+ # result in an unconditional write of the `Policy`.
1045
890
  # Corresponds to the JSON property `etag`
1046
891
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1047
892
  # @return [String]
1048
893
  attr_accessor :etag
1049
894
 
1050
- # Used in `policy_type` to specify how `list_policy` behaves at this
1051
- # resource.
1052
- # `ListPolicy` can define specific values and subtrees of Cloud Resource
1053
- # Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that
1054
- # are allowed or denied by setting the `allowed_values` and `denied_values`
1055
- # fields. This is achieved by using the `under:` and optional `is:` prefixes.
1056
- # The `under:` prefix is used to denote resource subtree values.
1057
- # The `is:` prefix is used to denote specific values, and is required only
1058
- # if the value contains a ":". Values prefixed with "is:" are treated the
1059
- # same as values with no prefix.
1060
- # Ancestry subtrees must be in one of the following formats:
1061
- # - "projects/<project-id>", e.g. "projects/tokyo-rain-123"
1062
- # - "folders/<folder-id>", e.g. "folders/1234"
1063
- # - "organizations/<organization-id>", e.g. "organizations/1234"
1064
- # The `supports_under` field of the associated `Constraint` defines whether
1065
- # ancestry prefixes can be used. You can set `allowed_values` and
1066
- # `denied_values` in the same `Policy` if `all_values` is
1067
- # `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
1068
- # values. If `all_values` is set to either `ALLOW` or `DENY`,
1069
- # `allowed_values` and `denied_values` must be unset.
895
+ # Used in `policy_type` to specify how `list_policy` behaves at this resource. `
896
+ # ListPolicy` can define specific values and subtrees of Cloud Resource Manager
897
+ # resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed
898
+ # or denied by setting the `allowed_values` and `denied_values` fields. This is
899
+ # achieved by using the `under:` and optional `is:` prefixes. The `under:`
900
+ # prefix is used to denote resource subtree values. The `is:` prefix is used to
901
+ # denote specific values, and is required only if the value contains a ":".
902
+ # Values prefixed with "is:" are treated the same as values with no prefix.
903
+ # Ancestry subtrees must be in one of the following formats: - "projects/", e.g.
904
+ # "projects/tokyo-rain-123" - "folders/", e.g. "folders/1234" - "organizations/",
905
+ # e.g. "organizations/1234" The `supports_under` field of the associated `
906
+ # Constraint` defines whether ancestry prefixes can be used. You can set `
907
+ # allowed_values` and `denied_values` in the same `Policy` if `all_values` is `
908
+ # ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all
909
+ # values. If `all_values` is set to either `ALLOW` or `DENY`, `allowed_values`
910
+ # and `denied_values` must be unset.
1070
911
  # Corresponds to the JSON property `listPolicy`
1071
912
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1ListPolicy]
1072
913
  attr_accessor :list_policy
1073
914
 
1074
- # Ignores policies set above this resource and restores the
1075
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1076
- # this resource.
1077
- # Suppose that `constraint_default` is set to `ALLOW` for the
1078
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1079
- # foo.com sets a `Policy` at their Organization resource node that restricts
1080
- # the allowed service activations to deny all service activations. They
1081
- # could then set a `Policy` with the `policy_type` `restore_default` on
1082
- # several experimental projects, restoring the `constraint_default`
1083
- # enforcement of the `Constraint` for only those projects, allowing those
1084
- # projects to have all services activated.
915
+ # Ignores policies set above this resource and restores the `constraint_default`
916
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
917
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
918
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
919
+ # their Organization resource node that restricts the allowed service
920
+ # activations to deny all service activations. They could then set a `Policy`
921
+ # with the `policy_type` `restore_default` on several experimental projects,
922
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
923
+ # those projects, allowing those projects to have all services activated.
1085
924
  # Corresponds to the JSON property `restoreDefault`
1086
925
  # @return [Google::Apis::CloudassetV1::GoogleCloudOrgpolicyV1RestoreDefault]
1087
926
  attr_accessor :restore_default
1088
927
 
1089
- # The time stamp the `Policy` was previously updated. This is set by the
1090
- # server, not specified by the caller, and represents the last time a call to
1091
- # `SetOrgPolicy` was made for that `Policy`. Any value set by the client will
1092
- # be ignored.
928
+ # The time stamp the `Policy` was previously updated. This is set by the server,
929
+ # not specified by the caller, and represents the last time a call to `
930
+ # SetOrgPolicy` was made for that `Policy`. Any value set by the client will be
931
+ # ignored.
1093
932
  # Corresponds to the JSON property `updateTime`
1094
933
  # @return [String]
1095
934
  attr_accessor :update_time
@@ -1115,17 +954,15 @@ module Google
1115
954
  end
1116
955
  end
1117
956
 
1118
- # Ignores policies set above this resource and restores the
1119
- # `constraint_default` enforcement behavior of the specific `Constraint` at
1120
- # this resource.
1121
- # Suppose that `constraint_default` is set to `ALLOW` for the
1122
- # `Constraint` `constraints/serviceuser.services`. Suppose that organization
1123
- # foo.com sets a `Policy` at their Organization resource node that restricts
1124
- # the allowed service activations to deny all service activations. They
1125
- # could then set a `Policy` with the `policy_type` `restore_default` on
1126
- # several experimental projects, restoring the `constraint_default`
1127
- # enforcement of the `Constraint` for only those projects, allowing those
1128
- # projects to have all services activated.
957
+ # Ignores policies set above this resource and restores the `constraint_default`
958
+ # enforcement behavior of the specific `Constraint` at this resource. Suppose
959
+ # that `constraint_default` is set to `ALLOW` for the `Constraint` `constraints/
960
+ # serviceuser.services`. Suppose that organization foo.com sets a `Policy` at
961
+ # their Organization resource node that restricts the allowed service
962
+ # activations to deny all service activations. They could then set a `Policy`
963
+ # with the `policy_type` `restore_default` on several experimental projects,
964
+ # restoring the `constraint_default` enforcement of the `Constraint` for only
965
+ # those projects, allowing those projects to have all services activated.
1129
966
  class GoogleCloudOrgpolicyV1RestoreDefault
1130
967
  include Google::Apis::Core::Hashable
1131
968
 
@@ -1150,8 +987,8 @@ module Google
1150
987
  attr_accessor :basic
1151
988
 
1152
989
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1153
- # to represent the necessary conditions for the level to apply to a request.
1154
- # See CEL spec at: https://github.com/google/cel-spec
990
+ # to represent the necessary conditions for the level to apply to a request. See
991
+ # CEL spec at: https://github.com/google/cel-spec
1155
992
  # Corresponds to the JSON property `custom`
1156
993
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel]
1157
994
  attr_accessor :custom
@@ -1161,10 +998,10 @@ module Google
1161
998
  # @return [String]
1162
999
  attr_accessor :description
1163
1000
 
1164
- # Required. Resource name for the Access Level. The `short_name` component
1165
- # must begin with a letter and only include alphanumeric and '_'. Format:
1166
- # `accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length
1167
- # of the `short_name` component is 50 characters.
1001
+ # Required. Resource name for the Access Level. The `short_name` component must
1002
+ # begin with a letter and only include alphanumeric and '_'. Format: `
1003
+ # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
1004
+ # the `short_name` component is 50 characters.
1168
1005
  # Corresponds to the JSON property `name`
1169
1006
  # @return [String]
1170
1007
  attr_accessor :name
@@ -1189,30 +1026,29 @@ module Google
1189
1026
  end
1190
1027
 
1191
1028
  # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
1192
- # attributes to use Google Cloud services) and `ServicePerimeters` (which
1193
- # define regions of services able to freely pass data within a perimeter). An
1194
- # access policy is globally visible within an organization, and the
1195
- # restrictions it specifies apply to all projects within an organization.
1029
+ # attributes to use Google Cloud services) and `ServicePerimeters` (which define
1030
+ # regions of services able to freely pass data within a perimeter). An access
1031
+ # policy is globally visible within an organization, and the restrictions it
1032
+ # specifies apply to all projects within an organization.
1196
1033
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
1197
1034
  include Google::Apis::Core::Hashable
1198
1035
 
1199
- # Output only. An opaque identifier for the current version of the
1200
- # `AccessPolicy`. This will always be a strongly validated etag, meaning that
1201
- # two Access Polices will be identical if and only if their etags are
1202
- # identical. Clients should not expect this to be in any specific format.
1036
+ # Output only. An opaque identifier for the current version of the `AccessPolicy`
1037
+ # . This will always be a strongly validated etag, meaning that two Access
1038
+ # Polices will be identical if and only if their etags are identical. Clients
1039
+ # should not expect this to be in any specific format.
1203
1040
  # Corresponds to the JSON property `etag`
1204
1041
  # @return [String]
1205
1042
  attr_accessor :etag
1206
1043
 
1207
- # Output only. Resource name of the `AccessPolicy`. Format:
1208
- # `accessPolicies/`policy_id``
1044
+ # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
1045
+ # policy_id``
1209
1046
  # Corresponds to the JSON property `name`
1210
1047
  # @return [String]
1211
1048
  attr_accessor :name
1212
1049
 
1213
- # Required. The parent of this `AccessPolicy` in the Cloud Resource
1214
- # Hierarchy. Currently immutable once created. Format:
1215
- # `organizations/`organization_id``
1050
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource Hierarchy.
1051
+ # Currently immutable once created. Format: `organizations/`organization_id``
1216
1052
  # Corresponds to the JSON property `parent`
1217
1053
  # @return [String]
1218
1054
  attr_accessor :parent
@@ -1240,10 +1076,10 @@ module Google
1240
1076
  include Google::Apis::Core::Hashable
1241
1077
 
1242
1078
  # How the `conditions` list should be combined to determine if a request is
1243
- # granted this `AccessLevel`. If AND is used, each `Condition` in
1244
- # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
1245
- # is used, at least one `Condition` in `conditions` must be satisfied for the
1246
- # `AccessLevel` to be applied. Default behavior is AND.
1079
+ # granted this `AccessLevel`. If AND is used, each `Condition` in `conditions`
1080
+ # must be satisfied for the `AccessLevel` to be applied. If OR is used, at least
1081
+ # one `Condition` in `conditions` must be satisfied for the `AccessLevel` to be
1082
+ # applied. Default behavior is AND.
1247
1083
  # Corresponds to the JSON property `combiningFunction`
1248
1084
  # @return [String]
1249
1085
  attr_accessor :combining_function
@@ -1277,54 +1113,48 @@ module Google
1277
1113
  # devices to be granted access levels, it does not do any enforcement on the
1278
1114
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1279
1115
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1280
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1281
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1282
- # true for requests originating from encrypted Linux desktops and encrypted
1283
- # Windows desktops.
1116
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
1117
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
1118
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1284
1119
  # Corresponds to the JSON property `devicePolicy`
1285
1120
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1DevicePolicy]
1286
1121
  attr_accessor :device_policy
1287
1122
 
1288
- # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
1289
- # a CIDR IP address block, the specified IP address portion must be properly
1123
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for a
1124
+ # CIDR IP address block, the specified IP address portion must be properly
1290
1125
  # truncated (i.e. all the host bits must be zero) or the input is considered
1291
- # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
1292
- # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
1293
- # "2001:db8::1/32" is not. The originating IP of a request must be in one of
1294
- # the listed subnets in order for this Condition to be true. If empty, all IP
1295
- # addresses are allowed.
1126
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is not.
1127
+ # Similarly, for IPv6, "2001:db8::/32" is accepted whereas "2001:db8::1/32" is
1128
+ # not. The originating IP of a request must be in one of the listed subnets in
1129
+ # order for this Condition to be true. If empty, all IP addresses are allowed.
1296
1130
  # Corresponds to the JSON property `ipSubnetworks`
1297
1131
  # @return [Array<String>]
1298
1132
  attr_accessor :ip_subnetworks
1299
1133
 
1300
- # The request must be made by one of the provided user or service
1301
- # accounts. Groups are not supported.
1302
- # Syntax:
1303
- # `user:`emailid``
1304
- # `serviceAccount:`emailid``
1134
+ # The request must be made by one of the provided user or service accounts.
1135
+ # Groups are not supported. Syntax: `user:`emailid`` `serviceAccount:`emailid``
1305
1136
  # If not specified, a request may come from any user.
1306
1137
  # Corresponds to the JSON property `members`
1307
1138
  # @return [Array<String>]
1308
1139
  attr_accessor :members
1309
1140
 
1310
1141
  # Whether to negate the Condition. If true, the Condition becomes a NAND over
1311
- # its non-empty fields, each field must be false for the Condition overall to
1312
- # be satisfied. Defaults to false.
1142
+ # its non-empty fields, each field must be false for the Condition overall to be
1143
+ # satisfied. Defaults to false.
1313
1144
  # Corresponds to the JSON property `negate`
1314
1145
  # @return [Boolean]
1315
1146
  attr_accessor :negate
1316
1147
  alias_method :negate?, :negate
1317
1148
 
1318
- # The request must originate from one of the provided countries/regions.
1319
- # Must be valid ISO 3166-1 alpha-2 codes.
1149
+ # The request must originate from one of the provided countries/regions. Must be
1150
+ # valid ISO 3166-1 alpha-2 codes.
1320
1151
  # Corresponds to the JSON property `regions`
1321
1152
  # @return [Array<String>]
1322
1153
  attr_accessor :regions
1323
1154
 
1324
1155
  # A list of other access levels defined in the same `Policy`, referenced by
1325
- # resource name. Referencing an `AccessLevel` which does not exist is an
1326
- # error. All access levels listed must be granted for the Condition
1327
- # to be true. Example:
1156
+ # resource name. Referencing an `AccessLevel` which does not exist is an error.
1157
+ # All access levels listed must be granted for the Condition to be true. Example:
1328
1158
  # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
1329
1159
  # Corresponds to the JSON property `requiredAccessLevels`
1330
1160
  # @return [Array<String>]
@@ -1346,33 +1176,26 @@ module Google
1346
1176
  end
1347
1177
 
1348
1178
  # `CustomLevel` is an `AccessLevel` using the Cloud Common Expression Language
1349
- # to represent the necessary conditions for the level to apply to a request.
1350
- # See CEL spec at: https://github.com/google/cel-spec
1179
+ # to represent the necessary conditions for the level to apply to a request. See
1180
+ # CEL spec at: https://github.com/google/cel-spec
1351
1181
  class GoogleIdentityAccesscontextmanagerV1CustomLevel
1352
1182
  include Google::Apis::Core::Hashable
1353
1183
 
1354
- # Represents a textual expression in the Common Expression Language (CEL)
1355
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1356
- # are documented at https://github.com/google/cel-spec.
1357
- # Example (Comparison):
1358
- # title: "Summary size limit"
1359
- # description: "Determines if a summary is less than 100 chars"
1360
- # expression: "document.summary.size() < 100"
1361
- # Example (Equality):
1362
- # title: "Requestor is owner"
1363
- # description: "Determines if requestor is the document owner"
1364
- # expression: "document.owner == request.auth.claims.email"
1365
- # Example (Logic):
1366
- # title: "Public documents"
1367
- # description: "Determine whether the document should be publicly visible"
1368
- # expression: "document.type != 'private' && document.type != 'internal'"
1369
- # Example (Data Manipulation):
1370
- # title: "Notification string"
1371
- # description: "Create a notification string with a timestamp."
1372
- # expression: "'New message received at ' + string(document.create_time)"
1373
- # The exact variables and functions that may be referenced within an expression
1374
- # are determined by the service that evaluates it. See the service
1375
- # documentation for additional information.
1184
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1185
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1186
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1187
+ # "Summary size limit" description: "Determines if a summary is less than 100
1188
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1189
+ # Requestor is owner" description: "Determines if requestor is the document
1190
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1191
+ # Logic): title: "Public documents" description: "Determine whether the document
1192
+ # should be publicly visible" expression: "document.type != 'private' &&
1193
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1194
+ # string" description: "Create a notification string with a timestamp."
1195
+ # expression: "'New message received at ' + string(document.create_time)" The
1196
+ # exact variables and functions that may be referenced within an expression are
1197
+ # determined by the service that evaluates it. See the service documentation for
1198
+ # additional information.
1376
1199
  # Corresponds to the JSON property `expr`
1377
1200
  # @return [Google::Apis::CloudassetV1::Expr]
1378
1201
  attr_accessor :expr
@@ -1392,15 +1215,13 @@ module Google
1392
1215
  # devices to be granted access levels, it does not do any enforcement on the
1393
1216
  # device. `DevicePolicy` acts as an AND over all specified fields, and each
1394
1217
  # repeated field is an OR over its elements. Any unset fields are ignored. For
1395
- # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
1396
- # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
1397
- # true for requests originating from encrypted Linux desktops and encrypted
1398
- # Windows desktops.
1218
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type : DESKTOP_LINUX,
1219
+ # encryption_status: ENCRYPTED`, then the DevicePolicy will be true for requests
1220
+ # originating from encrypted Linux desktops and encrypted Windows desktops.
1399
1221
  class GoogleIdentityAccesscontextmanagerV1DevicePolicy
1400
1222
  include Google::Apis::Core::Hashable
1401
1223
 
1402
- # Allowed device management levels, an empty list allows all management
1403
- # levels.
1224
+ # Allowed device management levels, an empty list allows all management levels.
1404
1225
  # Corresponds to the JSON property `allowedDeviceManagementLevels`
1405
1226
  # @return [Array<String>]
1406
1227
  attr_accessor :allowed_device_management_levels
@@ -1453,9 +1274,9 @@ module Google
1453
1274
  class GoogleIdentityAccesscontextmanagerV1OsConstraint
1454
1275
  include Google::Apis::Core::Hashable
1455
1276
 
1456
- # The minimum allowed OS version. If not set, any version of this OS
1457
- # satisfies the constraint. Format: `"major.minor.patch"`.
1458
- # Examples: `"10.5.301"`, `"9.2.1"`.
1277
+ # The minimum allowed OS version. If not set, any version of this OS satisfies
1278
+ # the constraint. Format: `"major.minor.patch"`. Examples: `"10.5.301"`, `"9.2.1"
1279
+ # `.
1459
1280
  # Corresponds to the JSON property `minimumVersion`
1460
1281
  # @return [String]
1461
1282
  attr_accessor :minimum_version
@@ -1465,10 +1286,10 @@ module Google
1465
1286
  # @return [String]
1466
1287
  attr_accessor :os_type
1467
1288
 
1468
- # Only allows requests from devices with a verified Chrome OS.
1469
- # Verifications includes requirements that the device is enterprise-managed,
1470
- # conformant to domain policies, and the caller has permission to call
1471
- # the API targeted by the request.
1289
+ # Only allows requests from devices with a verified Chrome OS. Verifications
1290
+ # includes requirements that the device is enterprise-managed, conformant to
1291
+ # domain policies, and the caller has permission to call the API targeted by the
1292
+ # request.
1472
1293
  # Corresponds to the JSON property `requireVerifiedChromeOs`
1473
1294
  # @return [Boolean]
1474
1295
  attr_accessor :require_verified_chrome_os
@@ -1487,37 +1308,34 @@ module Google
1487
1308
  end
1488
1309
 
1489
1310
  # `ServicePerimeter` describes a set of Google Cloud resources which can freely
1490
- # import and export data amongst themselves, but not export outside of the
1491
- # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1311
+ # import and export data amongst themselves, but not export outside of the `
1312
+ # ServicePerimeter`. If a request with a source within this `ServicePerimeter`
1492
1313
  # has a target outside of the `ServicePerimeter`, the request will be blocked.
1493
1314
  # Otherwise the request is allowed. There are two types of Service Perimeter -
1494
- # Regular and Bridge. Regular Service Perimeters cannot overlap, a single
1495
- # Google Cloud project can only belong to a single regular Service Perimeter.
1496
- # Service Perimeter Bridges can contain only Google Cloud projects as members,
1497
- # a single Google Cloud project may belong to multiple Service Perimeter
1498
- # Bridges.
1315
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single Google
1316
+ # Cloud project can only belong to a single regular Service Perimeter. Service
1317
+ # Perimeter Bridges can contain only Google Cloud projects as members, a single
1318
+ # Google Cloud project may belong to multiple Service Perimeter Bridges.
1499
1319
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
1500
1320
  include Google::Apis::Core::Hashable
1501
1321
 
1502
- # Description of the `ServicePerimeter` and its use. Does not affect
1503
- # behavior.
1322
+ # Description of the `ServicePerimeter` and its use. Does not affect behavior.
1504
1323
  # Corresponds to the JSON property `description`
1505
1324
  # @return [String]
1506
1325
  attr_accessor :description
1507
1326
 
1508
- # Required. Resource name for the ServicePerimeter. The `short_name`
1509
- # component must begin with a letter and only include alphanumeric and '_'.
1510
- # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
1327
+ # Required. Resource name for the ServicePerimeter. The `short_name` component
1328
+ # must begin with a letter and only include alphanumeric and '_'. Format: `
1329
+ # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1511
1330
  # Corresponds to the JSON property `name`
1512
1331
  # @return [String]
1513
1332
  attr_accessor :name
1514
1333
 
1515
- # Perimeter type indicator. A single project is
1516
- # allowed to be a member of single regular perimeter, but multiple service
1517
- # perimeter bridges. A project cannot be a included in a perimeter bridge
1518
- # without being included in regular perimeter. For perimeter bridges,
1519
- # the restricted service list as well as access level lists must be
1520
- # empty.
1334
+ # Perimeter type indicator. A single project is allowed to be a member of single
1335
+ # regular perimeter, but multiple service perimeter bridges. A project cannot be
1336
+ # a included in a perimeter bridge without being included in regular perimeter.
1337
+ # For perimeter bridges, the restricted service list as well as access level
1338
+ # lists must be empty.
1521
1339
  # Corresponds to the JSON property `perimeterType`
1522
1340
  # @return [String]
1523
1341
  attr_accessor :perimeter_type
@@ -1539,16 +1357,15 @@ module Google
1539
1357
  # @return [String]
1540
1358
  attr_accessor :title
1541
1359
 
1542
- # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly
1543
- # exists for all Service Perimeters, and that spec is identical to the
1544
- # status for those Service Perimeters. When this flag is set, it inhibits the
1545
- # generation of the implicit spec, thereby allowing the user to explicitly
1546
- # provide a configuration ("spec") to use in a dry-run version of the Service
1547
- # Perimeter. This allows the user to test changes to the enforced config
1548
- # ("status") without actually enforcing them. This testing is done through
1549
- # analyzing the differences between currently enforced and suggested
1550
- # restrictions. use_explicit_dry_run_spec must bet set to True if any of the
1551
- # fields in the spec are set to non-default values.
1360
+ # Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists
1361
+ # for all Service Perimeters, and that spec is identical to the status for those
1362
+ # Service Perimeters. When this flag is set, it inhibits the generation of the
1363
+ # implicit spec, thereby allowing the user to explicitly provide a configuration
1364
+ # ("spec") to use in a dry-run version of the Service Perimeter. This allows the
1365
+ # user to test changes to the enforced config ("status") without actually
1366
+ # enforcing them. This testing is done through analyzing the differences between
1367
+ # currently enforced and suggested restrictions. use_explicit_dry_run_spec must
1368
+ # bet set to True if any of the fields in the spec are set to non-default values.
1552
1369
  # Corresponds to the JSON property `useExplicitDryRunSpec`
1553
1370
  # @return [Boolean]
1554
1371
  attr_accessor :use_explicit_dry_run_spec
@@ -1575,14 +1392,13 @@ module Google
1575
1392
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig
1576
1393
  include Google::Apis::Core::Hashable
1577
1394
 
1578
- # A list of `AccessLevel` resource names that allow resources within the
1579
- # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
1580
- # must be in the same policy as this `ServicePerimeter`. Referencing a
1581
- # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
1582
- # listed, resources within the perimeter can only be accessed via Google
1583
- # Cloud calls with request origins within the perimeter. Example:
1584
- # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
1585
- # For Service Perimeter Bridge, must be empty.
1395
+ # A list of `AccessLevel` resource names that allow resources within the `
1396
+ # ServicePerimeter` to be accessed from the internet. `AccessLevels` listed must
1397
+ # be in the same policy as this `ServicePerimeter`. Referencing a nonexistent `
1398
+ # AccessLevel` is a syntax error. If no `AccessLevel` names are listed,
1399
+ # resources within the perimeter can only be accessed via Google Cloud calls
1400
+ # with request origins within the perimeter. Example: `"accessPolicies/MY_POLICY/
1401
+ # accessLevels/MY_LEVEL"`. For Service Perimeter Bridge, must be empty.
1586
1402
  # Corresponds to the JSON property `accessLevels`
1587
1403
  # @return [Array<String>]
1588
1404
  attr_accessor :access_levels
@@ -1593,16 +1409,14 @@ module Google
1593
1409
  # @return [Array<String>]
1594
1410
  attr_accessor :resources
1595
1411
 
1596
- # Google Cloud services that are subject to the Service Perimeter
1597
- # restrictions. For example, if `storage.googleapis.com` is specified, access
1598
- # to the storage buckets inside the perimeter must meet the perimeter's
1599
- # access restrictions.
1412
+ # Google Cloud services that are subject to the Service Perimeter restrictions.
1413
+ # For example, if `storage.googleapis.com` is specified, access to the storage
1414
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
1600
1415
  # Corresponds to the JSON property `restrictedServices`
1601
1416
  # @return [Array<String>]
1602
1417
  attr_accessor :restricted_services
1603
1418
 
1604
- # Specifies how APIs are allowed to communicate within the Service
1605
- # Perimeter.
1419
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1606
1420
  # Corresponds to the JSON property `vpcAccessibleServices`
1607
1421
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices]
1608
1422
  attr_accessor :vpc_accessible_services
@@ -1620,21 +1434,20 @@ module Google
1620
1434
  end
1621
1435
  end
1622
1436
 
1623
- # Specifies how APIs are allowed to communicate within the Service
1624
- # Perimeter.
1437
+ # Specifies how APIs are allowed to communicate within the Service Perimeter.
1625
1438
  class GoogleIdentityAccesscontextmanagerV1VpcAccessibleServices
1626
1439
  include Google::Apis::Core::Hashable
1627
1440
 
1628
- # The list of APIs usable within the Service Perimeter. Must be empty
1629
- # unless 'enable_restriction' is True. You can specify a list of individual
1630
- # services, as well as include the 'RESTRICTED-SERVICES' value, which
1631
- # automatically includes all of the services protected by the perimeter.
1441
+ # The list of APIs usable within the Service Perimeter. Must be empty unless '
1442
+ # enable_restriction' is True. You can specify a list of individual services, as
1443
+ # well as include the 'RESTRICTED-SERVICES' value, which automatically includes
1444
+ # all of the services protected by the perimeter.
1632
1445
  # Corresponds to the JSON property `allowedServices`
1633
1446
  # @return [Array<String>]
1634
1447
  attr_accessor :allowed_services
1635
1448
 
1636
- # Whether to restrict API calls within the Service Perimeter to the list of
1637
- # APIs specified in 'allowed_services'.
1449
+ # Whether to restrict API calls within the Service Perimeter to the list of APIs
1450
+ # specified in 'allowed_services'.
1638
1451
  # Corresponds to the JSON property `enableRestriction`
1639
1452
  # @return [Boolean]
1640
1453
  attr_accessor :enable_restriction
@@ -1661,90 +1474,52 @@ module Google
1661
1474
  attr_accessor :explanation
1662
1475
 
1663
1476
  # An Identity and Access Management (IAM) policy, which specifies access
1664
- # controls for Google Cloud resources.
1665
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1666
- # `members` to a single `role`. Members can be user accounts, service accounts,
1667
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1668
- # permissions; each `role` can be an IAM predefined role or a user-created
1669
- # custom role.
1670
- # For some types of Google Cloud resources, a `binding` can also specify a
1671
- # `condition`, which is a logical expression that allows access to a resource
1672
- # only if the expression evaluates to `true`. A condition can add constraints
1673
- # based on attributes of the request, the resource, or both. To learn which
1674
- # resources support conditions in their IAM policies, see the
1675
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1676
- # policies).
1677
- # **JSON example:**
1678
- # `
1679
- # "bindings": [
1680
- # `
1681
- # "role": "roles/resourcemanager.organizationAdmin",
1682
- # "members": [
1683
- # "user:mike@example.com",
1684
- # "group:admins@example.com",
1685
- # "domain:google.com",
1686
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1687
- # ]
1688
- # `,
1689
- # `
1690
- # "role": "roles/resourcemanager.organizationViewer",
1691
- # "members": [
1692
- # "user:eve@example.com"
1693
- # ],
1694
- # "condition": `
1695
- # "title": "expirable access",
1696
- # "description": "Does not grant access after Sep 2020",
1697
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1698
- # ",
1699
- # `
1700
- # `
1701
- # ],
1702
- # "etag": "BwWWja0YfJA=",
1703
- # "version": 3
1704
- # `
1705
- # **YAML example:**
1706
- # bindings:
1707
- # - members:
1708
- # - user:mike@example.com
1709
- # - group:admins@example.com
1710
- # - domain:google.com
1711
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1712
- # role: roles/resourcemanager.organizationAdmin
1713
- # - members:
1714
- # - user:eve@example.com
1715
- # role: roles/resourcemanager.organizationViewer
1716
- # condition:
1717
- # title: expirable access
1718
- # description: Does not grant access after Sep 2020
1719
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1720
- # - etag: BwWWja0YfJA=
1721
- # - version: 3
1722
- # For a description of IAM and its features, see the
1723
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1477
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1478
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1479
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1480
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1481
+ # role or a user-created custom role. For some types of Google Cloud resources,
1482
+ # a `binding` can also specify a `condition`, which is a logical expression that
1483
+ # allows access to a resource only if the expression evaluates to `true`. A
1484
+ # condition can add constraints based on attributes of the request, the resource,
1485
+ # or both. To learn which resources support conditions in their IAM policies,
1486
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1487
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1488
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1489
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1490
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1491
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1492
+ # title": "expirable access", "description": "Does not grant access after Sep
1493
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1494
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1495
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1496
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1497
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1498
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1499
+ # description: Does not grant access after Sep 2020 expression: request.time <
1500
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1501
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1502
+ # google.com/iam/docs/).
1724
1503
  # Corresponds to the JSON property `policy`
1725
1504
  # @return [Google::Apis::CloudassetV1::Policy]
1726
1505
  attr_accessor :policy
1727
1506
 
1728
1507
  # The project that the associated GCP resource belongs to, in the form of
1729
1508
  # projects/`PROJECT_NUMBER`. If an IAM policy is set on a resource (like VM
1730
- # instance, Cloud Storage bucket), the project field will indicate the
1731
- # project that contains the resource. If an IAM policy is set on a folder or
1732
- # orgnization, the project field will be empty.
1733
- # To search against the `project`:
1734
- # * specify the `scope` field as this project in your search request.
1509
+ # instance, Cloud Storage bucket), the project field will indicate the project
1510
+ # that contains the resource. If an IAM policy is set on a folder or orgnization,
1511
+ # the project field will be empty. To search against the `project`: * specify
1512
+ # the `scope` field as this project in your search request.
1735
1513
  # Corresponds to the JSON property `project`
1736
1514
  # @return [String]
1737
1515
  attr_accessor :project
1738
1516
 
1739
1517
  # The full resource name of the resource associated with this IAM policy.
1740
- # Example:
1741
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
1742
- # instance1`.
1743
- # See [Cloud Asset Inventory Resource Name
1744
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
1745
- # for more information.
1746
- # To search against the `resource`:
1747
- # * use a field query. Example: `resource : "organizations/123"`
1518
+ # Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/
1519
+ # instances/instance1`. See [Cloud Asset Inventory Resource Name Format](https://
1520
+ # cloud.google.com/asset-inventory/docs/resource-name-format) for more
1521
+ # information. To search against the `resource`: * use a field query. Example: `
1522
+ # resource:organizations/123`
1748
1523
  # Corresponds to the JSON property `resource`
1749
1524
  # @return [String]
1750
1525
  attr_accessor :resource
@@ -1786,47 +1561,45 @@ module Google
1786
1561
  class Operation
1787
1562
  include Google::Apis::Core::Hashable
1788
1563
 
1789
- # If the value is `false`, it means the operation is still in progress.
1790
- # If `true`, the operation is completed, and either `error` or `response` is
1791
- # available.
1564
+ # If the value is `false`, it means the operation is still in progress. If `true`
1565
+ # , the operation is completed, and either `error` or `response` is available.
1792
1566
  # Corresponds to the JSON property `done`
1793
1567
  # @return [Boolean]
1794
1568
  attr_accessor :done
1795
1569
  alias_method :done?, :done
1796
1570
 
1797
- # The `Status` type defines a logical error model that is suitable for
1798
- # different programming environments, including REST APIs and RPC APIs. It is
1799
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1800
- # three pieces of data: error code, error message, and error details.
1801
- # You can find out more about this error model and how to work with it in the
1802
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1571
+ # The `Status` type defines a logical error model that is suitable for different
1572
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1573
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1574
+ # data: error code, error message, and error details. You can find out more
1575
+ # about this error model and how to work with it in the [API Design Guide](https:
1576
+ # //cloud.google.com/apis/design/errors).
1803
1577
  # Corresponds to the JSON property `error`
1804
1578
  # @return [Google::Apis::CloudassetV1::Status]
1805
1579
  attr_accessor :error
1806
1580
 
1807
- # Service-specific metadata associated with the operation. It typically
1808
- # contains progress information and common metadata such as create time.
1809
- # Some services might not provide such metadata. Any method that returns a
1810
- # long-running operation should document the metadata type, if any.
1581
+ # Service-specific metadata associated with the operation. It typically contains
1582
+ # progress information and common metadata such as create time. Some services
1583
+ # might not provide such metadata. Any method that returns a long-running
1584
+ # operation should document the metadata type, if any.
1811
1585
  # Corresponds to the JSON property `metadata`
1812
1586
  # @return [Hash<String,Object>]
1813
1587
  attr_accessor :metadata
1814
1588
 
1815
1589
  # The server-assigned name, which is only unique within the same service that
1816
- # originally returns it. If you use the default HTTP mapping, the
1817
- # `name` should be a resource name ending with `operations/`unique_id``.
1590
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1591
+ # be a resource name ending with `operations/`unique_id``.
1818
1592
  # Corresponds to the JSON property `name`
1819
1593
  # @return [String]
1820
1594
  attr_accessor :name
1821
1595
 
1822
- # The normal response of the operation in case of success. If the original
1823
- # method returns no data on success, such as `Delete`, the response is
1824
- # `google.protobuf.Empty`. If the original method is standard
1825
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1826
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1827
- # is the original method name. For example, if the original method name
1828
- # is `TakeSnapshot()`, the inferred response type is
1829
- # `TakeSnapshotResponse`.
1596
+ # The normal response of the operation in case of success. If the original
1597
+ # method returns no data on success, such as `Delete`, the response is `google.
1598
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1599
+ # the response should be the resource. For other methods, the response should
1600
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1601
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1602
+ # response type is `TakeSnapshotResponse`.
1830
1603
  # Corresponds to the JSON property `response`
1831
1604
  # @return [Hash<String,Object>]
1832
1605
  attr_accessor :response
@@ -1870,6 +1643,25 @@ module Google
1870
1643
  end
1871
1644
  end
1872
1645
 
1646
+ # Specifications of BigQuery partitioned table as export destination.
1647
+ class PartitionSpec
1648
+ include Google::Apis::Core::Hashable
1649
+
1650
+ # The partition key for BigQuery partitioned table.
1651
+ # Corresponds to the JSON property `partitionKey`
1652
+ # @return [String]
1653
+ attr_accessor :partition_key
1654
+
1655
+ def initialize(**args)
1656
+ update!(**args)
1657
+ end
1658
+
1659
+ # Update properties of this object
1660
+ def update!(**args)
1661
+ @partition_key = args[:partition_key] if args.key?(:partition_key)
1662
+ end
1663
+ end
1664
+
1873
1665
  # IAM permissions
1874
1666
  class Permissions
1875
1667
  include Google::Apis::Core::Hashable
@@ -1890,66 +1682,32 @@ module Google
1890
1682
  end
1891
1683
 
1892
1684
  # An Identity and Access Management (IAM) policy, which specifies access
1893
- # controls for Google Cloud resources.
1894
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1895
- # `members` to a single `role`. Members can be user accounts, service accounts,
1896
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1897
- # permissions; each `role` can be an IAM predefined role or a user-created
1898
- # custom role.
1899
- # For some types of Google Cloud resources, a `binding` can also specify a
1900
- # `condition`, which is a logical expression that allows access to a resource
1901
- # only if the expression evaluates to `true`. A condition can add constraints
1902
- # based on attributes of the request, the resource, or both. To learn which
1903
- # resources support conditions in their IAM policies, see the
1904
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1905
- # policies).
1906
- # **JSON example:**
1907
- # `
1908
- # "bindings": [
1909
- # `
1910
- # "role": "roles/resourcemanager.organizationAdmin",
1911
- # "members": [
1912
- # "user:mike@example.com",
1913
- # "group:admins@example.com",
1914
- # "domain:google.com",
1915
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1916
- # ]
1917
- # `,
1918
- # `
1919
- # "role": "roles/resourcemanager.organizationViewer",
1920
- # "members": [
1921
- # "user:eve@example.com"
1922
- # ],
1923
- # "condition": `
1924
- # "title": "expirable access",
1925
- # "description": "Does not grant access after Sep 2020",
1926
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1927
- # ",
1928
- # `
1929
- # `
1930
- # ],
1931
- # "etag": "BwWWja0YfJA=",
1932
- # "version": 3
1933
- # `
1934
- # **YAML example:**
1935
- # bindings:
1936
- # - members:
1937
- # - user:mike@example.com
1938
- # - group:admins@example.com
1939
- # - domain:google.com
1940
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1941
- # role: roles/resourcemanager.organizationAdmin
1942
- # - members:
1943
- # - user:eve@example.com
1944
- # role: roles/resourcemanager.organizationViewer
1945
- # condition:
1946
- # title: expirable access
1947
- # description: Does not grant access after Sep 2020
1948
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1949
- # - etag: BwWWja0YfJA=
1950
- # - version: 3
1951
- # For a description of IAM and its features, see the
1952
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1685
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1686
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1687
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1688
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1689
+ # role or a user-created custom role. For some types of Google Cloud resources,
1690
+ # a `binding` can also specify a `condition`, which is a logical expression that
1691
+ # allows access to a resource only if the expression evaluates to `true`. A
1692
+ # condition can add constraints based on attributes of the request, the resource,
1693
+ # or both. To learn which resources support conditions in their IAM policies,
1694
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1695
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1696
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1697
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1698
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1699
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1700
+ # title": "expirable access", "description": "Does not grant access after Sep
1701
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1702
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1703
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1704
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1705
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1706
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1707
+ # description: Does not grant access after Sep 2020 expression: request.time <
1708
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1709
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1710
+ # google.com/iam/docs/).
1953
1711
  class Policy
1954
1712
  include Google::Apis::Core::Hashable
1955
1713
 
@@ -1958,48 +1716,44 @@ module Google
1958
1716
  # @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
1959
1717
  attr_accessor :audit_configs
1960
1718
 
1961
- # Associates a list of `members` to a `role`. Optionally, may specify a
1962
- # `condition` that determines how and when the `bindings` are applied. Each
1963
- # of the `bindings` must contain at least one member.
1719
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1720
+ # condition` that determines how and when the `bindings` are applied. Each of
1721
+ # the `bindings` must contain at least one member.
1964
1722
  # Corresponds to the JSON property `bindings`
1965
1723
  # @return [Array<Google::Apis::CloudassetV1::Binding>]
1966
1724
  attr_accessor :bindings
1967
1725
 
1968
- # `etag` is used for optimistic concurrency control as a way to help
1969
- # prevent simultaneous updates of a policy from overwriting each other.
1970
- # It is strongly suggested that systems make use of the `etag` in the
1971
- # read-modify-write cycle to perform policy updates in order to avoid race
1972
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1973
- # systems are expected to put that etag in the request to `setIamPolicy` to
1974
- # ensure that their change will be applied to the same version of the policy.
1975
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1976
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1977
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1978
- # the conditions in the version `3` policy are lost.
1726
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1727
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1728
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1729
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1730
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1731
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1732
+ # applied to the same version of the policy. **Important:** If you use IAM
1733
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1734
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1735
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1736
+ # are lost.
1979
1737
  # Corresponds to the JSON property `etag`
1980
1738
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1981
1739
  # @return [String]
1982
1740
  attr_accessor :etag
1983
1741
 
1984
- # Specifies the format of the policy.
1985
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1986
- # are rejected.
1987
- # Any operation that affects conditional role bindings must specify version
1988
- # `3`. This requirement applies to the following operations:
1989
- # * Getting a policy that includes a conditional role binding
1990
- # * Adding a conditional role binding to a policy
1991
- # * Changing a conditional role binding in a policy
1992
- # * Removing any role binding, with or without a condition, from a policy
1993
- # that includes conditions
1994
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1995
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1996
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1997
- # the conditions in the version `3` policy are lost.
1998
- # If a policy does not include any conditions, operations on that policy may
1999
- # specify any valid version or leave the field unset.
2000
- # To learn which resources support conditions in their IAM policies, see the
2001
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2002
- # policies).
1742
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1743
+ # Requests that specify an invalid value are rejected. Any operation that
1744
+ # affects conditional role bindings must specify version `3`. This requirement
1745
+ # applies to the following operations: * Getting a policy that includes a
1746
+ # conditional role binding * Adding a conditional role binding to a policy *
1747
+ # Changing a conditional role binding in a policy * Removing any role binding,
1748
+ # with or without a condition, from a policy that includes conditions **
1749
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1750
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1751
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1752
+ # conditions in the version `3` policy are lost. If a policy does not include
1753
+ # any conditions, operations on that policy may specify any valid version or
1754
+ # leave the field unset. To learn which resources support conditions in their
1755
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1756
+ # conditions/resource-policies).
2003
1757
  # Corresponds to the JSON property `version`
2004
1758
  # @return [Fixnum]
2005
1759
  attr_accessor :version
@@ -2021,8 +1775,8 @@ module Google
2021
1775
  class PubsubDestination
2022
1776
  include Google::Apis::Core::Hashable
2023
1777
 
2024
- # The name of the Pub/Sub topic to publish to.
2025
- # Example: `projects/PROJECT_ID/topics/TOPIC_ID`.
1778
+ # The name of the Pub/Sub topic to publish to. Example: `projects/PROJECT_ID/
1779
+ # topics/TOPIC_ID`.
2026
1780
  # Corresponds to the JSON property `topic`
2027
1781
  # @return [String]
2028
1782
  attr_accessor :topic
@@ -2041,53 +1795,48 @@ module Google
2041
1795
  class Resource
2042
1796
  include Google::Apis::Core::Hashable
2043
1797
 
2044
- # The content of the resource, in which some sensitive fields are removed
2045
- # and may not be present.
1798
+ # The content of the resource, in which some sensitive fields are removed and
1799
+ # may not be present.
2046
1800
  # Corresponds to the JSON property `data`
2047
1801
  # @return [Hash<String,Object>]
2048
1802
  attr_accessor :data
2049
1803
 
2050
1804
  # The URL of the discovery document containing the resource's JSON schema.
2051
- # Example:
2052
- # `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest`
2053
- # This value is unspecified for resources that do not have an API based on a
1805
+ # Example: `https://www.googleapis.com/discovery/v1/apis/compute/v1/rest` This
1806
+ # value is unspecified for resources that do not have an API based on a
2054
1807
  # discovery document, such as Cloud Bigtable.
2055
1808
  # Corresponds to the JSON property `discoveryDocumentUri`
2056
1809
  # @return [String]
2057
1810
  attr_accessor :discovery_document_uri
2058
1811
 
2059
- # The JSON schema name listed in the discovery document. Example:
2060
- # `Project`
2061
- # This value is unspecified for resources that do not have an API based on a
1812
+ # The JSON schema name listed in the discovery document. Example: `Project` This
1813
+ # value is unspecified for resources that do not have an API based on a
2062
1814
  # discovery document, such as Cloud Bigtable.
2063
1815
  # Corresponds to the JSON property `discoveryName`
2064
1816
  # @return [String]
2065
1817
  attr_accessor :discovery_name
2066
1818
 
2067
- # The location of the resource in Google Cloud, such as its zone and region.
2068
- # For more information, see https://cloud.google.com/about/locations/.
1819
+ # The location of the resource in Google Cloud, such as its zone and region. For
1820
+ # more information, see https://cloud.google.com/about/locations/.
2069
1821
  # Corresponds to the JSON property `location`
2070
1822
  # @return [String]
2071
1823
  attr_accessor :location
2072
1824
 
2073
- # The full name of the immediate parent of this resource. See
2074
- # [Resource
2075
- # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
2076
- # for more information.
2077
- # For Google Cloud assets, this value is the parent resource defined in the
2078
- # [Cloud IAM policy
2079
- # hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy).
2080
- # Example:
2081
- # `//cloudresourcemanager.googleapis.com/projects/my_project_123`
2082
- # For third-party assets, this field may be set differently.
1825
+ # The full name of the immediate parent of this resource. See [Resource Names](
1826
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name) for
1827
+ # more information. For Google Cloud assets, this value is the parent resource
1828
+ # defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/
1829
+ # overview#policy_hierarchy). Example: `//cloudresourcemanager.googleapis.com/
1830
+ # projects/my_project_123` For third-party assets, this field may be set
1831
+ # differently.
2083
1832
  # Corresponds to the JSON property `parent`
2084
1833
  # @return [String]
2085
1834
  attr_accessor :parent
2086
1835
 
2087
- # The REST URL for accessing the resource. An HTTP `GET` request using this
2088
- # URL returns the resource itself. Example:
2089
- # `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`
2090
- # This value is unspecified for resources without a REST API.
1836
+ # The REST URL for accessing the resource. An HTTP `GET` request using this URL
1837
+ # returns the resource itself. Example: `https://cloudresourcemanager.googleapis.
1838
+ # com/v1/projects/my-project-123` This value is unspecified for resources
1839
+ # without a REST API.
2091
1840
  # Corresponds to the JSON property `resourceUrl`
2092
1841
  # @return [String]
2093
1842
  attr_accessor :resource_url
@@ -2117,103 +1866,86 @@ module Google
2117
1866
  class ResourceSearchResult
2118
1867
  include Google::Apis::Core::Hashable
2119
1868
 
2120
- # The additional searchable attributes of this resource. The attributes may
2121
- # vary from one resource type to another. Examples: `projectId` for Project,
2122
- # `dnsName` for DNS ManagedZone. This field contains a subset of the resource
2123
- # metadata fields that are returned by the List or Get APIs provided by the
2124
- # corresponding GCP service (e.g., Compute Engine). see [API references and
2125
- # supported searchable
2126
- # attributes](https://cloud.google.com/asset-inventory/docs/supported-asset-
2127
- # types#searchable_asset_types)
2128
- # for more information.
2129
- # You can search values of these fields through free text search. However,
2130
- # you should not consume the field programically as the field names and
2131
- # values may change as the GCP service updates to a new incompatible API
2132
- # version.
2133
- # To search against the `additional_attributes`:
2134
- # * use a free text query to match the attributes values. Example: to search
2135
- # `additional_attributes = ` dnsName: "foobar" ``, you can issue a query
2136
- # `"foobar"`.
1869
+ # The additional searchable attributes of this resource. The attributes may vary
1870
+ # from one resource type to another. Examples: `projectId` for Project, `dnsName`
1871
+ # for DNS ManagedZone. This field contains a subset of the resource metadata
1872
+ # fields that are returned by the List or Get APIs provided by the corresponding
1873
+ # GCP service (e.g., Compute Engine). see [API references and supported
1874
+ # searchable attributes](https://cloud.google.com/asset-inventory/docs/supported-
1875
+ # asset-types#searchable_asset_types) for more information. You can search
1876
+ # values of these fields through free text search. However, you should not
1877
+ # consume the field programically as the field names and values may change as
1878
+ # the GCP service updates to a new incompatible API version. To search against
1879
+ # the `additional_attributes`: * use a free text query to match the attributes
1880
+ # values. Example: to search `additional_attributes = ` dnsName: "foobar" ``,
1881
+ # you can issue a query `foobar`.
2137
1882
  # Corresponds to the JSON property `additionalAttributes`
2138
1883
  # @return [Hash<String,Object>]
2139
1884
  attr_accessor :additional_attributes
2140
1885
 
2141
- # The type of this resource. Example: `compute.googleapis.com/Disk`.
2142
- # To search against the `asset_type`:
2143
- # * specify the `asset_type` field in your search request.
1886
+ # The type of this resource. Example: `compute.googleapis.com/Disk`. To search
1887
+ # against the `asset_type`: * specify the `asset_type` field in your search
1888
+ # request.
2144
1889
  # Corresponds to the JSON property `assetType`
2145
1890
  # @return [String]
2146
1891
  attr_accessor :asset_type
2147
1892
 
2148
1893
  # One or more paragraphs of text description of this resource. Maximum length
2149
- # could be up to 1M bytes.
2150
- # To search against the `description`:
2151
- # * use a field query. Example: `description : "*important instance*"`
2152
- # * use a free text query. Example: `"*important instance*"`
1894
+ # could be up to 1M bytes. To search against the `description`: * use a field
1895
+ # query. Example: `description:"*important instance*"` * use a free text query.
1896
+ # Example: `"*important instance*"`
2153
1897
  # Corresponds to the JSON property `description`
2154
1898
  # @return [String]
2155
1899
  attr_accessor :description
2156
1900
 
2157
- # The display name of this resource.
2158
- # To search against the `display_name`:
2159
- # * use a field query. Example: `displayName : "My Instance"`
2160
- # * use a free text query. Example: `"My Instance"`
1901
+ # The display name of this resource. To search against the `display_name`: * use
1902
+ # a field query. Example: `displayName:"My Instance"` * use a free text query.
1903
+ # Example: `"My Instance"`
2161
1904
  # Corresponds to the JSON property `displayName`
2162
1905
  # @return [String]
2163
1906
  attr_accessor :display_name
2164
1907
 
2165
1908
  # Labels associated with this resource. See [Labelling and grouping GCP
2166
1909
  # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2167
- # your-google-cloud-platform-resources)
2168
- # for more information.
2169
- # To search against the `labels`:
2170
- # * use a field query, as following:
2171
- # - query on any label's key or value. Example: `labels : "prod"`
2172
- # - query by a given label. Example: `labels.env : "prod"`
2173
- # - query by a given label'sexistence. Example: `labels.env : *`
2174
- # * use a free text query. Example: `"prod"`
1910
+ # your-google-cloud-platform-resources) for more information. To search against
1911
+ # the `labels`: * use a field query: - query on any label's key or value.
1912
+ # Example: `labels:prod` - query by a given label. Example: `labels.env:prod` -
1913
+ # query by a given label's existence. Example: `labels.env:*` * use a free text
1914
+ # query. Example: `prod`
2175
1915
  # Corresponds to the JSON property `labels`
2176
1916
  # @return [Hash<String,String>]
2177
1917
  attr_accessor :labels
2178
1918
 
2179
- # Location can be `global`, regional like `us-east1`, or zonal like
2180
- # `us-west1-b`.
2181
- # To search against the `location`:
2182
- # * use a field query. Example: `location : "us-west*"`
2183
- # * use a free text query. Example: `"us-west*"`
1919
+ # Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
1920
+ # To search against the `location`: * use a field query. Example: `location:us-
1921
+ # west*` * use a free text query. Example: `us-west*`
2184
1922
  # Corresponds to the JSON property `location`
2185
1923
  # @return [String]
2186
1924
  attr_accessor :location
2187
1925
 
2188
- # The full resource name of this resource. Example:
2189
- # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
2190
- # instance1`.
2191
- # See [Cloud Asset Inventory Resource Name
2192
- # Format](https://cloud.google.com/asset-inventory/docs/resource-name-format)
2193
- # for more information.
2194
- # To search against the `name`:
2195
- # * use a field query. Example: `name : "instance1"`
2196
- # * use a free text query. Example: `"instance1"`
1926
+ # The full resource name of this resource. Example: `//compute.googleapis.com/
1927
+ # projects/my_project_123/zones/zone1/instances/instance1`. See [Cloud Asset
1928
+ # Inventory Resource Name Format](https://cloud.google.com/asset-inventory/docs/
1929
+ # resource-name-format) for more information. To search against the `name`: *
1930
+ # use a field query. Example: `name:instance1` * use a free text query. Example:
1931
+ # `instance1`
2197
1932
  # Corresponds to the JSON property `name`
2198
1933
  # @return [String]
2199
1934
  attr_accessor :name
2200
1935
 
2201
1936
  # Network tags associated with this resource. Like labels, network tags are a
2202
- # type of annotations used to group GCP resources. See [Labelling GCP
2203
- # resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
2204
- # your-google-cloud-platform-resources)
2205
- # for more information.
2206
- # To search against the `network_tags`:
2207
- # * use a field query. Example: `networkTags : "internal"`
2208
- # * use a free text query. Example: `"internal"`
1937
+ # type of annotations used to group GCP resources. See [Labelling GCP resources](
1938
+ # https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
1939
+ # cloud-platform-resources) for more information. To search against the `
1940
+ # network_tags`: * use a field query. Example: `networkTags:internal` * use a
1941
+ # free text query. Example: `internal`
2209
1942
  # Corresponds to the JSON property `networkTags`
2210
1943
  # @return [Array<String>]
2211
1944
  attr_accessor :network_tags
2212
1945
 
2213
- # The project that this resource belongs to, in the form of
2214
- # projects/`PROJECT_NUMBER`.
2215
- # To search against the `project`:
2216
- # * specify the `scope` field as this project in your search request.
1946
+ # The project that this resource belongs to, in the form of projects/`
1947
+ # PROJECT_NUMBER`. To search against the `project`: * specify the `scope` field
1948
+ # as this project in your search request.
2217
1949
  # Corresponds to the JSON property `project`
2218
1950
  # @return [String]
2219
1951
  attr_accessor :project
@@ -2241,14 +1973,14 @@ module Google
2241
1973
  include Google::Apis::Core::Hashable
2242
1974
 
2243
1975
  # Set if there are more results than those appearing in this response; to get
2244
- # the next set of results, call this method again, using this value as the
2245
- # `page_token`.
1976
+ # the next set of results, call this method again, using this value as the `
1977
+ # page_token`.
2246
1978
  # Corresponds to the JSON property `nextPageToken`
2247
1979
  # @return [String]
2248
1980
  attr_accessor :next_page_token
2249
1981
 
2250
- # A list of IamPolicy that match the search query. Related information such
2251
- # as the associated resource is returned along with the policy.
1982
+ # A list of IamPolicy that match the search query. Related information such as
1983
+ # the associated resource is returned along with the policy.
2252
1984
  # Corresponds to the JSON property `results`
2253
1985
  # @return [Array<Google::Apis::CloudassetV1::IamPolicySearchResult>]
2254
1986
  attr_accessor :results
@@ -2268,9 +2000,9 @@ module Google
2268
2000
  class SearchAllResourcesResponse
2269
2001
  include Google::Apis::Core::Hashable
2270
2002
 
2271
- # If there are more results than those appearing in this response, then
2272
- # `next_page_token` is included. To get the next set of results, call this
2273
- # method again using the value of `next_page_token` as `page_token`.
2003
+ # If there are more results than those appearing in this response, then `
2004
+ # next_page_token` is included. To get the next set of results, call this method
2005
+ # again using the value of `next_page_token` as `page_token`.
2274
2006
  # Corresponds to the JSON property `nextPageToken`
2275
2007
  # @return [String]
2276
2008
  attr_accessor :next_page_token
@@ -2292,12 +2024,12 @@ module Google
2292
2024
  end
2293
2025
  end
2294
2026
 
2295
- # The `Status` type defines a logical error model that is suitable for
2296
- # different programming environments, including REST APIs and RPC APIs. It is
2297
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2298
- # three pieces of data: error code, error message, and error details.
2299
- # You can find out more about this error model and how to work with it in the
2300
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2027
+ # The `Status` type defines a logical error model that is suitable for different
2028
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2029
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2030
+ # data: error code, error message, and error details. You can find out more
2031
+ # about this error model and how to work with it in the [API Design Guide](https:
2032
+ # //cloud.google.com/apis/design/errors).
2301
2033
  class Status
2302
2034
  include Google::Apis::Core::Hashable
2303
2035
 
@@ -2306,15 +2038,15 @@ module Google
2306
2038
  # @return [Fixnum]
2307
2039
  attr_accessor :code
2308
2040
 
2309
- # A list of messages that carry the error details. There is a common set of
2041
+ # A list of messages that carry the error details. There is a common set of
2310
2042
  # message types for APIs to use.
2311
2043
  # Corresponds to the JSON property `details`
2312
2044
  # @return [Array<Hash<String,Object>>]
2313
2045
  attr_accessor :details
2314
2046
 
2315
- # A developer-facing error message, which should be in English. Any
2316
- # user-facing error message should be localized and sent in the
2317
- # google.rpc.Status.details field, or localized by the client.
2047
+ # A developer-facing error message, which should be in English. Any user-facing
2048
+ # error message should be localized and sent in the google.rpc.Status.details
2049
+ # field, or localized by the client.
2318
2050
  # Corresponds to the JSON property `message`
2319
2051
  # @return [String]
2320
2052
  attr_accessor :message
@@ -2336,15 +2068,12 @@ module Google
2336
2068
  class TemporalAsset
2337
2069
  include Google::Apis::Core::Hashable
2338
2070
 
2339
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2340
- # [resource
2341
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2342
- # resource-hierarchy),
2343
- # a resource outside the Google Cloud resource hierarchy (such as Google
2344
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2345
- # See [Supported asset
2346
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2347
- # for more information.
2071
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
2072
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
2073
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
2074
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
2075
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
2076
+ # asset-inventory/docs/supported-asset-types) for more information.
2348
2077
  # Corresponds to the JSON property `asset`
2349
2078
  # @return [Google::Apis::CloudassetV1::Asset]
2350
2079
  attr_accessor :asset
@@ -2355,15 +2084,12 @@ module Google
2355
2084
  attr_accessor :deleted
2356
2085
  alias_method :deleted?, :deleted
2357
2086
 
2358
- # An asset in Google Cloud. An asset can be any resource in the Google Cloud
2359
- # [resource
2360
- # hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
2361
- # resource-hierarchy),
2362
- # a resource outside the Google Cloud resource hierarchy (such as Google
2363
- # Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy).
2364
- # See [Supported asset
2365
- # types](https://cloud.google.com/asset-inventory/docs/supported-asset-types)
2366
- # for more information.
2087
+ # An asset in Google Cloud. An asset can be any resource in the Google Cloud [
2088
+ # resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-
2089
+ # platform-resource-hierarchy), a resource outside the Google Cloud resource
2090
+ # hierarchy (such as Google Kubernetes Engine clusters and objects), or a policy
2091
+ # (e.g. Cloud IAM policy). See [Supported asset types](https://cloud.google.com/
2092
+ # asset-inventory/docs/supported-asset-types) for more information.
2367
2093
  # Corresponds to the JSON property `priorAsset`
2368
2094
  # @return [Google::Apis::CloudassetV1::Asset]
2369
2095
  attr_accessor :prior_asset
@@ -2422,18 +2148,17 @@ module Google
2422
2148
  class UpdateFeedRequest
2423
2149
  include Google::Apis::Core::Hashable
2424
2150
 
2425
- # An asset feed used to export asset updates to a destinations.
2426
- # An asset feed filter controls what updates are exported.
2427
- # The asset feed must be created within a project, organization, or
2428
- # folder. Supported destinations are:
2429
- # Pub/Sub topics.
2151
+ # An asset feed used to export asset updates to a destinations. An asset feed
2152
+ # filter controls what updates are exported. The asset feed must be created
2153
+ # within a project, organization, or folder. Supported destinations are: Pub/Sub
2154
+ # topics.
2430
2155
  # Corresponds to the JSON property `feed`
2431
2156
  # @return [Google::Apis::CloudassetV1::Feed]
2432
2157
  attr_accessor :feed
2433
2158
 
2434
- # Required. Only updates the `feed` fields indicated by this mask.
2435
- # The field mask must not be empty, and it must not contain fields that
2436
- # are immutable or only set by the server.
2159
+ # Required. Only updates the `feed` fields indicated by this mask. The field
2160
+ # mask must not be empty, and it must not contain fields that are immutable or
2161
+ # only set by the server.
2437
2162
  # Corresponds to the JSON property `updateMask`
2438
2163
  # @return [String]
2439
2164
  attr_accessor :update_mask