google-api-client 0.42.2 → 0.43.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 (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +129 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -270
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +733 -1180
  35. data/generated/google/apis/apigee_v1/service.rb +879 -1133
  36. data/generated/google/apis/appsmarket_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  41. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  42. data/generated/google/apis/blogger_v2.rb +2 -3
  43. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  44. data/generated/google/apis/blogger_v2/service.rb +1 -2
  45. data/generated/google/apis/blogger_v3.rb +2 -3
  46. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  47. data/generated/google/apis/blogger_v3/service.rb +1 -2
  48. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  49. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  52. data/generated/google/apis/classroom_v1/service.rb +643 -902
  53. data/generated/google/apis/cloudasset_v1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  55. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  56. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  58. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  60. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
  61. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  62. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  63. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  66. data/generated/google/apis/compute_alpha.rb +1 -1
  67. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  68. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  69. data/generated/google/apis/compute_alpha/service.rb +15 -7
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +39 -14
  72. data/generated/google/apis/compute_beta/representations.rb +2 -0
  73. data/generated/google/apis/compute_beta/service.rb +15 -7
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +65 -42
  76. data/generated/google/apis/compute_v1/representations.rb +18 -15
  77. data/generated/google/apis/compute_v1/service.rb +63 -19
  78. data/generated/google/apis/container_v1.rb +1 -1
  79. data/generated/google/apis/container_v1/classes.rb +26 -0
  80. data/generated/google/apis/container_v1/representations.rb +15 -0
  81. data/generated/google/apis/content_v2.rb +1 -1
  82. data/generated/google/apis/content_v2/classes.rb +9 -0
  83. data/generated/google/apis/content_v2_1.rb +1 -1
  84. data/generated/google/apis/content_v2_1/classes.rb +9 -0
  85. data/generated/google/apis/customsearch_v1.rb +1 -1
  86. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  87. data/generated/google/apis/customsearch_v1/service.rb +184 -341
  88. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  89. data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
  90. data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
  91. data/generated/google/apis/datafusion_v1.rb +43 -0
  92. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  93. data/generated/google/apis/datafusion_v1/representations.rb +390 -0
  94. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  95. data/generated/google/apis/dataproc_v1.rb +1 -1
  96. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  97. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  98. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  99. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  100. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
  105. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
  108. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
  109. data/generated/google/apis/displayvideo_v1.rb +1 -1
  110. data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
  111. data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
  112. data/generated/google/apis/displayvideo_v1/service.rb +104 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  115. data/generated/google/apis/dns_v1.rb +1 -1
  116. data/generated/google/apis/dns_v1/classes.rb +7 -7
  117. data/generated/google/apis/dns_v1beta2.rb +1 -1
  118. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  119. data/generated/google/apis/dns_v2beta1.rb +1 -1
  120. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  121. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  122. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  123. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  124. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  126. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  127. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  129. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  130. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +3 -1
  133. data/generated/google/apis/drive_v3.rb +1 -1
  134. data/generated/google/apis/drive_v3/classes.rb +9 -1
  135. data/generated/google/apis/drive_v3/representations.rb +1 -0
  136. data/generated/google/apis/driveactivity_v2.rb +1 -1
  137. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  138. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  139. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  140. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  141. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  142. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
  143. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  144. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  145. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  146. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  147. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  148. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  149. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  150. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  151. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  152. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  153. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  154. data/generated/google/apis/firebaseml_v1.rb +1 -1
  155. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  156. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  157. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  158. data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
  159. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  160. data/generated/google/apis/gameservices_v1.rb +1 -1
  161. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  162. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  163. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  164. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  165. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  166. data/generated/google/apis/genomics_v1.rb +1 -1
  167. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  168. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  169. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  170. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  171. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  172. data/generated/google/apis/gmail_v1.rb +3 -3
  173. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  174. data/generated/google/apis/gmail_v1/service.rb +257 -286
  175. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  176. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  177. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  178. data/generated/google/apis/healthcare_v1.rb +1 -1
  179. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  180. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  181. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  182. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  183. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  184. data/generated/google/apis/language_v1.rb +1 -1
  185. data/generated/google/apis/language_v1/classes.rb +93 -111
  186. data/generated/google/apis/language_v1/service.rb +4 -4
  187. data/generated/google/apis/language_v1beta1.rb +1 -1
  188. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  189. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  190. data/generated/google/apis/language_v1beta2.rb +1 -1
  191. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  192. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  193. data/generated/google/apis/libraryagent_v1.rb +1 -1
  194. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  195. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  196. data/generated/google/apis/logging_v2.rb +1 -1
  197. data/generated/google/apis/logging_v2/classes.rb +6 -6
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  200. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  201. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  202. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  203. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  204. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  205. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  206. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  207. data/generated/google/apis/memcache_v1.rb +35 -0
  208. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  209. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  210. data/generated/google/apis/memcache_v1/service.rb +558 -0
  211. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  212. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  213. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  214. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  215. data/generated/google/apis/monitoring_v1.rb +1 -1
  216. data/generated/google/apis/monitoring_v1/classes.rb +12 -11
  217. data/generated/google/apis/monitoring_v3.rb +1 -1
  218. data/generated/google/apis/monitoring_v3/classes.rb +31 -14
  219. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  220. data/generated/google/apis/osconfig_v1.rb +1 -1
  221. data/generated/google/apis/osconfig_v1/classes.rb +721 -0
  222. data/generated/google/apis/osconfig_v1/representations.rb +337 -0
  223. data/generated/google/apis/people_v1.rb +1 -1
  224. data/generated/google/apis/people_v1/classes.rb +148 -13
  225. data/generated/google/apis/people_v1/representations.rb +57 -0
  226. data/generated/google/apis/people_v1/service.rb +60 -48
  227. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  228. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  229. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  230. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  231. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  232. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  233. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  234. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  235. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  236. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  237. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  238. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  239. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  240. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  241. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  242. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  243. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  244. data/generated/google/apis/recommender_v1.rb +1 -1
  245. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  246. data/generated/google/apis/recommender_v1/service.rb +43 -58
  247. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  248. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  249. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  250. data/generated/google/apis/run_v1.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +2 -2
  252. data/generated/google/apis/run_v1/service.rb +38 -2
  253. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  254. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  255. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  256. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  257. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  258. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  259. data/generated/google/apis/searchconsole_v1.rb +1 -1
  260. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  261. data/generated/google/apis/securitycenter_v1.rb +1 -1
  262. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  263. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  264. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  265. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  266. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  267. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  268. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  269. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  270. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  272. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
  275. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
  276. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  278. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  279. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  280. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  281. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  282. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  283. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  284. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  285. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  286. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  287. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  288. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  289. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  290. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  291. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  292. data/generated/google/apis/serviceusage_v1.rb +1 -1
  293. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  294. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  295. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  296. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  297. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  298. data/generated/google/apis/spanner_v1.rb +1 -1
  299. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  300. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  301. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  302. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  303. data/generated/google/apis/tagmanager_v1.rb +2 -3
  304. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  305. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  306. data/generated/google/apis/tagmanager_v2.rb +2 -3
  307. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  308. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  309. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  310. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  311. data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
  312. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  313. data/generated/google/apis/tpu_v1.rb +1 -1
  314. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  315. data/generated/google/apis/tpu_v1/service.rb +21 -25
  316. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  317. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  318. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/translate_v3/service.rb +14 -1
  321. data/generated/google/apis/translate_v3beta1.rb +1 -1
  322. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  323. data/generated/google/apis/vision_v1.rb +1 -1
  324. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  325. data/generated/google/apis/vision_v1/service.rb +254 -340
  326. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  327. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  328. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  329. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  330. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  331. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  332. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  333. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  334. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  335. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  336. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  337. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  338. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  339. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  340. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  341. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  342. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  343. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  346. data/generated/google/apis/youtube_v3.rb +1 -1
  347. data/generated/google/apis/youtube_v3/classes.rb +937 -1175
  348. data/generated/google/apis/youtube_v3/service.rb +975 -1284
  349. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  350. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  351. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  352. data/lib/google/apis/core/base_service.rb +7 -1
  353. data/lib/google/apis/version.rb +1 -1
  354. metadata +15 -7
  355. data/generated/google/apis/fitness_v1.rb +0 -85
  356. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  357. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  358. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -79,12 +79,10 @@ module Google
79
79
 
80
80
  # Returns a list of requested customers.
81
81
  # @param [Fixnum] page_size
82
- # The maximum number of customers
83
- # to return in the response.
82
+ # The maximum number of customers to return in the response.
84
83
  # @param [String] page_token
85
84
  # A pagination token returned from a previous call to ListCustomers method that
86
- # indicates where
87
- # this listing should continue from.
85
+ # indicates where this listing should continue from.
88
86
  # @param [String] fields
89
87
  # Selector specifying which fields to include in a partial response.
90
88
  # @param [String] quota_user
@@ -215,8 +213,7 @@ module Google
215
213
  execute_or_queue_command(command, &block)
216
214
  end
217
215
 
218
- # Creates a signed device under a
219
- # node or customer.
216
+ # Creates a signed device under a node or customer.
220
217
  # @param [String] parent
221
218
  # Required. The name of the parent resource.
222
219
  # @param [Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
@@ -313,16 +310,15 @@ module Google
313
310
  # @param [String] parent
314
311
  # Required. The name of the parent resource.
315
312
  # @param [String] filter
316
- # The filter expression. The filter should have one of the following
317
- # formats: "sn=123454" or "display_name=MyDevice". sn
318
- # corresponds to serial_number of the device. The filter is case insensitive.
313
+ # The filter expression. The filter should have one of the following formats: "
314
+ # sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
315
+ # device. The filter is case insensitive.
319
316
  # @param [Fixnum] page_size
320
- # The maximum number of devices to return in the response.
321
- # If empty or zero, all devices will be listed.
322
- # Must be in the range [0, 1000].
317
+ # The maximum number of devices to return in the response. If empty or zero, all
318
+ # devices will be listed. Must be in the range [0, 1000].
323
319
  # @param [String] page_token
324
- # A pagination token returned from a previous call to ListDevices
325
- # that indicates where this listing should continue from.
320
+ # A pagination token returned from a previous call to ListDevices that indicates
321
+ # where this listing should continue from.
326
322
  # @param [String] fields
327
323
  # Selector specifying which fields to include in a partial response.
328
324
  # @param [String] quota_user
@@ -587,8 +583,8 @@ module Google
587
583
  # @param [Fixnum] page_size
588
584
  # The maximum number of nodes to return in the response.
589
585
  # @param [String] page_token
590
- # A pagination token returned from a previous call to ListNodes method
591
- # that indicates where this listing should continue from.
586
+ # A pagination token returned from a previous call to ListNodes method that
587
+ # indicates where this listing should continue from.
592
588
  # @param [String] fields
593
589
  # Selector specifying which fields to include in a partial response.
594
590
  # @param [String] quota_user
@@ -620,8 +616,7 @@ module Google
620
616
 
621
617
  # Moves a node under another node or customer.
622
618
  # @param [String] name
623
- # Required. The name of the node to
624
- # move.
619
+ # Required. The name of the node to move.
625
620
  # @param [Google::Apis::SasportalV1alpha1::SasPortalMoveNodeRequest] sas_portal_move_node_request_object
626
621
  # @param [String] fields
627
622
  # Selector specifying which fields to include in a partial response.
@@ -727,8 +722,8 @@ module Google
727
722
  # @param [Fixnum] page_size
728
723
  # The maximum number of nodes to return in the response.
729
724
  # @param [String] page_token
730
- # A pagination token returned from a previous call to ListNodes method
731
- # that indicates where this listing should continue from.
725
+ # A pagination token returned from a previous call to ListNodes method that
726
+ # indicates where this listing should continue from.
732
727
  # @param [String] fields
733
728
  # Selector specifying which fields to include in a partial response.
734
729
  # @param [String] quota_user
@@ -914,8 +909,7 @@ module Google
914
909
  execute_or_queue_command(command, &block)
915
910
  end
916
911
 
917
- # Creates a signed device under a
918
- # node or customer.
912
+ # Creates a signed device under a node or customer.
919
913
  # @param [String] parent
920
914
  # Required. The name of the parent resource.
921
915
  # @param [Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
@@ -1012,16 +1006,15 @@ module Google
1012
1006
  # @param [String] parent
1013
1007
  # Required. The name of the parent resource.
1014
1008
  # @param [String] filter
1015
- # The filter expression. The filter should have one of the following
1016
- # formats: "sn=123454" or "display_name=MyDevice". sn
1017
- # corresponds to serial_number of the device. The filter is case insensitive.
1009
+ # The filter expression. The filter should have one of the following formats: "
1010
+ # sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
1011
+ # device. The filter is case insensitive.
1018
1012
  # @param [Fixnum] page_size
1019
- # The maximum number of devices to return in the response.
1020
- # If empty or zero, all devices will be listed.
1021
- # Must be in the range [0, 1000].
1013
+ # The maximum number of devices to return in the response. If empty or zero, all
1014
+ # devices will be listed. Must be in the range [0, 1000].
1022
1015
  # @param [String] page_token
1023
- # A pagination token returned from a previous call to ListDevices
1024
- # that indicates where this listing should continue from.
1016
+ # A pagination token returned from a previous call to ListDevices that indicates
1017
+ # where this listing should continue from.
1025
1018
  # @param [String] fields
1026
1019
  # Selector specifying which fields to include in a partial response.
1027
1020
  # @param [String] quota_user
@@ -1286,8 +1279,8 @@ module Google
1286
1279
  # @param [Fixnum] page_size
1287
1280
  # The maximum number of nodes to return in the response.
1288
1281
  # @param [String] page_token
1289
- # A pagination token returned from a previous call to ListNodes method
1290
- # that indicates where this listing should continue from.
1282
+ # A pagination token returned from a previous call to ListNodes method that
1283
+ # indicates where this listing should continue from.
1291
1284
  # @param [String] fields
1292
1285
  # Selector specifying which fields to include in a partial response.
1293
1286
  # @param [String] quota_user
@@ -1319,8 +1312,7 @@ module Google
1319
1312
 
1320
1313
  # Moves a node under another node or customer.
1321
1314
  # @param [String] name
1322
- # Required. The name of the node to
1323
- # move.
1315
+ # Required. The name of the node to move.
1324
1316
  # @param [Google::Apis::SasportalV1alpha1::SasPortalMoveNodeRequest] sas_portal_move_node_request_object
1325
1317
  # @param [String] fields
1326
1318
  # Selector specifying which fields to include in a partial response.
@@ -1453,8 +1445,7 @@ module Google
1453
1445
  execute_or_queue_command(command, &block)
1454
1446
  end
1455
1447
 
1456
- # Creates a signed device under a
1457
- # node or customer.
1448
+ # Creates a signed device under a node or customer.
1458
1449
  # @param [String] parent
1459
1450
  # Required. The name of the parent resource.
1460
1451
  # @param [Google::Apis::SasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
@@ -1491,16 +1482,15 @@ module Google
1491
1482
  # @param [String] parent
1492
1483
  # Required. The name of the parent resource.
1493
1484
  # @param [String] filter
1494
- # The filter expression. The filter should have one of the following
1495
- # formats: "sn=123454" or "display_name=MyDevice". sn
1496
- # corresponds to serial_number of the device. The filter is case insensitive.
1485
+ # The filter expression. The filter should have one of the following formats: "
1486
+ # sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
1487
+ # device. The filter is case insensitive.
1497
1488
  # @param [Fixnum] page_size
1498
- # The maximum number of devices to return in the response.
1499
- # If empty or zero, all devices will be listed.
1500
- # Must be in the range [0, 1000].
1489
+ # The maximum number of devices to return in the response. If empty or zero, all
1490
+ # devices will be listed. Must be in the range [0, 1000].
1501
1491
  # @param [String] page_token
1502
- # A pagination token returned from a previous call to ListDevices
1503
- # that indicates where this listing should continue from.
1492
+ # A pagination token returned from a previous call to ListDevices that indicates
1493
+ # where this listing should continue from.
1504
1494
  # @param [String] fields
1505
1495
  # Selector specifying which fields to include in a partial response.
1506
1496
  # @param [String] quota_user
@@ -1570,8 +1560,8 @@ module Google
1570
1560
  # @param [Fixnum] page_size
1571
1561
  # The maximum number of nodes to return in the response.
1572
1562
  # @param [String] page_token
1573
- # A pagination token returned from a previous call to ListNodes method
1574
- # that indicates where this listing should continue from.
1563
+ # A pagination token returned from a previous call to ListNodes method that
1564
+ # indicates where this listing should continue from.
1575
1565
  # @param [String] fields
1576
1566
  # Selector specifying which fields to include in a partial response.
1577
1567
  # @param [String] quota_user
@@ -1601,9 +1591,8 @@ module Google
1601
1591
  execute_or_queue_command(command, &block)
1602
1592
  end
1603
1593
 
1604
- # Gets the access control policy for a resource.
1605
- # Returns an empty policy if the resource exists and does not have a policy
1606
- # set.
1594
+ # Gets the access control policy for a resource. Returns an empty policy if the
1595
+ # resource exists and does not have a policy set.
1607
1596
  # @param [Google::Apis::SasportalV1alpha1::SasPortalGetPolicyRequest] sas_portal_get_policy_request_object
1608
1597
  # @param [String] fields
1609
1598
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/webmaster-tools/search-console-api/
27
27
  module SearchconsoleV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200714'
29
+ REVISION = '20200803'
30
30
  end
31
31
  end
32
32
  end
@@ -45,8 +45,8 @@ module Google
45
45
  class Image
46
46
  include Google::Apis::Core::Hashable
47
47
 
48
- # Image data in format determined by the mime type. Currently, the format
49
- # will always be "image/png", but this might change in the future.
48
+ # Image data in format determined by the mime type. Currently, the format will
49
+ # always be "image/png", but this might change in the future.
50
50
  # Corresponds to the JSON property `data`
51
51
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
52
52
  # @return [String]
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200619'
29
+ REVISION = '20200731'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,12 +22,11 @@ module Google
22
22
  module Apis
23
23
  module SecuritycenterV1
24
24
 
25
- # Security Command Center representation of a Google Cloud
26
- # resource.
27
- # The Asset is a Security Command Center resource that captures information
28
- # about a single Google Cloud resource. All modifications to an Asset are only
29
- # within the context of Security Command Center and don't affect the referenced
30
- # Google Cloud resource.
25
+ # Security Command Center representation of a Google Cloud resource. The Asset
26
+ # is a Security Command Center resource that captures information about a single
27
+ # Google Cloud resource. All modifications to an Asset are only within the
28
+ # context of Security Command Center and don't affect the referenced Google
29
+ # Cloud resource.
31
30
  class Asset
32
31
  include Google::Apis::Core::Hashable
33
32
 
@@ -38,22 +37,20 @@ module Google
38
37
 
39
38
  # Cloud IAM Policy information associated with the Google Cloud resource
40
39
  # described by the Security Command Center asset. This information is managed
41
- # and defined by the Google Cloud resource and cannot be modified by the
42
- # user.
40
+ # and defined by the Google Cloud resource and cannot be modified by the user.
43
41
  # Corresponds to the JSON property `iamPolicy`
44
42
  # @return [Google::Apis::SecuritycenterV1::IamPolicy]
45
43
  attr_accessor :iam_policy
46
44
 
47
- # The relative resource name of this asset. See:
48
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
49
- # Example:
50
- # "organizations/`organization_id`/assets/`asset_id`".
45
+ # The relative resource name of this asset. See: https://cloud.google.com/apis/
46
+ # design/resource_names#relative_resource_name Example: "organizations/`
47
+ # organization_id`/assets/`asset_id`".
51
48
  # Corresponds to the JSON property `name`
52
49
  # @return [String]
53
50
  attr_accessor :name
54
51
 
55
- # Resource managed properties. These properties are managed and defined by
56
- # the Google Cloud resource and cannot be modified by the user.
52
+ # Resource managed properties. These properties are managed and defined by the
53
+ # Google Cloud resource and cannot be modified by the user.
57
54
  # Corresponds to the JSON property `resourceProperties`
58
55
  # @return [Hash<String,Object>]
59
56
  attr_accessor :resource_properties
@@ -64,10 +61,10 @@ module Google
64
61
  # @return [Google::Apis::SecuritycenterV1::SecurityCenterProperties]
65
62
  attr_accessor :security_center_properties
66
63
 
67
- # User specified security marks that are attached to the parent Security
68
- # Command Center resource. Security marks are scoped within a Security Command
69
- # Center organization -- they can be modified and viewed by all users who have
70
- # proper permissions on the organization.
64
+ # User specified security marks that are attached to the parent Security Command
65
+ # Center resource. Security marks are scoped within a Security Command Center
66
+ # organization -- they can be modified and viewed by all users who have proper
67
+ # permissions on the organization.
71
68
  # Corresponds to the JSON property `securityMarks`
72
69
  # @return [Google::Apis::SecuritycenterV1::SecurityMarks]
73
70
  attr_accessor :security_marks
@@ -119,53 +116,21 @@ module Google
119
116
  end
120
117
  end
121
118
 
122
- # Specifies the audit configuration for a service.
123
- # The configuration determines which permission types are logged, and what
124
- # identities, if any, are exempted from logging.
125
- # An AuditConfig must have one or more AuditLogConfigs.
126
- # If there are AuditConfigs for both `allServices` and a specific service,
127
- # the union of the two AuditConfigs is used for that service: the log_types
128
- # specified in each AuditConfig are enabled, and the exempted_members in each
129
- # AuditLogConfig are exempted.
130
- # Example Policy with multiple AuditConfigs:
131
- # `
132
- # "audit_configs": [
133
- # `
134
- # "service": "allServices",
135
- # "audit_log_configs": [
136
- # `
137
- # "log_type": "DATA_READ",
138
- # "exempted_members": [
139
- # "user:jose@example.com"
140
- # ]
141
- # `,
142
- # `
143
- # "log_type": "DATA_WRITE"
144
- # `,
145
- # `
146
- # "log_type": "ADMIN_READ"
147
- # `
148
- # ]
149
- # `,
150
- # `
151
- # "service": "sampleservice.googleapis.com",
152
- # "audit_log_configs": [
153
- # `
154
- # "log_type": "DATA_READ"
155
- # `,
156
- # `
157
- # "log_type": "DATA_WRITE",
158
- # "exempted_members": [
159
- # "user:aliya@example.com"
160
- # ]
161
- # `
162
- # ]
163
- # `
164
- # ]
165
- # `
166
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
167
- # logging. It also exempts jose@example.com from DATA_READ logging, and
168
- # aliya@example.com from DATA_WRITE logging.
119
+ # Specifies the audit configuration for a service. The configuration determines
120
+ # which permission types are logged, and what identities, if any, are exempted
121
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
122
+ # are AuditConfigs for both `allServices` and a specific service, the union of
123
+ # the two AuditConfigs is used for that service: the log_types specified in each
124
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
125
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
126
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
127
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
128
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
129
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
130
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
131
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
132
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
133
+ # DATA_WRITE logging.
169
134
  class AuditConfig
170
135
  include Google::Apis::Core::Hashable
171
136
 
@@ -174,9 +139,9 @@ module Google
174
139
  # @return [Array<Google::Apis::SecuritycenterV1::AuditLogConfig>]
175
140
  attr_accessor :audit_log_configs
176
141
 
177
- # Specifies a service that will be enabled for audit logging.
178
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
179
- # `allServices` is a special value that covers all services.
142
+ # Specifies a service that will be enabled for audit logging. For example, `
143
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
144
+ # value that covers all services.
180
145
  # Corresponds to the JSON property `service`
181
146
  # @return [String]
182
147
  attr_accessor :service
@@ -192,28 +157,15 @@ module Google
192
157
  end
193
158
  end
194
159
 
195
- # Provides the configuration for logging a type of permissions.
196
- # Example:
197
- # `
198
- # "audit_log_configs": [
199
- # `
200
- # "log_type": "DATA_READ",
201
- # "exempted_members": [
202
- # "user:jose@example.com"
203
- # ]
204
- # `,
205
- # `
206
- # "log_type": "DATA_WRITE"
207
- # `
208
- # ]
209
- # `
210
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
211
- # jose@example.com from DATA_READ logging.
160
+ # Provides the configuration for logging a type of permissions. Example: ` "
161
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
162
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
163
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
164
+ # DATA_READ logging.
212
165
  class AuditLogConfig
213
166
  include Google::Apis::Core::Hashable
214
167
 
215
- # Specifies the identities that do not cause logging for this type of
216
- # permission.
168
+ # Specifies the identities that do not cause logging for this type of permission.
217
169
  # Follows the same format of Binding.members.
218
170
  # Corresponds to the JSON property `exemptedMembers`
219
171
  # @return [Array<String>]
@@ -239,69 +191,57 @@ module Google
239
191
  class Binding
240
192
  include Google::Apis::Core::Hashable
241
193
 
242
- # Represents a textual expression in the Common Expression Language (CEL)
243
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
244
- # are documented at https://github.com/google/cel-spec.
245
- # Example (Comparison):
246
- # title: "Summary size limit"
247
- # description: "Determines if a summary is less than 100 chars"
248
- # expression: "document.summary.size() < 100"
249
- # Example (Equality):
250
- # title: "Requestor is owner"
251
- # description: "Determines if requestor is the document owner"
252
- # expression: "document.owner == request.auth.claims.email"
253
- # Example (Logic):
254
- # title: "Public documents"
255
- # description: "Determine whether the document should be publicly visible"
256
- # expression: "document.type != 'private' && document.type != 'internal'"
257
- # Example (Data Manipulation):
258
- # title: "Notification string"
259
- # description: "Create a notification string with a timestamp."
260
- # expression: "'New message received at ' + string(document.create_time)"
261
- # The exact variables and functions that may be referenced within an expression
262
- # are determined by the service that evaluates it. See the service
263
- # documentation for additional information.
194
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
195
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
196
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
197
+ # "Summary size limit" description: "Determines if a summary is less than 100
198
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
199
+ # Requestor is owner" description: "Determines if requestor is the document
200
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
201
+ # Logic): title: "Public documents" description: "Determine whether the document
202
+ # should be publicly visible" expression: "document.type != 'private' &&
203
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
204
+ # string" description: "Create a notification string with a timestamp."
205
+ # expression: "'New message received at ' + string(document.create_time)" The
206
+ # exact variables and functions that may be referenced within an expression are
207
+ # determined by the service that evaluates it. See the service documentation for
208
+ # additional information.
264
209
  # Corresponds to the JSON property `condition`
265
210
  # @return [Google::Apis::SecuritycenterV1::Expr]
266
211
  attr_accessor :condition
267
212
 
268
- # Specifies the identities requesting access for a Cloud Platform resource.
269
- # `members` can have the following values:
270
- # * `allUsers`: A special identifier that represents anyone who is
271
- # on the internet; with or without a Google account.
272
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
273
- # who is authenticated with a Google account or a service account.
274
- # * `user:`emailid``: An email address that represents a specific Google
275
- # account. For example, `alice@example.com` .
276
- # * `serviceAccount:`emailid``: An email address that represents a service
277
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
278
- # * `group:`emailid``: An email address that represents a Google group.
279
- # For example, `admins@example.com`.
280
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
281
- # identifier) representing a user that has been recently deleted. For
282
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
283
- # recovered, this value reverts to `user:`emailid`` and the recovered user
284
- # retains the role in the binding.
285
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
286
- # unique identifier) representing a service account that has been recently
287
- # deleted. For example,
288
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
289
- # If the service account is undeleted, this value reverts to
290
- # `serviceAccount:`emailid`` and the undeleted service account retains the
291
- # role in the binding.
292
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
293
- # identifier) representing a Google group that has been recently
294
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
295
- # the group is recovered, this value reverts to `group:`emailid`` and the
296
- # recovered group retains the role in the binding.
297
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
298
- # users of that domain. For example, `google.com` or `example.com`.
213
+ # Specifies the identities requesting access for a Cloud Platform resource. `
214
+ # members` can have the following values: * `allUsers`: A special identifier
215
+ # that represents anyone who is on the internet; with or without a Google
216
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
217
+ # anyone who is authenticated with a Google account or a service account. * `
218
+ # user:`emailid``: An email address that represents a specific Google account.
219
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
220
+ # address that represents a service account. For example, `my-other-app@appspot.
221
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
222
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
223
+ # `uniqueid``: An email address (plus unique identifier) representing a user
224
+ # that has been recently deleted. For example, `alice@example.com?uid=
225
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
226
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
227
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
228
+ # identifier) representing a service account that has been recently deleted. For
229
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
230
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
231
+ # emailid`` and the undeleted service account retains the role in the binding. *
232
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
233
+ # identifier) representing a Google group that has been recently deleted. For
234
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
235
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
236
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
237
+ # primary) that represents all the users of that domain. For example, `google.
238
+ # com` or `example.com`.
299
239
  # Corresponds to the JSON property `members`
300
240
  # @return [Array<String>]
301
241
  attr_accessor :members
302
242
 
303
- # Role that is assigned to `members`.
304
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
243
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
244
+ # , or `roles/owner`.
305
245
  # Corresponds to the JSON property `role`
306
246
  # @return [String]
307
247
  attr_accessor :role
@@ -318,13 +258,11 @@ module Google
318
258
  end
319
259
  end
320
260
 
321
- # A generic empty message that you can re-use to avoid defining duplicated
322
- # empty messages in your APIs. A typical example is to use it as the request
323
- # or the response type of an API method. For instance:
324
- # service Foo `
325
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
326
- # `
327
- # The JSON representation for `Empty` is empty JSON object ````.
261
+ # A generic empty message that you can re-use to avoid defining duplicated empty
262
+ # messages in your APIs. A typical example is to use it as the request or the
263
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
264
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
265
+ # `Empty` is empty JSON object ````.
328
266
  class Empty
329
267
  include Google::Apis::Core::Hashable
330
268
 
@@ -337,52 +275,43 @@ module Google
337
275
  end
338
276
  end
339
277
 
340
- # Represents a textual expression in the Common Expression Language (CEL)
341
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
342
- # are documented at https://github.com/google/cel-spec.
343
- # Example (Comparison):
344
- # title: "Summary size limit"
345
- # description: "Determines if a summary is less than 100 chars"
346
- # expression: "document.summary.size() < 100"
347
- # Example (Equality):
348
- # title: "Requestor is owner"
349
- # description: "Determines if requestor is the document owner"
350
- # expression: "document.owner == request.auth.claims.email"
351
- # Example (Logic):
352
- # title: "Public documents"
353
- # description: "Determine whether the document should be publicly visible"
354
- # expression: "document.type != 'private' && document.type != 'internal'"
355
- # Example (Data Manipulation):
356
- # title: "Notification string"
357
- # description: "Create a notification string with a timestamp."
358
- # expression: "'New message received at ' + string(document.create_time)"
359
- # The exact variables and functions that may be referenced within an expression
360
- # are determined by the service that evaluates it. See the service
361
- # documentation for additional information.
278
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
279
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
280
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
281
+ # "Summary size limit" description: "Determines if a summary is less than 100
282
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
283
+ # Requestor is owner" description: "Determines if requestor is the document
284
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
285
+ # Logic): title: "Public documents" description: "Determine whether the document
286
+ # should be publicly visible" expression: "document.type != 'private' &&
287
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
288
+ # string" description: "Create a notification string with a timestamp."
289
+ # expression: "'New message received at ' + string(document.create_time)" The
290
+ # exact variables and functions that may be referenced within an expression are
291
+ # determined by the service that evaluates it. See the service documentation for
292
+ # additional information.
362
293
  class Expr
363
294
  include Google::Apis::Core::Hashable
364
295
 
365
- # Optional. Description of the expression. This is a longer text which
366
- # describes the expression, e.g. when hovered over it in a UI.
296
+ # Optional. Description of the expression. This is a longer text which describes
297
+ # the expression, e.g. when hovered over it in a UI.
367
298
  # Corresponds to the JSON property `description`
368
299
  # @return [String]
369
300
  attr_accessor :description
370
301
 
371
- # Textual representation of an expression in Common Expression Language
372
- # syntax.
302
+ # Textual representation of an expression in Common Expression Language syntax.
373
303
  # Corresponds to the JSON property `expression`
374
304
  # @return [String]
375
305
  attr_accessor :expression
376
306
 
377
- # Optional. String indicating the location of the expression for error
378
- # reporting, e.g. a file name and a position in the file.
307
+ # Optional. String indicating the location of the expression for error reporting,
308
+ # e.g. a file name and a position in the file.
379
309
  # Corresponds to the JSON property `location`
380
310
  # @return [String]
381
311
  attr_accessor :location
382
312
 
383
- # Optional. Title for the expression, i.e. a short string describing
384
- # its purpose. This can be used e.g. in UIs which allow to enter the
385
- # expression.
313
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
314
+ # This can be used e.g. in UIs which allow to enter the expression.
386
315
  # Corresponds to the JSON property `title`
387
316
  # @return [String]
388
317
  attr_accessor :title
@@ -400,18 +329,16 @@ module Google
400
329
  end
401
330
  end
402
331
 
403
- # Security Command Center finding.
404
- # A finding is a record of assessment data like security, risk, health, or
405
- # privacy, that is ingested into Security Command Center for presentation,
406
- # notification, analysis, policy testing, and enforcement. For example, a
407
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
408
- # finding.
332
+ # Security Command Center finding. A finding is a record of assessment data like
333
+ # security, risk, health, or privacy, that is ingested into Security Command
334
+ # Center for presentation, notification, analysis, policy testing, and
335
+ # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
336
+ # Engine application is a finding.
409
337
  class Finding
410
338
  include Google::Apis::Core::Hashable
411
339
 
412
- # The additional taxonomy group within findings from a given source.
413
- # This field is immutable after creation time.
414
- # Example: "XSS_FLASH_INJECTION"
340
+ # The additional taxonomy group within findings from a given source. This field
341
+ # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
415
342
  # Corresponds to the JSON property `category`
416
343
  # @return [String]
417
344
  attr_accessor :category
@@ -421,59 +348,56 @@ module Google
421
348
  # @return [String]
422
349
  attr_accessor :create_time
423
350
 
424
- # The time at which the event took place. For example, if the finding
425
- # represents an open firewall it would capture the time the detector believes
426
- # the firewall became open. The accuracy is determined by the detector.
351
+ # The time at which the event took place. For example, if the finding represents
352
+ # an open firewall it would capture the time the detector believes the firewall
353
+ # became open. The accuracy is determined by the detector.
427
354
  # Corresponds to the JSON property `eventTime`
428
355
  # @return [String]
429
356
  attr_accessor :event_time
430
357
 
431
- # The URI that, if available, points to a web page outside of Security
432
- # Command Center where additional information about the finding can be found.
433
- # This field is guaranteed to be either empty or a well formed URL.
358
+ # The URI that, if available, points to a web page outside of Security Command
359
+ # Center where additional information about the finding can be found. This field
360
+ # is guaranteed to be either empty or a well formed URL.
434
361
  # Corresponds to the JSON property `externalUri`
435
362
  # @return [String]
436
363
  attr_accessor :external_uri
437
364
 
438
- # The relative resource name of this finding. See:
439
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
440
- # Example:
441
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
365
+ # The relative resource name of this finding. See: https://cloud.google.com/apis/
366
+ # design/resource_names#relative_resource_name Example: "organizations/`
367
+ # organization_id`/sources/`source_id`/findings/`finding_id`"
442
368
  # Corresponds to the JSON property `name`
443
369
  # @return [String]
444
370
  attr_accessor :name
445
371
 
446
- # The relative resource name of the source the finding belongs to. See:
447
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
448
- # This field is immutable after creation time.
449
- # For example:
450
- # "organizations/`organization_id`/sources/`source_id`"
372
+ # The relative resource name of the source the finding belongs to. See: https://
373
+ # cloud.google.com/apis/design/resource_names#relative_resource_name This field
374
+ # is immutable after creation time. For example: "organizations/`organization_id`
375
+ # /sources/`source_id`"
451
376
  # Corresponds to the JSON property `parent`
452
377
  # @return [String]
453
378
  attr_accessor :parent
454
379
 
455
- # For findings on Google Cloud resources, the full resource
456
- # name of the Google Cloud resource this finding is for. See:
457
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
458
- # When the finding is for a non-Google Cloud resource, the resourceName can
459
- # be a customer or partner defined string. This field is immutable after
460
- # creation time.
380
+ # For findings on Google Cloud resources, the full resource name of the Google
381
+ # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
382
+ # resource_names#full_resource_name When the finding is for a non-Google Cloud
383
+ # resource, the resourceName can be a customer or partner defined string. This
384
+ # field is immutable after creation time.
461
385
  # Corresponds to the JSON property `resourceName`
462
386
  # @return [String]
463
387
  attr_accessor :resource_name
464
388
 
465
- # User specified security marks that are attached to the parent Security
466
- # Command Center resource. Security marks are scoped within a Security Command
467
- # Center organization -- they can be modified and viewed by all users who have
468
- # proper permissions on the organization.
389
+ # User specified security marks that are attached to the parent Security Command
390
+ # Center resource. Security marks are scoped within a Security Command Center
391
+ # organization -- they can be modified and viewed by all users who have proper
392
+ # permissions on the organization.
469
393
  # Corresponds to the JSON property `securityMarks`
470
394
  # @return [Google::Apis::SecuritycenterV1::SecurityMarks]
471
395
  attr_accessor :security_marks
472
396
 
473
- # Source specific properties. These properties are managed by the source
474
- # that writes the finding. The key names in the source_properties map must be
475
- # between 1 and 255 characters, and must start with a letter and contain
476
- # alphanumeric characters or underscores only.
397
+ # Source specific properties. These properties are managed by the source that
398
+ # writes the finding. The key names in the source_properties map must be between
399
+ # 1 and 255 characters, and must start with a letter and contain alphanumeric
400
+ # characters or underscores only.
477
401
  # Corresponds to the JSON property `sourceProperties`
478
402
  # @return [Hash<String,Object>]
479
403
  attr_accessor :source_properties
@@ -525,15 +449,13 @@ module Google
525
449
  class GetPolicyOptions
526
450
  include Google::Apis::Core::Hashable
527
451
 
528
- # Optional. The policy format version to be returned.
529
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
530
- # rejected.
531
- # Requests for policies with any conditional bindings must specify version 3.
532
- # Policies without any conditional bindings may specify any valid value or
533
- # leave the field unset.
534
- # To learn which resources support conditions in their IAM policies, see the
535
- # [IAM
536
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
452
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
453
+ # 3. Requests specifying an invalid value will be rejected. Requests for
454
+ # policies with any conditional bindings must specify version 3. Policies
455
+ # without any conditional bindings may specify any valid value or leave the
456
+ # field unset. To learn which resources support conditions in their IAM policies,
457
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
458
+ # resource-policies).
537
459
  # Corresponds to the JSON property `requestedPolicyVersion`
538
460
  # @return [Fixnum]
539
461
  attr_accessor :requested_policy_version
@@ -552,12 +474,11 @@ module Google
552
474
  class GoogleCloudSecuritycenterV1NotificationMessage
553
475
  include Google::Apis::Core::Hashable
554
476
 
555
- # Security Command Center finding.
556
- # A finding is a record of assessment data like security, risk, health, or
557
- # privacy, that is ingested into Security Command Center for presentation,
558
- # notification, analysis, policy testing, and enforcement. For example, a
559
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
560
- # finding.
477
+ # Security Command Center finding. A finding is a record of assessment data like
478
+ # security, risk, health, or privacy, that is ingested into Security Command
479
+ # Center for presentation, notification, analysis, policy testing, and
480
+ # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
481
+ # Engine application is a finding.
561
482
  # Corresponds to the JSON property `finding`
562
483
  # @return [Google::Apis::SecuritycenterV1::Finding]
563
484
  attr_accessor :finding
@@ -588,8 +509,8 @@ module Google
588
509
  class GoogleCloudSecuritycenterV1Resource
589
510
  include Google::Apis::Core::Hashable
590
511
 
591
- # The full resource name of the resource. See:
592
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
512
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
513
+ # design/resource_names#full_resource_name
593
514
  # Corresponds to the JSON property `name`
594
515
  # @return [String]
595
516
  attr_accessor :name
@@ -678,12 +599,11 @@ module Google
678
599
  end
679
600
  end
680
601
 
681
- # Security Command Center representation of a Google Cloud
682
- # resource.
683
- # The Asset is a Security Command Center resource that captures information
684
- # about a single Google Cloud resource. All modifications to an Asset are only
685
- # within the context of Security Command Center and don't affect the referenced
686
- # Google Cloud resource.
602
+ # Security Command Center representation of a Google Cloud resource. The Asset
603
+ # is a Security Command Center resource that captures information about a single
604
+ # Google Cloud resource. All modifications to an Asset are only within the
605
+ # context of Security Command Center and don't affect the referenced Google
606
+ # Cloud resource.
687
607
  class GoogleCloudSecuritycenterV1p1beta1Asset
688
608
  include Google::Apis::Core::Hashable
689
609
 
@@ -694,22 +614,20 @@ module Google
694
614
 
695
615
  # Cloud IAM Policy information associated with the Google Cloud resource
696
616
  # described by the Security Command Center asset. This information is managed
697
- # and defined by the Google Cloud resource and cannot be modified by the
698
- # user.
617
+ # and defined by the Google Cloud resource and cannot be modified by the user.
699
618
  # Corresponds to the JSON property `iamPolicy`
700
619
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
701
620
  attr_accessor :iam_policy
702
621
 
703
- # The relative resource name of this asset. See:
704
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
705
- # Example:
706
- # "organizations/`organization_id`/assets/`asset_id`".
622
+ # The relative resource name of this asset. See: https://cloud.google.com/apis/
623
+ # design/resource_names#relative_resource_name Example: "organizations/`
624
+ # organization_id`/assets/`asset_id`".
707
625
  # Corresponds to the JSON property `name`
708
626
  # @return [String]
709
627
  attr_accessor :name
710
628
 
711
- # Resource managed properties. These properties are managed and defined by
712
- # the Google Cloud resource and cannot be modified by the user.
629
+ # Resource managed properties. These properties are managed and defined by the
630
+ # Google Cloud resource and cannot be modified by the user.
713
631
  # Corresponds to the JSON property `resourceProperties`
714
632
  # @return [Hash<String,Object>]
715
633
  attr_accessor :resource_properties
@@ -720,16 +638,15 @@ module Google
720
638
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
721
639
  attr_accessor :security_center_properties
722
640
 
723
- # User specified security marks that are attached to the parent Security
724
- # Command Center resource. Security marks are scoped within a Security Command
725
- # Center organization -- they can be modified and viewed by all users who have
726
- # proper permissions on the organization.
641
+ # User specified security marks that are attached to the parent Security Command
642
+ # Center resource. Security marks are scoped within a Security Command Center
643
+ # organization -- they can be modified and viewed by all users who have proper
644
+ # permissions on the organization.
727
645
  # Corresponds to the JSON property `securityMarks`
728
646
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
729
647
  attr_accessor :security_marks
730
648
 
731
- # The time at which the asset was last updated, added, or deleted in Cloud
732
- # SCC.
649
+ # The time at which the asset was last updated, added, or deleted in Cloud SCC.
733
650
  # Corresponds to the JSON property `updateTime`
734
651
  # @return [String]
735
652
  attr_accessor :update_time
@@ -750,17 +667,15 @@ module Google
750
667
  end
751
668
  end
752
669
 
753
- # Security Command Center finding.
754
- # A finding is a record of assessment data (security, risk, health or privacy)
755
- # ingested into Security Command Center for presentation, notification,
756
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
757
- # in an App Engine application is a finding.
670
+ # Security Command Center finding. A finding is a record of assessment data (
671
+ # security, risk, health or privacy) ingested into Security Command Center for
672
+ # presentation, notification, analysis, policy testing, and enforcement. For
673
+ # example, an XSS vulnerability in an App Engine application is a finding.
758
674
  class GoogleCloudSecuritycenterV1p1beta1Finding
759
675
  include Google::Apis::Core::Hashable
760
676
 
761
- # The additional taxonomy group within findings from a given source.
762
- # This field is immutable after creation time.
763
- # Example: "XSS_FLASH_INJECTION"
677
+ # The additional taxonomy group within findings from a given source. This field
678
+ # is immutable after creation time. Example: "XSS_FLASH_INJECTION"
764
679
  # Corresponds to the JSON property `category`
765
680
  # @return [String]
766
681
  attr_accessor :category
@@ -770,59 +685,56 @@ module Google
770
685
  # @return [String]
771
686
  attr_accessor :create_time
772
687
 
773
- # The time at which the event took place. For example, if the finding
774
- # represents an open firewall it would capture the time the detector believes
775
- # the firewall became open. The accuracy is determined by the detector.
688
+ # The time at which the event took place. For example, if the finding represents
689
+ # an open firewall it would capture the time the detector believes the firewall
690
+ # became open. The accuracy is determined by the detector.
776
691
  # Corresponds to the JSON property `eventTime`
777
692
  # @return [String]
778
693
  attr_accessor :event_time
779
694
 
780
- # The URI that, if available, points to a web page outside of Security
781
- # Command Center where additional information about the finding can be found.
782
- # This field is guaranteed to be either empty or a well formed URL.
695
+ # The URI that, if available, points to a web page outside of Security Command
696
+ # Center where additional information about the finding can be found. This field
697
+ # is guaranteed to be either empty or a well formed URL.
783
698
  # Corresponds to the JSON property `externalUri`
784
699
  # @return [String]
785
700
  attr_accessor :external_uri
786
701
 
787
- # The relative resource name of this finding. See:
788
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
789
- # Example:
790
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
702
+ # The relative resource name of this finding. See: https://cloud.google.com/apis/
703
+ # design/resource_names#relative_resource_name Example: "organizations/`
704
+ # organization_id`/sources/`source_id`/findings/`finding_id`"
791
705
  # Corresponds to the JSON property `name`
792
706
  # @return [String]
793
707
  attr_accessor :name
794
708
 
795
- # The relative resource name of the source the finding belongs to. See:
796
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
797
- # This field is immutable after creation time.
798
- # For example:
799
- # "organizations/`organization_id`/sources/`source_id`"
709
+ # The relative resource name of the source the finding belongs to. See: https://
710
+ # cloud.google.com/apis/design/resource_names#relative_resource_name This field
711
+ # is immutable after creation time. For example: "organizations/`organization_id`
712
+ # /sources/`source_id`"
800
713
  # Corresponds to the JSON property `parent`
801
714
  # @return [String]
802
715
  attr_accessor :parent
803
716
 
804
- # For findings on Google Cloud resources, the full resource
805
- # name of the Google Cloud resource this finding is for. See:
806
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
807
- # When the finding is for a non-Google Cloud resource, the resourceName can
808
- # be a customer or partner defined string. This field is immutable after
809
- # creation time.
717
+ # For findings on Google Cloud resources, the full resource name of the Google
718
+ # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
719
+ # resource_names#full_resource_name When the finding is for a non-Google Cloud
720
+ # resource, the resourceName can be a customer or partner defined string. This
721
+ # field is immutable after creation time.
810
722
  # Corresponds to the JSON property `resourceName`
811
723
  # @return [String]
812
724
  attr_accessor :resource_name
813
725
 
814
- # User specified security marks that are attached to the parent Security
815
- # Command Center resource. Security marks are scoped within a Security Command
816
- # Center organization -- they can be modified and viewed by all users who have
817
- # proper permissions on the organization.
726
+ # User specified security marks that are attached to the parent Security Command
727
+ # Center resource. Security marks are scoped within a Security Command Center
728
+ # organization -- they can be modified and viewed by all users who have proper
729
+ # permissions on the organization.
818
730
  # Corresponds to the JSON property `securityMarks`
819
731
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
820
732
  attr_accessor :security_marks
821
733
 
822
- # Source specific properties. These properties are managed by the source
823
- # that writes the finding. The key names in the source_properties map must be
824
- # between 1 and 255 characters, and must start with a letter and contain
825
- # alphanumeric characters or underscores only.
734
+ # Source specific properties. These properties are managed by the source that
735
+ # writes the finding. The key names in the source_properties map must be between
736
+ # 1 and 255 characters, and must start with a letter and contain alphanumeric
737
+ # characters or underscores only.
826
738
  # Corresponds to the JSON property `sourceProperties`
827
739
  # @return [Hash<String,Object>]
828
740
  attr_accessor :source_properties
@@ -853,14 +765,12 @@ module Google
853
765
 
854
766
  # Cloud IAM Policy information associated with the Google Cloud resource
855
767
  # described by the Security Command Center asset. This information is managed
856
- # and defined by the Google Cloud resource and cannot be modified by the
857
- # user.
768
+ # and defined by the Google Cloud resource and cannot be modified by the user.
858
769
  class GoogleCloudSecuritycenterV1p1beta1IamPolicy
859
770
  include Google::Apis::Core::Hashable
860
771
 
861
- # The JSON representation of the Policy associated with the asset.
862
- # See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
863
- # format details.
772
+ # The JSON representation of the Policy associated with the asset. See https://
773
+ # cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
864
774
  # Corresponds to the JSON property `policyBlob`
865
775
  # @return [String]
866
776
  attr_accessor :policy_blob
@@ -879,11 +789,10 @@ module Google
879
789
  class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
880
790
  include Google::Apis::Core::Hashable
881
791
 
882
- # Security Command Center finding.
883
- # A finding is a record of assessment data (security, risk, health or privacy)
884
- # ingested into Security Command Center for presentation, notification,
885
- # analysis, policy testing, and enforcement. For example, an XSS vulnerability
886
- # in an App Engine application is a finding.
792
+ # Security Command Center finding. A finding is a record of assessment data (
793
+ # security, risk, health or privacy) ingested into Security Command Center for
794
+ # presentation, notification, analysis, policy testing, and enforcement. For
795
+ # example, an XSS vulnerability in an App Engine application is a finding.
887
796
  # Corresponds to the JSON property `finding`
888
797
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding]
889
798
  attr_accessor :finding
@@ -898,8 +807,8 @@ module Google
898
807
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource]
899
808
  attr_accessor :resource
900
809
 
901
- # Wrapper over asset object that also captures the state change for the asset
902
- # e.g. if it was a newly created asset vs updated or deleted asset.
810
+ # Wrapper over asset object that also captures the state change for the asset e.
811
+ # g. if it was a newly created asset vs updated or deleted asset.
903
812
  # Corresponds to the JSON property `temporalAsset`
904
813
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
905
814
  attr_accessor :temporal_asset
@@ -921,8 +830,8 @@ module Google
921
830
  class GoogleCloudSecuritycenterV1p1beta1Resource
922
831
  include Google::Apis::Core::Hashable
923
832
 
924
- # The full resource name of the resource. See:
925
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
833
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
834
+ # design/resource_names#full_resource_name
926
835
  # Corresponds to the JSON property `name`
927
836
  # @return [String]
928
837
  attr_accessor :name
@@ -996,9 +905,9 @@ module Google
996
905
  # @return [String]
997
906
  attr_accessor :resource_display_name
998
907
 
999
- # The full resource name of the Google Cloud resource this asset
1000
- # represents. This field is immutable after create time. See:
1001
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
908
+ # The full resource name of the Google Cloud resource this asset represents.
909
+ # This field is immutable after create time. See: https://cloud.google.com/apis/
910
+ # design/resource_names#full_resource_name
1002
911
  # Corresponds to the JSON property `resourceName`
1003
912
  # @return [String]
1004
913
  attr_accessor :resource_name
@@ -1008,8 +917,8 @@ module Google
1008
917
  # @return [Array<String>]
1009
918
  attr_accessor :resource_owners
1010
919
 
1011
- # The full resource name of the immediate parent of the resource. See:
1012
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
920
+ # The full resource name of the immediate parent of the resource. See: https://
921
+ # cloud.google.com/apis/design/resource_names#full_resource_name
1013
922
  # Corresponds to the JSON property `resourceParent`
1014
923
  # @return [String]
1015
924
  attr_accessor :resource_parent
@@ -1019,8 +928,8 @@ module Google
1019
928
  # @return [String]
1020
929
  attr_accessor :resource_parent_display_name
1021
930
 
1022
- # The full resource name of the project the resource belongs to. See:
1023
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
931
+ # The full resource name of the project the resource belongs to. See: https://
932
+ # cloud.google.com/apis/design/resource_names#full_resource_name
1024
933
  # Corresponds to the JSON property `resourceProject`
1025
934
  # @return [String]
1026
935
  attr_accessor :resource_project
@@ -1030,10 +939,9 @@ module Google
1030
939
  # @return [String]
1031
940
  attr_accessor :resource_project_display_name
1032
941
 
1033
- # The type of the Google Cloud resource. Examples include: APPLICATION,
1034
- # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
1035
- # Security Command Center and/or the producer of the resource and is
1036
- # immutable after create time.
942
+ # The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
943
+ # and ORGANIZATION. This is a case insensitive field defined by Security Command
944
+ # Center and/or the producer of the resource and is immutable after create time.
1037
945
  # Corresponds to the JSON property `resourceType`
1038
946
  # @return [String]
1039
947
  attr_accessor :resource_type
@@ -1055,30 +963,26 @@ module Google
1055
963
  end
1056
964
  end
1057
965
 
1058
- # User specified security marks that are attached to the parent Security
1059
- # Command Center resource. Security marks are scoped within a Security Command
1060
- # Center organization -- they can be modified and viewed by all users who have
1061
- # proper permissions on the organization.
966
+ # User specified security marks that are attached to the parent Security Command
967
+ # Center resource. Security marks are scoped within a Security Command Center
968
+ # organization -- they can be modified and viewed by all users who have proper
969
+ # permissions on the organization.
1062
970
  class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
1063
971
  include Google::Apis::Core::Hashable
1064
972
 
1065
973
  # Mutable user specified security marks belonging to the parent resource.
1066
- # Constraints are as follows:
1067
- # * Keys and values are treated as case insensitive
1068
- # * Keys must be between 1 - 256 characters (inclusive)
1069
- # * Keys must be letters, numbers, underscores, or dashes
1070
- # * Values have leading and trailing whitespace trimmed, remaining
1071
- # characters must be between 1 - 4096 characters (inclusive)
974
+ # Constraints are as follows: * Keys and values are treated as case insensitive *
975
+ # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
976
+ # numbers, underscores, or dashes * Values have leading and trailing whitespace
977
+ # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
1072
978
  # Corresponds to the JSON property `marks`
1073
979
  # @return [Hash<String,String>]
1074
980
  attr_accessor :marks
1075
981
 
1076
- # The relative resource name of the SecurityMarks. See:
1077
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1078
- # Examples:
1079
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
1080
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
1081
- # securityMarks".
982
+ # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
983
+ # apis/design/resource_names#relative_resource_name Examples: "organizations/`
984
+ # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
985
+ # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
1082
986
  # Corresponds to the JSON property `name`
1083
987
  # @return [String]
1084
988
  attr_accessor :name
@@ -1094,17 +998,16 @@ module Google
1094
998
  end
1095
999
  end
1096
1000
 
1097
- # Wrapper over asset object that also captures the state change for the asset
1098
- # e.g. if it was a newly created asset vs updated or deleted asset.
1001
+ # Wrapper over asset object that also captures the state change for the asset e.
1002
+ # g. if it was a newly created asset vs updated or deleted asset.
1099
1003
  class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
1100
1004
  include Google::Apis::Core::Hashable
1101
1005
 
1102
- # Security Command Center representation of a Google Cloud
1103
- # resource.
1104
- # The Asset is a Security Command Center resource that captures information
1105
- # about a single Google Cloud resource. All modifications to an Asset are only
1106
- # within the context of Security Command Center and don't affect the referenced
1107
- # Google Cloud resource.
1006
+ # Security Command Center representation of a Google Cloud resource. The Asset
1007
+ # is a Security Command Center resource that captures information about a single
1008
+ # Google Cloud resource. All modifications to an Asset are only within the
1009
+ # context of Security Command Center and don't affect the referenced Google
1010
+ # Cloud resource.
1108
1011
  # Corresponds to the JSON property `asset`
1109
1012
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset]
1110
1013
  attr_accessor :asset
@@ -1130,119 +1033,93 @@ module Google
1130
1033
  include Google::Apis::Core::Hashable
1131
1034
 
1132
1035
  # When compare_duration is set, the GroupResult's "state_change" property is
1133
- # updated to indicate whether the asset was added, removed, or remained
1134
- # present during the compare_duration period of time that precedes the
1135
- # read_time. This is the time between (read_time - compare_duration) and
1136
- # read_time.
1137
- # The state change value is derived based on the presence of the asset at the
1138
- # two points in time. Intermediate state changes between the two times don't
1139
- # affect the result. For example, the results aren't affected if the asset is
1140
- # removed and re-created again.
1141
- # Possible "state_change" values when compare_duration is specified:
1142
- # * "ADDED": indicates that the asset was not present at the start of
1143
- # compare_duration, but present at reference_time.
1144
- # * "REMOVED": indicates that the asset was present at the start of
1145
- # compare_duration, but not present at reference_time.
1146
- # * "ACTIVE": indicates that the asset was present at both the
1147
- # start and the end of the time period defined by
1148
- # compare_duration and reference_time.
1149
- # If compare_duration is not specified, then the only possible state_change
1150
- # is "UNUSED", which will be the state_change set for all assets present at
1151
- # read_time.
1152
- # If this field is set then `state_change` must be a specified field in
1153
- # `group_by`.
1036
+ # updated to indicate whether the asset was added, removed, or remained present
1037
+ # during the compare_duration period of time that precedes the read_time. This
1038
+ # is the time between (read_time - compare_duration) and read_time. The state
1039
+ # change value is derived based on the presence of the asset at the two points
1040
+ # in time. Intermediate state changes between the two times don't affect the
1041
+ # result. For example, the results aren't affected if the asset is removed and
1042
+ # re-created again. Possible "state_change" values when compare_duration is
1043
+ # specified: * "ADDED": indicates that the asset was not present at the start of
1044
+ # compare_duration, but present at reference_time. * "REMOVED": indicates that
1045
+ # the asset was present at the start of compare_duration, but not present at
1046
+ # reference_time. * "ACTIVE": indicates that the asset was present at both the
1047
+ # start and the end of the time period defined by compare_duration and
1048
+ # reference_time. If compare_duration is not specified, then the only possible
1049
+ # state_change is "UNUSED", which will be the state_change set for all assets
1050
+ # present at read_time. If this field is set then `state_change` must be a
1051
+ # specified field in `group_by`.
1154
1052
  # Corresponds to the JSON property `compareDuration`
1155
1053
  # @return [String]
1156
1054
  attr_accessor :compare_duration
1157
1055
 
1158
- # Expression that defines the filter to apply across assets.
1159
- # The expression is a list of zero or more restrictions combined via logical
1160
- # operators `AND` and `OR`.
1161
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1162
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1163
- # character in front of them to indicate negation. The fields map to those
1164
- # defined in the Asset resource. Examples include:
1165
- # * name
1166
- # * security_center_properties.resource_name
1167
- # * resource_properties.a_property
1168
- # * security_marks.marks.marka
1169
- # The supported operators are:
1170
- # * `=` for all value types.
1171
- # * `>`, `<`, `>=`, `<=` for integer values.
1172
- # * `:`, meaning substring matching, for strings.
1173
- # The supported value types are:
1174
- # * string literals in quotes.
1175
- # * integer literals without quotes.
1176
- # * boolean literals `true` and `false` without quotes.
1177
- # The following field and operator combinations are supported:
1178
- # * name: `=`
1179
- # * update_time: `=`, `>`, `<`, `>=`, `<=`
1180
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1181
- # Examples:
1182
- # `update_time = "2019-06-10T16:07:18-07:00"`
1183
- # `update_time = 1560208038000`
1184
- # * create_time: `=`, `>`, `<`, `>=`, `<=`
1185
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1186
- # Examples:
1187
- # `create_time = "2019-06-10T16:07:18-07:00"`
1188
- # `create_time = 1560208038000`
1189
- # * iam_policy.policy_blob: `=`, `:`
1190
- # * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1191
- # * security_marks.marks: `=`, `:`
1192
- # * security_center_properties.resource_name: `=`, `:`
1193
- # * security_center_properties.resource_display_name: `=`, `:`
1194
- # * security_center_properties.resource_type: `=`, `:`
1195
- # * security_center_properties.resource_parent: `=`, `:`
1196
- # * security_center_properties.resource_parent_display_name: `=`, `:`
1197
- # * security_center_properties.resource_project: `=`, `:`
1198
- # * security_center_properties.resource_project_display_name: `=`, `:`
1199
- # * security_center_properties.resource_owners: `=`, `:`
1200
- # For example, `resource_properties.size = 100` is a valid filter string.
1201
- # Use a partial match on the empty string to filter based on a property
1202
- # existing: `resource_properties.my_property : ""`
1203
- # Use a negated partial match on the empty string to filter based on a
1204
- # property not existing: `-resource_properties.my_property : ""`
1056
+ # Expression that defines the filter to apply across assets. The expression is a
1057
+ # list of zero or more restrictions combined via logical operators `AND` and `OR`
1058
+ # . Parentheses are supported, and `OR` has higher precedence than `AND`.
1059
+ # Restrictions have the form ` ` and may have a `-` character in front of them
1060
+ # to indicate negation. The fields map to those defined in the Asset resource.
1061
+ # Examples include: * name * security_center_properties.resource_name *
1062
+ # resource_properties.a_property * security_marks.marks.marka The supported
1063
+ # operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
1064
+ # values. * `:`, meaning substring matching, for strings. The supported value
1065
+ # types are: * string literals in quotes. * integer literals without quotes. *
1066
+ # boolean literals `true` and `false` without quotes. The following field and
1067
+ # operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`,
1068
+ # `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string.
1069
+ # Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time =
1070
+ # 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be
1071
+ # milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-
1072
+ # 06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob:
1073
+ # `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` *
1074
+ # security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`,
1075
+ # `:` * security_center_properties.resource_display_name: `=`, `:` *
1076
+ # security_center_properties.resource_type: `=`, `:` *
1077
+ # security_center_properties.resource_parent: `=`, `:` *
1078
+ # security_center_properties.resource_parent_display_name: `=`, `:` *
1079
+ # security_center_properties.resource_project: `=`, `:` *
1080
+ # security_center_properties.resource_project_display_name: `=`, `:` *
1081
+ # security_center_properties.resource_owners: `=`, `:` For example, `
1082
+ # resource_properties.size = 100` is a valid filter string. Use a partial match
1083
+ # on the empty string to filter based on a property existing: `
1084
+ # resource_properties.my_property : ""` Use a negated partial match on the empty
1085
+ # string to filter based on a property not existing: `-resource_properties.
1086
+ # my_property : ""`
1205
1087
  # Corresponds to the JSON property `filter`
1206
1088
  # @return [String]
1207
1089
  attr_accessor :filter
1208
1090
 
1209
1091
  # Required. Expression that defines what assets fields to use for grouping. The
1210
- # string
1211
- # value should follow SQL syntax: comma separated list of fields. For
1212
- # example:
1213
- # "security_center_properties.resource_project,security_center_properties.
1214
- # project".
1215
- # The following fields are supported when compare_duration is not set:
1216
- # * security_center_properties.resource_project
1217
- # * security_center_properties.resource_project_display_name
1218
- # * security_center_properties.resource_type
1219
- # * security_center_properties.resource_parent
1220
- # * security_center_properties.resource_parent_display_name
1221
- # The following fields are supported when compare_duration is set:
1222
- # * security_center_properties.resource_type
1223
- # * security_center_properties.resource_project_display_name
1224
- # * security_center_properties.resource_parent_display_name
1092
+ # string value should follow SQL syntax: comma separated list of fields. For
1093
+ # example: "security_center_properties.resource_project,
1094
+ # security_center_properties.project". The following fields are supported when
1095
+ # compare_duration is not set: * security_center_properties.resource_project *
1096
+ # security_center_properties.resource_project_display_name *
1097
+ # security_center_properties.resource_type * security_center_properties.
1098
+ # resource_parent * security_center_properties.resource_parent_display_name The
1099
+ # following fields are supported when compare_duration is set: *
1100
+ # security_center_properties.resource_type * security_center_properties.
1101
+ # resource_project_display_name * security_center_properties.
1102
+ # resource_parent_display_name
1225
1103
  # Corresponds to the JSON property `groupBy`
1226
1104
  # @return [String]
1227
1105
  attr_accessor :group_by
1228
1106
 
1229
- # The maximum number of results to return in a single response. Default is
1230
- # 10, minimum is 1, maximum is 1000.
1107
+ # The maximum number of results to return in a single response. Default is 10,
1108
+ # minimum is 1, maximum is 1000.
1231
1109
  # Corresponds to the JSON property `pageSize`
1232
1110
  # @return [Fixnum]
1233
1111
  attr_accessor :page_size
1234
1112
 
1235
- # The value returned by the last `GroupAssetsResponse`; indicates
1236
- # that this is a continuation of a prior `GroupAssets` call, and that the
1237
- # system should return the next page of data.
1113
+ # The value returned by the last `GroupAssetsResponse`; indicates that this is a
1114
+ # continuation of a prior `GroupAssets` call, and that the system should return
1115
+ # the next page of data.
1238
1116
  # Corresponds to the JSON property `pageToken`
1239
1117
  # @return [String]
1240
1118
  attr_accessor :page_token
1241
1119
 
1242
- # Time used as a reference point when filtering assets. The filter is limited
1243
- # to assets existing at the supplied time and their values are those at that
1244
- # specific time. Absence of this field will default to the API's version of
1245
- # NOW.
1120
+ # Time used as a reference point when filtering assets. The filter is limited to
1121
+ # assets existing at the supplied time and their values are those at that
1122
+ # specific time. Absence of this field will default to the API's version of NOW.
1246
1123
  # Corresponds to the JSON property `readTime`
1247
1124
  # @return [String]
1248
1125
  attr_accessor :read_time
@@ -1266,9 +1143,9 @@ module Google
1266
1143
  class GroupAssetsResponse
1267
1144
  include Google::Apis::Core::Hashable
1268
1145
 
1269
- # Group results. There exists an element for each existing unique
1270
- # combination of property/values. The element contains a count for the number
1271
- # of times those specific property/values appear.
1146
+ # Group results. There exists an element for each existing unique combination of
1147
+ # property/values. The element contains a count for the number of times those
1148
+ # specific property/values appear.
1272
1149
  # Corresponds to the JSON property `groupByResults`
1273
1150
  # @return [Array<Google::Apis::SecuritycenterV1::GroupResult>]
1274
1151
  attr_accessor :group_by_results
@@ -1307,108 +1184,79 @@ module Google
1307
1184
  include Google::Apis::Core::Hashable
1308
1185
 
1309
1186
  # When compare_duration is set, the GroupResult's "state_change" attribute is
1310
- # updated to indicate whether the finding had its state changed, the
1311
- # finding's state remained unchanged, or if the finding was added during the
1312
- # compare_duration period of time that precedes the read_time. This is the
1313
- # time between (read_time - compare_duration) and read_time.
1314
- # The state_change value is derived based on the presence and state of the
1315
- # finding at the two points in time. Intermediate state changes between the
1316
- # two times don't affect the result. For example, the results aren't affected
1317
- # if the finding is made inactive and then active again.
1318
- # Possible "state_change" values when compare_duration is specified:
1319
- # * "CHANGED": indicates that the finding was present and matched the given
1320
- # filter at the start of compare_duration, but changed its
1321
- # state at read_time.
1322
- # * "UNCHANGED": indicates that the finding was present and matched the given
1323
- # filter at the start of compare_duration and did not change
1324
- # state at read_time.
1325
- # * "ADDED": indicates that the finding did not match the given filter or
1326
- # was not present at the start of compare_duration, but was
1327
- # present at read_time.
1328
- # * "REMOVED": indicates that the finding was present and matched the
1329
- # filter at the start of compare_duration, but did not match
1330
- # the filter at read_time.
1331
- # If compare_duration is not specified, then the only possible state_change
1332
- # is "UNUSED", which will be the state_change set for all findings present
1333
- # at read_time.
1334
- # If this field is set then `state_change` must be a specified field in
1335
- # `group_by`.
1187
+ # updated to indicate whether the finding had its state changed, the finding's
1188
+ # state remained unchanged, or if the finding was added during the
1189
+ # compare_duration period of time that precedes the read_time. This is the time
1190
+ # between (read_time - compare_duration) and read_time. The state_change value
1191
+ # is derived based on the presence and state of the finding at the two points in
1192
+ # time. Intermediate state changes between the two times don't affect the result.
1193
+ # For example, the results aren't affected if the finding is made inactive and
1194
+ # then active again. Possible "state_change" values when compare_duration is
1195
+ # specified: * "CHANGED": indicates that the finding was present and matched the
1196
+ # given filter at the start of compare_duration, but changed its state at
1197
+ # read_time. * "UNCHANGED": indicates that the finding was present and matched
1198
+ # the given filter at the start of compare_duration and did not change state at
1199
+ # read_time. * "ADDED": indicates that the finding did not match the given
1200
+ # filter or was not present at the start of compare_duration, but was present at
1201
+ # read_time. * "REMOVED": indicates that the finding was present and matched the
1202
+ # filter at the start of compare_duration, but did not match the filter at
1203
+ # read_time. If compare_duration is not specified, then the only possible
1204
+ # state_change is "UNUSED", which will be the state_change set for all findings
1205
+ # present at read_time. If this field is set then `state_change` must be a
1206
+ # specified field in `group_by`.
1336
1207
  # Corresponds to the JSON property `compareDuration`
1337
1208
  # @return [String]
1338
1209
  attr_accessor :compare_duration
1339
1210
 
1340
- # Expression that defines the filter to apply across findings.
1341
- # The expression is a list of one or more restrictions combined via logical
1342
- # operators `AND` and `OR`.
1343
- # Parentheses are supported, and `OR` has higher precedence than `AND`.
1344
- # Restrictions have the form `<field> <operator> <value>` and may have a `-`
1345
- # character in front of them to indicate negation. Examples include:
1346
- # * name
1347
- # * source_properties.a_property
1348
- # * security_marks.marks.marka
1349
- # The supported operators are:
1350
- # * `=` for all value types.
1351
- # * `>`, `<`, `>=`, `<=` for integer values.
1352
- # * `:`, meaning substring matching, for strings.
1353
- # The supported value types are:
1354
- # * string literals in quotes.
1355
- # * integer literals without quotes.
1356
- # * boolean literals `true` and `false` without quotes.
1357
- # The following field and operator combinations are supported:
1358
- # * name: `=`
1359
- # * parent: `=`, `:`
1360
- # * resource_name: `=`, `:`
1361
- # * state: `=`, `:`
1362
- # * category: `=`, `:`
1363
- # * external_uri: `=`, `:`
1364
- # * event_time: `=`, `>`, `<`, `>=`, `<=`
1365
- # Usage: This should be milliseconds since epoch or an RFC3339 string.
1366
- # Examples:
1367
- # `event_time = "2019-06-10T16:07:18-07:00"`
1368
- # `event_time = 1560208038000`
1369
- # * security_marks.marks: `=`, `:`
1370
- # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1371
- # For example, `source_properties.size = 100` is a valid filter string.
1372
- # Use a partial match on the empty string to filter based on a property
1373
- # existing: `source_properties.my_property : ""`
1374
- # Use a negated partial match on the empty string to filter based on a
1375
- # property not existing: `-source_properties.my_property : ""`
1211
+ # Expression that defines the filter to apply across findings. The expression is
1212
+ # a list of one or more restrictions combined via logical operators `AND` and `
1213
+ # OR`. Parentheses are supported, and `OR` has higher precedence than `AND`.
1214
+ # Restrictions have the form ` ` and may have a `-` character in front of them
1215
+ # to indicate negation. Examples include: * name * source_properties.a_property *
1216
+ # security_marks.marks.marka The supported operators are: * `=` for all value
1217
+ # types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
1218
+ # matching, for strings. The supported value types are: * string literals in
1219
+ # quotes. * integer literals without quotes. * boolean literals `true` and `
1220
+ # false` without quotes. The following field and operator combinations are
1221
+ # supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
1222
+ # `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
1223
+ # `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
1224
+ # string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
1225
+ # 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`,
1226
+ # `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid
1227
+ # filter string. Use a partial match on the empty string to filter based on a
1228
+ # property existing: `source_properties.my_property : ""` Use a negated partial
1229
+ # match on the empty string to filter based on a property not existing: `-
1230
+ # source_properties.my_property : ""`
1376
1231
  # Corresponds to the JSON property `filter`
1377
1232
  # @return [String]
1378
1233
  attr_accessor :filter
1379
1234
 
1380
1235
  # Required. Expression that defines what assets fields to use for grouping (
1381
- # including
1382
- # `state_change`). The string value should follow SQL syntax: comma separated
1383
- # list of fields. For example: "parent,resource_name".
1384
- # The following fields are supported:
1385
- # * resource_name
1386
- # * category
1387
- # * state
1388
- # * parent
1389
- # The following fields are supported when compare_duration is set:
1390
- # * state_change
1236
+ # including `state_change`). The string value should follow SQL syntax: comma
1237
+ # separated list of fields. For example: "parent,resource_name". The following
1238
+ # fields are supported: * resource_name * category * state * parent The
1239
+ # following fields are supported when compare_duration is set: * state_change
1391
1240
  # Corresponds to the JSON property `groupBy`
1392
1241
  # @return [String]
1393
1242
  attr_accessor :group_by
1394
1243
 
1395
- # The maximum number of results to return in a single response. Default is
1396
- # 10, minimum is 1, maximum is 1000.
1244
+ # The maximum number of results to return in a single response. Default is 10,
1245
+ # minimum is 1, maximum is 1000.
1397
1246
  # Corresponds to the JSON property `pageSize`
1398
1247
  # @return [Fixnum]
1399
1248
  attr_accessor :page_size
1400
1249
 
1401
- # The value returned by the last `GroupFindingsResponse`; indicates
1402
- # that this is a continuation of a prior `GroupFindings` call, and
1403
- # that the system should return the next page of data.
1250
+ # The value returned by the last `GroupFindingsResponse`; indicates that this is
1251
+ # a continuation of a prior `GroupFindings` call, and that the system should
1252
+ # return the next page of data.
1404
1253
  # Corresponds to the JSON property `pageToken`
1405
1254
  # @return [String]
1406
1255
  attr_accessor :page_token
1407
1256
 
1408
- # Time used as a reference point when filtering findings. The filter is
1409
- # limited to findings existing at the supplied time and their values are
1410
- # those at that specific time. Absence of this field will default to the
1411
- # API's version of NOW.
1257
+ # Time used as a reference point when filtering findings. The filter is limited
1258
+ # to findings existing at the supplied time and their values are those at that
1259
+ # specific time. Absence of this field will default to the API's version of NOW.
1412
1260
  # Corresponds to the JSON property `readTime`
1413
1261
  # @return [String]
1414
1262
  attr_accessor :read_time
@@ -1432,9 +1280,9 @@ module Google
1432
1280
  class GroupFindingsResponse
1433
1281
  include Google::Apis::Core::Hashable
1434
1282
 
1435
- # Group results. There exists an element for each existing unique
1436
- # combination of property/values. The element contains a count for the number
1437
- # of times those specific property/values appear.
1283
+ # Group results. There exists an element for each existing unique combination of
1284
+ # property/values. The element contains a count for the number of times those
1285
+ # specific property/values appear.
1438
1286
  # Corresponds to the JSON property `groupByResults`
1439
1287
  # @return [Array<Google::Apis::SecuritycenterV1::GroupResult>]
1440
1288
  attr_accessor :group_by_results
@@ -1495,14 +1343,12 @@ module Google
1495
1343
 
1496
1344
  # Cloud IAM Policy information associated with the Google Cloud resource
1497
1345
  # described by the Security Command Center asset. This information is managed
1498
- # and defined by the Google Cloud resource and cannot be modified by the
1499
- # user.
1346
+ # and defined by the Google Cloud resource and cannot be modified by the user.
1500
1347
  class IamPolicy
1501
1348
  include Google::Apis::Core::Hashable
1502
1349
 
1503
- # The JSON representation of the Policy associated with the asset.
1504
- # See https://cloud.google.com/iam/reference/rest/v1/Policy for format
1505
- # details.
1350
+ # The JSON representation of the Policy associated with the asset. See https://
1351
+ # cloud.google.com/iam/reference/rest/v1/Policy for format details.
1506
1352
  # Corresponds to the JSON property `policyBlob`
1507
1353
  # @return [String]
1508
1354
  attr_accessor :policy_blob
@@ -1559,12 +1405,11 @@ module Google
1559
1405
  class ListAssetsResult
1560
1406
  include Google::Apis::Core::Hashable
1561
1407
 
1562
- # Security Command Center representation of a Google Cloud
1563
- # resource.
1564
- # The Asset is a Security Command Center resource that captures information
1565
- # about a single Google Cloud resource. All modifications to an Asset are only
1566
- # within the context of Security Command Center and don't affect the referenced
1567
- # Google Cloud resource.
1408
+ # Security Command Center representation of a Google Cloud resource. The Asset
1409
+ # is a Security Command Center resource that captures information about a single
1410
+ # Google Cloud resource. All modifications to an Asset are only within the
1411
+ # context of Security Command Center and don't affect the referenced Google
1412
+ # Cloud resource.
1568
1413
  # Corresponds to the JSON property `asset`
1569
1414
  # @return [Google::Apis::SecuritycenterV1::Asset]
1570
1415
  attr_accessor :asset
@@ -1627,18 +1472,17 @@ module Google
1627
1472
  class ListFindingsResult
1628
1473
  include Google::Apis::Core::Hashable
1629
1474
 
1630
- # Security Command Center finding.
1631
- # A finding is a record of assessment data like security, risk, health, or
1632
- # privacy, that is ingested into Security Command Center for presentation,
1633
- # notification, analysis, policy testing, and enforcement. For example, a
1634
- # cross-site scripting (XSS) vulnerability in an App Engine application is a
1635
- # finding.
1475
+ # Security Command Center finding. A finding is a record of assessment data like
1476
+ # security, risk, health, or privacy, that is ingested into Security Command
1477
+ # Center for presentation, notification, analysis, policy testing, and
1478
+ # enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
1479
+ # Engine application is a finding.
1636
1480
  # Corresponds to the JSON property `finding`
1637
1481
  # @return [Google::Apis::SecuritycenterV1::Finding]
1638
1482
  attr_accessor :finding
1639
1483
 
1640
- # Information related to the Google Cloud resource that is
1641
- # associated with this finding.
1484
+ # Information related to the Google Cloud resource that is associated with this
1485
+ # finding. LINT.IfChange
1642
1486
  # Corresponds to the JSON property `resource`
1643
1487
  # @return [Google::Apis::SecuritycenterV1::Resource]
1644
1488
  attr_accessor :resource
@@ -1737,9 +1581,9 @@ module Google
1737
1581
  end
1738
1582
  end
1739
1583
 
1740
- # Cloud Security Command Center (Cloud SCC) notification configs.
1741
- # A notification config is a Cloud SCC resource that contains the configuration
1742
- # to send notifications for create/update events of findings, assets and etc.
1584
+ # Cloud Security Command Center (Cloud SCC) notification configs. A notification
1585
+ # config is a Cloud SCC resource that contains the configuration to send
1586
+ # notifications for create/update events of findings, assets and etc.
1743
1587
  class NotificationConfig
1744
1588
  include Google::Apis::Core::Hashable
1745
1589
 
@@ -1748,28 +1592,27 @@ module Google
1748
1592
  # @return [String]
1749
1593
  attr_accessor :description
1750
1594
 
1751
- # The relative resource name of this notification config. See:
1752
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1753
- # Example:
1754
- # "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1595
+ # The relative resource name of this notification config. See: https://cloud.
1596
+ # google.com/apis/design/resource_names#relative_resource_name Example: "
1597
+ # organizations/`organization_id`/notificationConfigs/notify_public_bucket".
1755
1598
  # Corresponds to the JSON property `name`
1756
1599
  # @return [String]
1757
1600
  attr_accessor :name
1758
1601
 
1759
- # The PubSub topic to send notifications to. Its format is
1760
- # "projects/[project_id]/topics/[topic]".
1602
+ # The PubSub topic to send notifications to. Its format is "projects/[project_id]
1603
+ # /topics/[topic]".
1761
1604
  # Corresponds to the JSON property `pubsubTopic`
1762
1605
  # @return [String]
1763
1606
  attr_accessor :pubsub_topic
1764
1607
 
1765
- # Output only. The service account that needs "pubsub.topics.publish"
1766
- # permission to publish to the PubSub topic.
1608
+ # Output only. The service account that needs "pubsub.topics.publish" permission
1609
+ # to publish to the PubSub topic.
1767
1610
  # Corresponds to the JSON property `serviceAccount`
1768
1611
  # @return [String]
1769
1612
  attr_accessor :service_account
1770
1613
 
1771
- # The config for streaming-based notifications, which send each event as soon
1772
- # as it is detected.
1614
+ # The config for streaming-based notifications, which send each event as soon as
1615
+ # it is detected.
1773
1616
  # Corresponds to the JSON property `streamingConfig`
1774
1617
  # @return [Google::Apis::SecuritycenterV1::StreamingConfig]
1775
1618
  attr_accessor :streaming_config
@@ -1793,47 +1636,45 @@ module Google
1793
1636
  class Operation
1794
1637
  include Google::Apis::Core::Hashable
1795
1638
 
1796
- # If the value is `false`, it means the operation is still in progress.
1797
- # If `true`, the operation is completed, and either `error` or `response` is
1798
- # available.
1639
+ # If the value is `false`, it means the operation is still in progress. If `true`
1640
+ # , the operation is completed, and either `error` or `response` is available.
1799
1641
  # Corresponds to the JSON property `done`
1800
1642
  # @return [Boolean]
1801
1643
  attr_accessor :done
1802
1644
  alias_method :done?, :done
1803
1645
 
1804
- # The `Status` type defines a logical error model that is suitable for
1805
- # different programming environments, including REST APIs and RPC APIs. It is
1806
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1807
- # three pieces of data: error code, error message, and error details.
1808
- # You can find out more about this error model and how to work with it in the
1809
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1646
+ # The `Status` type defines a logical error model that is suitable for different
1647
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1648
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1649
+ # data: error code, error message, and error details. You can find out more
1650
+ # about this error model and how to work with it in the [API Design Guide](https:
1651
+ # //cloud.google.com/apis/design/errors).
1810
1652
  # Corresponds to the JSON property `error`
1811
1653
  # @return [Google::Apis::SecuritycenterV1::Status]
1812
1654
  attr_accessor :error
1813
1655
 
1814
- # Service-specific metadata associated with the operation. It typically
1815
- # contains progress information and common metadata such as create time.
1816
- # Some services might not provide such metadata. Any method that returns a
1817
- # long-running operation should document the metadata type, if any.
1656
+ # Service-specific metadata associated with the operation. It typically contains
1657
+ # progress information and common metadata such as create time. Some services
1658
+ # might not provide such metadata. Any method that returns a long-running
1659
+ # operation should document the metadata type, if any.
1818
1660
  # Corresponds to the JSON property `metadata`
1819
1661
  # @return [Hash<String,Object>]
1820
1662
  attr_accessor :metadata
1821
1663
 
1822
1664
  # The server-assigned name, which is only unique within the same service that
1823
- # originally returns it. If you use the default HTTP mapping, the
1824
- # `name` should be a resource name ending with `operations/`unique_id``.
1665
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1666
+ # be a resource name ending with `operations/`unique_id``.
1825
1667
  # Corresponds to the JSON property `name`
1826
1668
  # @return [String]
1827
1669
  attr_accessor :name
1828
1670
 
1829
- # The normal response of the operation in case of success. If the original
1830
- # method returns no data on success, such as `Delete`, the response is
1831
- # `google.protobuf.Empty`. If the original method is standard
1832
- # `Get`/`Create`/`Update`, the response should be the resource. For other
1833
- # methods, the response should have the type `XxxResponse`, where `Xxx`
1834
- # is the original method name. For example, if the original method name
1835
- # is `TakeSnapshot()`, the inferred response type is
1836
- # `TakeSnapshotResponse`.
1671
+ # The normal response of the operation in case of success. If the original
1672
+ # method returns no data on success, such as `Delete`, the response is `google.
1673
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1674
+ # the response should be the resource. For other methods, the response should
1675
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1676
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1677
+ # response type is `TakeSnapshotResponse`.
1837
1678
  # Corresponds to the JSON property `response`
1838
1679
  # @return [Hash<String,Object>]
1839
1680
  attr_accessor :response
@@ -1852,8 +1693,8 @@ module Google
1852
1693
  end
1853
1694
  end
1854
1695
 
1855
- # User specified settings that are attached to the Security Command
1856
- # Center organization.
1696
+ # User specified settings that are attached to the Security Command Center
1697
+ # organization.
1857
1698
  class OrganizationSettings
1858
1699
  include Google::Apis::Core::Hashable
1859
1700
 
@@ -1862,19 +1703,17 @@ module Google
1862
1703
  # @return [Google::Apis::SecuritycenterV1::AssetDiscoveryConfig]
1863
1704
  attr_accessor :asset_discovery_config
1864
1705
 
1865
- # A flag that indicates if Asset Discovery should be enabled. If the flag is
1866
- # set to `true`, then discovery of assets will occur. If it is set to `false,
1867
- # all historical assets will remain, but discovery of future assets will not
1868
- # occur.
1706
+ # A flag that indicates if Asset Discovery should be enabled. If the flag is set
1707
+ # to `true`, then discovery of assets will occur. If it is set to `false, all
1708
+ # historical assets will remain, but discovery of future assets will not occur.
1869
1709
  # Corresponds to the JSON property `enableAssetDiscovery`
1870
1710
  # @return [Boolean]
1871
1711
  attr_accessor :enable_asset_discovery
1872
1712
  alias_method :enable_asset_discovery?, :enable_asset_discovery
1873
1713
 
1874
- # The relative resource name of the settings. See:
1875
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
1876
- # Example:
1877
- # "organizations/`organization_id`/organizationSettings".
1714
+ # The relative resource name of the settings. See: https://cloud.google.com/apis/
1715
+ # design/resource_names#relative_resource_name Example: "organizations/`
1716
+ # organization_id`/organizationSettings".
1878
1717
  # Corresponds to the JSON property `name`
1879
1718
  # @return [String]
1880
1719
  attr_accessor :name
@@ -1892,66 +1731,32 @@ module Google
1892
1731
  end
1893
1732
 
1894
1733
  # An Identity and Access Management (IAM) policy, which specifies access
1895
- # controls for Google Cloud resources.
1896
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1897
- # `members` to a single `role`. Members can be user accounts, service accounts,
1898
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1899
- # permissions; each `role` can be an IAM predefined role or a user-created
1900
- # custom role.
1901
- # For some types of Google Cloud resources, a `binding` can also specify a
1902
- # `condition`, which is a logical expression that allows access to a resource
1903
- # only if the expression evaluates to `true`. A condition can add constraints
1904
- # based on attributes of the request, the resource, or both. To learn which
1905
- # resources support conditions in their IAM policies, see the
1906
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1907
- # policies).
1908
- # **JSON example:**
1909
- # `
1910
- # "bindings": [
1911
- # `
1912
- # "role": "roles/resourcemanager.organizationAdmin",
1913
- # "members": [
1914
- # "user:mike@example.com",
1915
- # "group:admins@example.com",
1916
- # "domain:google.com",
1917
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1918
- # ]
1919
- # `,
1920
- # `
1921
- # "role": "roles/resourcemanager.organizationViewer",
1922
- # "members": [
1923
- # "user:eve@example.com"
1924
- # ],
1925
- # "condition": `
1926
- # "title": "expirable access",
1927
- # "description": "Does not grant access after Sep 2020",
1928
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1929
- # ",
1930
- # `
1931
- # `
1932
- # ],
1933
- # "etag": "BwWWja0YfJA=",
1934
- # "version": 3
1935
- # `
1936
- # **YAML example:**
1937
- # bindings:
1938
- # - members:
1939
- # - user:mike@example.com
1940
- # - group:admins@example.com
1941
- # - domain:google.com
1942
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1943
- # role: roles/resourcemanager.organizationAdmin
1944
- # - members:
1945
- # - user:eve@example.com
1946
- # role: roles/resourcemanager.organizationViewer
1947
- # condition:
1948
- # title: expirable access
1949
- # description: Does not grant access after Sep 2020
1950
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1951
- # - etag: BwWWja0YfJA=
1952
- # - version: 3
1953
- # For a description of IAM and its features, see the
1954
- # [IAM documentation](https://cloud.google.com/iam/docs/).
1734
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1735
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1736
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1737
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1738
+ # role or a user-created custom role. For some types of Google Cloud resources,
1739
+ # a `binding` can also specify a `condition`, which is a logical expression that
1740
+ # allows access to a resource only if the expression evaluates to `true`. A
1741
+ # condition can add constraints based on attributes of the request, the resource,
1742
+ # or both. To learn which resources support conditions in their IAM policies,
1743
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1744
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1745
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1746
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1747
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1748
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1749
+ # title": "expirable access", "description": "Does not grant access after Sep
1750
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1751
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1752
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1753
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1754
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1755
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1756
+ # description: Does not grant access after Sep 2020 expression: request.time <
1757
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1758
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1759
+ # google.com/iam/docs/).
1955
1760
  class Policy
1956
1761
  include Google::Apis::Core::Hashable
1957
1762
 
@@ -1960,48 +1765,44 @@ module Google
1960
1765
  # @return [Array<Google::Apis::SecuritycenterV1::AuditConfig>]
1961
1766
  attr_accessor :audit_configs
1962
1767
 
1963
- # Associates a list of `members` to a `role`. Optionally, may specify a
1964
- # `condition` that determines how and when the `bindings` are applied. Each
1965
- # of the `bindings` must contain at least one member.
1768
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
1769
+ # condition` that determines how and when the `bindings` are applied. Each of
1770
+ # the `bindings` must contain at least one member.
1966
1771
  # Corresponds to the JSON property `bindings`
1967
1772
  # @return [Array<Google::Apis::SecuritycenterV1::Binding>]
1968
1773
  attr_accessor :bindings
1969
1774
 
1970
- # `etag` is used for optimistic concurrency control as a way to help
1971
- # prevent simultaneous updates of a policy from overwriting each other.
1972
- # It is strongly suggested that systems make use of the `etag` in the
1973
- # read-modify-write cycle to perform policy updates in order to avoid race
1974
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1975
- # systems are expected to put that etag in the request to `setIamPolicy` to
1976
- # ensure that their change will be applied to the same version of the policy.
1977
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1978
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1979
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1980
- # the conditions in the version `3` policy are lost.
1775
+ # `etag` is used for optimistic concurrency control as a way to help prevent
1776
+ # simultaneous updates of a policy from overwriting each other. It is strongly
1777
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
1778
+ # to perform policy updates in order to avoid race conditions: An `etag` is
1779
+ # returned in the response to `getIamPolicy`, and systems are expected to put
1780
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
1781
+ # applied to the same version of the policy. **Important:** If you use IAM
1782
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1783
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1784
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1785
+ # are lost.
1981
1786
  # Corresponds to the JSON property `etag`
1982
1787
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1983
1788
  # @return [String]
1984
1789
  attr_accessor :etag
1985
1790
 
1986
- # Specifies the format of the policy.
1987
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1988
- # are rejected.
1989
- # Any operation that affects conditional role bindings must specify version
1990
- # `3`. This requirement applies to the following operations:
1991
- # * Getting a policy that includes a conditional role binding
1992
- # * Adding a conditional role binding to a policy
1993
- # * Changing a conditional role binding in a policy
1994
- # * Removing any role binding, with or without a condition, from a policy
1995
- # that includes conditions
1996
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1997
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1998
- # you to overwrite a version `3` policy with a version `1` policy, and all of
1999
- # the conditions in the version `3` policy are lost.
2000
- # If a policy does not include any conditions, operations on that policy may
2001
- # specify any valid version or leave the field unset.
2002
- # To learn which resources support conditions in their IAM policies, see the
2003
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2004
- # policies).
1791
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1792
+ # Requests that specify an invalid value are rejected. Any operation that
1793
+ # affects conditional role bindings must specify version `3`. This requirement
1794
+ # applies to the following operations: * Getting a policy that includes a
1795
+ # conditional role binding * Adding a conditional role binding to a policy *
1796
+ # Changing a conditional role binding in a policy * Removing any role binding,
1797
+ # with or without a condition, from a policy that includes conditions **
1798
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1799
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1800
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
1801
+ # conditions in the version `3` policy are lost. If a policy does not include
1802
+ # any conditions, operations on that policy may specify any valid version or
1803
+ # leave the field unset. To learn which resources support conditions in their
1804
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1805
+ # conditions/resource-policies).
2005
1806
  # Corresponds to the JSON property `version`
2006
1807
  # @return [Fixnum]
2007
1808
  attr_accessor :version
@@ -2019,13 +1820,13 @@ module Google
2019
1820
  end
2020
1821
  end
2021
1822
 
2022
- # Information related to the Google Cloud resource that is
2023
- # associated with this finding.
1823
+ # Information related to the Google Cloud resource that is associated with this
1824
+ # finding. LINT.IfChange
2024
1825
  class Resource
2025
1826
  include Google::Apis::Core::Hashable
2026
1827
 
2027
- # The full resource name of the resource. See:
2028
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1828
+ # The full resource name of the resource. See: https://cloud.google.com/apis/
1829
+ # design/resource_names#full_resource_name
2029
1830
  # Corresponds to the JSON property `name`
2030
1831
  # @return [String]
2031
1832
  attr_accessor :name
@@ -2087,9 +1888,9 @@ module Google
2087
1888
  # @return [String]
2088
1889
  attr_accessor :resource_display_name
2089
1890
 
2090
- # The full resource name of the Google Cloud resource this asset
2091
- # represents. This field is immutable after create time. See:
2092
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1891
+ # The full resource name of the Google Cloud resource this asset represents.
1892
+ # This field is immutable after create time. See: https://cloud.google.com/apis/
1893
+ # design/resource_names#full_resource_name
2093
1894
  # Corresponds to the JSON property `resourceName`
2094
1895
  # @return [String]
2095
1896
  attr_accessor :resource_name
@@ -2099,8 +1900,8 @@ module Google
2099
1900
  # @return [Array<String>]
2100
1901
  attr_accessor :resource_owners
2101
1902
 
2102
- # The full resource name of the immediate parent of the resource. See:
2103
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1903
+ # The full resource name of the immediate parent of the resource. See: https://
1904
+ # cloud.google.com/apis/design/resource_names#full_resource_name
2104
1905
  # Corresponds to the JSON property `resourceParent`
2105
1906
  # @return [String]
2106
1907
  attr_accessor :resource_parent
@@ -2110,8 +1911,8 @@ module Google
2110
1911
  # @return [String]
2111
1912
  attr_accessor :resource_parent_display_name
2112
1913
 
2113
- # The full resource name of the project the resource belongs to. See:
2114
- # https://cloud.google.com/apis/design/resource_names#full_resource_name
1914
+ # The full resource name of the project the resource belongs to. See: https://
1915
+ # cloud.google.com/apis/design/resource_names#full_resource_name
2115
1916
  # Corresponds to the JSON property `resourceProject`
2116
1917
  # @return [String]
2117
1918
  attr_accessor :resource_project
@@ -2121,10 +1922,9 @@ module Google
2121
1922
  # @return [String]
2122
1923
  attr_accessor :resource_project_display_name
2123
1924
 
2124
- # The type of the Google Cloud resource. Examples include: APPLICATION,
2125
- # PROJECT, and ORGANIZATION. This is a case insensitive field defined by
2126
- # Security Command Center and/or the producer of the resource and is
2127
- # immutable after create time.
1925
+ # The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
1926
+ # and ORGANIZATION. This is a case insensitive field defined by Security Command
1927
+ # Center and/or the producer of the resource and is immutable after create time.
2128
1928
  # Corresponds to the JSON property `resourceType`
2129
1929
  # @return [String]
2130
1930
  attr_accessor :resource_type
@@ -2146,30 +1946,26 @@ module Google
2146
1946
  end
2147
1947
  end
2148
1948
 
2149
- # User specified security marks that are attached to the parent Security
2150
- # Command Center resource. Security marks are scoped within a Security Command
2151
- # Center organization -- they can be modified and viewed by all users who have
2152
- # proper permissions on the organization.
1949
+ # User specified security marks that are attached to the parent Security Command
1950
+ # Center resource. Security marks are scoped within a Security Command Center
1951
+ # organization -- they can be modified and viewed by all users who have proper
1952
+ # permissions on the organization.
2153
1953
  class SecurityMarks
2154
1954
  include Google::Apis::Core::Hashable
2155
1955
 
2156
1956
  # Mutable user specified security marks belonging to the parent resource.
2157
- # Constraints are as follows:
2158
- # * Keys and values are treated as case insensitive
2159
- # * Keys must be between 1 - 256 characters (inclusive)
2160
- # * Keys must be letters, numbers, underscores, or dashes
2161
- # * Values have leading and trailing whitespace trimmed, remaining
2162
- # characters must be between 1 - 4096 characters (inclusive)
1957
+ # Constraints are as follows: * Keys and values are treated as case insensitive *
1958
+ # Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
1959
+ # numbers, underscores, or dashes * Values have leading and trailing whitespace
1960
+ # trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
2163
1961
  # Corresponds to the JSON property `marks`
2164
1962
  # @return [Hash<String,String>]
2165
1963
  attr_accessor :marks
2166
1964
 
2167
- # The relative resource name of the SecurityMarks. See:
2168
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2169
- # Examples:
2170
- # "organizations/`organization_id`/assets/`asset_id`/securityMarks"
2171
- # "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
2172
- # securityMarks".
1965
+ # The relative resource name of the SecurityMarks. See: https://cloud.google.com/
1966
+ # apis/design/resource_names#relative_resource_name Examples: "organizations/`
1967
+ # organization_id`/assets/`asset_id`/securityMarks" "organizations/`
1968
+ # organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
2173
1969
  # Corresponds to the JSON property `name`
2174
1970
  # @return [String]
2175
1971
  attr_accessor :name
@@ -2215,74 +2011,39 @@ module Google
2215
2011
  include Google::Apis::Core::Hashable
2216
2012
 
2217
2013
  # An Identity and Access Management (IAM) policy, which specifies access
2218
- # controls for Google Cloud resources.
2219
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2220
- # `members` to a single `role`. Members can be user accounts, service accounts,
2221
- # Google groups, and domains (such as G Suite). A `role` is a named list of
2222
- # permissions; each `role` can be an IAM predefined role or a user-created
2223
- # custom role.
2224
- # For some types of Google Cloud resources, a `binding` can also specify a
2225
- # `condition`, which is a logical expression that allows access to a resource
2226
- # only if the expression evaluates to `true`. A condition can add constraints
2227
- # based on attributes of the request, the resource, or both. To learn which
2228
- # resources support conditions in their IAM policies, see the
2229
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2230
- # policies).
2231
- # **JSON example:**
2232
- # `
2233
- # "bindings": [
2234
- # `
2235
- # "role": "roles/resourcemanager.organizationAdmin",
2236
- # "members": [
2237
- # "user:mike@example.com",
2238
- # "group:admins@example.com",
2239
- # "domain:google.com",
2240
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2241
- # ]
2242
- # `,
2243
- # `
2244
- # "role": "roles/resourcemanager.organizationViewer",
2245
- # "members": [
2246
- # "user:eve@example.com"
2247
- # ],
2248
- # "condition": `
2249
- # "title": "expirable access",
2250
- # "description": "Does not grant access after Sep 2020",
2251
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2252
- # ",
2253
- # `
2254
- # `
2255
- # ],
2256
- # "etag": "BwWWja0YfJA=",
2257
- # "version": 3
2258
- # `
2259
- # **YAML example:**
2260
- # bindings:
2261
- # - members:
2262
- # - user:mike@example.com
2263
- # - group:admins@example.com
2264
- # - domain:google.com
2265
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2266
- # role: roles/resourcemanager.organizationAdmin
2267
- # - members:
2268
- # - user:eve@example.com
2269
- # role: roles/resourcemanager.organizationViewer
2270
- # condition:
2271
- # title: expirable access
2272
- # description: Does not grant access after Sep 2020
2273
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2274
- # - etag: BwWWja0YfJA=
2275
- # - version: 3
2276
- # For a description of IAM and its features, see the
2277
- # [IAM documentation](https://cloud.google.com/iam/docs/).
2014
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2015
+ # A `binding` binds one or more `members` to a single `role`. Members can be
2016
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
2017
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
2018
+ # role or a user-created custom role. For some types of Google Cloud resources,
2019
+ # a `binding` can also specify a `condition`, which is a logical expression that
2020
+ # allows access to a resource only if the expression evaluates to `true`. A
2021
+ # condition can add constraints based on attributes of the request, the resource,
2022
+ # or both. To learn which resources support conditions in their IAM policies,
2023
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2024
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2025
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2026
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2027
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2028
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2029
+ # title": "expirable access", "description": "Does not grant access after Sep
2030
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2031
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2032
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
2033
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2034
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2035
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
2036
+ # description: Does not grant access after Sep 2020 expression: request.time <
2037
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2038
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
2039
+ # google.com/iam/docs/).
2278
2040
  # Corresponds to the JSON property `policy`
2279
2041
  # @return [Google::Apis::SecuritycenterV1::Policy]
2280
2042
  attr_accessor :policy
2281
2043
 
2282
2044
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2283
- # the fields in the mask will be modified. If no mask is provided, the
2284
- # following default mask is used:
2285
- # `paths: "bindings, etag"`
2045
+ # the fields in the mask will be modified. If no mask is provided, the following
2046
+ # default mask is used: `paths: "bindings, etag"`
2286
2047
  # Corresponds to the JSON property `updateMask`
2287
2048
  # @return [String]
2288
2049
  attr_accessor :update_mask
@@ -2298,37 +2059,32 @@ module Google
2298
2059
  end
2299
2060
  end
2300
2061
 
2301
- # Security Command Center finding source. A finding source
2302
- # is an entity or a mechanism that can produce a finding. A source is like a
2303
- # container of findings that come from the same scanner, logger, monitor, and
2304
- # other tools.
2062
+ # Security Command Center finding source. A finding source is an entity or a
2063
+ # mechanism that can produce a finding. A source is like a container of findings
2064
+ # that come from the same scanner, logger, monitor, and other tools.
2305
2065
  class Source
2306
2066
  include Google::Apis::Core::Hashable
2307
2067
 
2308
- # The description of the source (max of 1024 characters).
2309
- # Example:
2310
- # "Web Security Scanner is a web security scanner for common
2311
- # vulnerabilities in App Engine applications. It can automatically
2312
- # scan and detect four common vulnerabilities, including cross-site-scripting
2313
- # (XSS), Flash injection, mixed content (HTTP in HTTPS), and
2314
- # outdated or insecure libraries."
2068
+ # The description of the source (max of 1024 characters). Example: "Web Security
2069
+ # Scanner is a web security scanner for common vulnerabilities in App Engine
2070
+ # applications. It can automatically scan and detect four common vulnerabilities,
2071
+ # including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
2072
+ # HTTPS), and outdated or insecure libraries."
2315
2073
  # Corresponds to the JSON property `description`
2316
2074
  # @return [String]
2317
2075
  attr_accessor :description
2318
2076
 
2319
- # The source's display name.
2320
- # A source's display name must be unique amongst its siblings, for example,
2321
- # two sources with the same parent can't share the same display name.
2322
- # The display name must have a length between 1 and 64 characters
2323
- # (inclusive).
2077
+ # The source's display name. A source's display name must be unique amongst its
2078
+ # siblings, for example, two sources with the same parent can't share the same
2079
+ # display name. The display name must have a length between 1 and 64 characters (
2080
+ # inclusive).
2324
2081
  # Corresponds to the JSON property `displayName`
2325
2082
  # @return [String]
2326
2083
  attr_accessor :display_name
2327
2084
 
2328
- # The relative resource name of this source. See:
2329
- # https://cloud.google.com/apis/design/resource_names#relative_resource_name
2330
- # Example:
2331
- # "organizations/`organization_id`/sources/`source_id`"
2085
+ # The relative resource name of this source. See: https://cloud.google.com/apis/
2086
+ # design/resource_names#relative_resource_name Example: "organizations/`
2087
+ # organization_id`/sources/`source_id`"
2332
2088
  # Corresponds to the JSON property `name`
2333
2089
  # @return [String]
2334
2090
  attr_accessor :name
@@ -2345,12 +2101,12 @@ module Google
2345
2101
  end
2346
2102
  end
2347
2103
 
2348
- # The `Status` type defines a logical error model that is suitable for
2349
- # different programming environments, including REST APIs and RPC APIs. It is
2350
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2351
- # three pieces of data: error code, error message, and error details.
2352
- # You can find out more about this error model and how to work with it in the
2353
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2104
+ # The `Status` type defines a logical error model that is suitable for different
2105
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2106
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2107
+ # data: error code, error message, and error details. You can find out more
2108
+ # about this error model and how to work with it in the [API Design Guide](https:
2109
+ # //cloud.google.com/apis/design/errors).
2354
2110
  class Status
2355
2111
  include Google::Apis::Core::Hashable
2356
2112
 
@@ -2359,15 +2115,15 @@ module Google
2359
2115
  # @return [Fixnum]
2360
2116
  attr_accessor :code
2361
2117
 
2362
- # A list of messages that carry the error details. There is a common set of
2118
+ # A list of messages that carry the error details. There is a common set of
2363
2119
  # message types for APIs to use.
2364
2120
  # Corresponds to the JSON property `details`
2365
2121
  # @return [Array<Hash<String,Object>>]
2366
2122
  attr_accessor :details
2367
2123
 
2368
- # A developer-facing error message, which should be in English. Any
2369
- # user-facing error message should be localized and sent in the
2370
- # google.rpc.Status.details field, or localized by the client.
2124
+ # A developer-facing error message, which should be in English. Any user-facing
2125
+ # error message should be localized and sent in the google.rpc.Status.details
2126
+ # field, or localized by the client.
2371
2127
  # Corresponds to the JSON property `message`
2372
2128
  # @return [String]
2373
2129
  attr_accessor :message
@@ -2384,27 +2140,21 @@ module Google
2384
2140
  end
2385
2141
  end
2386
2142
 
2387
- # The config for streaming-based notifications, which send each event as soon
2388
- # as it is detected.
2143
+ # The config for streaming-based notifications, which send each event as soon as
2144
+ # it is detected.
2389
2145
  class StreamingConfig
2390
2146
  include Google::Apis::Core::Hashable
2391
2147
 
2392
- # Expression that defines the filter to apply across create/update events
2393
- # of assets or findings as specified by the event type. The expression is a
2394
- # list of zero or more restrictions combined via logical operators `AND`
2395
- # and `OR`. Parentheses are supported, and `OR` has higher precedence than
2396
- # `AND`.
2397
- # Restrictions have the form `<field> <operator> <value>` and may have a
2398
- # `-` character in front of them to indicate negation. The fields map to
2399
- # those defined in the corresponding resource.
2400
- # The supported operators are:
2401
- # * `=` for all value types.
2402
- # * `>`, `<`, `>=`, `<=` for integer values.
2403
- # * `:`, meaning substring matching, for strings.
2404
- # The supported value types are:
2405
- # * string literals in quotes.
2406
- # * integer literals without quotes.
2407
- # * boolean literals `true` and `false` without quotes.
2148
+ # Expression that defines the filter to apply across create/update events of
2149
+ # assets or findings as specified by the event type. The expression is a list of
2150
+ # zero or more restrictions combined via logical operators `AND` and `OR`.
2151
+ # Parentheses are supported, and `OR` has higher precedence than `AND`.
2152
+ # Restrictions have the form ` ` and may have a `-` character in front of them
2153
+ # to indicate negation. The fields map to those defined in the corresponding
2154
+ # resource. The supported operators are: * `=` for all value types. * `>`, `<`, `
2155
+ # >=`, `<=` for integer values. * `:`, meaning substring matching, for strings.
2156
+ # The supported value types are: * string literals in quotes. * integer literals
2157
+ # without quotes. * boolean literals `true` and `false` without quotes.
2408
2158
  # Corresponds to the JSON property `filter`
2409
2159
  # @return [String]
2410
2160
  attr_accessor :filter
@@ -2423,10 +2173,9 @@ module Google
2423
2173
  class TestIamPermissionsRequest
2424
2174
  include Google::Apis::Core::Hashable
2425
2175
 
2426
- # The set of permissions to check for the `resource`. Permissions with
2427
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
2428
- # information see
2429
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
2176
+ # The set of permissions to check for the `resource`. Permissions with wildcards
2177
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2178
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2430
2179
  # Corresponds to the JSON property `permissions`
2431
2180
  # @return [Array<String>]
2432
2181
  attr_accessor :permissions
@@ -2445,8 +2194,7 @@ module Google
2445
2194
  class TestIamPermissionsResponse
2446
2195
  include Google::Apis::Core::Hashable
2447
2196
 
2448
- # A subset of `TestPermissionsRequest.permissions` that the caller is
2449
- # allowed.
2197
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2450
2198
  # Corresponds to the JSON property `permissions`
2451
2199
  # @return [Array<String>]
2452
2200
  attr_accessor :permissions