google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -22,22 +22,24 @@ module Google
22
22
  module Apis
23
23
  module SecuritycenterV1
24
24
 
25
- # Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
26
- # Platform (GCP) resource.
27
- # The Asset is a Cloud SCC resource that captures information about a single
28
- # GCP resource. All modifications to an Asset are only within the context of
29
- # Cloud SCC and don't affect the referenced GCP resource.
25
+ # Security Command Center representation of a Google Cloud
26
+ # resource.
27
+ # The Asset is a Security Command Center resource that captures information
28
+ # about a single Google Cloud resource. All modifications to an Asset are only
29
+ # within the context of Security Command Center and don't affect the referenced
30
+ # Google Cloud resource.
30
31
  class Asset
31
32
  include Google::Apis::Core::Hashable
32
33
 
33
- # The time at which the asset was created in Cloud SCC.
34
+ # The time at which the asset was created in Security Command Center.
34
35
  # Corresponds to the JSON property `createTime`
35
36
  # @return [String]
36
37
  attr_accessor :create_time
37
38
 
38
- # IAM Policy information associated with the GCP resource described by the
39
- # Cloud SCC asset. This information is managed and defined by the GCP
40
- # resource and cannot be modified by the user.
39
+ # Cloud IAM Policy information associated with the Google Cloud resource
40
+ # described by the Security Command Center asset. This information is managed
41
+ # and defined by the Google Cloud resource and cannot be modified by the
42
+ # user.
41
43
  # Corresponds to the JSON property `iamPolicy`
42
44
  # @return [Google::Apis::SecuritycenterV1::IamPolicy]
43
45
  attr_accessor :iam_policy
@@ -45,33 +47,33 @@ module Google
45
47
  # The relative resource name of this asset. See:
46
48
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
47
49
  # Example:
48
- # "organizations/123/assets/456".
50
+ # "organizations/`organization_id`/assets/`asset_id`".
49
51
  # Corresponds to the JSON property `name`
50
52
  # @return [String]
51
53
  attr_accessor :name
52
54
 
53
55
  # Resource managed properties. These properties are managed and defined by
54
- # the GCP resource and cannot be modified by the user.
56
+ # the Google Cloud resource and cannot be modified by the user.
55
57
  # Corresponds to the JSON property `resourceProperties`
56
58
  # @return [Hash<String,Object>]
57
59
  attr_accessor :resource_properties
58
60
 
59
- # Cloud SCC managed properties. These properties are managed by Cloud SCC and
60
- # cannot be modified by the user.
61
+ # Security Command Center managed properties. These properties are managed by
62
+ # Security Command Center and cannot be modified by the user.
61
63
  # Corresponds to the JSON property `securityCenterProperties`
62
64
  # @return [Google::Apis::SecuritycenterV1::SecurityCenterProperties]
63
65
  attr_accessor :security_center_properties
64
66
 
65
- # User specified security marks that are attached to the parent Cloud Security
66
- # Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
67
- # SCC organization -- they can be modified and viewed by all users who have
67
+ # User specified security marks that are attached to the parent Security
68
+ # Command Center resource. Security marks are scoped within a Security Command
69
+ # Center organization -- they can be modified and viewed by all users who have
68
70
  # proper permissions on the organization.
69
71
  # Corresponds to the JSON property `securityMarks`
70
72
  # @return [Google::Apis::SecuritycenterV1::SecurityMarks]
71
73
  attr_accessor :security_marks
72
74
 
73
- # The time at which the asset was last updated, added, or deleted in Cloud
74
- # SCC.
75
+ # The time at which the asset was last updated, added, or deleted in Security
76
+ # Command Center.
75
77
  # Corresponds to the JSON property `updateTime`
76
78
  # @return [String]
77
79
  attr_accessor :update_time
@@ -237,10 +239,28 @@ module Google
237
239
  class Binding
238
240
  include Google::Apis::Core::Hashable
239
241
 
240
- # Represents an expression text. Example:
241
- # title: "User account presence"
242
- # description: "Determines whether the request has a user account"
243
- # expression: "size(request.user) > 0"
242
+ # Represents a textual expression in the Common Expression Language (CEL)
243
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
244
+ # are documented at https://github.com/google/cel-spec.
245
+ # Example (Comparison):
246
+ # title: "Summary size limit"
247
+ # description: "Determines if a summary is less than 100 chars"
248
+ # expression: "document.summary.size() < 100"
249
+ # Example (Equality):
250
+ # title: "Requestor is owner"
251
+ # description: "Determines if requestor is the document owner"
252
+ # expression: "document.owner == request.auth.claims.email"
253
+ # Example (Logic):
254
+ # title: "Public documents"
255
+ # description: "Determine whether the document should be publicly visible"
256
+ # expression: "document.type != 'private' && document.type != 'internal'"
257
+ # Example (Data Manipulation):
258
+ # title: "Notification string"
259
+ # description: "Create a notification string with a timestamp."
260
+ # expression: "'New message received at ' + string(document.create_time)"
261
+ # The exact variables and functions that may be referenced within an expression
262
+ # are determined by the service that evaluates it. See the service
263
+ # documentation for additional information.
244
264
  # Corresponds to the JSON property `condition`
245
265
  # @return [Google::Apis::SecuritycenterV1::Expr]
246
266
  attr_accessor :condition
@@ -257,6 +277,23 @@ module Google
257
277
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
258
278
  # * `group:`emailid``: An email address that represents a Google group.
259
279
  # For example, `admins@example.com`.
280
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
281
+ # identifier) representing a user that has been recently deleted. For
282
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
283
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
284
+ # retains the role in the binding.
285
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
286
+ # unique identifier) representing a service account that has been recently
287
+ # deleted. For example,
288
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
289
+ # If the service account is undeleted, this value reverts to
290
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
291
+ # role in the binding.
292
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
293
+ # identifier) representing a Google group that has been recently
294
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
295
+ # the group is recovered, this value reverts to `group:`emailid`` and the
296
+ # recovered group retains the role in the binding.
260
297
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
261
298
  # users of that domain. For example, `google.com` or `example.com`.
262
299
  # Corresponds to the JSON property `members`
@@ -300,34 +337,50 @@ module Google
300
337
  end
301
338
  end
302
339
 
303
- # Represents an expression text. Example:
304
- # title: "User account presence"
305
- # description: "Determines whether the request has a user account"
306
- # expression: "size(request.user) > 0"
340
+ # Represents a textual expression in the Common Expression Language (CEL)
341
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
342
+ # are documented at https://github.com/google/cel-spec.
343
+ # Example (Comparison):
344
+ # title: "Summary size limit"
345
+ # description: "Determines if a summary is less than 100 chars"
346
+ # expression: "document.summary.size() < 100"
347
+ # Example (Equality):
348
+ # title: "Requestor is owner"
349
+ # description: "Determines if requestor is the document owner"
350
+ # expression: "document.owner == request.auth.claims.email"
351
+ # Example (Logic):
352
+ # title: "Public documents"
353
+ # description: "Determine whether the document should be publicly visible"
354
+ # expression: "document.type != 'private' && document.type != 'internal'"
355
+ # Example (Data Manipulation):
356
+ # title: "Notification string"
357
+ # description: "Create a notification string with a timestamp."
358
+ # expression: "'New message received at ' + string(document.create_time)"
359
+ # The exact variables and functions that may be referenced within an expression
360
+ # are determined by the service that evaluates it. See the service
361
+ # documentation for additional information.
307
362
  class Expr
308
363
  include Google::Apis::Core::Hashable
309
364
 
310
- # An optional description of the expression. This is a longer text which
365
+ # Optional. Description of the expression. This is a longer text which
311
366
  # describes the expression, e.g. when hovered over it in a UI.
312
367
  # Corresponds to the JSON property `description`
313
368
  # @return [String]
314
369
  attr_accessor :description
315
370
 
316
- # Textual representation of an expression in
317
- # Common Expression Language syntax.
318
- # The application context of the containing message determines which
319
- # well-known feature set of CEL is supported.
371
+ # Textual representation of an expression in Common Expression Language
372
+ # syntax.
320
373
  # Corresponds to the JSON property `expression`
321
374
  # @return [String]
322
375
  attr_accessor :expression
323
376
 
324
- # An optional string indicating the location of the expression for error
377
+ # Optional. String indicating the location of the expression for error
325
378
  # reporting, e.g. a file name and a position in the file.
326
379
  # Corresponds to the JSON property `location`
327
380
  # @return [String]
328
381
  attr_accessor :location
329
382
 
330
- # An optional title for the expression, i.e. a short string describing
383
+ # Optional. Title for the expression, i.e. a short string describing
331
384
  # its purpose. This can be used e.g. in UIs which allow to enter the
332
385
  # expression.
333
386
  # Corresponds to the JSON property `title`
@@ -347,11 +400,12 @@ module Google
347
400
  end
348
401
  end
349
402
 
350
- # Cloud Security Command Center (Cloud SCC) finding.
351
- # A finding is a record of assessment data (security, risk, health or privacy)
352
- # ingested into Cloud SCC for presentation, notification, analysis,
353
- # policy testing, and enforcement. For example, an XSS vulnerability in an
354
- # App Engine application is a finding.
403
+ # Security Command Center finding.
404
+ # A finding is a record of assessment data like security, risk, health, or
405
+ # privacy, that is ingested into Security Command Center for presentation,
406
+ # notification, analysis, policy testing, and enforcement. For example, a
407
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
408
+ # finding.
355
409
  class Finding
356
410
  include Google::Apis::Core::Hashable
357
411
 
@@ -362,7 +416,7 @@ module Google
362
416
  # @return [String]
363
417
  attr_accessor :category
364
418
 
365
- # The time at which the finding was created in Cloud SCC.
419
+ # The time at which the finding was created in Security Command Center.
366
420
  # Corresponds to the JSON property `createTime`
367
421
  # @return [String]
368
422
  attr_accessor :create_time
@@ -374,9 +428,9 @@ module Google
374
428
  # @return [String]
375
429
  attr_accessor :event_time
376
430
 
377
- # The URI that, if available, points to a web page outside of Cloud SCC
378
- # where additional information about the finding can be found. This field is
379
- # guaranteed to be either empty or a well formed URL.
431
+ # The URI that, if available, points to a web page outside of Security
432
+ # Command Center where additional information about the finding can be found.
433
+ # This field is guaranteed to be either empty or a well formed URL.
380
434
  # Corresponds to the JSON property `externalUri`
381
435
  # @return [String]
382
436
  attr_accessor :external_uri
@@ -384,7 +438,7 @@ module Google
384
438
  # The relative resource name of this finding. See:
385
439
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
386
440
  # Example:
387
- # "organizations/123/sources/456/findings/789"
441
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
388
442
  # Corresponds to the JSON property `name`
389
443
  # @return [String]
390
444
  attr_accessor :name
@@ -393,22 +447,24 @@ module Google
393
447
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
394
448
  # This field is immutable after creation time.
395
449
  # For example:
396
- # "organizations/123/sources/456"
450
+ # "organizations/`organization_id`/sources/`source_id`"
397
451
  # Corresponds to the JSON property `parent`
398
452
  # @return [String]
399
453
  attr_accessor :parent
400
454
 
401
- # The full resource name of the Google Cloud Platform (GCP) resource this
402
- # finding is for. See:
455
+ # For findings on Google Cloud resources, the full resource
456
+ # name of the Google Cloud resource this finding is for. See:
403
457
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
404
- # This field is immutable after creation time.
458
+ # When the finding is for a non-Google Cloud resource, the resourceName can
459
+ # be a customer or partner defined string. This field is immutable after
460
+ # creation time.
405
461
  # Corresponds to the JSON property `resourceName`
406
462
  # @return [String]
407
463
  attr_accessor :resource_name
408
464
 
409
- # User specified security marks that are attached to the parent Cloud Security
410
- # Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
411
- # SCC organization -- they can be modified and viewed by all users who have
465
+ # User specified security marks that are attached to the parent Security
466
+ # Command Center resource. Security marks are scoped within a Security Command
467
+ # Center organization -- they can be modified and viewed by all users who have
412
468
  # proper permissions on the organization.
413
469
  # Corresponds to the JSON property `securityMarks`
414
470
  # @return [Google::Apis::SecuritycenterV1::SecurityMarks]
@@ -475,6 +531,9 @@ module Google
475
531
  # Requests for policies with any conditional bindings must specify version 3.
476
532
  # Policies without any conditional bindings may specify any valid value or
477
533
  # leave the field unset.
534
+ # To learn which resources support conditions in their IAM policies, see the
535
+ # [IAM
536
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
478
537
  # Corresponds to the JSON property `requestedPolicyVersion`
479
538
  # @return [Fixnum]
480
539
  attr_accessor :requested_policy_version
@@ -489,6 +548,36 @@ module Google
489
548
  end
490
549
  end
491
550
 
551
+ # Cloud SCC's Notification
552
+ class GoogleCloudSecuritycenterV1NotificationMessage
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # Security Command Center finding.
556
+ # A finding is a record of assessment data like security, risk, health, or
557
+ # privacy, that is ingested into Security Command Center for presentation,
558
+ # notification, analysis, policy testing, and enforcement. For example, a
559
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
560
+ # finding.
561
+ # Corresponds to the JSON property `finding`
562
+ # @return [Google::Apis::SecuritycenterV1::Finding]
563
+ attr_accessor :finding
564
+
565
+ # Name of the notification config that generated current notification.
566
+ # Corresponds to the JSON property `notificationConfigName`
567
+ # @return [String]
568
+ attr_accessor :notification_config_name
569
+
570
+ def initialize(**args)
571
+ update!(**args)
572
+ end
573
+
574
+ # Update properties of this object
575
+ def update!(**args)
576
+ @finding = args[:finding] if args.key?(:finding)
577
+ @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
578
+ end
579
+ end
580
+
492
581
  # Response of asset discovery run
493
582
  class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
494
583
  include Google::Apis::Core::Hashable
@@ -539,6 +628,403 @@ module Google
539
628
  end
540
629
  end
541
630
 
631
+ # Security Command Center representation of a Google Cloud
632
+ # resource.
633
+ # The Asset is a Security Command Center resource that captures information
634
+ # about a single Google Cloud resource. All modifications to an Asset are only
635
+ # within the context of Security Command Center and don't affect the referenced
636
+ # Google Cloud resource.
637
+ class GoogleCloudSecuritycenterV1p1beta1Asset
638
+ include Google::Apis::Core::Hashable
639
+
640
+ # The time at which the asset was created in Security Command Center.
641
+ # Corresponds to the JSON property `createTime`
642
+ # @return [String]
643
+ attr_accessor :create_time
644
+
645
+ # Cloud IAM Policy information associated with the Google Cloud resource
646
+ # described by the Security Command Center asset. This information is managed
647
+ # and defined by the Google Cloud resource and cannot be modified by the
648
+ # user.
649
+ # Corresponds to the JSON property `iamPolicy`
650
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
651
+ attr_accessor :iam_policy
652
+
653
+ # The relative resource name of this asset. See:
654
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name
655
+ # Example:
656
+ # "organizations/`organization_id`/assets/`asset_id`".
657
+ # Corresponds to the JSON property `name`
658
+ # @return [String]
659
+ attr_accessor :name
660
+
661
+ # Resource managed properties. These properties are managed and defined by
662
+ # the Google Cloud resource and cannot be modified by the user.
663
+ # Corresponds to the JSON property `resourceProperties`
664
+ # @return [Hash<String,Object>]
665
+ attr_accessor :resource_properties
666
+
667
+ # Security Command Center managed properties. These properties are managed by
668
+ # Security Command Center and cannot be modified by the user.
669
+ # Corresponds to the JSON property `securityCenterProperties`
670
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
671
+ attr_accessor :security_center_properties
672
+
673
+ # User specified security marks that are attached to the parent Security
674
+ # Command Center resource. Security marks are scoped within a Security Command
675
+ # Center organization -- they can be modified and viewed by all users who have
676
+ # proper permissions on the organization.
677
+ # Corresponds to the JSON property `securityMarks`
678
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
679
+ attr_accessor :security_marks
680
+
681
+ # The time at which the asset was last updated, added, or deleted in Cloud
682
+ # SCC.
683
+ # Corresponds to the JSON property `updateTime`
684
+ # @return [String]
685
+ attr_accessor :update_time
686
+
687
+ def initialize(**args)
688
+ update!(**args)
689
+ end
690
+
691
+ # Update properties of this object
692
+ def update!(**args)
693
+ @create_time = args[:create_time] if args.key?(:create_time)
694
+ @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
695
+ @name = args[:name] if args.key?(:name)
696
+ @resource_properties = args[:resource_properties] if args.key?(:resource_properties)
697
+ @security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
698
+ @security_marks = args[:security_marks] if args.key?(:security_marks)
699
+ @update_time = args[:update_time] if args.key?(:update_time)
700
+ end
701
+ end
702
+
703
+ # Security Command Center finding.
704
+ # A finding is a record of assessment data (security, risk, health or privacy)
705
+ # ingested into Security Command Center for presentation, notification,
706
+ # analysis, policy testing, and enforcement. For example, an XSS vulnerability
707
+ # in an App Engine application is a finding.
708
+ class GoogleCloudSecuritycenterV1p1beta1Finding
709
+ include Google::Apis::Core::Hashable
710
+
711
+ # The additional taxonomy group within findings from a given source.
712
+ # This field is immutable after creation time.
713
+ # Example: "XSS_FLASH_INJECTION"
714
+ # Corresponds to the JSON property `category`
715
+ # @return [String]
716
+ attr_accessor :category
717
+
718
+ # The time at which the finding was created in Security Command Center.
719
+ # Corresponds to the JSON property `createTime`
720
+ # @return [String]
721
+ attr_accessor :create_time
722
+
723
+ # The time at which the event took place. For example, if the finding
724
+ # represents an open firewall it would capture the time the detector believes
725
+ # the firewall became open. The accuracy is determined by the detector.
726
+ # Corresponds to the JSON property `eventTime`
727
+ # @return [String]
728
+ attr_accessor :event_time
729
+
730
+ # The URI that, if available, points to a web page outside of Security
731
+ # Command Center where additional information about the finding can be found.
732
+ # This field is guaranteed to be either empty or a well formed URL.
733
+ # Corresponds to the JSON property `externalUri`
734
+ # @return [String]
735
+ attr_accessor :external_uri
736
+
737
+ # The relative resource name of this finding. See:
738
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name
739
+ # Example:
740
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
741
+ # Corresponds to the JSON property `name`
742
+ # @return [String]
743
+ attr_accessor :name
744
+
745
+ # The relative resource name of the source the finding belongs to. See:
746
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name
747
+ # This field is immutable after creation time.
748
+ # For example:
749
+ # "organizations/`organization_id`/sources/`source_id`"
750
+ # Corresponds to the JSON property `parent`
751
+ # @return [String]
752
+ attr_accessor :parent
753
+
754
+ # For findings on Google Cloud resources, the full resource
755
+ # name of the Google Cloud resource this finding is for. See:
756
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
757
+ # When the finding is for a non-Google Cloud resource, the resourceName can
758
+ # be a customer or partner defined string. This field is immutable after
759
+ # creation time.
760
+ # Corresponds to the JSON property `resourceName`
761
+ # @return [String]
762
+ attr_accessor :resource_name
763
+
764
+ # User specified security marks that are attached to the parent Security
765
+ # Command Center resource. Security marks are scoped within a Security Command
766
+ # Center organization -- they can be modified and viewed by all users who have
767
+ # proper permissions on the organization.
768
+ # Corresponds to the JSON property `securityMarks`
769
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
770
+ attr_accessor :security_marks
771
+
772
+ # Source specific properties. These properties are managed by the source
773
+ # that writes the finding. The key names in the source_properties map must be
774
+ # between 1 and 255 characters, and must start with a letter and contain
775
+ # alphanumeric characters or underscores only.
776
+ # Corresponds to the JSON property `sourceProperties`
777
+ # @return [Hash<String,Object>]
778
+ attr_accessor :source_properties
779
+
780
+ # The state of the finding.
781
+ # Corresponds to the JSON property `state`
782
+ # @return [String]
783
+ attr_accessor :state
784
+
785
+ def initialize(**args)
786
+ update!(**args)
787
+ end
788
+
789
+ # Update properties of this object
790
+ def update!(**args)
791
+ @category = args[:category] if args.key?(:category)
792
+ @create_time = args[:create_time] if args.key?(:create_time)
793
+ @event_time = args[:event_time] if args.key?(:event_time)
794
+ @external_uri = args[:external_uri] if args.key?(:external_uri)
795
+ @name = args[:name] if args.key?(:name)
796
+ @parent = args[:parent] if args.key?(:parent)
797
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
798
+ @security_marks = args[:security_marks] if args.key?(:security_marks)
799
+ @source_properties = args[:source_properties] if args.key?(:source_properties)
800
+ @state = args[:state] if args.key?(:state)
801
+ end
802
+ end
803
+
804
+ # Cloud IAM Policy information associated with the Google Cloud resource
805
+ # described by the Security Command Center asset. This information is managed
806
+ # and defined by the Google Cloud resource and cannot be modified by the
807
+ # user.
808
+ class GoogleCloudSecuritycenterV1p1beta1IamPolicy
809
+ include Google::Apis::Core::Hashable
810
+
811
+ # The JSON representation of the Policy associated with the asset.
812
+ # See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
813
+ # format details.
814
+ # Corresponds to the JSON property `policyBlob`
815
+ # @return [String]
816
+ attr_accessor :policy_blob
817
+
818
+ def initialize(**args)
819
+ update!(**args)
820
+ end
821
+
822
+ # Update properties of this object
823
+ def update!(**args)
824
+ @policy_blob = args[:policy_blob] if args.key?(:policy_blob)
825
+ end
826
+ end
827
+
828
+ # Security Command Center's Notification
829
+ class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
830
+ include Google::Apis::Core::Hashable
831
+
832
+ # Security Command Center finding.
833
+ # A finding is a record of assessment data (security, risk, health or privacy)
834
+ # ingested into Security Command Center for presentation, notification,
835
+ # analysis, policy testing, and enforcement. For example, an XSS vulnerability
836
+ # in an App Engine application is a finding.
837
+ # Corresponds to the JSON property `finding`
838
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding]
839
+ attr_accessor :finding
840
+
841
+ # Name of the notification config that generated current notification.
842
+ # Corresponds to the JSON property `notificationConfigName`
843
+ # @return [String]
844
+ attr_accessor :notification_config_name
845
+
846
+ # Wrapper over asset object that also captures the state change for the asset
847
+ # e.g. if it was a newly created asset vs updated or deleted asset.
848
+ # Corresponds to the JSON property `temporalAsset`
849
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
850
+ attr_accessor :temporal_asset
851
+
852
+ def initialize(**args)
853
+ update!(**args)
854
+ end
855
+
856
+ # Update properties of this object
857
+ def update!(**args)
858
+ @finding = args[:finding] if args.key?(:finding)
859
+ @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
860
+ @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
861
+ end
862
+ end
863
+
864
+ # Response of asset discovery run
865
+ class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
866
+ include Google::Apis::Core::Hashable
867
+
868
+ # The duration between asset discovery run start and end
869
+ # Corresponds to the JSON property `duration`
870
+ # @return [String]
871
+ attr_accessor :duration
872
+
873
+ # The state of an asset discovery run.
874
+ # Corresponds to the JSON property `state`
875
+ # @return [String]
876
+ attr_accessor :state
877
+
878
+ def initialize(**args)
879
+ update!(**args)
880
+ end
881
+
882
+ # Update properties of this object
883
+ def update!(**args)
884
+ @duration = args[:duration] if args.key?(:duration)
885
+ @state = args[:state] if args.key?(:state)
886
+ end
887
+ end
888
+
889
+ # Security Command Center managed properties. These properties are managed by
890
+ # Security Command Center and cannot be modified by the user.
891
+ class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
892
+ include Google::Apis::Core::Hashable
893
+
894
+ # The user defined display name for this resource.
895
+ # Corresponds to the JSON property `resourceDisplayName`
896
+ # @return [String]
897
+ attr_accessor :resource_display_name
898
+
899
+ # The full resource name of the Google Cloud resource this asset
900
+ # represents. This field is immutable after create time. See:
901
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
902
+ # Corresponds to the JSON property `resourceName`
903
+ # @return [String]
904
+ attr_accessor :resource_name
905
+
906
+ # Owners of the Google Cloud resource.
907
+ # Corresponds to the JSON property `resourceOwners`
908
+ # @return [Array<String>]
909
+ attr_accessor :resource_owners
910
+
911
+ # The full resource name of the immediate parent of the resource. See:
912
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
913
+ # Corresponds to the JSON property `resourceParent`
914
+ # @return [String]
915
+ attr_accessor :resource_parent
916
+
917
+ # The user defined display name for the parent of this resource.
918
+ # Corresponds to the JSON property `resourceParentDisplayName`
919
+ # @return [String]
920
+ attr_accessor :resource_parent_display_name
921
+
922
+ # The full resource name of the project the resource belongs to. See:
923
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
924
+ # Corresponds to the JSON property `resourceProject`
925
+ # @return [String]
926
+ attr_accessor :resource_project
927
+
928
+ # The user defined display name for the project of this resource.
929
+ # Corresponds to the JSON property `resourceProjectDisplayName`
930
+ # @return [String]
931
+ attr_accessor :resource_project_display_name
932
+
933
+ # The type of the Google Cloud resource. Examples include: APPLICATION,
934
+ # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
935
+ # Security Command Center and/or the producer of the resource and is
936
+ # immutable after create time.
937
+ # Corresponds to the JSON property `resourceType`
938
+ # @return [String]
939
+ attr_accessor :resource_type
940
+
941
+ def initialize(**args)
942
+ update!(**args)
943
+ end
944
+
945
+ # Update properties of this object
946
+ def update!(**args)
947
+ @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
948
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
949
+ @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
950
+ @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
951
+ @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
952
+ @resource_project = args[:resource_project] if args.key?(:resource_project)
953
+ @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
954
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
955
+ end
956
+ end
957
+
958
+ # User specified security marks that are attached to the parent Security
959
+ # Command Center resource. Security marks are scoped within a Security Command
960
+ # Center organization -- they can be modified and viewed by all users who have
961
+ # proper permissions on the organization.
962
+ class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
963
+ include Google::Apis::Core::Hashable
964
+
965
+ # Mutable user specified security marks belonging to the parent resource.
966
+ # Constraints are as follows:
967
+ # * Keys and values are treated as case insensitive
968
+ # * Keys must be between 1 - 256 characters (inclusive)
969
+ # * Keys must be letters, numbers, underscores, or dashes
970
+ # * Values have leading and trailing whitespace trimmed, remaining
971
+ # characters must be between 1 - 4096 characters (inclusive)
972
+ # Corresponds to the JSON property `marks`
973
+ # @return [Hash<String,String>]
974
+ attr_accessor :marks
975
+
976
+ # The relative resource name of the SecurityMarks. See:
977
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name
978
+ # Examples:
979
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
980
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
981
+ # securityMarks".
982
+ # Corresponds to the JSON property `name`
983
+ # @return [String]
984
+ attr_accessor :name
985
+
986
+ def initialize(**args)
987
+ update!(**args)
988
+ end
989
+
990
+ # Update properties of this object
991
+ def update!(**args)
992
+ @marks = args[:marks] if args.key?(:marks)
993
+ @name = args[:name] if args.key?(:name)
994
+ end
995
+ end
996
+
997
+ # Wrapper over asset object that also captures the state change for the asset
998
+ # e.g. if it was a newly created asset vs updated or deleted asset.
999
+ class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
1000
+ include Google::Apis::Core::Hashable
1001
+
1002
+ # Security Command Center representation of a Google Cloud
1003
+ # resource.
1004
+ # The Asset is a Security Command Center resource that captures information
1005
+ # about a single Google Cloud resource. All modifications to an Asset are only
1006
+ # within the context of Security Command Center and don't affect the referenced
1007
+ # Google Cloud resource.
1008
+ # Corresponds to the JSON property `asset`
1009
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset]
1010
+ attr_accessor :asset
1011
+
1012
+ # Represents if the asset was created/updated/deleted.
1013
+ # Corresponds to the JSON property `changeType`
1014
+ # @return [String]
1015
+ attr_accessor :change_type
1016
+
1017
+ def initialize(**args)
1018
+ update!(**args)
1019
+ end
1020
+
1021
+ # Update properties of this object
1022
+ def update!(**args)
1023
+ @asset = args[:asset] if args.key?(:asset)
1024
+ @change_type = args[:change_type] if args.key?(:change_type)
1025
+ end
1026
+ end
1027
+
542
1028
  # Request message for grouping by assets.
543
1029
  class GroupAssetsRequest
544
1030
  include Google::Apis::Core::Hashable
@@ -604,11 +1090,18 @@ module Google
604
1090
  # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
605
1091
  # * security_marks.marks: `=`, `:`
606
1092
  # * security_center_properties.resource_name: `=`, `:`
1093
+ # * security_center_properties.resource_display_name: `=`, `:`
607
1094
  # * security_center_properties.resource_type: `=`, `:`
608
1095
  # * security_center_properties.resource_parent: `=`, `:`
1096
+ # * security_center_properties.resource_parent_display_name: `=`, `:`
609
1097
  # * security_center_properties.resource_project: `=`, `:`
1098
+ # * security_center_properties.resource_project_display_name: `=`, `:`
610
1099
  # * security_center_properties.resource_owners: `=`, `:`
611
1100
  # For example, `resource_properties.size = 100` is a valid filter string.
1101
+ # Use a partial match on the empty string to filter based on a property
1102
+ # existing: "resource_properties.my_property : \"\""
1103
+ # Use a negated partial match on the empty string to filter based on a
1104
+ # property not existing: "-resource_properties.my_property : \"\""
612
1105
  # Corresponds to the JSON property `filter`
613
1106
  # @return [String]
614
1107
  attr_accessor :filter
@@ -621,10 +1114,14 @@ module Google
621
1114
  # project".
622
1115
  # The following fields are supported when compare_duration is not set:
623
1116
  # * security_center_properties.resource_project
1117
+ # * security_center_properties.resource_project_display_name
624
1118
  # * security_center_properties.resource_type
625
1119
  # * security_center_properties.resource_parent
1120
+ # * security_center_properties.resource_parent_display_name
626
1121
  # The following fields are supported when compare_duration is set:
627
1122
  # * security_center_properties.resource_type
1123
+ # * security_center_properties.resource_project_display_name
1124
+ # * security_center_properties.resource_parent_display_name
628
1125
  # Corresponds to the JSON property `groupBy`
629
1126
  # @return [String]
630
1127
  attr_accessor :group_by
@@ -719,12 +1216,18 @@ module Google
719
1216
  # two times don't affect the result. For example, the results aren't affected
720
1217
  # if the finding is made inactive and then active again.
721
1218
  # Possible "state_change" values when compare_duration is specified:
722
- # * "CHANGED": indicates that the finding was present at the start of
723
- # compare_duration, but changed its state at read_time.
724
- # * "UNCHANGED": indicates that the finding was present at the start of
725
- # compare_duration and did not change state at read_time.
726
- # * "ADDED": indicates that the finding was not present at the start
727
- # of compare_duration, but was present at read_time.
1219
+ # * "CHANGED": indicates that the finding was present and matched the given
1220
+ # filter at the start of compare_duration, but changed its
1221
+ # state at read_time.
1222
+ # * "UNCHANGED": indicates that the finding was present and matched the given
1223
+ # filter at the start of compare_duration and did not change
1224
+ # state at read_time.
1225
+ # * "ADDED": indicates that the finding did not match the given filter or
1226
+ # was not present at the start of compare_duration, but was
1227
+ # present at read_time.
1228
+ # * "REMOVED": indicates that the finding was present and matched the
1229
+ # filter at the start of compare_duration, but did not match
1230
+ # the filter at read_time.
728
1231
  # If compare_duration is not specified, then the only possible state_change
729
1232
  # is "UNUSED", which will be the state_change set for all findings present
730
1233
  # at read_time.
@@ -766,6 +1269,10 @@ module Google
766
1269
  # * security_marks.marks: `=`, `:`
767
1270
  # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
768
1271
  # For example, `source_properties.size = 100` is a valid filter string.
1272
+ # Use a partial match on the empty string to filter based on a property
1273
+ # existing: "source_properties.my_property : \"\""
1274
+ # Use a negated partial match on the empty string to filter based on a
1275
+ # property not existing: "-source_properties.my_property : \"\""
769
1276
  # Corresponds to the JSON property `filter`
770
1277
  # @return [String]
771
1278
  attr_accessor :filter
@@ -886,9 +1393,10 @@ module Google
886
1393
  end
887
1394
  end
888
1395
 
889
- # IAM Policy information associated with the GCP resource described by the
890
- # Cloud SCC asset. This information is managed and defined by the GCP
891
- # resource and cannot be modified by the user.
1396
+ # Cloud IAM Policy information associated with the Google Cloud resource
1397
+ # described by the Security Command Center asset. This information is managed
1398
+ # and defined by the Google Cloud resource and cannot be modified by the
1399
+ # user.
892
1400
  class IamPolicy
893
1401
  include Google::Apis::Core::Hashable
894
1402
 
@@ -951,11 +1459,12 @@ module Google
951
1459
  class ListAssetsResult
952
1460
  include Google::Apis::Core::Hashable
953
1461
 
954
- # Cloud Security Command Center's (Cloud SCC) representation of a Google Cloud
955
- # Platform (GCP) resource.
956
- # The Asset is a Cloud SCC resource that captures information about a single
957
- # GCP resource. All modifications to an Asset are only within the context of
958
- # Cloud SCC and don't affect the referenced GCP resource.
1462
+ # Security Command Center representation of a Google Cloud
1463
+ # resource.
1464
+ # The Asset is a Security Command Center resource that captures information
1465
+ # about a single Google Cloud resource. All modifications to an Asset are only
1466
+ # within the context of Security Command Center and don't affect the referenced
1467
+ # Google Cloud resource.
959
1468
  # Corresponds to the JSON property `asset`
960
1469
  # @return [Google::Apis::SecuritycenterV1::Asset]
961
1470
  attr_accessor :asset
@@ -1018,15 +1527,22 @@ module Google
1018
1527
  class ListFindingsResult
1019
1528
  include Google::Apis::Core::Hashable
1020
1529
 
1021
- # Cloud Security Command Center (Cloud SCC) finding.
1022
- # A finding is a record of assessment data (security, risk, health or privacy)
1023
- # ingested into Cloud SCC for presentation, notification, analysis,
1024
- # policy testing, and enforcement. For example, an XSS vulnerability in an
1025
- # App Engine application is a finding.
1530
+ # Security Command Center finding.
1531
+ # A finding is a record of assessment data like security, risk, health, or
1532
+ # privacy, that is ingested into Security Command Center for presentation,
1533
+ # notification, analysis, policy testing, and enforcement. For example, a
1534
+ # cross-site scripting (XSS) vulnerability in an App Engine application is a
1535
+ # finding.
1026
1536
  # Corresponds to the JSON property `finding`
1027
1537
  # @return [Google::Apis::SecuritycenterV1::Finding]
1028
1538
  attr_accessor :finding
1029
1539
 
1540
+ # Information related to the Google Cloud resource that is
1541
+ # associated with this finding.
1542
+ # Corresponds to the JSON property `resource`
1543
+ # @return [Google::Apis::SecuritycenterV1::Resource]
1544
+ attr_accessor :resource
1545
+
1030
1546
  # State change of the finding between the points in time.
1031
1547
  # Corresponds to the JSON property `stateChange`
1032
1548
  # @return [String]
@@ -1039,10 +1555,37 @@ module Google
1039
1555
  # Update properties of this object
1040
1556
  def update!(**args)
1041
1557
  @finding = args[:finding] if args.key?(:finding)
1558
+ @resource = args[:resource] if args.key?(:resource)
1042
1559
  @state_change = args[:state_change] if args.key?(:state_change)
1043
1560
  end
1044
1561
  end
1045
1562
 
1563
+ # Response message for listing notification configs.
1564
+ class ListNotificationConfigsResponse
1565
+ include Google::Apis::Core::Hashable
1566
+
1567
+ # Token to retrieve the next page of results, or empty if there are no more
1568
+ # results.
1569
+ # Corresponds to the JSON property `nextPageToken`
1570
+ # @return [String]
1571
+ attr_accessor :next_page_token
1572
+
1573
+ # Notification configs belonging to the requested parent.
1574
+ # Corresponds to the JSON property `notificationConfigs`
1575
+ # @return [Array<Google::Apis::SecuritycenterV1::NotificationConfig>]
1576
+ attr_accessor :notification_configs
1577
+
1578
+ def initialize(**args)
1579
+ update!(**args)
1580
+ end
1581
+
1582
+ # Update properties of this object
1583
+ def update!(**args)
1584
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1585
+ @notification_configs = args[:notification_configs] if args.key?(:notification_configs)
1586
+ end
1587
+ end
1588
+
1046
1589
  # The response message for Operations.ListOperations.
1047
1590
  class ListOperationsResponse
1048
1591
  include Google::Apis::Core::Hashable
@@ -1094,6 +1637,57 @@ module Google
1094
1637
  end
1095
1638
  end
1096
1639
 
1640
+ # Cloud Security Command Center (Cloud SCC) notification configs.
1641
+ # A notification config is a Cloud SCC resource that contains the configuration
1642
+ # to send notifications for create/update events of findings, assets and etc.
1643
+ class NotificationConfig
1644
+ include Google::Apis::Core::Hashable
1645
+
1646
+ # The description of the notification config (max of 1024 characters).
1647
+ # Corresponds to the JSON property `description`
1648
+ # @return [String]
1649
+ attr_accessor :description
1650
+
1651
+ # The relative resource name of this notification config. See:
1652
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1653
+ # Example:
1654
+ # "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1655
+ # Corresponds to the JSON property `name`
1656
+ # @return [String]
1657
+ attr_accessor :name
1658
+
1659
+ # The PubSub topic to send notifications to. Its format is
1660
+ # "projects/[project_id]/topics/[topic]".
1661
+ # Corresponds to the JSON property `pubsubTopic`
1662
+ # @return [String]
1663
+ attr_accessor :pubsub_topic
1664
+
1665
+ # Output only. The service account that needs "pubsub.topics.publish"
1666
+ # permission to publish to the PubSub topic.
1667
+ # Corresponds to the JSON property `serviceAccount`
1668
+ # @return [String]
1669
+ attr_accessor :service_account
1670
+
1671
+ # The config for streaming-based notifications, which send each event as soon
1672
+ # as it is detected.
1673
+ # Corresponds to the JSON property `streamingConfig`
1674
+ # @return [Google::Apis::SecuritycenterV1::StreamingConfig]
1675
+ attr_accessor :streaming_config
1676
+
1677
+ def initialize(**args)
1678
+ update!(**args)
1679
+ end
1680
+
1681
+ # Update properties of this object
1682
+ def update!(**args)
1683
+ @description = args[:description] if args.key?(:description)
1684
+ @name = args[:name] if args.key?(:name)
1685
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1686
+ @service_account = args[:service_account] if args.key?(:service_account)
1687
+ @streaming_config = args[:streaming_config] if args.key?(:streaming_config)
1688
+ end
1689
+ end
1690
+
1097
1691
  # This resource represents a long-running operation that is the result of a
1098
1692
  # network API call.
1099
1693
  class Operation
@@ -1158,8 +1752,8 @@ module Google
1158
1752
  end
1159
1753
  end
1160
1754
 
1161
- # User specified settings that are attached to the Cloud Security Command
1162
- # Center (Cloud SCC) organization.
1755
+ # User specified settings that are attached to the Security Command
1756
+ # Center organization.
1163
1757
  class OrganizationSettings
1164
1758
  include Google::Apis::Core::Hashable
1165
1759
 
@@ -1180,7 +1774,7 @@ module Google
1180
1774
  # The relative resource name of the settings. See:
1181
1775
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1182
1776
  # Example:
1183
- # "organizations/123/organizationSettings".
1777
+ # "organizations/`organization_id`/organizationSettings".
1184
1778
  # Corresponds to the JSON property `name`
1185
1779
  # @return [String]
1186
1780
  attr_accessor :name
@@ -1197,20 +1791,25 @@ module Google
1197
1791
  end
1198
1792
  end
1199
1793
 
1200
- # Defines an Identity and Access Management (IAM) policy. It is used to
1201
- # specify access control policies for Cloud Platform resources.
1794
+ # An Identity and Access Management (IAM) policy, which specifies access
1795
+ # controls for Google Cloud resources.
1202
1796
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1203
1797
  # `members` to a single `role`. Members can be user accounts, service accounts,
1204
1798
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1205
- # permissions (defined by IAM or configured by users). A `binding` can
1206
- # optionally specify a `condition`, which is a logic expression that further
1207
- # constrains the role binding based on attributes about the request and/or
1208
- # target resource.
1209
- # **JSON Example**
1799
+ # permissions; each `role` can be an IAM predefined role or a user-created
1800
+ # custom role.
1801
+ # For some types of Google Cloud resources, a `binding` can also specify a
1802
+ # `condition`, which is a logical expression that allows access to a resource
1803
+ # only if the expression evaluates to `true`. A condition can add constraints
1804
+ # based on attributes of the request, the resource, or both. To learn which
1805
+ # resources support conditions in their IAM policies, see the
1806
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1807
+ # policies).
1808
+ # **JSON example:**
1210
1809
  # `
1211
1810
  # "bindings": [
1212
1811
  # `
1213
- # "role": "role/resourcemanager.organizationAdmin",
1812
+ # "role": "roles/resourcemanager.organizationAdmin",
1214
1813
  # "members": [
1215
1814
  # "user:mike@example.com",
1216
1815
  # "group:admins@example.com",
@@ -1220,17 +1819,21 @@ module Google
1220
1819
  # `,
1221
1820
  # `
1222
1821
  # "role": "roles/resourcemanager.organizationViewer",
1223
- # "members": ["user:eve@example.com"],
1822
+ # "members": [
1823
+ # "user:eve@example.com"
1824
+ # ],
1224
1825
  # "condition": `
1225
1826
  # "title": "expirable access",
1226
1827
  # "description": "Does not grant access after Sep 2020",
1227
- # "expression": "request.time <
1228
- # timestamp('2020-10-01T00:00:00.000Z')",
1828
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1829
+ # ",
1229
1830
  # `
1230
1831
  # `
1231
- # ]
1832
+ # ],
1833
+ # "etag": "BwWWja0YfJA=",
1834
+ # "version": 3
1232
1835
  # `
1233
- # **YAML Example**
1836
+ # **YAML example:**
1234
1837
  # bindings:
1235
1838
  # - members:
1236
1839
  # - user:mike@example.com
@@ -1245,8 +1848,10 @@ module Google
1245
1848
  # title: expirable access
1246
1849
  # description: Does not grant access after Sep 2020
1247
1850
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1851
+ # - etag: BwWWja0YfJA=
1852
+ # - version: 3
1248
1853
  # For a description of IAM and its features, see the
1249
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1854
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1250
1855
  class Policy
1251
1856
  include Google::Apis::Core::Hashable
1252
1857
 
@@ -1255,9 +1860,9 @@ module Google
1255
1860
  # @return [Array<Google::Apis::SecuritycenterV1::AuditConfig>]
1256
1861
  attr_accessor :audit_configs
1257
1862
 
1258
- # Associates a list of `members` to a `role`. Optionally may specify a
1259
- # `condition` that determines when binding is in effect.
1260
- # `bindings` with no members will result in an error.
1863
+ # Associates a list of `members` to a `role`. Optionally, may specify a
1864
+ # `condition` that determines how and when the `bindings` are applied. Each
1865
+ # of the `bindings` must contain at least one member.
1261
1866
  # Corresponds to the JSON property `bindings`
1262
1867
  # @return [Array<Google::Apis::SecuritycenterV1::Binding>]
1263
1868
  attr_accessor :bindings
@@ -1269,25 +1874,34 @@ module Google
1269
1874
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1270
1875
  # systems are expected to put that etag in the request to `setIamPolicy` to
1271
1876
  # ensure that their change will be applied to the same version of the policy.
1272
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1273
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1274
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
1275
- # does not meet the version requirements.
1877
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1878
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1879
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1880
+ # the conditions in the version `3` policy are lost.
1276
1881
  # Corresponds to the JSON property `etag`
1277
1882
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1278
1883
  # @return [String]
1279
1884
  attr_accessor :etag
1280
1885
 
1281
1886
  # Specifies the format of the policy.
1282
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1283
- # rejected.
1284
- # Operations affecting conditional bindings must specify version 3. This can
1285
- # be either setting a conditional policy, modifying a conditional binding,
1286
- # or removing a conditional binding from the stored conditional policy.
1287
- # Operations on non-conditional policies may specify any valid value or
1288
- # leave the field unset.
1289
- # If no etag is provided in the call to `setIamPolicy`, any version
1290
- # compliance checks on the incoming and/or stored policy is skipped.
1887
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1888
+ # are rejected.
1889
+ # Any operation that affects conditional role bindings must specify version
1890
+ # `3`. This requirement applies to the following operations:
1891
+ # * Getting a policy that includes a conditional role binding
1892
+ # * Adding a conditional role binding to a policy
1893
+ # * Changing a conditional role binding in a policy
1894
+ # * Removing any role binding, with or without a condition, from a policy
1895
+ # that includes conditions
1896
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1897
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1898
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1899
+ # the conditions in the version `3` policy are lost.
1900
+ # If a policy does not include any conditions, operations on that policy may
1901
+ # specify any valid version or leave the field unset.
1902
+ # To learn which resources support conditions in their IAM policies, see the
1903
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1904
+ # policies).
1291
1905
  # Corresponds to the JSON property `version`
1292
1906
  # @return [Fixnum]
1293
1907
  attr_accessor :version
@@ -1305,6 +1919,51 @@ module Google
1305
1919
  end
1306
1920
  end
1307
1921
 
1922
+ # Information related to the Google Cloud resource that is
1923
+ # associated with this finding.
1924
+ class Resource
1925
+ include Google::Apis::Core::Hashable
1926
+
1927
+ # The full resource name of the resource. See:
1928
+ # https://cloud.google.com/apis/design/resource_names#full_resource_name
1929
+ # Corresponds to the JSON property `name`
1930
+ # @return [String]
1931
+ attr_accessor :name
1932
+
1933
+ # The human readable name of resource's parent.
1934
+ # Corresponds to the JSON property `parentDisplayName`
1935
+ # @return [String]
1936
+ attr_accessor :parent_display_name
1937
+
1938
+ # The full resource name of resource's parent.
1939
+ # Corresponds to the JSON property `parentName`
1940
+ # @return [String]
1941
+ attr_accessor :parent_name
1942
+
1943
+ # The human readable name of project that the resource belongs to.
1944
+ # Corresponds to the JSON property `projectDisplayName`
1945
+ # @return [String]
1946
+ attr_accessor :project_display_name
1947
+
1948
+ # The full resource name of project that the resource belongs to.
1949
+ # Corresponds to the JSON property `projectName`
1950
+ # @return [String]
1951
+ attr_accessor :project_name
1952
+
1953
+ def initialize(**args)
1954
+ update!(**args)
1955
+ end
1956
+
1957
+ # Update properties of this object
1958
+ def update!(**args)
1959
+ @name = args[:name] if args.key?(:name)
1960
+ @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1961
+ @parent_name = args[:parent_name] if args.key?(:parent_name)
1962
+ @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
1963
+ @project_name = args[:project_name] if args.key?(:project_name)
1964
+ end
1965
+ end
1966
+
1308
1967
  # Request message for running asset discovery for an organization.
1309
1968
  class RunAssetDiscoveryRequest
1310
1969
  include Google::Apis::Core::Hashable
@@ -1318,12 +1977,17 @@ module Google
1318
1977
  end
1319
1978
  end
1320
1979
 
1321
- # Cloud SCC managed properties. These properties are managed by Cloud SCC and
1322
- # cannot be modified by the user.
1980
+ # Security Command Center managed properties. These properties are managed by
1981
+ # Security Command Center and cannot be modified by the user.
1323
1982
  class SecurityCenterProperties
1324
1983
  include Google::Apis::Core::Hashable
1325
1984
 
1326
- # The full resource name of the GCP resource this asset
1985
+ # The user defined display name for this resource.
1986
+ # Corresponds to the JSON property `resourceDisplayName`
1987
+ # @return [String]
1988
+ attr_accessor :resource_display_name
1989
+
1990
+ # The full resource name of the Google Cloud resource this asset
1327
1991
  # represents. This field is immutable after create time. See:
1328
1992
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
1329
1993
  # Corresponds to the JSON property `resourceName`
@@ -1341,16 +2005,26 @@ module Google
1341
2005
  # @return [String]
1342
2006
  attr_accessor :resource_parent
1343
2007
 
2008
+ # The user defined display name for the parent of this resource.
2009
+ # Corresponds to the JSON property `resourceParentDisplayName`
2010
+ # @return [String]
2011
+ attr_accessor :resource_parent_display_name
2012
+
1344
2013
  # The full resource name of the project the resource belongs to. See:
1345
2014
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
1346
2015
  # Corresponds to the JSON property `resourceProject`
1347
2016
  # @return [String]
1348
2017
  attr_accessor :resource_project
1349
2018
 
1350
- # The type of the GCP resource. Examples include: APPLICATION,
2019
+ # The user defined display name for the project of this resource.
2020
+ # Corresponds to the JSON property `resourceProjectDisplayName`
2021
+ # @return [String]
2022
+ attr_accessor :resource_project_display_name
2023
+
2024
+ # The type of the Google Cloud resource. Examples include: APPLICATION,
1351
2025
  # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
1352
- # Cloud SCC and/or the producer of the resource and is immutable
1353
- # after create time.
2026
+ # Security Command Center and/or the producer of the resource and is
2027
+ # immutable after create time.
1354
2028
  # Corresponds to the JSON property `resourceType`
1355
2029
  # @return [String]
1356
2030
  attr_accessor :resource_type
@@ -1361,27 +2035,30 @@ module Google
1361
2035
 
1362
2036
  # Update properties of this object
1363
2037
  def update!(**args)
2038
+ @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
1364
2039
  @resource_name = args[:resource_name] if args.key?(:resource_name)
1365
2040
  @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
1366
2041
  @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
2042
+ @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
1367
2043
  @resource_project = args[:resource_project] if args.key?(:resource_project)
2044
+ @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
1368
2045
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1369
2046
  end
1370
2047
  end
1371
2048
 
1372
- # User specified security marks that are attached to the parent Cloud Security
1373
- # Command Center (Cloud SCC) resource. Security marks are scoped within a Cloud
1374
- # SCC organization -- they can be modified and viewed by all users who have
2049
+ # User specified security marks that are attached to the parent Security
2050
+ # Command Center resource. Security marks are scoped within a Security Command
2051
+ # Center organization -- they can be modified and viewed by all users who have
1375
2052
  # proper permissions on the organization.
1376
2053
  class SecurityMarks
1377
2054
  include Google::Apis::Core::Hashable
1378
2055
 
1379
2056
  # Mutable user specified security marks belonging to the parent resource.
1380
2057
  # Constraints are as follows:
1381
- # - Keys and values are treated as case insensitive
1382
- # - Keys must be between 1 - 256 characters (inclusive)
1383
- # - Keys must be letters, numbers, underscores, or dashes
1384
- # - Values have leading and trailing whitespace trimmed, remaining
2058
+ # * Keys and values are treated as case insensitive
2059
+ # * Keys must be between 1 - 256 characters (inclusive)
2060
+ # * Keys must be letters, numbers, underscores, or dashes
2061
+ # * Values have leading and trailing whitespace trimmed, remaining
1385
2062
  # characters must be between 1 - 4096 characters (inclusive)
1386
2063
  # Corresponds to the JSON property `marks`
1387
2064
  # @return [Hash<String,String>]
@@ -1390,8 +2067,9 @@ module Google
1390
2067
  # The relative resource name of the SecurityMarks. See:
1391
2068
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1392
2069
  # Examples:
1393
- # "organizations/123/assets/456/securityMarks"
1394
- # "organizations/123/sources/456/findings/789/securityMarks".
2070
+ # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
2071
+ # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
2072
+ # securityMarks".
1395
2073
  # Corresponds to the JSON property `name`
1396
2074
  # @return [String]
1397
2075
  attr_accessor :name
@@ -1436,20 +2114,25 @@ module Google
1436
2114
  class SetIamPolicyRequest
1437
2115
  include Google::Apis::Core::Hashable
1438
2116
 
1439
- # Defines an Identity and Access Management (IAM) policy. It is used to
1440
- # specify access control policies for Cloud Platform resources.
2117
+ # An Identity and Access Management (IAM) policy, which specifies access
2118
+ # controls for Google Cloud resources.
1441
2119
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1442
2120
  # `members` to a single `role`. Members can be user accounts, service accounts,
1443
2121
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1444
- # permissions (defined by IAM or configured by users). A `binding` can
1445
- # optionally specify a `condition`, which is a logic expression that further
1446
- # constrains the role binding based on attributes about the request and/or
1447
- # target resource.
1448
- # **JSON Example**
2122
+ # permissions; each `role` can be an IAM predefined role or a user-created
2123
+ # custom role.
2124
+ # For some types of Google Cloud resources, a `binding` can also specify a
2125
+ # `condition`, which is a logical expression that allows access to a resource
2126
+ # only if the expression evaluates to `true`. A condition can add constraints
2127
+ # based on attributes of the request, the resource, or both. To learn which
2128
+ # resources support conditions in their IAM policies, see the
2129
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2130
+ # policies).
2131
+ # **JSON example:**
1449
2132
  # `
1450
2133
  # "bindings": [
1451
2134
  # `
1452
- # "role": "role/resourcemanager.organizationAdmin",
2135
+ # "role": "roles/resourcemanager.organizationAdmin",
1453
2136
  # "members": [
1454
2137
  # "user:mike@example.com",
1455
2138
  # "group:admins@example.com",
@@ -1459,17 +2142,21 @@ module Google
1459
2142
  # `,
1460
2143
  # `
1461
2144
  # "role": "roles/resourcemanager.organizationViewer",
1462
- # "members": ["user:eve@example.com"],
2145
+ # "members": [
2146
+ # "user:eve@example.com"
2147
+ # ],
1463
2148
  # "condition": `
1464
2149
  # "title": "expirable access",
1465
2150
  # "description": "Does not grant access after Sep 2020",
1466
- # "expression": "request.time <
1467
- # timestamp('2020-10-01T00:00:00.000Z')",
2151
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2152
+ # ",
1468
2153
  # `
1469
2154
  # `
1470
- # ]
2155
+ # ],
2156
+ # "etag": "BwWWja0YfJA=",
2157
+ # "version": 3
1471
2158
  # `
1472
- # **YAML Example**
2159
+ # **YAML example:**
1473
2160
  # bindings:
1474
2161
  # - members:
1475
2162
  # - user:mike@example.com
@@ -1484,8 +2171,10 @@ module Google
1484
2171
  # title: expirable access
1485
2172
  # description: Does not grant access after Sep 2020
1486
2173
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2174
+ # - etag: BwWWja0YfJA=
2175
+ # - version: 3
1487
2176
  # For a description of IAM and its features, see the
1488
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2177
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1489
2178
  # Corresponds to the JSON property `policy`
1490
2179
  # @return [Google::Apis::SecuritycenterV1::Policy]
1491
2180
  attr_accessor :policy
@@ -1493,8 +2182,7 @@ module Google
1493
2182
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1494
2183
  # the fields in the mask will be modified. If no mask is provided, the
1495
2184
  # following default mask is used:
1496
- # paths: "bindings, etag"
1497
- # This field is only used by Cloud IAM.
2185
+ # `paths: "bindings, etag"`
1498
2186
  # Corresponds to the JSON property `updateMask`
1499
2187
  # @return [String]
1500
2188
  attr_accessor :update_mask
@@ -1510,19 +2198,20 @@ module Google
1510
2198
  end
1511
2199
  end
1512
2200
 
1513
- # Cloud Security Command Center's (Cloud SCC) finding source. A finding source
2201
+ # Security Command Center finding source. A finding source
1514
2202
  # is an entity or a mechanism that can produce a finding. A source is like a
1515
- # container of findings that come from the same scanner, logger, monitor, etc.
2203
+ # container of findings that come from the same scanner, logger, monitor, and
2204
+ # other tools.
1516
2205
  class Source
1517
2206
  include Google::Apis::Core::Hashable
1518
2207
 
1519
2208
  # The description of the source (max of 1024 characters).
1520
2209
  # Example:
1521
- # "Cloud Security Scanner is a web security scanner for common
2210
+ # "Web Security Scanner is a web security scanner for common
1522
2211
  # vulnerabilities in App Engine applications. It can automatically
1523
2212
  # scan and detect four common vulnerabilities, including cross-site-scripting
1524
2213
  # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
1525
- # outdated/insecure libraries."
2214
+ # outdated or insecure libraries."
1526
2215
  # Corresponds to the JSON property `description`
1527
2216
  # @return [String]
1528
2217
  attr_accessor :description
@@ -1539,7 +2228,7 @@ module Google
1539
2228
  # The relative resource name of this source. See:
1540
2229
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1541
2230
  # Example:
1542
- # "organizations/123/sources/456"
2231
+ # "organizations/`organization_id`/sources/`source_id`"
1543
2232
  # Corresponds to the JSON property `name`
1544
2233
  # @return [String]
1545
2234
  attr_accessor :name
@@ -1595,6 +2284,41 @@ module Google
1595
2284
  end
1596
2285
  end
1597
2286
 
2287
+ # The config for streaming-based notifications, which send each event as soon
2288
+ # as it is detected.
2289
+ class StreamingConfig
2290
+ include Google::Apis::Core::Hashable
2291
+
2292
+ # Expression that defines the filter to apply across create/update events
2293
+ # of assets or findings as specified by the event type. The expression is a
2294
+ # list of zero or more restrictions combined via logical operators `AND`
2295
+ # and `OR`. Parentheses are supported, and `OR` has higher precedence than
2296
+ # `AND`.
2297
+ # Restrictions have the form `<field> <operator> <value>` and may have a
2298
+ # `-` character in front of them to indicate negation. The fields map to
2299
+ # those defined in the corresponding resource.
2300
+ # The supported operators are:
2301
+ # * `=` for all value types.
2302
+ # * `>`, `<`, `>=`, `<=` for integer values.
2303
+ # * `:`, meaning substring matching, for strings.
2304
+ # The supported value types are:
2305
+ # * string literals in quotes.
2306
+ # * integer literals without quotes.
2307
+ # * boolean literals `true` and `false` without quotes.
2308
+ # Corresponds to the JSON property `filter`
2309
+ # @return [String]
2310
+ attr_accessor :filter
2311
+
2312
+ def initialize(**args)
2313
+ update!(**args)
2314
+ end
2315
+
2316
+ # Update properties of this object
2317
+ def update!(**args)
2318
+ @filter = args[:filter] if args.key?(:filter)
2319
+ end
2320
+ end
2321
+
1598
2322
  # Request message for `TestIamPermissions` method.
1599
2323
  class TestIamPermissionsRequest
1600
2324
  include Google::Apis::Core::Hashable