google-api-client 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -1,2059 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module SecuritycenterV1p1beta1
24
-
25
- # The configuration used for Asset Discovery runs.
26
- class AssetDiscoveryConfig
27
- include Google::Apis::Core::Hashable
28
-
29
- # The mode to use for filtering asset discovery.
30
- # Corresponds to the JSON property `inclusionMode`
31
- # @return [String]
32
- attr_accessor :inclusion_mode
33
-
34
- # The project ids to use for filtering asset discovery.
35
- # Corresponds to the JSON property `projectIds`
36
- # @return [Array<String>]
37
- attr_accessor :project_ids
38
-
39
- def initialize(**args)
40
- update!(**args)
41
- end
42
-
43
- # Update properties of this object
44
- def update!(**args)
45
- @inclusion_mode = args[:inclusion_mode] if args.key?(:inclusion_mode)
46
- @project_ids = args[:project_ids] if args.key?(:project_ids)
47
- end
48
- end
49
-
50
- # Specifies the audit configuration for a service. The configuration determines
51
- # which permission types are logged, and what identities, if any, are exempted
52
- # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
53
- # are AuditConfigs for both `allServices` and a specific service, the union of
54
- # the two AuditConfigs is used for that service: the log_types specified in each
55
- # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
56
- # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
57
- # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
58
- # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
59
- # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
60
- # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
61
- # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
62
- # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
63
- # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
64
- # DATA_WRITE logging.
65
- class AuditConfig
66
- include Google::Apis::Core::Hashable
67
-
68
- # The configuration for logging of each type of permission.
69
- # Corresponds to the JSON property `auditLogConfigs`
70
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditLogConfig>]
71
- attr_accessor :audit_log_configs
72
-
73
- # Specifies a service that will be enabled for audit logging. For example, `
74
- # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
75
- # value that covers all services.
76
- # Corresponds to the JSON property `service`
77
- # @return [String]
78
- attr_accessor :service
79
-
80
- def initialize(**args)
81
- update!(**args)
82
- end
83
-
84
- # Update properties of this object
85
- def update!(**args)
86
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
87
- @service = args[:service] if args.key?(:service)
88
- end
89
- end
90
-
91
- # Provides the configuration for logging a type of permissions. Example: ` "
92
- # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
93
- # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
94
- # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
95
- # DATA_READ logging.
96
- class AuditLogConfig
97
- include Google::Apis::Core::Hashable
98
-
99
- # Specifies the identities that do not cause logging for this type of permission.
100
- # Follows the same format of Binding.members.
101
- # Corresponds to the JSON property `exemptedMembers`
102
- # @return [Array<String>]
103
- attr_accessor :exempted_members
104
-
105
- # The log type that this config enables.
106
- # Corresponds to the JSON property `logType`
107
- # @return [String]
108
- attr_accessor :log_type
109
-
110
- def initialize(**args)
111
- update!(**args)
112
- end
113
-
114
- # Update properties of this object
115
- def update!(**args)
116
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
117
- @log_type = args[:log_type] if args.key?(:log_type)
118
- end
119
- end
120
-
121
- # Associates `members` with a `role`.
122
- class Binding
123
- include Google::Apis::Core::Hashable
124
-
125
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
126
- # CEL is a C-like expression language. The syntax and semantics of CEL are
127
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
128
- # "Summary size limit" description: "Determines if a summary is less than 100
129
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
130
- # Requestor is owner" description: "Determines if requestor is the document
131
- # owner" expression: "document.owner == request.auth.claims.email" Example (
132
- # Logic): title: "Public documents" description: "Determine whether the document
133
- # should be publicly visible" expression: "document.type != 'private' &&
134
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
135
- # string" description: "Create a notification string with a timestamp."
136
- # expression: "'New message received at ' + string(document.create_time)" The
137
- # exact variables and functions that may be referenced within an expression are
138
- # determined by the service that evaluates it. See the service documentation for
139
- # additional information.
140
- # Corresponds to the JSON property `condition`
141
- # @return [Google::Apis::SecuritycenterV1p1beta1::Expr]
142
- attr_accessor :condition
143
-
144
- # Specifies the identities requesting access for a Cloud Platform resource. `
145
- # members` can have the following values: * `allUsers`: A special identifier
146
- # that represents anyone who is on the internet; with or without a Google
147
- # account. * `allAuthenticatedUsers`: A special identifier that represents
148
- # anyone who is authenticated with a Google account or a service account. * `
149
- # user:`emailid``: An email address that represents a specific Google account.
150
- # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
151
- # address that represents a service account. For example, `my-other-app@appspot.
152
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
153
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
154
- # `uniqueid``: An email address (plus unique identifier) representing a user
155
- # that has been recently deleted. For example, `alice@example.com?uid=
156
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
157
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
158
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
159
- # identifier) representing a service account that has been recently deleted. For
160
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
161
- # If the service account is undeleted, this value reverts to `serviceAccount:`
162
- # emailid`` and the undeleted service account retains the role in the binding. *
163
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
164
- # identifier) representing a Google group that has been recently deleted. For
165
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
166
- # recovered, this value reverts to `group:`emailid`` and the recovered group
167
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
168
- # primary) that represents all the users of that domain. For example, `google.
169
- # com` or `example.com`.
170
- # Corresponds to the JSON property `members`
171
- # @return [Array<String>]
172
- attr_accessor :members
173
-
174
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
175
- # , or `roles/owner`.
176
- # Corresponds to the JSON property `role`
177
- # @return [String]
178
- attr_accessor :role
179
-
180
- def initialize(**args)
181
- update!(**args)
182
- end
183
-
184
- # Update properties of this object
185
- def update!(**args)
186
- @condition = args[:condition] if args.key?(:condition)
187
- @members = args[:members] if args.key?(:members)
188
- @role = args[:role] if args.key?(:role)
189
- end
190
- end
191
-
192
- # A generic empty message that you can re-use to avoid defining duplicated empty
193
- # messages in your APIs. A typical example is to use it as the request or the
194
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
195
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
196
- # `Empty` is empty JSON object ````.
197
- class Empty
198
- include Google::Apis::Core::Hashable
199
-
200
- def initialize(**args)
201
- update!(**args)
202
- end
203
-
204
- # Update properties of this object
205
- def update!(**args)
206
- end
207
- end
208
-
209
- # Represents a textual expression in the Common Expression Language (CEL) syntax.
210
- # CEL is a C-like expression language. The syntax and semantics of CEL are
211
- # documented at https://github.com/google/cel-spec. Example (Comparison): title:
212
- # "Summary size limit" description: "Determines if a summary is less than 100
213
- # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
214
- # Requestor is owner" description: "Determines if requestor is the document
215
- # owner" expression: "document.owner == request.auth.claims.email" Example (
216
- # Logic): title: "Public documents" description: "Determine whether the document
217
- # should be publicly visible" expression: "document.type != 'private' &&
218
- # document.type != 'internal'" Example (Data Manipulation): title: "Notification
219
- # string" description: "Create a notification string with a timestamp."
220
- # expression: "'New message received at ' + string(document.create_time)" The
221
- # exact variables and functions that may be referenced within an expression are
222
- # determined by the service that evaluates it. See the service documentation for
223
- # additional information.
224
- class Expr
225
- include Google::Apis::Core::Hashable
226
-
227
- # Optional. Description of the expression. This is a longer text which describes
228
- # the expression, e.g. when hovered over it in a UI.
229
- # Corresponds to the JSON property `description`
230
- # @return [String]
231
- attr_accessor :description
232
-
233
- # Textual representation of an expression in Common Expression Language syntax.
234
- # Corresponds to the JSON property `expression`
235
- # @return [String]
236
- attr_accessor :expression
237
-
238
- # Optional. String indicating the location of the expression for error reporting,
239
- # e.g. a file name and a position in the file.
240
- # Corresponds to the JSON property `location`
241
- # @return [String]
242
- attr_accessor :location
243
-
244
- # Optional. Title for the expression, i.e. a short string describing its purpose.
245
- # This can be used e.g. in UIs which allow to enter the expression.
246
- # Corresponds to the JSON property `title`
247
- # @return [String]
248
- attr_accessor :title
249
-
250
- def initialize(**args)
251
- update!(**args)
252
- end
253
-
254
- # Update properties of this object
255
- def update!(**args)
256
- @description = args[:description] if args.key?(:description)
257
- @expression = args[:expression] if args.key?(:expression)
258
- @location = args[:location] if args.key?(:location)
259
- @title = args[:title] if args.key?(:title)
260
- end
261
- end
262
-
263
- # Security Command Center finding. A finding is a record of assessment data like
264
- # security, risk, health, or privacy, that is ingested into Security Command
265
- # Center for presentation, notification, analysis, policy testing, and
266
- # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
267
- # Engine application is a finding.
268
- class Finding
269
- include Google::Apis::Core::Hashable
270
-
271
- # The additional taxonomy group within findings from a given source. This field
272
- # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
273
- # Corresponds to the JSON property `category`
274
- # @return [String]
275
- attr_accessor :category
276
-
277
- # The time at which the finding was created in Security Command Center.
278
- # Corresponds to the JSON property `createTime`
279
- # @return [String]
280
- attr_accessor :create_time
281
-
282
- # The time at which the event took place. For example, if the finding represents
283
- # an open firewall it would capture the time the detector believes the firewall
284
- # became open. The accuracy is determined by the detector.
285
- # Corresponds to the JSON property `eventTime`
286
- # @return [String]
287
- attr_accessor :event_time
288
-
289
- # The URI that, if available, points to a web page outside of Security Command
290
- # Center where additional information about the finding can be found. This field
291
- # is guaranteed to be either empty or a well formed URL.
292
- # Corresponds to the JSON property `externalUri`
293
- # @return [String]
294
- attr_accessor :external_uri
295
-
296
- # The relative resource name of this finding. See: https://cloud.google.com/apis/
297
- # design/resource_names#relative_resource_name Example: "organizations/`
298
- # organization_id`/sources/`source_id`/findings/`finding_id`"
299
- # Corresponds to the JSON property `name`
300
- # @return [String]
301
- attr_accessor :name
302
-
303
- # The relative resource name of the source the finding belongs to. See: https://
304
- # cloud.google.com/apis/design/resource_names#relative_resource_name This field
305
- # is immutable after creation time. For example: "organizations/`organization_id`
306
- # /sources/`source_id`"
307
- # Corresponds to the JSON property `parent`
308
- # @return [String]
309
- attr_accessor :parent
310
-
311
- # For findings on Google Cloud resources, the full resource name of the Google
312
- # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
313
- # resource_names#full_resource_name When the finding is for a non-Google Cloud
314
- # resource, the resourceName can be a customer or partner defined string. This
315
- # field is immutable after creation time.
316
- # Corresponds to the JSON property `resourceName`
317
- # @return [String]
318
- attr_accessor :resource_name
319
-
320
- # User specified security marks that are attached to the parent Security Command
321
- # Center resource. Security marks are scoped within a Security Command Center
322
- # organization -- they can be modified and viewed by all users who have proper
323
- # permissions on the organization.
324
- # Corresponds to the JSON property `securityMarks`
325
- # @return [Google::Apis::SecuritycenterV1p1beta1::SecurityMarks]
326
- attr_accessor :security_marks
327
-
328
- # Source specific properties. These properties are managed by the source that
329
- # writes the finding. The key names in the source_properties map must be between
330
- # 1 and 255 characters, and must start with a letter and contain alphanumeric
331
- # characters or underscores only.
332
- # Corresponds to the JSON property `sourceProperties`
333
- # @return [Hash<String,Object>]
334
- attr_accessor :source_properties
335
-
336
- # The state of the finding.
337
- # Corresponds to the JSON property `state`
338
- # @return [String]
339
- attr_accessor :state
340
-
341
- def initialize(**args)
342
- update!(**args)
343
- end
344
-
345
- # Update properties of this object
346
- def update!(**args)
347
- @category = args[:category] if args.key?(:category)
348
- @create_time = args[:create_time] if args.key?(:create_time)
349
- @event_time = args[:event_time] if args.key?(:event_time)
350
- @external_uri = args[:external_uri] if args.key?(:external_uri)
351
- @name = args[:name] if args.key?(:name)
352
- @parent = args[:parent] if args.key?(:parent)
353
- @resource_name = args[:resource_name] if args.key?(:resource_name)
354
- @security_marks = args[:security_marks] if args.key?(:security_marks)
355
- @source_properties = args[:source_properties] if args.key?(:source_properties)
356
- @state = args[:state] if args.key?(:state)
357
- end
358
- end
359
-
360
- # Request message for `GetIamPolicy` method.
361
- class GetIamPolicyRequest
362
- include Google::Apis::Core::Hashable
363
-
364
- # Encapsulates settings provided to GetIamPolicy.
365
- # Corresponds to the JSON property `options`
366
- # @return [Google::Apis::SecuritycenterV1p1beta1::GetPolicyOptions]
367
- attr_accessor :options
368
-
369
- def initialize(**args)
370
- update!(**args)
371
- end
372
-
373
- # Update properties of this object
374
- def update!(**args)
375
- @options = args[:options] if args.key?(:options)
376
- end
377
- end
378
-
379
- # Encapsulates settings provided to GetIamPolicy.
380
- class GetPolicyOptions
381
- include Google::Apis::Core::Hashable
382
-
383
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
384
- # 3. Requests specifying an invalid value will be rejected. Requests for
385
- # policies with any conditional bindings must specify version 3. Policies
386
- # without any conditional bindings may specify any valid value or leave the
387
- # field unset. To learn which resources support conditions in their IAM policies,
388
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
389
- # resource-policies).
390
- # Corresponds to the JSON property `requestedPolicyVersion`
391
- # @return [Fixnum]
392
- attr_accessor :requested_policy_version
393
-
394
- def initialize(**args)
395
- update!(**args)
396
- end
397
-
398
- # Update properties of this object
399
- def update!(**args)
400
- @requested_policy_version = args[:requested_policy_version] if args.key?(:requested_policy_version)
401
- end
402
- end
403
-
404
- # Cloud SCC's Notification
405
- class GoogleCloudSecuritycenterV1NotificationMessage
406
- include Google::Apis::Core::Hashable
407
-
408
- # Security Command Center finding. A finding is a record of assessment data like
409
- # security, risk, health, or privacy, that is ingested into Security Command
410
- # Center for presentation, notification, analysis, policy testing, and
411
- # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
412
- # Engine application is a finding.
413
- # Corresponds to the JSON property `finding`
414
- # @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
415
- attr_accessor :finding
416
-
417
- # Name of the notification config that generated current notification.
418
- # Corresponds to the JSON property `notificationConfigName`
419
- # @return [String]
420
- attr_accessor :notification_config_name
421
-
422
- # Information related to the Google Cloud resource.
423
- # Corresponds to the JSON property `resource`
424
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource]
425
- attr_accessor :resource
426
-
427
- def initialize(**args)
428
- update!(**args)
429
- end
430
-
431
- # Update properties of this object
432
- def update!(**args)
433
- @finding = args[:finding] if args.key?(:finding)
434
- @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
435
- @resource = args[:resource] if args.key?(:resource)
436
- end
437
- end
438
-
439
- # Information related to the Google Cloud resource.
440
- class GoogleCloudSecuritycenterV1Resource
441
- include Google::Apis::Core::Hashable
442
-
443
- # The full resource name of the resource. See: https://cloud.google.com/apis/
444
- # design/resource_names#full_resource_name
445
- # Corresponds to the JSON property `name`
446
- # @return [String]
447
- attr_accessor :name
448
-
449
- # The full resource name of resource's parent.
450
- # Corresponds to the JSON property `parent`
451
- # @return [String]
452
- attr_accessor :parent
453
-
454
- # The human readable name of resource's parent.
455
- # Corresponds to the JSON property `parentDisplayName`
456
- # @return [String]
457
- attr_accessor :parent_display_name
458
-
459
- # The full resource name of project that the resource belongs to.
460
- # Corresponds to the JSON property `project`
461
- # @return [String]
462
- attr_accessor :project
463
-
464
- # The human readable name of project that the resource belongs to.
465
- # Corresponds to the JSON property `projectDisplayName`
466
- # @return [String]
467
- attr_accessor :project_display_name
468
-
469
- def initialize(**args)
470
- update!(**args)
471
- end
472
-
473
- # Update properties of this object
474
- def update!(**args)
475
- @name = args[:name] if args.key?(:name)
476
- @parent = args[:parent] if args.key?(:parent)
477
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
478
- @project = args[:project] if args.key?(:project)
479
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
480
- end
481
- end
482
-
483
- # Response of asset discovery run
484
- class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
485
- include Google::Apis::Core::Hashable
486
-
487
- # The duration between asset discovery run start and end
488
- # Corresponds to the JSON property `duration`
489
- # @return [String]
490
- attr_accessor :duration
491
-
492
- # The state of an asset discovery run.
493
- # Corresponds to the JSON property `state`
494
- # @return [String]
495
- attr_accessor :state
496
-
497
- def initialize(**args)
498
- update!(**args)
499
- end
500
-
501
- # Update properties of this object
502
- def update!(**args)
503
- @duration = args[:duration] if args.key?(:duration)
504
- @state = args[:state] if args.key?(:state)
505
- end
506
- end
507
-
508
- # Response of asset discovery run
509
- class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
510
- include Google::Apis::Core::Hashable
511
-
512
- # The duration between asset discovery run start and end
513
- # Corresponds to the JSON property `duration`
514
- # @return [String]
515
- attr_accessor :duration
516
-
517
- # The state of an asset discovery run.
518
- # Corresponds to the JSON property `state`
519
- # @return [String]
520
- attr_accessor :state
521
-
522
- def initialize(**args)
523
- update!(**args)
524
- end
525
-
526
- # Update properties of this object
527
- def update!(**args)
528
- @duration = args[:duration] if args.key?(:duration)
529
- @state = args[:state] if args.key?(:state)
530
- end
531
- end
532
-
533
- # Security Command Center representation of a Google Cloud resource. The Asset
534
- # is a Security Command Center resource that captures information about a single
535
- # Google Cloud resource. All modifications to an Asset are only within the
536
- # context of Security Command Center and don't affect the referenced Google
537
- # Cloud resource.
538
- class GoogleCloudSecuritycenterV1p1beta1Asset
539
- include Google::Apis::Core::Hashable
540
-
541
- # The time at which the asset was created in Security Command Center.
542
- # Corresponds to the JSON property `createTime`
543
- # @return [String]
544
- attr_accessor :create_time
545
-
546
- # Cloud IAM Policy information associated with the Google Cloud resource
547
- # described by the Security Command Center asset. This information is managed
548
- # and defined by the Google Cloud resource and cannot be modified by the user.
549
- # Corresponds to the JSON property `iamPolicy`
550
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
551
- attr_accessor :iam_policy
552
-
553
- # The relative resource name of this asset. See: https://cloud.google.com/apis/
554
- # design/resource_names#relative_resource_name Example: "organizations/`
555
- # organization_id`/assets/`asset_id`".
556
- # Corresponds to the JSON property `name`
557
- # @return [String]
558
- attr_accessor :name
559
-
560
- # Resource managed properties. These properties are managed and defined by the
561
- # Google Cloud resource and cannot be modified by the user.
562
- # Corresponds to the JSON property `resourceProperties`
563
- # @return [Hash<String,Object>]
564
- attr_accessor :resource_properties
565
-
566
- # Security Command Center managed properties. These properties are managed by
567
- # Security Command Center and cannot be modified by the user.
568
- # Corresponds to the JSON property `securityCenterProperties`
569
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
570
- attr_accessor :security_center_properties
571
-
572
- # User specified security marks that are attached to the parent Security Command
573
- # Center resource. Security marks are scoped within a Security Command Center
574
- # organization -- they can be modified and viewed by all users who have proper
575
- # permissions on the organization.
576
- # Corresponds to the JSON property `securityMarks`
577
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
578
- attr_accessor :security_marks
579
-
580
- # The time at which the asset was last updated, added, or deleted in Cloud SCC.
581
- # Corresponds to the JSON property `updateTime`
582
- # @return [String]
583
- attr_accessor :update_time
584
-
585
- def initialize(**args)
586
- update!(**args)
587
- end
588
-
589
- # Update properties of this object
590
- def update!(**args)
591
- @create_time = args[:create_time] if args.key?(:create_time)
592
- @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
593
- @name = args[:name] if args.key?(:name)
594
- @resource_properties = args[:resource_properties] if args.key?(:resource_properties)
595
- @security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
596
- @security_marks = args[:security_marks] if args.key?(:security_marks)
597
- @update_time = args[:update_time] if args.key?(:update_time)
598
- end
599
- end
600
-
601
- # Security Command Center finding. A finding is a record of assessment data (
602
- # security, risk, health or privacy) ingested into Security Command Center for
603
- # presentation, notification, analysis, policy testing, and enforcement. For
604
- # example, an XSS vulnerability in an App Engine application is a finding.
605
- class GoogleCloudSecuritycenterV1p1beta1Finding
606
- include Google::Apis::Core::Hashable
607
-
608
- # The additional taxonomy group within findings from a given source. This field
609
- # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
610
- # Corresponds to the JSON property `category`
611
- # @return [String]
612
- attr_accessor :category
613
-
614
- # The time at which the finding was created in Security Command Center.
615
- # Corresponds to the JSON property `createTime`
616
- # @return [String]
617
- attr_accessor :create_time
618
-
619
- # The time at which the event took place. For example, if the finding represents
620
- # an open firewall it would capture the time the detector believes the firewall
621
- # became open. The accuracy is determined by the detector.
622
- # Corresponds to the JSON property `eventTime`
623
- # @return [String]
624
- attr_accessor :event_time
625
-
626
- # The URI that, if available, points to a web page outside of Security Command
627
- # Center where additional information about the finding can be found. This field
628
- # is guaranteed to be either empty or a well formed URL.
629
- # Corresponds to the JSON property `externalUri`
630
- # @return [String]
631
- attr_accessor :external_uri
632
-
633
- # The relative resource name of this finding. See: https://cloud.google.com/apis/
634
- # design/resource_names#relative_resource_name Example: "organizations/`
635
- # organization_id`/sources/`source_id`/findings/`finding_id`"
636
- # Corresponds to the JSON property `name`
637
- # @return [String]
638
- attr_accessor :name
639
-
640
- # The relative resource name of the source the finding belongs to. See: https://
641
- # cloud.google.com/apis/design/resource_names#relative_resource_name This field
642
- # is immutable after creation time. For example: "organizations/`organization_id`
643
- # /sources/`source_id`"
644
- # Corresponds to the JSON property `parent`
645
- # @return [String]
646
- attr_accessor :parent
647
-
648
- # For findings on Google Cloud resources, the full resource name of the Google
649
- # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
650
- # resource_names#full_resource_name When the finding is for a non-Google Cloud
651
- # resource, the resourceName can be a customer or partner defined string. This
652
- # field is immutable after creation time.
653
- # Corresponds to the JSON property `resourceName`
654
- # @return [String]
655
- attr_accessor :resource_name
656
-
657
- # User specified security marks that are attached to the parent Security Command
658
- # Center resource. Security marks are scoped within a Security Command Center
659
- # organization -- they can be modified and viewed by all users who have proper
660
- # permissions on the organization.
661
- # Corresponds to the JSON property `securityMarks`
662
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
663
- attr_accessor :security_marks
664
-
665
- # Source specific properties. These properties are managed by the source that
666
- # writes the finding. The key names in the source_properties map must be between
667
- # 1 and 255 characters, and must start with a letter and contain alphanumeric
668
- # characters or underscores only.
669
- # Corresponds to the JSON property `sourceProperties`
670
- # @return [Hash<String,Object>]
671
- attr_accessor :source_properties
672
-
673
- # The state of the finding.
674
- # Corresponds to the JSON property `state`
675
- # @return [String]
676
- attr_accessor :state
677
-
678
- def initialize(**args)
679
- update!(**args)
680
- end
681
-
682
- # Update properties of this object
683
- def update!(**args)
684
- @category = args[:category] if args.key?(:category)
685
- @create_time = args[:create_time] if args.key?(:create_time)
686
- @event_time = args[:event_time] if args.key?(:event_time)
687
- @external_uri = args[:external_uri] if args.key?(:external_uri)
688
- @name = args[:name] if args.key?(:name)
689
- @parent = args[:parent] if args.key?(:parent)
690
- @resource_name = args[:resource_name] if args.key?(:resource_name)
691
- @security_marks = args[:security_marks] if args.key?(:security_marks)
692
- @source_properties = args[:source_properties] if args.key?(:source_properties)
693
- @state = args[:state] if args.key?(:state)
694
- end
695
- end
696
-
697
- # Cloud IAM Policy information associated with the Google Cloud resource
698
- # described by the Security Command Center asset. This information is managed
699
- # and defined by the Google Cloud resource and cannot be modified by the user.
700
- class GoogleCloudSecuritycenterV1p1beta1IamPolicy
701
- include Google::Apis::Core::Hashable
702
-
703
- # The JSON representation of the Policy associated with the asset. See https://
704
- # cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
705
- # Corresponds to the JSON property `policyBlob`
706
- # @return [String]
707
- attr_accessor :policy_blob
708
-
709
- def initialize(**args)
710
- update!(**args)
711
- end
712
-
713
- # Update properties of this object
714
- def update!(**args)
715
- @policy_blob = args[:policy_blob] if args.key?(:policy_blob)
716
- end
717
- end
718
-
719
- # Security Command Center's Notification
720
- class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
721
- include Google::Apis::Core::Hashable
722
-
723
- # Security Command Center finding. A finding is a record of assessment data (
724
- # security, risk, health or privacy) ingested into Security Command Center for
725
- # presentation, notification, analysis, policy testing, and enforcement. For
726
- # example, an XSS vulnerability in an App Engine application is a finding.
727
- # Corresponds to the JSON property `finding`
728
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
729
- attr_accessor :finding
730
-
731
- # Name of the notification config that generated current notification.
732
- # Corresponds to the JSON property `notificationConfigName`
733
- # @return [String]
734
- attr_accessor :notification_config_name
735
-
736
- # Information related to the Google Cloud resource.
737
- # Corresponds to the JSON property `resource`
738
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
739
- attr_accessor :resource
740
-
741
- # Wrapper over asset object that also captures the state change for the asset e.
742
- # g. if it was a newly created asset vs updated or deleted asset.
743
- # Corresponds to the JSON property `temporalAsset`
744
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
745
- attr_accessor :temporal_asset
746
-
747
- def initialize(**args)
748
- update!(**args)
749
- end
750
-
751
- # Update properties of this object
752
- def update!(**args)
753
- @finding = args[:finding] if args.key?(:finding)
754
- @notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
755
- @resource = args[:resource] if args.key?(:resource)
756
- @temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
757
- end
758
- end
759
-
760
- # Information related to the Google Cloud resource.
761
- class GoogleCloudSecuritycenterV1p1beta1Resource
762
- include Google::Apis::Core::Hashable
763
-
764
- # The full resource name of the resource. See: https://cloud.google.com/apis/
765
- # design/resource_names#full_resource_name
766
- # Corresponds to the JSON property `name`
767
- # @return [String]
768
- attr_accessor :name
769
-
770
- # The full resource name of resource's parent.
771
- # Corresponds to the JSON property `parent`
772
- # @return [String]
773
- attr_accessor :parent
774
-
775
- # The human readable name of resource's parent.
776
- # Corresponds to the JSON property `parentDisplayName`
777
- # @return [String]
778
- attr_accessor :parent_display_name
779
-
780
- # The full resource name of project that the resource belongs to.
781
- # Corresponds to the JSON property `project`
782
- # @return [String]
783
- attr_accessor :project
784
-
785
- # The human readable name of project that the resource belongs to.
786
- # Corresponds to the JSON property `projectDisplayName`
787
- # @return [String]
788
- attr_accessor :project_display_name
789
-
790
- def initialize(**args)
791
- update!(**args)
792
- end
793
-
794
- # Update properties of this object
795
- def update!(**args)
796
- @name = args[:name] if args.key?(:name)
797
- @parent = args[:parent] if args.key?(:parent)
798
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
799
- @project = args[:project] if args.key?(:project)
800
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
801
- end
802
- end
803
-
804
- # Response of asset discovery run
805
- class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
806
- include Google::Apis::Core::Hashable
807
-
808
- # The duration between asset discovery run start and end
809
- # Corresponds to the JSON property `duration`
810
- # @return [String]
811
- attr_accessor :duration
812
-
813
- # The state of an asset discovery run.
814
- # Corresponds to the JSON property `state`
815
- # @return [String]
816
- attr_accessor :state
817
-
818
- def initialize(**args)
819
- update!(**args)
820
- end
821
-
822
- # Update properties of this object
823
- def update!(**args)
824
- @duration = args[:duration] if args.key?(:duration)
825
- @state = args[:state] if args.key?(:state)
826
- end
827
- end
828
-
829
- # Security Command Center managed properties. These properties are managed by
830
- # Security Command Center and cannot be modified by the user.
831
- class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
832
- include Google::Apis::Core::Hashable
833
-
834
- # The user defined display name for this resource.
835
- # Corresponds to the JSON property `resourceDisplayName`
836
- # @return [String]
837
- attr_accessor :resource_display_name
838
-
839
- # The full resource name of the Google Cloud resource this asset represents.
840
- # This field is immutable after create time. See: https://cloud.google.com/apis/
841
- # design/resource_names#full_resource_name
842
- # Corresponds to the JSON property `resourceName`
843
- # @return [String]
844
- attr_accessor :resource_name
845
-
846
- # Owners of the Google Cloud resource.
847
- # Corresponds to the JSON property `resourceOwners`
848
- # @return [Array<String>]
849
- attr_accessor :resource_owners
850
-
851
- # The full resource name of the immediate parent of the resource. See: https://
852
- # cloud.google.com/apis/design/resource_names#full_resource_name
853
- # Corresponds to the JSON property `resourceParent`
854
- # @return [String]
855
- attr_accessor :resource_parent
856
-
857
- # The user defined display name for the parent of this resource.
858
- # Corresponds to the JSON property `resourceParentDisplayName`
859
- # @return [String]
860
- attr_accessor :resource_parent_display_name
861
-
862
- # The full resource name of the project the resource belongs to. See: https://
863
- # cloud.google.com/apis/design/resource_names#full_resource_name
864
- # Corresponds to the JSON property `resourceProject`
865
- # @return [String]
866
- attr_accessor :resource_project
867
-
868
- # The user defined display name for the project of this resource.
869
- # Corresponds to the JSON property `resourceProjectDisplayName`
870
- # @return [String]
871
- attr_accessor :resource_project_display_name
872
-
873
- # The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
874
- # and ORGANIZATION. This is a case insensitive field defined by Security Command
875
- # Center and/or the producer of the resource and is immutable after create time.
876
- # Corresponds to the JSON property `resourceType`
877
- # @return [String]
878
- attr_accessor :resource_type
879
-
880
- def initialize(**args)
881
- update!(**args)
882
- end
883
-
884
- # Update properties of this object
885
- def update!(**args)
886
- @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
887
- @resource_name = args[:resource_name] if args.key?(:resource_name)
888
- @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
889
- @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
890
- @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
891
- @resource_project = args[:resource_project] if args.key?(:resource_project)
892
- @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
893
- @resource_type = args[:resource_type] if args.key?(:resource_type)
894
- end
895
- end
896
-
897
- # User specified security marks that are attached to the parent Security Command
898
- # Center resource. Security marks are scoped within a Security Command Center
899
- # organization -- they can be modified and viewed by all users who have proper
900
- # permissions on the organization.
901
- class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
902
- include Google::Apis::Core::Hashable
903
-
904
- # Mutable user specified security marks belonging to the parent resource.
905
- # Constraints are as follows: * Keys and values are treated as case insensitive *
906
- # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
907
- # numbers, underscores, or dashes * Values have leading and trailing whitespace
908
- # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
909
- # Corresponds to the JSON property `marks`
910
- # @return [Hash<String,String>]
911
- attr_accessor :marks
912
-
913
- # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
914
- # apis/design/resource_names#relative_resource_name Examples: "organizations/`
915
- # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
916
- # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
917
- # Corresponds to the JSON property `name`
918
- # @return [String]
919
- attr_accessor :name
920
-
921
- def initialize(**args)
922
- update!(**args)
923
- end
924
-
925
- # Update properties of this object
926
- def update!(**args)
927
- @marks = args[:marks] if args.key?(:marks)
928
- @name = args[:name] if args.key?(:name)
929
- end
930
- end
931
-
932
- # Wrapper over asset object that also captures the state change for the asset e.
933
- # g. if it was a newly created asset vs updated or deleted asset.
934
- class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
935
- include Google::Apis::Core::Hashable
936
-
937
- # Security Command Center representation of a Google Cloud resource. The Asset
938
- # is a Security Command Center resource that captures information about a single
939
- # Google Cloud resource. All modifications to an Asset are only within the
940
- # context of Security Command Center and don't affect the referenced Google
941
- # Cloud resource.
942
- # Corresponds to the JSON property `asset`
943
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
944
- attr_accessor :asset
945
-
946
- # Represents if the asset was created/updated/deleted.
947
- # Corresponds to the JSON property `changeType`
948
- # @return [String]
949
- attr_accessor :change_type
950
-
951
- def initialize(**args)
952
- update!(**args)
953
- end
954
-
955
- # Update properties of this object
956
- def update!(**args)
957
- @asset = args[:asset] if args.key?(:asset)
958
- @change_type = args[:change_type] if args.key?(:change_type)
959
- end
960
- end
961
-
962
- # Request message for grouping by assets.
963
- class GroupAssetsRequest
964
- include Google::Apis::Core::Hashable
965
-
966
- # When compare_duration is set, the GroupResult's "state_change" property is
967
- # updated to indicate whether the asset was added, removed, or remained present
968
- # during the compare_duration period of time that precedes the read_time. This
969
- # is the time between (read_time - compare_duration) and read_time. The state
970
- # change value is derived based on the presence of the asset at the two points
971
- # in time. Intermediate state changes between the two times don't affect the
972
- # result. For example, the results aren't affected if the asset is removed and
973
- # re-created again. Possible "state_change" values when compare_duration is
974
- # specified: * "ADDED": indicates that the asset was not present at the start of
975
- # compare_duration, but present at reference_time. * "REMOVED": indicates that
976
- # the asset was present at the start of compare_duration, but not present at
977
- # reference_time. * "ACTIVE": indicates that the asset was present at both the
978
- # start and the end of the time period defined by compare_duration and
979
- # reference_time. If compare_duration is not specified, then the only possible
980
- # state_change is "UNUSED", which will be the state_change set for all assets
981
- # present at read_time. If this field is set then `state_change` must be a
982
- # specified field in `group_by`.
983
- # Corresponds to the JSON property `compareDuration`
984
- # @return [String]
985
- attr_accessor :compare_duration
986
-
987
- # Expression that defines the filter to apply across assets. The expression is a
988
- # list of zero or more restrictions combined via logical operators `AND` and `OR`
989
- # . Parentheses are supported, and `OR` has higher precedence than `AND`.
990
- # Restrictions have the form ` ` and may have a `-` character in front of them
991
- # to indicate negation. The fields map to those defined in the Asset resource.
992
- # Examples include: * name * security_center_properties.resource_name *
993
- # resource_properties.a_property * security_marks.marks.marka The supported
994
- # operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
995
- # values. * `:`, meaning substring matching, for strings. The supported value
996
- # types are: * string literals in quotes. * integer literals without quotes. *
997
- # boolean literals `true` and `false` without quotes. The following field and
998
- # operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`,
999
- # `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string.
1000
- # Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time =
1001
- # 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be
1002
- # milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-
1003
- # 06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob:
1004
- # `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` *
1005
- # security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`,
1006
- # `:` * security_center_properties.resource_name_display_name: `=`, `:` *
1007
- # security_center_properties.resource_type: `=`, `:` *
1008
- # security_center_properties.resource_parent: `=`, `:` *
1009
- # security_center_properties.resource_parent_display_name: `=`, `:` *
1010
- # security_center_properties.resource_project: `=`, `:` *
1011
- # security_center_properties.resource_project_display_name: `=`, `:` *
1012
- # security_center_properties.resource_owners: `=`, `:` For example, `
1013
- # resource_properties.size = 100` is a valid filter string. Use a partial match
1014
- # on the empty string to filter based on a property existing: `
1015
- # resource_properties.my_property : ""` Use a negated partial match on the empty
1016
- # string to filter based on a property not existing: `-resource_properties.
1017
- # my_property : ""`
1018
- # Corresponds to the JSON property `filter`
1019
- # @return [String]
1020
- attr_accessor :filter
1021
-
1022
- # Required. Expression that defines what assets fields to use for grouping. The
1023
- # string value should follow SQL syntax: comma separated list of fields. For
1024
- # example: "security_center_properties.resource_project,
1025
- # security_center_properties.project". The following fields are supported when
1026
- # compare_duration is not set: * security_center_properties.resource_project *
1027
- # security_center_properties.resource_project_display_name *
1028
- # security_center_properties.resource_type * security_center_properties.
1029
- # resource_parent * security_center_properties.resource_parent_display_name The
1030
- # following fields are supported when compare_duration is set: *
1031
- # security_center_properties.resource_type * security_center_properties.
1032
- # resource_project_display_name * security_center_properties.
1033
- # resource_parent_display_name
1034
- # Corresponds to the JSON property `groupBy`
1035
- # @return [String]
1036
- attr_accessor :group_by
1037
-
1038
- # The maximum number of results to return in a single response. Default is 10,
1039
- # minimum is 1, maximum is 1000.
1040
- # Corresponds to the JSON property `pageSize`
1041
- # @return [Fixnum]
1042
- attr_accessor :page_size
1043
-
1044
- # The value returned by the last `GroupAssetsResponse`; indicates that this is a
1045
- # continuation of a prior `GroupAssets` call, and that the system should return
1046
- # the next page of data.
1047
- # Corresponds to the JSON property `pageToken`
1048
- # @return [String]
1049
- attr_accessor :page_token
1050
-
1051
- # Time used as a reference point when filtering assets. The filter is limited to
1052
- # assets existing at the supplied time and their values are those at that
1053
- # specific time. Absence of this field will default to the API's version of NOW.
1054
- # Corresponds to the JSON property `readTime`
1055
- # @return [String]
1056
- attr_accessor :read_time
1057
-
1058
- def initialize(**args)
1059
- update!(**args)
1060
- end
1061
-
1062
- # Update properties of this object
1063
- def update!(**args)
1064
- @compare_duration = args[:compare_duration] if args.key?(:compare_duration)
1065
- @filter = args[:filter] if args.key?(:filter)
1066
- @group_by = args[:group_by] if args.key?(:group_by)
1067
- @page_size = args[:page_size] if args.key?(:page_size)
1068
- @page_token = args[:page_token] if args.key?(:page_token)
1069
- @read_time = args[:read_time] if args.key?(:read_time)
1070
- end
1071
- end
1072
-
1073
- # Response message for grouping by assets.
1074
- class GroupAssetsResponse
1075
- include Google::Apis::Core::Hashable
1076
-
1077
- # Group results. There exists an element for each existing unique combination of
1078
- # property/values. The element contains a count for the number of times those
1079
- # specific property/values appear.
1080
- # Corresponds to the JSON property `groupByResults`
1081
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1082
- attr_accessor :group_by_results
1083
-
1084
- # Token to retrieve the next page of results, or empty if there are no more
1085
- # results.
1086
- # Corresponds to the JSON property `nextPageToken`
1087
- # @return [String]
1088
- attr_accessor :next_page_token
1089
-
1090
- # Time used for executing the groupBy request.
1091
- # Corresponds to the JSON property `readTime`
1092
- # @return [String]
1093
- attr_accessor :read_time
1094
-
1095
- # The total number of results matching the query.
1096
- # Corresponds to the JSON property `totalSize`
1097
- # @return [Fixnum]
1098
- attr_accessor :total_size
1099
-
1100
- def initialize(**args)
1101
- update!(**args)
1102
- end
1103
-
1104
- # Update properties of this object
1105
- def update!(**args)
1106
- @group_by_results = args[:group_by_results] if args.key?(:group_by_results)
1107
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1108
- @read_time = args[:read_time] if args.key?(:read_time)
1109
- @total_size = args[:total_size] if args.key?(:total_size)
1110
- end
1111
- end
1112
-
1113
- # Request message for grouping by findings.
1114
- class GroupFindingsRequest
1115
- include Google::Apis::Core::Hashable
1116
-
1117
- # When compare_duration is set, the GroupResult's "state_change" attribute is
1118
- # updated to indicate whether the finding had its state changed, the finding's
1119
- # state remained unchanged, or if the finding was added during the
1120
- # compare_duration period of time that precedes the read_time. This is the time
1121
- # between (read_time - compare_duration) and read_time. The state_change value
1122
- # is derived based on the presence and state of the finding at the two points in
1123
- # time. Intermediate state changes between the two times don't affect the result.
1124
- # For example, the results aren't affected if the finding is made inactive and
1125
- # then active again. Possible "state_change" values when compare_duration is
1126
- # specified: * "CHANGED": indicates that the finding was present and matched the
1127
- # given filter at the start of compare_duration, but changed its state at
1128
- # read_time. * "UNCHANGED": indicates that the finding was present and matched
1129
- # the given filter at the start of compare_duration and did not change state at
1130
- # read_time. * "ADDED": indicates that the finding did not match the given
1131
- # filter or was not present at the start of compare_duration, but was present at
1132
- # read_time. * "REMOVED": indicates that the finding was present and matched the
1133
- # filter at the start of compare_duration, but did not match the filter at
1134
- # read_time. If compare_duration is not specified, then the only possible
1135
- # state_change is "UNUSED", which will be the state_change set for all findings
1136
- # present at read_time. If this field is set then `state_change` must be a
1137
- # specified field in `group_by`.
1138
- # Corresponds to the JSON property `compareDuration`
1139
- # @return [String]
1140
- attr_accessor :compare_duration
1141
-
1142
- # Expression that defines the filter to apply across findings. The expression is
1143
- # a list of one or more restrictions combined via logical operators `AND` and `
1144
- # OR`. Parentheses are supported, and `OR` has higher precedence than `AND`.
1145
- # Restrictions have the form ` ` and may have a `-` character in front of them
1146
- # to indicate negation. Examples include: * name * source_properties.a_property *
1147
- # security_marks.marks.marka The supported operators are: * `=` for all value
1148
- # types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
1149
- # matching, for strings. The supported value types are: * string literals in
1150
- # quotes. * integer literals without quotes. * boolean literals `true` and `
1151
- # false` without quotes. The following field and operator combinations are
1152
- # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
1153
- # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
1154
- # `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
1155
- # string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
1156
- # 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`,
1157
- # `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid
1158
- # filter string. Use a partial match on the empty string to filter based on a
1159
- # property existing: `source_properties.my_property : ""` Use a negated partial
1160
- # match on the empty string to filter based on a property not existing: `-
1161
- # source_properties.my_property : ""`
1162
- # Corresponds to the JSON property `filter`
1163
- # @return [String]
1164
- attr_accessor :filter
1165
-
1166
- # Required. Expression that defines what assets fields to use for grouping (
1167
- # including `state_change`). The string value should follow SQL syntax: comma
1168
- # separated list of fields. For example: "parent,resource_name". The following
1169
- # fields are supported: * resource_name * category * state * parent The
1170
- # following fields are supported when compare_duration is set: * state_change
1171
- # Corresponds to the JSON property `groupBy`
1172
- # @return [String]
1173
- attr_accessor :group_by
1174
-
1175
- # The maximum number of results to return in a single response. Default is 10,
1176
- # minimum is 1, maximum is 1000.
1177
- # Corresponds to the JSON property `pageSize`
1178
- # @return [Fixnum]
1179
- attr_accessor :page_size
1180
-
1181
- # The value returned by the last `GroupFindingsResponse`; indicates that this is
1182
- # a continuation of a prior `GroupFindings` call, and that the system should
1183
- # return the next page of data.
1184
- # Corresponds to the JSON property `pageToken`
1185
- # @return [String]
1186
- attr_accessor :page_token
1187
-
1188
- # Time used as a reference point when filtering findings. The filter is limited
1189
- # to findings existing at the supplied time and their values are those at that
1190
- # specific time. Absence of this field will default to the API's version of NOW.
1191
- # Corresponds to the JSON property `readTime`
1192
- # @return [String]
1193
- attr_accessor :read_time
1194
-
1195
- def initialize(**args)
1196
- update!(**args)
1197
- end
1198
-
1199
- # Update properties of this object
1200
- def update!(**args)
1201
- @compare_duration = args[:compare_duration] if args.key?(:compare_duration)
1202
- @filter = args[:filter] if args.key?(:filter)
1203
- @group_by = args[:group_by] if args.key?(:group_by)
1204
- @page_size = args[:page_size] if args.key?(:page_size)
1205
- @page_token = args[:page_token] if args.key?(:page_token)
1206
- @read_time = args[:read_time] if args.key?(:read_time)
1207
- end
1208
- end
1209
-
1210
- # Response message for group by findings.
1211
- class GroupFindingsResponse
1212
- include Google::Apis::Core::Hashable
1213
-
1214
- # Group results. There exists an element for each existing unique combination of
1215
- # property/values. The element contains a count for the number of times those
1216
- # specific property/values appear.
1217
- # Corresponds to the JSON property `groupByResults`
1218
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
1219
- attr_accessor :group_by_results
1220
-
1221
- # Token to retrieve the next page of results, or empty if there are no more
1222
- # results.
1223
- # Corresponds to the JSON property `nextPageToken`
1224
- # @return [String]
1225
- attr_accessor :next_page_token
1226
-
1227
- # Time used for executing the groupBy request.
1228
- # Corresponds to the JSON property `readTime`
1229
- # @return [String]
1230
- attr_accessor :read_time
1231
-
1232
- # The total number of results matching the query.
1233
- # Corresponds to the JSON property `totalSize`
1234
- # @return [Fixnum]
1235
- attr_accessor :total_size
1236
-
1237
- def initialize(**args)
1238
- update!(**args)
1239
- end
1240
-
1241
- # Update properties of this object
1242
- def update!(**args)
1243
- @group_by_results = args[:group_by_results] if args.key?(:group_by_results)
1244
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1245
- @read_time = args[:read_time] if args.key?(:read_time)
1246
- @total_size = args[:total_size] if args.key?(:total_size)
1247
- end
1248
- end
1249
-
1250
- # Result containing the properties and count of a groupBy request.
1251
- class GroupResult
1252
- include Google::Apis::Core::Hashable
1253
-
1254
- # Total count of resources for the given properties.
1255
- # Corresponds to the JSON property `count`
1256
- # @return [Fixnum]
1257
- attr_accessor :count
1258
-
1259
- # Properties matching the groupBy fields in the request.
1260
- # Corresponds to the JSON property `properties`
1261
- # @return [Hash<String,Object>]
1262
- attr_accessor :properties
1263
-
1264
- def initialize(**args)
1265
- update!(**args)
1266
- end
1267
-
1268
- # Update properties of this object
1269
- def update!(**args)
1270
- @count = args[:count] if args.key?(:count)
1271
- @properties = args[:properties] if args.key?(:properties)
1272
- end
1273
- end
1274
-
1275
- # Response message for listing assets.
1276
- class ListAssetsResponse
1277
- include Google::Apis::Core::Hashable
1278
-
1279
- # Assets matching the list request.
1280
- # Corresponds to the JSON property `listAssetsResults`
1281
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::ListAssetsResult>]
1282
- attr_accessor :list_assets_results
1283
-
1284
- # Token to retrieve the next page of results, or empty if there are no more
1285
- # results.
1286
- # Corresponds to the JSON property `nextPageToken`
1287
- # @return [String]
1288
- attr_accessor :next_page_token
1289
-
1290
- # Time used for executing the list request.
1291
- # Corresponds to the JSON property `readTime`
1292
- # @return [String]
1293
- attr_accessor :read_time
1294
-
1295
- # The total number of assets matching the query.
1296
- # Corresponds to the JSON property `totalSize`
1297
- # @return [Fixnum]
1298
- attr_accessor :total_size
1299
-
1300
- def initialize(**args)
1301
- update!(**args)
1302
- end
1303
-
1304
- # Update properties of this object
1305
- def update!(**args)
1306
- @list_assets_results = args[:list_assets_results] if args.key?(:list_assets_results)
1307
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1308
- @read_time = args[:read_time] if args.key?(:read_time)
1309
- @total_size = args[:total_size] if args.key?(:total_size)
1310
- end
1311
- end
1312
-
1313
- # Result containing the Asset and its State.
1314
- class ListAssetsResult
1315
- include Google::Apis::Core::Hashable
1316
-
1317
- # Security Command Center representation of a Google Cloud resource. The Asset
1318
- # is a Security Command Center resource that captures information about a single
1319
- # Google Cloud resource. All modifications to an Asset are only within the
1320
- # context of Security Command Center and don't affect the referenced Google
1321
- # Cloud resource.
1322
- # Corresponds to the JSON property `asset`
1323
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
1324
- attr_accessor :asset
1325
-
1326
- # State change of the asset between the points in time.
1327
- # Corresponds to the JSON property `stateChange`
1328
- # @return [String]
1329
- attr_accessor :state_change
1330
-
1331
- def initialize(**args)
1332
- update!(**args)
1333
- end
1334
-
1335
- # Update properties of this object
1336
- def update!(**args)
1337
- @asset = args[:asset] if args.key?(:asset)
1338
- @state_change = args[:state_change] if args.key?(:state_change)
1339
- end
1340
- end
1341
-
1342
- # Response message for listing findings.
1343
- class ListFindingsResponse
1344
- include Google::Apis::Core::Hashable
1345
-
1346
- # Findings matching the list request.
1347
- # Corresponds to the JSON property `listFindingsResults`
1348
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::ListFindingsResult>]
1349
- attr_accessor :list_findings_results
1350
-
1351
- # Token to retrieve the next page of results, or empty if there are no more
1352
- # results.
1353
- # Corresponds to the JSON property `nextPageToken`
1354
- # @return [String]
1355
- attr_accessor :next_page_token
1356
-
1357
- # Time used for executing the list request.
1358
- # Corresponds to the JSON property `readTime`
1359
- # @return [String]
1360
- attr_accessor :read_time
1361
-
1362
- # The total number of findings matching the query.
1363
- # Corresponds to the JSON property `totalSize`
1364
- # @return [Fixnum]
1365
- attr_accessor :total_size
1366
-
1367
- def initialize(**args)
1368
- update!(**args)
1369
- end
1370
-
1371
- # Update properties of this object
1372
- def update!(**args)
1373
- @list_findings_results = args[:list_findings_results] if args.key?(:list_findings_results)
1374
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1375
- @read_time = args[:read_time] if args.key?(:read_time)
1376
- @total_size = args[:total_size] if args.key?(:total_size)
1377
- end
1378
- end
1379
-
1380
- # Result containing the Finding and its StateChange.
1381
- class ListFindingsResult
1382
- include Google::Apis::Core::Hashable
1383
-
1384
- # Security Command Center finding. A finding is a record of assessment data (
1385
- # security, risk, health or privacy) ingested into Security Command Center for
1386
- # presentation, notification, analysis, policy testing, and enforcement. For
1387
- # example, an XSS vulnerability in an App Engine application is a finding.
1388
- # Corresponds to the JSON property `finding`
1389
- # @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
1390
- attr_accessor :finding
1391
-
1392
- # Information related to the Google Cloud resource that is associated with this
1393
- # finding. LINT.IfChange
1394
- # Corresponds to the JSON property `resource`
1395
- # @return [Google::Apis::SecuritycenterV1p1beta1::Resource]
1396
- attr_accessor :resource
1397
-
1398
- # State change of the finding between the points in time.
1399
- # Corresponds to the JSON property `stateChange`
1400
- # @return [String]
1401
- attr_accessor :state_change
1402
-
1403
- def initialize(**args)
1404
- update!(**args)
1405
- end
1406
-
1407
- # Update properties of this object
1408
- def update!(**args)
1409
- @finding = args[:finding] if args.key?(:finding)
1410
- @resource = args[:resource] if args.key?(:resource)
1411
- @state_change = args[:state_change] if args.key?(:state_change)
1412
- end
1413
- end
1414
-
1415
- # Response message for listing notification configs.
1416
- class ListNotificationConfigsResponse
1417
- include Google::Apis::Core::Hashable
1418
-
1419
- # Token to retrieve the next page of results, or empty if there are no more
1420
- # results.
1421
- # Corresponds to the JSON property `nextPageToken`
1422
- # @return [String]
1423
- attr_accessor :next_page_token
1424
-
1425
- # Notification configs belonging to the requested parent.
1426
- # Corresponds to the JSON property `notificationConfigs`
1427
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::NotificationConfig>]
1428
- attr_accessor :notification_configs
1429
-
1430
- def initialize(**args)
1431
- update!(**args)
1432
- end
1433
-
1434
- # Update properties of this object
1435
- def update!(**args)
1436
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1437
- @notification_configs = args[:notification_configs] if args.key?(:notification_configs)
1438
- end
1439
- end
1440
-
1441
- # The response message for Operations.ListOperations.
1442
- class ListOperationsResponse
1443
- include Google::Apis::Core::Hashable
1444
-
1445
- # The standard List next-page token.
1446
- # Corresponds to the JSON property `nextPageToken`
1447
- # @return [String]
1448
- attr_accessor :next_page_token
1449
-
1450
- # A list of operations that matches the specified filter in the request.
1451
- # Corresponds to the JSON property `operations`
1452
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Operation>]
1453
- attr_accessor :operations
1454
-
1455
- def initialize(**args)
1456
- update!(**args)
1457
- end
1458
-
1459
- # Update properties of this object
1460
- def update!(**args)
1461
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1462
- @operations = args[:operations] if args.key?(:operations)
1463
- end
1464
- end
1465
-
1466
- # Response message for listing sources.
1467
- class ListSourcesResponse
1468
- include Google::Apis::Core::Hashable
1469
-
1470
- # Token to retrieve the next page of results, or empty if there are no more
1471
- # results.
1472
- # Corresponds to the JSON property `nextPageToken`
1473
- # @return [String]
1474
- attr_accessor :next_page_token
1475
-
1476
- # Sources belonging to the requested parent.
1477
- # Corresponds to the JSON property `sources`
1478
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Source>]
1479
- attr_accessor :sources
1480
-
1481
- def initialize(**args)
1482
- update!(**args)
1483
- end
1484
-
1485
- # Update properties of this object
1486
- def update!(**args)
1487
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1488
- @sources = args[:sources] if args.key?(:sources)
1489
- end
1490
- end
1491
-
1492
- # Security Command Center notification configs. A notification config is a
1493
- # Security Command Center resource that contains the configuration to send
1494
- # notifications for create/update events of findings, assets and etc.
1495
- class NotificationConfig
1496
- include Google::Apis::Core::Hashable
1497
-
1498
- # The description of the notification config (max of 1024 characters).
1499
- # Corresponds to the JSON property `description`
1500
- # @return [String]
1501
- attr_accessor :description
1502
-
1503
- # The type of events the config is for, e.g. FINDING.
1504
- # Corresponds to the JSON property `eventType`
1505
- # @return [String]
1506
- attr_accessor :event_type
1507
-
1508
- # The relative resource name of this notification config. See: https://cloud.
1509
- # google.com/apis/design/resource_names#relative_resource_name Example: "
1510
- # organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1511
- # Corresponds to the JSON property `name`
1512
- # @return [String]
1513
- attr_accessor :name
1514
-
1515
- # The Pub/Sub topic to send notifications to. Its format is "projects/[
1516
- # project_id]/topics/[topic]".
1517
- # Corresponds to the JSON property `pubsubTopic`
1518
- # @return [String]
1519
- attr_accessor :pubsub_topic
1520
-
1521
- # Output only. The service account that needs "pubsub.topics.publish" permission
1522
- # to publish to the Pub/Sub topic.
1523
- # Corresponds to the JSON property `serviceAccount`
1524
- # @return [String]
1525
- attr_accessor :service_account
1526
-
1527
- # The config for streaming-based notifications, which send each event as soon as
1528
- # it is detected.
1529
- # Corresponds to the JSON property `streamingConfig`
1530
- # @return [Google::Apis::SecuritycenterV1p1beta1::StreamingConfig]
1531
- attr_accessor :streaming_config
1532
-
1533
- def initialize(**args)
1534
- update!(**args)
1535
- end
1536
-
1537
- # Update properties of this object
1538
- def update!(**args)
1539
- @description = args[:description] if args.key?(:description)
1540
- @event_type = args[:event_type] if args.key?(:event_type)
1541
- @name = args[:name] if args.key?(:name)
1542
- @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1543
- @service_account = args[:service_account] if args.key?(:service_account)
1544
- @streaming_config = args[:streaming_config] if args.key?(:streaming_config)
1545
- end
1546
- end
1547
-
1548
- # This resource represents a long-running operation that is the result of a
1549
- # network API call.
1550
- class Operation
1551
- include Google::Apis::Core::Hashable
1552
-
1553
- # If the value is `false`, it means the operation is still in progress. If `true`
1554
- # , the operation is completed, and either `error` or `response` is available.
1555
- # Corresponds to the JSON property `done`
1556
- # @return [Boolean]
1557
- attr_accessor :done
1558
- alias_method :done?, :done
1559
-
1560
- # The `Status` type defines a logical error model that is suitable for different
1561
- # programming environments, including REST APIs and RPC APIs. It is used by [
1562
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1563
- # data: error code, error message, and error details. You can find out more
1564
- # about this error model and how to work with it in the [API Design Guide](https:
1565
- # //cloud.google.com/apis/design/errors).
1566
- # Corresponds to the JSON property `error`
1567
- # @return [Google::Apis::SecuritycenterV1p1beta1::Status]
1568
- attr_accessor :error
1569
-
1570
- # Service-specific metadata associated with the operation. It typically contains
1571
- # progress information and common metadata such as create time. Some services
1572
- # might not provide such metadata. Any method that returns a long-running
1573
- # operation should document the metadata type, if any.
1574
- # Corresponds to the JSON property `metadata`
1575
- # @return [Hash<String,Object>]
1576
- attr_accessor :metadata
1577
-
1578
- # The server-assigned name, which is only unique within the same service that
1579
- # originally returns it. If you use the default HTTP mapping, the `name` should
1580
- # be a resource name ending with `operations/`unique_id``.
1581
- # Corresponds to the JSON property `name`
1582
- # @return [String]
1583
- attr_accessor :name
1584
-
1585
- # The normal response of the operation in case of success. If the original
1586
- # method returns no data on success, such as `Delete`, the response is `google.
1587
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1588
- # the response should be the resource. For other methods, the response should
1589
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
1590
- # example, if the original method name is `TakeSnapshot()`, the inferred
1591
- # response type is `TakeSnapshotResponse`.
1592
- # Corresponds to the JSON property `response`
1593
- # @return [Hash<String,Object>]
1594
- attr_accessor :response
1595
-
1596
- def initialize(**args)
1597
- update!(**args)
1598
- end
1599
-
1600
- # Update properties of this object
1601
- def update!(**args)
1602
- @done = args[:done] if args.key?(:done)
1603
- @error = args[:error] if args.key?(:error)
1604
- @metadata = args[:metadata] if args.key?(:metadata)
1605
- @name = args[:name] if args.key?(:name)
1606
- @response = args[:response] if args.key?(:response)
1607
- end
1608
- end
1609
-
1610
- # User specified settings that are attached to the Security Command Center
1611
- # organization.
1612
- class OrganizationSettings
1613
- include Google::Apis::Core::Hashable
1614
-
1615
- # The configuration used for Asset Discovery runs.
1616
- # Corresponds to the JSON property `assetDiscoveryConfig`
1617
- # @return [Google::Apis::SecuritycenterV1p1beta1::AssetDiscoveryConfig]
1618
- attr_accessor :asset_discovery_config
1619
-
1620
- # A flag that indicates if Asset Discovery should be enabled. If the flag is set
1621
- # to `true`, then discovery of assets will occur. If it is set to `false, all
1622
- # historical assets will remain, but discovery of future assets will not occur.
1623
- # Corresponds to the JSON property `enableAssetDiscovery`
1624
- # @return [Boolean]
1625
- attr_accessor :enable_asset_discovery
1626
- alias_method :enable_asset_discovery?, :enable_asset_discovery
1627
-
1628
- # The relative resource name of the settings. See: https://cloud.google.com/apis/
1629
- # design/resource_names#relative_resource_name Example: "organizations/`
1630
- # organization_id`/organizationSettings".
1631
- # Corresponds to the JSON property `name`
1632
- # @return [String]
1633
- attr_accessor :name
1634
-
1635
- def initialize(**args)
1636
- update!(**args)
1637
- end
1638
-
1639
- # Update properties of this object
1640
- def update!(**args)
1641
- @asset_discovery_config = args[:asset_discovery_config] if args.key?(:asset_discovery_config)
1642
- @enable_asset_discovery = args[:enable_asset_discovery] if args.key?(:enable_asset_discovery)
1643
- @name = args[:name] if args.key?(:name)
1644
- end
1645
- end
1646
-
1647
- # An Identity and Access Management (IAM) policy, which specifies access
1648
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1649
- # A `binding` binds one or more `members` to a single `role`. Members can be
1650
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1651
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1652
- # role or a user-created custom role. For some types of Google Cloud resources,
1653
- # a `binding` can also specify a `condition`, which is a logical expression that
1654
- # allows access to a resource only if the expression evaluates to `true`. A
1655
- # condition can add constraints based on attributes of the request, the resource,
1656
- # or both. To learn which resources support conditions in their IAM policies,
1657
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1658
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1659
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1660
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1661
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1662
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1663
- # title": "expirable access", "description": "Does not grant access after Sep
1664
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1665
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1666
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1667
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1668
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1669
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1670
- # description: Does not grant access after Sep 2020 expression: request.time <
1671
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1672
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1673
- # google.com/iam/docs/).
1674
- class Policy
1675
- include Google::Apis::Core::Hashable
1676
-
1677
- # Specifies cloud audit logging configuration for this policy.
1678
- # Corresponds to the JSON property `auditConfigs`
1679
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditConfig>]
1680
- attr_accessor :audit_configs
1681
-
1682
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1683
- # condition` that determines how and when the `bindings` are applied. Each of
1684
- # the `bindings` must contain at least one member.
1685
- # Corresponds to the JSON property `bindings`
1686
- # @return [Array<Google::Apis::SecuritycenterV1p1beta1::Binding>]
1687
- attr_accessor :bindings
1688
-
1689
- # `etag` is used for optimistic concurrency control as a way to help prevent
1690
- # simultaneous updates of a policy from overwriting each other. It is strongly
1691
- # suggested that systems make use of the `etag` in the read-modify-write cycle
1692
- # to perform policy updates in order to avoid race conditions: An `etag` is
1693
- # returned in the response to `getIamPolicy`, and systems are expected to put
1694
- # that etag in the request to `setIamPolicy` to ensure that their change will be
1695
- # applied to the same version of the policy. **Important:** If you use IAM
1696
- # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1697
- # If you omit this field, then IAM allows you to overwrite a version `3` policy
1698
- # with a version `1` policy, and all of the conditions in the version `3` policy
1699
- # are lost.
1700
- # Corresponds to the JSON property `etag`
1701
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
1702
- # @return [String]
1703
- attr_accessor :etag
1704
-
1705
- # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1706
- # Requests that specify an invalid value are rejected. Any operation that
1707
- # affects conditional role bindings must specify version `3`. This requirement
1708
- # applies to the following operations: * Getting a policy that includes a
1709
- # conditional role binding * Adding a conditional role binding to a policy *
1710
- # Changing a conditional role binding in a policy * Removing any role binding,
1711
- # with or without a condition, from a policy that includes conditions **
1712
- # Important:** If you use IAM Conditions, you must include the `etag` field
1713
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1714
- # to overwrite a version `3` policy with a version `1` policy, and all of the
1715
- # conditions in the version `3` policy are lost. If a policy does not include
1716
- # any conditions, operations on that policy may specify any valid version or
1717
- # leave the field unset. To learn which resources support conditions in their
1718
- # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1719
- # conditions/resource-policies).
1720
- # Corresponds to the JSON property `version`
1721
- # @return [Fixnum]
1722
- attr_accessor :version
1723
-
1724
- def initialize(**args)
1725
- update!(**args)
1726
- end
1727
-
1728
- # Update properties of this object
1729
- def update!(**args)
1730
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1731
- @bindings = args[:bindings] if args.key?(:bindings)
1732
- @etag = args[:etag] if args.key?(:etag)
1733
- @version = args[:version] if args.key?(:version)
1734
- end
1735
- end
1736
-
1737
- # Information related to the Google Cloud resource that is associated with this
1738
- # finding. LINT.IfChange
1739
- class Resource
1740
- include Google::Apis::Core::Hashable
1741
-
1742
- # The full resource name of the resource. See: https://cloud.google.com/apis/
1743
- # design/resource_names#full_resource_name
1744
- # Corresponds to the JSON property `name`
1745
- # @return [String]
1746
- attr_accessor :name
1747
-
1748
- # The human readable name of resource's parent.
1749
- # Corresponds to the JSON property `parentDisplayName`
1750
- # @return [String]
1751
- attr_accessor :parent_display_name
1752
-
1753
- # The full resource name of resource's parent.
1754
- # Corresponds to the JSON property `parentName`
1755
- # @return [String]
1756
- attr_accessor :parent_name
1757
-
1758
- # The human readable name of project that the resource belongs to.
1759
- # Corresponds to the JSON property `projectDisplayName`
1760
- # @return [String]
1761
- attr_accessor :project_display_name
1762
-
1763
- # The full resource name of project that the resource belongs to.
1764
- # Corresponds to the JSON property `projectName`
1765
- # @return [String]
1766
- attr_accessor :project_name
1767
-
1768
- def initialize(**args)
1769
- update!(**args)
1770
- end
1771
-
1772
- # Update properties of this object
1773
- def update!(**args)
1774
- @name = args[:name] if args.key?(:name)
1775
- @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1776
- @parent_name = args[:parent_name] if args.key?(:parent_name)
1777
- @project_display_name = args[:project_display_name] if args.key?(:project_display_name)
1778
- @project_name = args[:project_name] if args.key?(:project_name)
1779
- end
1780
- end
1781
-
1782
- # Request message for running asset discovery for an organization.
1783
- class RunAssetDiscoveryRequest
1784
- include Google::Apis::Core::Hashable
1785
-
1786
- def initialize(**args)
1787
- update!(**args)
1788
- end
1789
-
1790
- # Update properties of this object
1791
- def update!(**args)
1792
- end
1793
- end
1794
-
1795
- # User specified security marks that are attached to the parent Security Command
1796
- # Center resource. Security marks are scoped within a Security Command Center
1797
- # organization -- they can be modified and viewed by all users who have proper
1798
- # permissions on the organization.
1799
- class SecurityMarks
1800
- include Google::Apis::Core::Hashable
1801
-
1802
- # Mutable user specified security marks belonging to the parent resource.
1803
- # Constraints are as follows: * Keys and values are treated as case insensitive *
1804
- # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
1805
- # numbers, underscores, or dashes * Values have leading and trailing whitespace
1806
- # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
1807
- # Corresponds to the JSON property `marks`
1808
- # @return [Hash<String,String>]
1809
- attr_accessor :marks
1810
-
1811
- # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
1812
- # apis/design/resource_names#relative_resource_name Examples: "organizations/`
1813
- # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
1814
- # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
1815
- # Corresponds to the JSON property `name`
1816
- # @return [String]
1817
- attr_accessor :name
1818
-
1819
- def initialize(**args)
1820
- update!(**args)
1821
- end
1822
-
1823
- # Update properties of this object
1824
- def update!(**args)
1825
- @marks = args[:marks] if args.key?(:marks)
1826
- @name = args[:name] if args.key?(:name)
1827
- end
1828
- end
1829
-
1830
- # Request message for updating a finding's state.
1831
- class SetFindingStateRequest
1832
- include Google::Apis::Core::Hashable
1833
-
1834
- # Required. The time at which the updated state takes effect.
1835
- # Corresponds to the JSON property `startTime`
1836
- # @return [String]
1837
- attr_accessor :start_time
1838
-
1839
- # Required. The desired State of the finding.
1840
- # Corresponds to the JSON property `state`
1841
- # @return [String]
1842
- attr_accessor :state
1843
-
1844
- def initialize(**args)
1845
- update!(**args)
1846
- end
1847
-
1848
- # Update properties of this object
1849
- def update!(**args)
1850
- @start_time = args[:start_time] if args.key?(:start_time)
1851
- @state = args[:state] if args.key?(:state)
1852
- end
1853
- end
1854
-
1855
- # Request message for `SetIamPolicy` method.
1856
- class SetIamPolicyRequest
1857
- include Google::Apis::Core::Hashable
1858
-
1859
- # An Identity and Access Management (IAM) policy, which specifies access
1860
- # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1861
- # A `binding` binds one or more `members` to a single `role`. Members can be
1862
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1863
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1864
- # role or a user-created custom role. For some types of Google Cloud resources,
1865
- # a `binding` can also specify a `condition`, which is a logical expression that
1866
- # allows access to a resource only if the expression evaluates to `true`. A
1867
- # condition can add constraints based on attributes of the request, the resource,
1868
- # or both. To learn which resources support conditions in their IAM policies,
1869
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1870
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1871
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1872
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1873
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1874
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1875
- # title": "expirable access", "description": "Does not grant access after Sep
1876
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1877
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1878
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1879
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1880
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1881
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1882
- # description: Does not grant access after Sep 2020 expression: request.time <
1883
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1884
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1885
- # google.com/iam/docs/).
1886
- # Corresponds to the JSON property `policy`
1887
- # @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
1888
- attr_accessor :policy
1889
-
1890
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1891
- # the fields in the mask will be modified. If no mask is provided, the following
1892
- # default mask is used: `paths: "bindings, etag"`
1893
- # Corresponds to the JSON property `updateMask`
1894
- # @return [String]
1895
- attr_accessor :update_mask
1896
-
1897
- def initialize(**args)
1898
- update!(**args)
1899
- end
1900
-
1901
- # Update properties of this object
1902
- def update!(**args)
1903
- @policy = args[:policy] if args.key?(:policy)
1904
- @update_mask = args[:update_mask] if args.key?(:update_mask)
1905
- end
1906
- end
1907
-
1908
- # Security Command Center finding source. A finding source is an entity or a
1909
- # mechanism that can produce a finding. A source is like a container of findings
1910
- # that come from the same scanner, logger, monitor, etc.
1911
- class Source
1912
- include Google::Apis::Core::Hashable
1913
-
1914
- # The description of the source (max of 1024 characters). Example: "Web Security
1915
- # Scanner is a web security scanner for common vulnerabilities in App Engine
1916
- # applications. It can automatically scan and detect four common vulnerabilities,
1917
- # including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
1918
- # HTTPS), and outdated/insecure libraries."
1919
- # Corresponds to the JSON property `description`
1920
- # @return [String]
1921
- attr_accessor :description
1922
-
1923
- # The source's display name. A source's display name must be unique amongst its
1924
- # siblings, for example, two sources with the same parent can't share the same
1925
- # display name. The display name must have a length between 1 and 64 characters (
1926
- # inclusive).
1927
- # Corresponds to the JSON property `displayName`
1928
- # @return [String]
1929
- attr_accessor :display_name
1930
-
1931
- # The relative resource name of this source. See: https://cloud.google.com/apis/
1932
- # design/resource_names#relative_resource_name Example: "organizations/`
1933
- # organization_id`/sources/`source_id`"
1934
- # Corresponds to the JSON property `name`
1935
- # @return [String]
1936
- attr_accessor :name
1937
-
1938
- def initialize(**args)
1939
- update!(**args)
1940
- end
1941
-
1942
- # Update properties of this object
1943
- def update!(**args)
1944
- @description = args[:description] if args.key?(:description)
1945
- @display_name = args[:display_name] if args.key?(:display_name)
1946
- @name = args[:name] if args.key?(:name)
1947
- end
1948
- end
1949
-
1950
- # The `Status` type defines a logical error model that is suitable for different
1951
- # programming environments, including REST APIs and RPC APIs. It is used by [
1952
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1953
- # data: error code, error message, and error details. You can find out more
1954
- # about this error model and how to work with it in the [API Design Guide](https:
1955
- # //cloud.google.com/apis/design/errors).
1956
- class Status
1957
- include Google::Apis::Core::Hashable
1958
-
1959
- # The status code, which should be an enum value of google.rpc.Code.
1960
- # Corresponds to the JSON property `code`
1961
- # @return [Fixnum]
1962
- attr_accessor :code
1963
-
1964
- # A list of messages that carry the error details. There is a common set of
1965
- # message types for APIs to use.
1966
- # Corresponds to the JSON property `details`
1967
- # @return [Array<Hash<String,Object>>]
1968
- attr_accessor :details
1969
-
1970
- # A developer-facing error message, which should be in English. Any user-facing
1971
- # error message should be localized and sent in the google.rpc.Status.details
1972
- # field, or localized by the client.
1973
- # Corresponds to the JSON property `message`
1974
- # @return [String]
1975
- attr_accessor :message
1976
-
1977
- def initialize(**args)
1978
- update!(**args)
1979
- end
1980
-
1981
- # Update properties of this object
1982
- def update!(**args)
1983
- @code = args[:code] if args.key?(:code)
1984
- @details = args[:details] if args.key?(:details)
1985
- @message = args[:message] if args.key?(:message)
1986
- end
1987
- end
1988
-
1989
- # The config for streaming-based notifications, which send each event as soon as
1990
- # it is detected.
1991
- class StreamingConfig
1992
- include Google::Apis::Core::Hashable
1993
-
1994
- # Expression that defines the filter to apply across create/update events of
1995
- # assets or findings as specified by the event type. The expression is a list of
1996
- # zero or more restrictions combined via logical operators `AND` and `OR`.
1997
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1998
- # Restrictions have the form ` ` and may have a `-` character in front of them
1999
- # to indicate negation. The fields map to those defined in the corresponding
2000
- # resource. The supported operators are: * `=` for all value types. * `>`, `<`, `
2001
- # >=`, `<=` for integer values. * `:`, meaning substring matching, for strings.
2002
- # The supported value types are: * string literals in quotes. * integer literals
2003
- # without quotes. * boolean literals `true` and `false` without quotes.
2004
- # Corresponds to the JSON property `filter`
2005
- # @return [String]
2006
- attr_accessor :filter
2007
-
2008
- def initialize(**args)
2009
- update!(**args)
2010
- end
2011
-
2012
- # Update properties of this object
2013
- def update!(**args)
2014
- @filter = args[:filter] if args.key?(:filter)
2015
- end
2016
- end
2017
-
2018
- # Request message for `TestIamPermissions` method.
2019
- class TestIamPermissionsRequest
2020
- include Google::Apis::Core::Hashable
2021
-
2022
- # The set of permissions to check for the `resource`. Permissions with wildcards
2023
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2024
- # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2025
- # Corresponds to the JSON property `permissions`
2026
- # @return [Array<String>]
2027
- attr_accessor :permissions
2028
-
2029
- def initialize(**args)
2030
- update!(**args)
2031
- end
2032
-
2033
- # Update properties of this object
2034
- def update!(**args)
2035
- @permissions = args[:permissions] if args.key?(:permissions)
2036
- end
2037
- end
2038
-
2039
- # Response message for `TestIamPermissions` method.
2040
- class TestIamPermissionsResponse
2041
- include Google::Apis::Core::Hashable
2042
-
2043
- # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2044
- # Corresponds to the JSON property `permissions`
2045
- # @return [Array<String>]
2046
- attr_accessor :permissions
2047
-
2048
- def initialize(**args)
2049
- update!(**args)
2050
- end
2051
-
2052
- # Update properties of this object
2053
- def update!(**args)
2054
- @permissions = args[:permissions] if args.key?(:permissions)
2055
- end
2056
- end
2057
- end
2058
- end
2059
- end