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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +129 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -270
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +733 -1180
- data/generated/google/apis/apigee_v1/service.rb +879 -1133
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +350 -20
- data/generated/google/apis/compute_alpha/representations.rb +100 -0
- data/generated/google/apis/compute_alpha/service.rb +15 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +39 -14
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +15 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +65 -42
- data/generated/google/apis/compute_v1/representations.rb +18 -15
- data/generated/google/apis/compute_v1/service.rb +63 -19
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +26 -0
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -492
- data/generated/google/apis/customsearch_v1/service.rb +184 -341
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
- data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/datafusion_v1/representations.rb +390 -0
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +192 -316
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
- data/generated/google/apis/dialogflow_v2/service.rb +324 -448
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
- data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
- data/generated/google/apis/displayvideo_v1/service.rb +104 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -4
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -7
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -1
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +257 -286
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +26 -14
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/memcache_v1.rb +35 -0
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/memcache_v1/service.rb +558 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +12 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +31 -14
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +721 -0
- data/generated/google/apis/osconfig_v1/representations.rb +337 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +148 -13
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +60 -48
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -2
- data/generated/google/apis/run_v1/service.rb +38 -2
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
- data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +937 -1175
- data/generated/google/apis/youtube_v3/service.rb +975 -1284
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -7
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
|
27
27
|
module SecuritycenterV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
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 SecuritycenterV1beta1
|
|
24
24
|
|
|
25
|
-
# Security Command Center representation of a Google Cloud
|
|
26
|
-
# resource
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
#
|
|
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
|
|
|
@@ -36,16 +35,15 @@ module Google
|
|
|
36
35
|
# @return [String]
|
|
37
36
|
attr_accessor :create_time
|
|
38
37
|
|
|
39
|
-
# The relative resource name of this asset. See:
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
# "organizations/`organization_id`/assets/`asset_id`".
|
|
38
|
+
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
|
39
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
40
|
+
# organization_id`/assets/`asset_id`".
|
|
43
41
|
# Corresponds to the JSON property `name`
|
|
44
42
|
# @return [String]
|
|
45
43
|
attr_accessor :name
|
|
46
44
|
|
|
47
|
-
# Resource managed properties. These properties are managed and defined by
|
|
48
|
-
#
|
|
45
|
+
# Resource managed properties. These properties are managed and defined by the
|
|
46
|
+
# Google Cloud resource and cannot be modified by the user.
|
|
49
47
|
# Corresponds to the JSON property `resourceProperties`
|
|
50
48
|
# @return [Hash<String,Object>]
|
|
51
49
|
attr_accessor :resource_properties
|
|
@@ -56,10 +54,10 @@ module Google
|
|
|
56
54
|
# @return [Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties]
|
|
57
55
|
attr_accessor :security_center_properties
|
|
58
56
|
|
|
59
|
-
# User specified security marks that are attached to the parent Security
|
|
60
|
-
#
|
|
61
|
-
#
|
|
62
|
-
#
|
|
57
|
+
# User specified security marks that are attached to the parent Security Command
|
|
58
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
59
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
60
|
+
# permissions on the organization.
|
|
63
61
|
# Corresponds to the JSON property `securityMarks`
|
|
64
62
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
|
65
63
|
attr_accessor :security_marks
|
|
@@ -110,53 +108,21 @@ module Google
|
|
|
110
108
|
end
|
|
111
109
|
end
|
|
112
110
|
|
|
113
|
-
# Specifies the audit configuration for a service.
|
|
114
|
-
#
|
|
115
|
-
#
|
|
116
|
-
#
|
|
117
|
-
#
|
|
118
|
-
#
|
|
119
|
-
#
|
|
120
|
-
#
|
|
121
|
-
#
|
|
122
|
-
# `
|
|
123
|
-
# "
|
|
124
|
-
# `
|
|
125
|
-
#
|
|
126
|
-
#
|
|
127
|
-
#
|
|
128
|
-
# "log_type": "DATA_READ",
|
|
129
|
-
# "exempted_members": [
|
|
130
|
-
# "user:jose@example.com"
|
|
131
|
-
# ]
|
|
132
|
-
# `,
|
|
133
|
-
# `
|
|
134
|
-
# "log_type": "DATA_WRITE"
|
|
135
|
-
# `,
|
|
136
|
-
# `
|
|
137
|
-
# "log_type": "ADMIN_READ"
|
|
138
|
-
# `
|
|
139
|
-
# ]
|
|
140
|
-
# `,
|
|
141
|
-
# `
|
|
142
|
-
# "service": "sampleservice.googleapis.com",
|
|
143
|
-
# "audit_log_configs": [
|
|
144
|
-
# `
|
|
145
|
-
# "log_type": "DATA_READ"
|
|
146
|
-
# `,
|
|
147
|
-
# `
|
|
148
|
-
# "log_type": "DATA_WRITE",
|
|
149
|
-
# "exempted_members": [
|
|
150
|
-
# "user:aliya@example.com"
|
|
151
|
-
# ]
|
|
152
|
-
# `
|
|
153
|
-
# ]
|
|
154
|
-
# `
|
|
155
|
-
# ]
|
|
156
|
-
# `
|
|
157
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
|
158
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
|
159
|
-
# aliya@example.com from DATA_WRITE logging.
|
|
111
|
+
# Specifies the audit configuration for a service. The configuration determines
|
|
112
|
+
# which permission types are logged, and what identities, if any, are exempted
|
|
113
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
|
114
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
|
115
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
|
116
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
|
117
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
|
118
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
|
119
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
|
120
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
|
121
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
|
122
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
|
123
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
|
124
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
|
125
|
+
# DATA_WRITE logging.
|
|
160
126
|
class AuditConfig
|
|
161
127
|
include Google::Apis::Core::Hashable
|
|
162
128
|
|
|
@@ -165,9 +131,9 @@ module Google
|
|
|
165
131
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::AuditLogConfig>]
|
|
166
132
|
attr_accessor :audit_log_configs
|
|
167
133
|
|
|
168
|
-
# Specifies a service that will be enabled for audit logging.
|
|
169
|
-
#
|
|
170
|
-
#
|
|
134
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
|
135
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
|
136
|
+
# value that covers all services.
|
|
171
137
|
# Corresponds to the JSON property `service`
|
|
172
138
|
# @return [String]
|
|
173
139
|
attr_accessor :service
|
|
@@ -183,28 +149,15 @@ module Google
|
|
|
183
149
|
end
|
|
184
150
|
end
|
|
185
151
|
|
|
186
|
-
# Provides the configuration for logging a type of permissions.
|
|
187
|
-
#
|
|
188
|
-
# `
|
|
189
|
-
#
|
|
190
|
-
#
|
|
191
|
-
# "log_type": "DATA_READ",
|
|
192
|
-
# "exempted_members": [
|
|
193
|
-
# "user:jose@example.com"
|
|
194
|
-
# ]
|
|
195
|
-
# `,
|
|
196
|
-
# `
|
|
197
|
-
# "log_type": "DATA_WRITE"
|
|
198
|
-
# `
|
|
199
|
-
# ]
|
|
200
|
-
# `
|
|
201
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
|
202
|
-
# jose@example.com from DATA_READ logging.
|
|
152
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
|
153
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
|
154
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
|
155
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
|
156
|
+
# DATA_READ logging.
|
|
203
157
|
class AuditLogConfig
|
|
204
158
|
include Google::Apis::Core::Hashable
|
|
205
159
|
|
|
206
|
-
# Specifies the identities that do not cause logging for this type of
|
|
207
|
-
# permission.
|
|
160
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
|
208
161
|
# Follows the same format of Binding.members.
|
|
209
162
|
# Corresponds to the JSON property `exemptedMembers`
|
|
210
163
|
# @return [Array<String>]
|
|
@@ -230,69 +183,57 @@ module Google
|
|
|
230
183
|
class Binding
|
|
231
184
|
include Google::Apis::Core::Hashable
|
|
232
185
|
|
|
233
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
234
|
-
#
|
|
235
|
-
#
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
# description: "Determines if
|
|
239
|
-
# expression: "document.
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
245
|
-
#
|
|
246
|
-
#
|
|
247
|
-
#
|
|
248
|
-
# Example (Data Manipulation):
|
|
249
|
-
# title: "Notification string"
|
|
250
|
-
# description: "Create a notification string with a timestamp."
|
|
251
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
252
|
-
# The exact variables and functions that may be referenced within an expression
|
|
253
|
-
# are determined by the service that evaluates it. See the service
|
|
254
|
-
# documentation for additional information.
|
|
186
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
187
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
188
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
189
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
190
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
191
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
192
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
193
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
194
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
195
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
196
|
+
# string" description: "Create a notification string with a timestamp."
|
|
197
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
198
|
+
# exact variables and functions that may be referenced within an expression are
|
|
199
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
200
|
+
# additional information.
|
|
255
201
|
# Corresponds to the JSON property `condition`
|
|
256
202
|
# @return [Google::Apis::SecuritycenterV1beta1::Expr]
|
|
257
203
|
attr_accessor :condition
|
|
258
204
|
|
|
259
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
|
260
|
-
#
|
|
261
|
-
#
|
|
262
|
-
#
|
|
263
|
-
#
|
|
264
|
-
#
|
|
265
|
-
# * `
|
|
266
|
-
# account. For example, `
|
|
267
|
-
# * `
|
|
268
|
-
#
|
|
269
|
-
#
|
|
270
|
-
# For example, `
|
|
271
|
-
#
|
|
272
|
-
#
|
|
273
|
-
#
|
|
274
|
-
#
|
|
275
|
-
#
|
|
276
|
-
#
|
|
277
|
-
#
|
|
278
|
-
# deleted
|
|
279
|
-
#
|
|
280
|
-
# If the
|
|
281
|
-
# `
|
|
282
|
-
# role in the binding.
|
|
283
|
-
#
|
|
284
|
-
#
|
|
285
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
286
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
287
|
-
# recovered group retains the role in the binding.
|
|
288
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
289
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
|
205
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
|
206
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
|
207
|
+
# that represents anyone who is on the internet; with or without a Google
|
|
208
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
|
209
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
|
210
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
|
211
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
|
212
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
|
213
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
|
214
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
|
215
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
|
216
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
|
217
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
|
218
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
|
219
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
220
|
+
# identifier) representing a service account that has been recently deleted. For
|
|
221
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
222
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
|
223
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
|
224
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
225
|
+
# identifier) representing a Google group that has been recently deleted. For
|
|
226
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
|
227
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
|
228
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
|
229
|
+
# primary) that represents all the users of that domain. For example, `google.
|
|
230
|
+
# com` or `example.com`.
|
|
290
231
|
# Corresponds to the JSON property `members`
|
|
291
232
|
# @return [Array<String>]
|
|
292
233
|
attr_accessor :members
|
|
293
234
|
|
|
294
|
-
# Role that is assigned to `members`.
|
|
295
|
-
#
|
|
235
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
|
236
|
+
# , or `roles/owner`.
|
|
296
237
|
# Corresponds to the JSON property `role`
|
|
297
238
|
# @return [String]
|
|
298
239
|
attr_accessor :role
|
|
@@ -322,13 +263,11 @@ module Google
|
|
|
322
263
|
end
|
|
323
264
|
end
|
|
324
265
|
|
|
325
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
|
326
|
-
#
|
|
327
|
-
#
|
|
328
|
-
#
|
|
329
|
-
#
|
|
330
|
-
# `
|
|
331
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
|
266
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
267
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
|
268
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
269
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
270
|
+
# `Empty` is empty JSON object ````.
|
|
332
271
|
class Empty
|
|
333
272
|
include Google::Apis::Core::Hashable
|
|
334
273
|
|
|
@@ -341,52 +280,43 @@ module Google
|
|
|
341
280
|
end
|
|
342
281
|
end
|
|
343
282
|
|
|
344
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
345
|
-
#
|
|
346
|
-
#
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
# description: "Determines if
|
|
350
|
-
# expression: "document.
|
|
351
|
-
#
|
|
352
|
-
#
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
#
|
|
356
|
-
#
|
|
357
|
-
#
|
|
358
|
-
#
|
|
359
|
-
# Example (Data Manipulation):
|
|
360
|
-
# title: "Notification string"
|
|
361
|
-
# description: "Create a notification string with a timestamp."
|
|
362
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
363
|
-
# The exact variables and functions that may be referenced within an expression
|
|
364
|
-
# are determined by the service that evaluates it. See the service
|
|
365
|
-
# documentation for additional information.
|
|
283
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
284
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
285
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
286
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
|
287
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
|
288
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
|
289
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
|
290
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
|
291
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
|
292
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
|
293
|
+
# string" description: "Create a notification string with a timestamp."
|
|
294
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
|
295
|
+
# exact variables and functions that may be referenced within an expression are
|
|
296
|
+
# determined by the service that evaluates it. See the service documentation for
|
|
297
|
+
# additional information.
|
|
366
298
|
class Expr
|
|
367
299
|
include Google::Apis::Core::Hashable
|
|
368
300
|
|
|
369
|
-
# Optional. Description of the expression. This is a longer text which
|
|
370
|
-
#
|
|
301
|
+
# Optional. Description of the expression. This is a longer text which describes
|
|
302
|
+
# the expression, e.g. when hovered over it in a UI.
|
|
371
303
|
# Corresponds to the JSON property `description`
|
|
372
304
|
# @return [String]
|
|
373
305
|
attr_accessor :description
|
|
374
306
|
|
|
375
|
-
# Textual representation of an expression in Common Expression Language
|
|
376
|
-
# syntax.
|
|
307
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
|
377
308
|
# Corresponds to the JSON property `expression`
|
|
378
309
|
# @return [String]
|
|
379
310
|
attr_accessor :expression
|
|
380
311
|
|
|
381
|
-
# Optional. String indicating the location of the expression for error
|
|
382
|
-
#
|
|
312
|
+
# Optional. String indicating the location of the expression for error reporting,
|
|
313
|
+
# e.g. a file name and a position in the file.
|
|
383
314
|
# Corresponds to the JSON property `location`
|
|
384
315
|
# @return [String]
|
|
385
316
|
attr_accessor :location
|
|
386
317
|
|
|
387
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
388
|
-
#
|
|
389
|
-
# expression.
|
|
318
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
|
319
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
|
390
320
|
# Corresponds to the JSON property `title`
|
|
391
321
|
# @return [String]
|
|
392
322
|
attr_accessor :title
|
|
@@ -404,18 +334,16 @@ module Google
|
|
|
404
334
|
end
|
|
405
335
|
end
|
|
406
336
|
|
|
407
|
-
# Security Command Center finding.
|
|
408
|
-
#
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
# finding.
|
|
337
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
|
338
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
|
339
|
+
# Center for presentation, notification, analysis, policy testing, and
|
|
340
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
|
341
|
+
# Engine application is a finding.
|
|
413
342
|
class Finding
|
|
414
343
|
include Google::Apis::Core::Hashable
|
|
415
344
|
|
|
416
|
-
# The additional taxonomy group within findings from a given source.
|
|
417
|
-
#
|
|
418
|
-
# Example: "XSS_FLASH_INJECTION"
|
|
345
|
+
# The additional taxonomy group within findings from a given source. This field
|
|
346
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
419
347
|
# Corresponds to the JSON property `category`
|
|
420
348
|
# @return [String]
|
|
421
349
|
attr_accessor :category
|
|
@@ -425,59 +353,56 @@ module Google
|
|
|
425
353
|
# @return [String]
|
|
426
354
|
attr_accessor :create_time
|
|
427
355
|
|
|
428
|
-
# The time at which the event took place. For example, if the finding
|
|
429
|
-
#
|
|
430
|
-
#
|
|
356
|
+
# The time at which the event took place. For example, if the finding represents
|
|
357
|
+
# an open firewall it would capture the time the detector believes the firewall
|
|
358
|
+
# became open. The accuracy is determined by the detector.
|
|
431
359
|
# Corresponds to the JSON property `eventTime`
|
|
432
360
|
# @return [String]
|
|
433
361
|
attr_accessor :event_time
|
|
434
362
|
|
|
435
|
-
# The URI that, if available, points to a web page outside of Security
|
|
436
|
-
#
|
|
437
|
-
#
|
|
363
|
+
# The URI that, if available, points to a web page outside of Security Command
|
|
364
|
+
# Center where additional information about the finding can be found. This field
|
|
365
|
+
# is guaranteed to be either empty or a well formed URL.
|
|
438
366
|
# Corresponds to the JSON property `externalUri`
|
|
439
367
|
# @return [String]
|
|
440
368
|
attr_accessor :external_uri
|
|
441
369
|
|
|
442
|
-
# The relative resource name of this finding. See:
|
|
443
|
-
#
|
|
444
|
-
#
|
|
445
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
370
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
|
371
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
372
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
446
373
|
# Corresponds to the JSON property `name`
|
|
447
374
|
# @return [String]
|
|
448
375
|
attr_accessor :name
|
|
449
376
|
|
|
450
|
-
# The relative resource name of the source the finding belongs to. See:
|
|
451
|
-
#
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
377
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
|
378
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
|
379
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
|
380
|
+
# /sources/`source_id`"
|
|
455
381
|
# Corresponds to the JSON property `parent`
|
|
456
382
|
# @return [String]
|
|
457
383
|
attr_accessor :parent
|
|
458
384
|
|
|
459
|
-
# For findings on Google Cloud resources, the full resource
|
|
460
|
-
#
|
|
461
|
-
#
|
|
462
|
-
#
|
|
463
|
-
#
|
|
464
|
-
# creation time.
|
|
385
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
|
386
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
|
387
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
|
388
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
|
389
|
+
# field is immutable after creation time.
|
|
465
390
|
# Corresponds to the JSON property `resourceName`
|
|
466
391
|
# @return [String]
|
|
467
392
|
attr_accessor :resource_name
|
|
468
393
|
|
|
469
|
-
# User specified security marks that are attached to the parent Security
|
|
470
|
-
#
|
|
471
|
-
#
|
|
472
|
-
#
|
|
394
|
+
# User specified security marks that are attached to the parent Security Command
|
|
395
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
396
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
397
|
+
# permissions on the organization.
|
|
473
398
|
# Corresponds to the JSON property `securityMarks`
|
|
474
399
|
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
|
475
400
|
attr_accessor :security_marks
|
|
476
401
|
|
|
477
|
-
# Source specific properties. These properties are managed by the source
|
|
478
|
-
#
|
|
479
|
-
#
|
|
480
|
-
#
|
|
402
|
+
# Source specific properties. These properties are managed by the source that
|
|
403
|
+
# writes the finding. The key names in the source_properties map must be between
|
|
404
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
|
405
|
+
# characters or underscores only.
|
|
481
406
|
# Corresponds to the JSON property `sourceProperties`
|
|
482
407
|
# @return [Hash<String,Object>]
|
|
483
408
|
attr_accessor :source_properties
|
|
@@ -529,15 +454,13 @@ module Google
|
|
|
529
454
|
class GetPolicyOptions
|
|
530
455
|
include Google::Apis::Core::Hashable
|
|
531
456
|
|
|
532
|
-
# Optional. The policy format version to be returned.
|
|
533
|
-
#
|
|
534
|
-
#
|
|
535
|
-
#
|
|
536
|
-
#
|
|
537
|
-
#
|
|
538
|
-
#
|
|
539
|
-
# [IAM
|
|
540
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
457
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
|
458
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
|
459
|
+
# policies with any conditional bindings must specify version 3. Policies
|
|
460
|
+
# without any conditional bindings may specify any valid value or leave the
|
|
461
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
|
462
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
463
|
+
# resource-policies).
|
|
541
464
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
|
542
465
|
# @return [Fixnum]
|
|
543
466
|
attr_accessor :requested_policy_version
|
|
@@ -556,12 +479,11 @@ module Google
|
|
|
556
479
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
|
557
480
|
include Google::Apis::Core::Hashable
|
|
558
481
|
|
|
559
|
-
# Security Command Center finding.
|
|
560
|
-
#
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
# finding.
|
|
482
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
|
483
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
|
484
|
+
# Center for presentation, notification, analysis, policy testing, and
|
|
485
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
|
486
|
+
# Engine application is a finding.
|
|
565
487
|
# Corresponds to the JSON property `finding`
|
|
566
488
|
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
|
567
489
|
attr_accessor :finding
|
|
@@ -592,8 +514,8 @@ module Google
|
|
|
592
514
|
class GoogleCloudSecuritycenterV1Resource
|
|
593
515
|
include Google::Apis::Core::Hashable
|
|
594
516
|
|
|
595
|
-
# The full resource name of the resource. See:
|
|
596
|
-
#
|
|
517
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
|
518
|
+
# design/resource_names#full_resource_name
|
|
597
519
|
# Corresponds to the JSON property `name`
|
|
598
520
|
# @return [String]
|
|
599
521
|
attr_accessor :name
|
|
@@ -657,17 +579,15 @@ module Google
|
|
|
657
579
|
end
|
|
658
580
|
end
|
|
659
581
|
|
|
660
|
-
# Security Command Center finding.
|
|
661
|
-
#
|
|
662
|
-
#
|
|
663
|
-
#
|
|
664
|
-
# in an App Engine application is a finding.
|
|
582
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
|
583
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
|
584
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
585
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
|
665
586
|
class GoogleCloudSecuritycenterV1beta1Finding
|
|
666
587
|
include Google::Apis::Core::Hashable
|
|
667
588
|
|
|
668
|
-
# The additional taxonomy group within findings from a given source.
|
|
669
|
-
#
|
|
670
|
-
# Example: "XSS_FLASH_INJECTION"
|
|
589
|
+
# The additional taxonomy group within findings from a given source. This field
|
|
590
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
671
591
|
# Corresponds to the JSON property `category`
|
|
672
592
|
# @return [String]
|
|
673
593
|
attr_accessor :category
|
|
@@ -677,60 +597,56 @@ module Google
|
|
|
677
597
|
# @return [String]
|
|
678
598
|
attr_accessor :create_time
|
|
679
599
|
|
|
680
|
-
# The time at which the event took place. For example, if the finding
|
|
681
|
-
#
|
|
682
|
-
#
|
|
600
|
+
# The time at which the event took place. For example, if the finding represents
|
|
601
|
+
# an open firewall it would capture the time the detector believes the firewall
|
|
602
|
+
# became open. The accuracy is determined by the detector.
|
|
683
603
|
# Corresponds to the JSON property `eventTime`
|
|
684
604
|
# @return [String]
|
|
685
605
|
attr_accessor :event_time
|
|
686
606
|
|
|
687
|
-
# The URI that, if available, points to a web page outside of Security
|
|
688
|
-
#
|
|
689
|
-
#
|
|
607
|
+
# The URI that, if available, points to a web page outside of Security Command
|
|
608
|
+
# Center where additional information about the finding can be found. This field
|
|
609
|
+
# is guaranteed to be either empty or a well formed URL.
|
|
690
610
|
# Corresponds to the JSON property `externalUri`
|
|
691
611
|
# @return [String]
|
|
692
612
|
attr_accessor :external_uri
|
|
693
613
|
|
|
694
|
-
# The relative resource name of this finding. See:
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
614
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
|
615
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
616
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
698
617
|
# Corresponds to the JSON property `name`
|
|
699
618
|
# @return [String]
|
|
700
619
|
attr_accessor :name
|
|
701
620
|
|
|
702
621
|
# Immutable. The relative resource name of the source the finding belongs to.
|
|
703
|
-
# See:
|
|
704
|
-
#
|
|
705
|
-
#
|
|
706
|
-
# For example:
|
|
707
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
622
|
+
# See: https://cloud.google.com/apis/design/resource_names#
|
|
623
|
+
# relative_resource_name This field is immutable after creation time. For
|
|
624
|
+
# example: "organizations/`organization_id`/sources/`source_id`"
|
|
708
625
|
# Corresponds to the JSON property `parent`
|
|
709
626
|
# @return [String]
|
|
710
627
|
attr_accessor :parent
|
|
711
628
|
|
|
712
|
-
# For findings on Google Cloud resources, the full resource
|
|
713
|
-
#
|
|
714
|
-
#
|
|
715
|
-
#
|
|
716
|
-
#
|
|
717
|
-
# creation time.
|
|
629
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
|
630
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
|
631
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
|
632
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
|
633
|
+
# field is immutable after creation time.
|
|
718
634
|
# Corresponds to the JSON property `resourceName`
|
|
719
635
|
# @return [String]
|
|
720
636
|
attr_accessor :resource_name
|
|
721
637
|
|
|
722
|
-
# User specified security marks that are attached to the parent Security
|
|
723
|
-
#
|
|
724
|
-
#
|
|
725
|
-
#
|
|
638
|
+
# User specified security marks that are attached to the parent Security Command
|
|
639
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
640
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
641
|
+
# permissions on the organization.
|
|
726
642
|
# Corresponds to the JSON property `securityMarks`
|
|
727
643
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
|
728
644
|
attr_accessor :security_marks
|
|
729
645
|
|
|
730
|
-
# Source specific properties. These properties are managed by the source
|
|
731
|
-
#
|
|
732
|
-
#
|
|
733
|
-
#
|
|
646
|
+
# Source specific properties. These properties are managed by the source that
|
|
647
|
+
# writes the finding. The key names in the source_properties map must be between
|
|
648
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
|
649
|
+
# characters or underscores only.
|
|
734
650
|
# Corresponds to the JSON property `sourceProperties`
|
|
735
651
|
# @return [Hash<String,Object>]
|
|
736
652
|
attr_accessor :source_properties
|
|
@@ -784,30 +700,26 @@ module Google
|
|
|
784
700
|
end
|
|
785
701
|
end
|
|
786
702
|
|
|
787
|
-
# User specified security marks that are attached to the parent Security
|
|
788
|
-
#
|
|
789
|
-
#
|
|
790
|
-
#
|
|
703
|
+
# User specified security marks that are attached to the parent Security Command
|
|
704
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
705
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
706
|
+
# permissions on the organization.
|
|
791
707
|
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
|
792
708
|
include Google::Apis::Core::Hashable
|
|
793
709
|
|
|
794
710
|
# Mutable user specified security marks belonging to the parent resource.
|
|
795
|
-
# Constraints are as follows:
|
|
796
|
-
#
|
|
797
|
-
#
|
|
798
|
-
#
|
|
799
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
|
800
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
|
711
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
712
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
713
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
|
714
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
|
801
715
|
# Corresponds to the JSON property `marks`
|
|
802
716
|
# @return [Hash<String,String>]
|
|
803
717
|
attr_accessor :marks
|
|
804
718
|
|
|
805
|
-
# The relative resource name of the SecurityMarks. See:
|
|
806
|
-
#
|
|
807
|
-
#
|
|
808
|
-
#
|
|
809
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
810
|
-
# securityMarks".
|
|
719
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
|
720
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
|
721
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
|
722
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
|
811
723
|
# Corresponds to the JSON property `name`
|
|
812
724
|
# @return [String]
|
|
813
725
|
attr_accessor :name
|
|
@@ -823,12 +735,11 @@ module Google
|
|
|
823
735
|
end
|
|
824
736
|
end
|
|
825
737
|
|
|
826
|
-
# Security Command Center representation of a Google Cloud
|
|
827
|
-
# resource
|
|
828
|
-
#
|
|
829
|
-
#
|
|
830
|
-
#
|
|
831
|
-
# Google Cloud resource.
|
|
738
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
739
|
+
# is a Security Command Center resource that captures information about a single
|
|
740
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
741
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
742
|
+
# Cloud resource.
|
|
832
743
|
class GoogleCloudSecuritycenterV1p1beta1Asset
|
|
833
744
|
include Google::Apis::Core::Hashable
|
|
834
745
|
|
|
@@ -839,22 +750,20 @@ module Google
|
|
|
839
750
|
|
|
840
751
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
841
752
|
# described by the Security Command Center asset. This information is managed
|
|
842
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
843
|
-
# user.
|
|
753
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
844
754
|
# Corresponds to the JSON property `iamPolicy`
|
|
845
755
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
|
846
756
|
attr_accessor :iam_policy
|
|
847
757
|
|
|
848
|
-
# The relative resource name of this asset. See:
|
|
849
|
-
#
|
|
850
|
-
#
|
|
851
|
-
# "organizations/`organization_id`/assets/`asset_id`".
|
|
758
|
+
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
|
759
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
760
|
+
# organization_id`/assets/`asset_id`".
|
|
852
761
|
# Corresponds to the JSON property `name`
|
|
853
762
|
# @return [String]
|
|
854
763
|
attr_accessor :name
|
|
855
764
|
|
|
856
|
-
# Resource managed properties. These properties are managed and defined by
|
|
857
|
-
#
|
|
765
|
+
# Resource managed properties. These properties are managed and defined by the
|
|
766
|
+
# Google Cloud resource and cannot be modified by the user.
|
|
858
767
|
# Corresponds to the JSON property `resourceProperties`
|
|
859
768
|
# @return [Hash<String,Object>]
|
|
860
769
|
attr_accessor :resource_properties
|
|
@@ -865,16 +774,15 @@ module Google
|
|
|
865
774
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
|
866
775
|
attr_accessor :security_center_properties
|
|
867
776
|
|
|
868
|
-
# User specified security marks that are attached to the parent Security
|
|
869
|
-
#
|
|
870
|
-
#
|
|
871
|
-
#
|
|
777
|
+
# User specified security marks that are attached to the parent Security Command
|
|
778
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
779
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
780
|
+
# permissions on the organization.
|
|
872
781
|
# Corresponds to the JSON property `securityMarks`
|
|
873
782
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
874
783
|
attr_accessor :security_marks
|
|
875
784
|
|
|
876
|
-
# The time at which the asset was last updated, added, or deleted in Cloud
|
|
877
|
-
# SCC.
|
|
785
|
+
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
|
878
786
|
# Corresponds to the JSON property `updateTime`
|
|
879
787
|
# @return [String]
|
|
880
788
|
attr_accessor :update_time
|
|
@@ -895,17 +803,15 @@ module Google
|
|
|
895
803
|
end
|
|
896
804
|
end
|
|
897
805
|
|
|
898
|
-
# Security Command Center finding.
|
|
899
|
-
#
|
|
900
|
-
#
|
|
901
|
-
#
|
|
902
|
-
# in an App Engine application is a finding.
|
|
806
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
|
807
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
|
808
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
809
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
|
903
810
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
|
904
811
|
include Google::Apis::Core::Hashable
|
|
905
812
|
|
|
906
|
-
# The additional taxonomy group within findings from a given source.
|
|
907
|
-
#
|
|
908
|
-
# Example: "XSS_FLASH_INJECTION"
|
|
813
|
+
# The additional taxonomy group within findings from a given source. This field
|
|
814
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
|
909
815
|
# Corresponds to the JSON property `category`
|
|
910
816
|
# @return [String]
|
|
911
817
|
attr_accessor :category
|
|
@@ -915,59 +821,56 @@ module Google
|
|
|
915
821
|
# @return [String]
|
|
916
822
|
attr_accessor :create_time
|
|
917
823
|
|
|
918
|
-
# The time at which the event took place. For example, if the finding
|
|
919
|
-
#
|
|
920
|
-
#
|
|
824
|
+
# The time at which the event took place. For example, if the finding represents
|
|
825
|
+
# an open firewall it would capture the time the detector believes the firewall
|
|
826
|
+
# became open. The accuracy is determined by the detector.
|
|
921
827
|
# Corresponds to the JSON property `eventTime`
|
|
922
828
|
# @return [String]
|
|
923
829
|
attr_accessor :event_time
|
|
924
830
|
|
|
925
|
-
# The URI that, if available, points to a web page outside of Security
|
|
926
|
-
#
|
|
927
|
-
#
|
|
831
|
+
# The URI that, if available, points to a web page outside of Security Command
|
|
832
|
+
# Center where additional information about the finding can be found. This field
|
|
833
|
+
# is guaranteed to be either empty or a well formed URL.
|
|
928
834
|
# Corresponds to the JSON property `externalUri`
|
|
929
835
|
# @return [String]
|
|
930
836
|
attr_accessor :external_uri
|
|
931
837
|
|
|
932
|
-
# The relative resource name of this finding. See:
|
|
933
|
-
#
|
|
934
|
-
#
|
|
935
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
838
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
|
839
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
840
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
|
936
841
|
# Corresponds to the JSON property `name`
|
|
937
842
|
# @return [String]
|
|
938
843
|
attr_accessor :name
|
|
939
844
|
|
|
940
|
-
# The relative resource name of the source the finding belongs to. See:
|
|
941
|
-
#
|
|
942
|
-
#
|
|
943
|
-
#
|
|
944
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
845
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
|
846
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
|
847
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
|
848
|
+
# /sources/`source_id`"
|
|
945
849
|
# Corresponds to the JSON property `parent`
|
|
946
850
|
# @return [String]
|
|
947
851
|
attr_accessor :parent
|
|
948
852
|
|
|
949
|
-
# For findings on Google Cloud resources, the full resource
|
|
950
|
-
#
|
|
951
|
-
#
|
|
952
|
-
#
|
|
953
|
-
#
|
|
954
|
-
# creation time.
|
|
853
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
|
854
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
|
855
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
|
856
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
|
857
|
+
# field is immutable after creation time.
|
|
955
858
|
# Corresponds to the JSON property `resourceName`
|
|
956
859
|
# @return [String]
|
|
957
860
|
attr_accessor :resource_name
|
|
958
861
|
|
|
959
|
-
# User specified security marks that are attached to the parent Security
|
|
960
|
-
#
|
|
961
|
-
#
|
|
962
|
-
#
|
|
862
|
+
# User specified security marks that are attached to the parent Security Command
|
|
863
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
864
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
865
|
+
# permissions on the organization.
|
|
963
866
|
# Corresponds to the JSON property `securityMarks`
|
|
964
867
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
|
965
868
|
attr_accessor :security_marks
|
|
966
869
|
|
|
967
|
-
# Source specific properties. These properties are managed by the source
|
|
968
|
-
#
|
|
969
|
-
#
|
|
970
|
-
#
|
|
870
|
+
# Source specific properties. These properties are managed by the source that
|
|
871
|
+
# writes the finding. The key names in the source_properties map must be between
|
|
872
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
|
873
|
+
# characters or underscores only.
|
|
971
874
|
# Corresponds to the JSON property `sourceProperties`
|
|
972
875
|
# @return [Hash<String,Object>]
|
|
973
876
|
attr_accessor :source_properties
|
|
@@ -998,14 +901,12 @@ module Google
|
|
|
998
901
|
|
|
999
902
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
|
1000
903
|
# described by the Security Command Center asset. This information is managed
|
|
1001
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
|
1002
|
-
# user.
|
|
904
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
|
1003
905
|
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
|
1004
906
|
include Google::Apis::Core::Hashable
|
|
1005
907
|
|
|
1006
|
-
# The JSON representation of the Policy associated with the asset.
|
|
1007
|
-
#
|
|
1008
|
-
# format details.
|
|
908
|
+
# The JSON representation of the Policy associated with the asset. See https://
|
|
909
|
+
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
|
1009
910
|
# Corresponds to the JSON property `policyBlob`
|
|
1010
911
|
# @return [String]
|
|
1011
912
|
attr_accessor :policy_blob
|
|
@@ -1024,11 +925,10 @@ module Google
|
|
|
1024
925
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
|
1025
926
|
include Google::Apis::Core::Hashable
|
|
1026
927
|
|
|
1027
|
-
# Security Command Center finding.
|
|
1028
|
-
#
|
|
1029
|
-
#
|
|
1030
|
-
#
|
|
1031
|
-
# in an App Engine application is a finding.
|
|
928
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
|
929
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
|
930
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
|
931
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
|
1032
932
|
# Corresponds to the JSON property `finding`
|
|
1033
933
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
|
1034
934
|
attr_accessor :finding
|
|
@@ -1043,8 +943,8 @@ module Google
|
|
|
1043
943
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
|
1044
944
|
attr_accessor :resource
|
|
1045
945
|
|
|
1046
|
-
# Wrapper over asset object that also captures the state change for the asset
|
|
1047
|
-
#
|
|
946
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
|
947
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
|
1048
948
|
# Corresponds to the JSON property `temporalAsset`
|
|
1049
949
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
|
1050
950
|
attr_accessor :temporal_asset
|
|
@@ -1066,8 +966,8 @@ module Google
|
|
|
1066
966
|
class GoogleCloudSecuritycenterV1p1beta1Resource
|
|
1067
967
|
include Google::Apis::Core::Hashable
|
|
1068
968
|
|
|
1069
|
-
# The full resource name of the resource. See:
|
|
1070
|
-
#
|
|
969
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
|
970
|
+
# design/resource_names#full_resource_name
|
|
1071
971
|
# Corresponds to the JSON property `name`
|
|
1072
972
|
# @return [String]
|
|
1073
973
|
attr_accessor :name
|
|
@@ -1141,9 +1041,9 @@ module Google
|
|
|
1141
1041
|
# @return [String]
|
|
1142
1042
|
attr_accessor :resource_display_name
|
|
1143
1043
|
|
|
1144
|
-
# The full resource name of the Google Cloud resource this asset
|
|
1145
|
-
#
|
|
1146
|
-
#
|
|
1044
|
+
# The full resource name of the Google Cloud resource this asset represents.
|
|
1045
|
+
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
|
1046
|
+
# design/resource_names#full_resource_name
|
|
1147
1047
|
# Corresponds to the JSON property `resourceName`
|
|
1148
1048
|
# @return [String]
|
|
1149
1049
|
attr_accessor :resource_name
|
|
@@ -1153,8 +1053,8 @@ module Google
|
|
|
1153
1053
|
# @return [Array<String>]
|
|
1154
1054
|
attr_accessor :resource_owners
|
|
1155
1055
|
|
|
1156
|
-
# The full resource name of the immediate parent of the resource. See:
|
|
1157
|
-
#
|
|
1056
|
+
# The full resource name of the immediate parent of the resource. See: https://
|
|
1057
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1158
1058
|
# Corresponds to the JSON property `resourceParent`
|
|
1159
1059
|
# @return [String]
|
|
1160
1060
|
attr_accessor :resource_parent
|
|
@@ -1164,8 +1064,8 @@ module Google
|
|
|
1164
1064
|
# @return [String]
|
|
1165
1065
|
attr_accessor :resource_parent_display_name
|
|
1166
1066
|
|
|
1167
|
-
# The full resource name of the project the resource belongs to. See:
|
|
1168
|
-
#
|
|
1067
|
+
# The full resource name of the project the resource belongs to. See: https://
|
|
1068
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1169
1069
|
# Corresponds to the JSON property `resourceProject`
|
|
1170
1070
|
# @return [String]
|
|
1171
1071
|
attr_accessor :resource_project
|
|
@@ -1175,10 +1075,9 @@ module Google
|
|
|
1175
1075
|
# @return [String]
|
|
1176
1076
|
attr_accessor :resource_project_display_name
|
|
1177
1077
|
|
|
1178
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
|
1179
|
-
#
|
|
1180
|
-
#
|
|
1181
|
-
# immutable after create time.
|
|
1078
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
|
1079
|
+
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
|
1080
|
+
# Center and/or the producer of the resource and is immutable after create time.
|
|
1182
1081
|
# Corresponds to the JSON property `resourceType`
|
|
1183
1082
|
# @return [String]
|
|
1184
1083
|
attr_accessor :resource_type
|
|
@@ -1200,30 +1099,26 @@ module Google
|
|
|
1200
1099
|
end
|
|
1201
1100
|
end
|
|
1202
1101
|
|
|
1203
|
-
# User specified security marks that are attached to the parent Security
|
|
1204
|
-
#
|
|
1205
|
-
#
|
|
1206
|
-
#
|
|
1102
|
+
# User specified security marks that are attached to the parent Security Command
|
|
1103
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
1104
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
1105
|
+
# permissions on the organization.
|
|
1207
1106
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
|
1208
1107
|
include Google::Apis::Core::Hashable
|
|
1209
1108
|
|
|
1210
1109
|
# Mutable user specified security marks belonging to the parent resource.
|
|
1211
|
-
# Constraints are as follows:
|
|
1212
|
-
#
|
|
1213
|
-
#
|
|
1214
|
-
#
|
|
1215
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
|
1216
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
|
1110
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
1111
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
1112
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
|
1113
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
|
1217
1114
|
# Corresponds to the JSON property `marks`
|
|
1218
1115
|
# @return [Hash<String,String>]
|
|
1219
1116
|
attr_accessor :marks
|
|
1220
1117
|
|
|
1221
|
-
# The relative resource name of the SecurityMarks. See:
|
|
1222
|
-
#
|
|
1223
|
-
#
|
|
1224
|
-
#
|
|
1225
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
1226
|
-
# securityMarks".
|
|
1118
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
|
1119
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
|
1120
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
|
1121
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
|
1227
1122
|
# Corresponds to the JSON property `name`
|
|
1228
1123
|
# @return [String]
|
|
1229
1124
|
attr_accessor :name
|
|
@@ -1239,17 +1134,16 @@ module Google
|
|
|
1239
1134
|
end
|
|
1240
1135
|
end
|
|
1241
1136
|
|
|
1242
|
-
# Wrapper over asset object that also captures the state change for the asset
|
|
1243
|
-
#
|
|
1137
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
|
1138
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
|
1244
1139
|
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
|
1245
1140
|
include Google::Apis::Core::Hashable
|
|
1246
1141
|
|
|
1247
|
-
# Security Command Center representation of a Google Cloud
|
|
1248
|
-
# resource
|
|
1249
|
-
#
|
|
1250
|
-
#
|
|
1251
|
-
#
|
|
1252
|
-
# Google Cloud resource.
|
|
1142
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
1143
|
+
# is a Security Command Center resource that captures information about a single
|
|
1144
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
1145
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
1146
|
+
# Cloud resource.
|
|
1253
1147
|
# Corresponds to the JSON property `asset`
|
|
1254
1148
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
|
1255
1149
|
attr_accessor :asset
|
|
@@ -1275,83 +1169,67 @@ module Google
|
|
|
1275
1169
|
include Google::Apis::Core::Hashable
|
|
1276
1170
|
|
|
1277
1171
|
# When compare_duration is set, the Asset's "state" property is updated to
|
|
1278
|
-
# indicate whether the asset was added, removed, or remained present during
|
|
1279
|
-
#
|
|
1280
|
-
#
|
|
1281
|
-
#
|
|
1282
|
-
#
|
|
1283
|
-
#
|
|
1284
|
-
#
|
|
1285
|
-
#
|
|
1286
|
-
# * "
|
|
1287
|
-
# compare_duration, but present at reference_time.
|
|
1288
|
-
#
|
|
1289
|
-
#
|
|
1290
|
-
#
|
|
1291
|
-
# start and the end of the time period defined by
|
|
1292
|
-
# compare_duration and reference_time.
|
|
1293
|
-
# This field is ignored if `state` is not a field in `group_by`.
|
|
1172
|
+
# indicate whether the asset was added, removed, or remained present during the
|
|
1173
|
+
# compare_duration period of time that precedes the read_time. This is the time
|
|
1174
|
+
# between (read_time - compare_duration) and read_time. The state value is
|
|
1175
|
+
# derived based on the presence of the asset at the two points in time.
|
|
1176
|
+
# Intermediate state changes between the two times don't affect the result. For
|
|
1177
|
+
# example, the results aren't affected if the asset is removed and re-created
|
|
1178
|
+
# again. Possible "state" values when compare_duration is specified: * "ADDED":
|
|
1179
|
+
# indicates that the asset was not present before compare_duration, but present
|
|
1180
|
+
# at reference_time. * "REMOVED": indicates that the asset was present at the
|
|
1181
|
+
# start of compare_duration, but not present at reference_time. * "ACTIVE":
|
|
1182
|
+
# indicates that the asset was present at both the start and the end of the time
|
|
1183
|
+
# period defined by compare_duration and reference_time. This field is ignored
|
|
1184
|
+
# if `state` is not a field in `group_by`.
|
|
1294
1185
|
# Corresponds to the JSON property `compareDuration`
|
|
1295
1186
|
# @return [String]
|
|
1296
1187
|
attr_accessor :compare_duration
|
|
1297
1188
|
|
|
1298
|
-
# Expression that defines the filter to apply across assets.
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
#
|
|
1302
|
-
#
|
|
1303
|
-
#
|
|
1304
|
-
#
|
|
1305
|
-
# *
|
|
1306
|
-
# *
|
|
1307
|
-
# *
|
|
1308
|
-
#
|
|
1309
|
-
#
|
|
1310
|
-
# * `=` for all value types.
|
|
1311
|
-
# * `>`, `<`, `>=`, `<=` for integer values.
|
|
1312
|
-
# * `:`, meaning substring matching, for strings.
|
|
1313
|
-
# The supported value types are:
|
|
1314
|
-
# * string literals in quotes.
|
|
1315
|
-
# * integer literals without quotes.
|
|
1316
|
-
# * boolean literals `true` and `false` without quotes.
|
|
1317
|
-
# For example, `resource_properties.size = 100` is a valid filter string.
|
|
1189
|
+
# Expression that defines the filter to apply across assets. The expression is a
|
|
1190
|
+
# list of zero or more restrictions combined via logical operators `AND` and `OR`
|
|
1191
|
+
# . Parentheses are not supported, and `OR` has higher precedence than `AND`.
|
|
1192
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
|
1193
|
+
# to indicate negation. The fields map to those defined in the Asset resource.
|
|
1194
|
+
# Examples include: * name * security_center_properties.resource_name *
|
|
1195
|
+
# resource_properties.a_property * security_marks.marks.marka The supported
|
|
1196
|
+
# operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
|
|
1197
|
+
# values. * `:`, meaning substring matching, for strings. The supported value
|
|
1198
|
+
# types are: * string literals in quotes. * integer literals without quotes. *
|
|
1199
|
+
# boolean literals `true` and `false` without quotes. For example, `
|
|
1200
|
+
# resource_properties.size = 100` is a valid filter string.
|
|
1318
1201
|
# Corresponds to the JSON property `filter`
|
|
1319
1202
|
# @return [String]
|
|
1320
1203
|
attr_accessor :filter
|
|
1321
1204
|
|
|
1322
1205
|
# Required. Expression that defines what assets fields to use for grouping. The
|
|
1323
|
-
# string
|
|
1324
|
-
#
|
|
1325
|
-
#
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1328
|
-
# The following fields are supported when compare_duration is
|
|
1329
|
-
# * security_center_properties.
|
|
1330
|
-
# * security_center_properties.resource_type
|
|
1331
|
-
# * security_center_properties.resource_parent
|
|
1332
|
-
# The following fields are supported when compare_duration is set:
|
|
1333
|
-
# * security_center_properties.resource_type
|
|
1206
|
+
# string value should follow SQL syntax: comma separated list of fields. For
|
|
1207
|
+
# example: "security_center_properties.resource_project,
|
|
1208
|
+
# security_center_properties.project". The following fields are supported when
|
|
1209
|
+
# compare_duration is not set: * security_center_properties.resource_project *
|
|
1210
|
+
# security_center_properties.resource_type * security_center_properties.
|
|
1211
|
+
# resource_parent The following fields are supported when compare_duration is
|
|
1212
|
+
# set: * security_center_properties.resource_type
|
|
1334
1213
|
# Corresponds to the JSON property `groupBy`
|
|
1335
1214
|
# @return [String]
|
|
1336
1215
|
attr_accessor :group_by
|
|
1337
1216
|
|
|
1338
|
-
# The maximum number of results to return in a single response. Default is
|
|
1339
|
-
#
|
|
1217
|
+
# The maximum number of results to return in a single response. Default is 10,
|
|
1218
|
+
# minimum is 1, maximum is 1000.
|
|
1340
1219
|
# Corresponds to the JSON property `pageSize`
|
|
1341
1220
|
# @return [Fixnum]
|
|
1342
1221
|
attr_accessor :page_size
|
|
1343
1222
|
|
|
1344
|
-
# The value returned by the last `GroupAssetsResponse`; indicates
|
|
1345
|
-
#
|
|
1346
|
-
#
|
|
1223
|
+
# The value returned by the last `GroupAssetsResponse`; indicates that this is a
|
|
1224
|
+
# continuation of a prior `GroupAssets` call, and that the system should return
|
|
1225
|
+
# the next page of data.
|
|
1347
1226
|
# Corresponds to the JSON property `pageToken`
|
|
1348
1227
|
# @return [String]
|
|
1349
1228
|
attr_accessor :page_token
|
|
1350
1229
|
|
|
1351
|
-
# Time used as a reference point when filtering assets. The filter is limited
|
|
1352
|
-
#
|
|
1353
|
-
# specific time. Absence of this field will default to the API's version of
|
|
1354
|
-
# NOW.
|
|
1230
|
+
# Time used as a reference point when filtering assets. The filter is limited to
|
|
1231
|
+
# assets existing at the supplied time and their values are those at that
|
|
1232
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
|
1355
1233
|
# Corresponds to the JSON property `readTime`
|
|
1356
1234
|
# @return [String]
|
|
1357
1235
|
attr_accessor :read_time
|
|
@@ -1375,9 +1253,9 @@ module Google
|
|
|
1375
1253
|
class GroupAssetsResponse
|
|
1376
1254
|
include Google::Apis::Core::Hashable
|
|
1377
1255
|
|
|
1378
|
-
# Group results. There exists an element for each existing unique
|
|
1379
|
-
#
|
|
1380
|
-
#
|
|
1256
|
+
# Group results. There exists an element for each existing unique combination of
|
|
1257
|
+
# property/values. The element contains a count for the number of times those
|
|
1258
|
+
# specific property/values appear.
|
|
1381
1259
|
# Corresponds to the JSON property `groupByResults`
|
|
1382
1260
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::GroupResult>]
|
|
1383
1261
|
attr_accessor :group_by_results
|
|
@@ -1409,59 +1287,45 @@ module Google
|
|
|
1409
1287
|
class GroupFindingsRequest
|
|
1410
1288
|
include Google::Apis::Core::Hashable
|
|
1411
1289
|
|
|
1412
|
-
# Expression that defines the filter to apply across findings.
|
|
1413
|
-
#
|
|
1414
|
-
#
|
|
1415
|
-
#
|
|
1416
|
-
#
|
|
1417
|
-
#
|
|
1418
|
-
# *
|
|
1419
|
-
# *
|
|
1420
|
-
# *
|
|
1421
|
-
#
|
|
1422
|
-
#
|
|
1423
|
-
# * `>`, `<`, `>=`, `<=` for integer values.
|
|
1424
|
-
# * `:`, meaning substring matching, for strings.
|
|
1425
|
-
# The supported value types are:
|
|
1426
|
-
# * string literals in quotes.
|
|
1427
|
-
# * integer literals without quotes.
|
|
1428
|
-
# * boolean literals `true` and `false` without quotes.
|
|
1429
|
-
# For example, `source_properties.size = 100` is a valid filter string.
|
|
1290
|
+
# Expression that defines the filter to apply across findings. The expression is
|
|
1291
|
+
# a list of one or more restrictions combined via logical operators `AND` and `
|
|
1292
|
+
# OR`. Parentheses are not supported, and `OR` has higher precedence than `AND`.
|
|
1293
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
|
1294
|
+
# to indicate negation. Examples include: * name * source_properties.a_property *
|
|
1295
|
+
# security_marks.marks.marka The supported operators are: * `=` for all value
|
|
1296
|
+
# types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
|
|
1297
|
+
# matching, for strings. The supported value types are: * string literals in
|
|
1298
|
+
# quotes. * integer literals without quotes. * boolean literals `true` and `
|
|
1299
|
+
# false` without quotes. For example, `source_properties.size = 100` is a valid
|
|
1300
|
+
# filter string.
|
|
1430
1301
|
# Corresponds to the JSON property `filter`
|
|
1431
1302
|
# @return [String]
|
|
1432
1303
|
attr_accessor :filter
|
|
1433
1304
|
|
|
1434
1305
|
# Required. Expression that defines what assets fields to use for grouping (
|
|
1435
|
-
# including
|
|
1436
|
-
#
|
|
1437
|
-
#
|
|
1438
|
-
# "parent,resource_name".
|
|
1439
|
-
# The following fields are supported:
|
|
1440
|
-
# * resource_name
|
|
1441
|
-
# * category
|
|
1442
|
-
# * state
|
|
1443
|
-
# * parent
|
|
1306
|
+
# including `state`). The string value should follow SQL syntax: comma separated
|
|
1307
|
+
# list of fields. For example: "parent,resource_name". The following fields are
|
|
1308
|
+
# supported: * resource_name * category * state * parent
|
|
1444
1309
|
# Corresponds to the JSON property `groupBy`
|
|
1445
1310
|
# @return [String]
|
|
1446
1311
|
attr_accessor :group_by
|
|
1447
1312
|
|
|
1448
|
-
# The maximum number of results to return in a single response. Default is
|
|
1449
|
-
#
|
|
1313
|
+
# The maximum number of results to return in a single response. Default is 10,
|
|
1314
|
+
# minimum is 1, maximum is 1000.
|
|
1450
1315
|
# Corresponds to the JSON property `pageSize`
|
|
1451
1316
|
# @return [Fixnum]
|
|
1452
1317
|
attr_accessor :page_size
|
|
1453
1318
|
|
|
1454
|
-
# The value returned by the last `GroupFindingsResponse`; indicates
|
|
1455
|
-
#
|
|
1456
|
-
#
|
|
1319
|
+
# The value returned by the last `GroupFindingsResponse`; indicates that this is
|
|
1320
|
+
# a continuation of a prior `GroupFindings` call, and that the system should
|
|
1321
|
+
# return the next page of data.
|
|
1457
1322
|
# Corresponds to the JSON property `pageToken`
|
|
1458
1323
|
# @return [String]
|
|
1459
1324
|
attr_accessor :page_token
|
|
1460
1325
|
|
|
1461
|
-
# Time used as a reference point when filtering findings. The filter is
|
|
1462
|
-
#
|
|
1463
|
-
#
|
|
1464
|
-
# API's version of NOW.
|
|
1326
|
+
# Time used as a reference point when filtering findings. The filter is limited
|
|
1327
|
+
# to findings existing at the supplied time and their values are those at that
|
|
1328
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
|
1465
1329
|
# Corresponds to the JSON property `readTime`
|
|
1466
1330
|
# @return [String]
|
|
1467
1331
|
attr_accessor :read_time
|
|
@@ -1484,9 +1348,9 @@ module Google
|
|
|
1484
1348
|
class GroupFindingsResponse
|
|
1485
1349
|
include Google::Apis::Core::Hashable
|
|
1486
1350
|
|
|
1487
|
-
# Group results. There exists an element for each existing unique
|
|
1488
|
-
#
|
|
1489
|
-
#
|
|
1351
|
+
# Group results. There exists an element for each existing unique combination of
|
|
1352
|
+
# property/values. The element contains a count for the number of times those
|
|
1353
|
+
# specific property/values appear.
|
|
1490
1354
|
# Corresponds to the JSON property `groupByResults`
|
|
1491
1355
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::GroupResult>]
|
|
1492
1356
|
attr_accessor :group_by_results
|
|
@@ -1581,12 +1445,11 @@ module Google
|
|
|
1581
1445
|
class ListAssetsResult
|
|
1582
1446
|
include Google::Apis::Core::Hashable
|
|
1583
1447
|
|
|
1584
|
-
# Security Command Center representation of a Google Cloud
|
|
1585
|
-
# resource
|
|
1586
|
-
#
|
|
1587
|
-
#
|
|
1588
|
-
#
|
|
1589
|
-
# Google Cloud resource.
|
|
1448
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
|
1449
|
+
# is a Security Command Center resource that captures information about a single
|
|
1450
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
|
1451
|
+
# context of Security Command Center and don't affect the referenced Google
|
|
1452
|
+
# Cloud resource.
|
|
1590
1453
|
# Corresponds to the JSON property `asset`
|
|
1591
1454
|
# @return [Google::Apis::SecuritycenterV1beta1::Asset]
|
|
1592
1455
|
attr_accessor :asset
|
|
@@ -1701,47 +1564,45 @@ module Google
|
|
|
1701
1564
|
class Operation
|
|
1702
1565
|
include Google::Apis::Core::Hashable
|
|
1703
1566
|
|
|
1704
|
-
# If the value is `false`, it means the operation is still in progress.
|
|
1705
|
-
#
|
|
1706
|
-
# available.
|
|
1567
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
|
1568
|
+
# , the operation is completed, and either `error` or `response` is available.
|
|
1707
1569
|
# Corresponds to the JSON property `done`
|
|
1708
1570
|
# @return [Boolean]
|
|
1709
1571
|
attr_accessor :done
|
|
1710
1572
|
alias_method :done?, :done
|
|
1711
1573
|
|
|
1712
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
1713
|
-
#
|
|
1714
|
-
#
|
|
1715
|
-
#
|
|
1716
|
-
#
|
|
1717
|
-
#
|
|
1574
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1575
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1576
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1577
|
+
# data: error code, error message, and error details. You can find out more
|
|
1578
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1579
|
+
# //cloud.google.com/apis/design/errors).
|
|
1718
1580
|
# Corresponds to the JSON property `error`
|
|
1719
1581
|
# @return [Google::Apis::SecuritycenterV1beta1::Status]
|
|
1720
1582
|
attr_accessor :error
|
|
1721
1583
|
|
|
1722
|
-
# Service-specific metadata associated with the operation.
|
|
1723
|
-
#
|
|
1724
|
-
#
|
|
1725
|
-
#
|
|
1584
|
+
# Service-specific metadata associated with the operation. It typically contains
|
|
1585
|
+
# progress information and common metadata such as create time. Some services
|
|
1586
|
+
# might not provide such metadata. Any method that returns a long-running
|
|
1587
|
+
# operation should document the metadata type, if any.
|
|
1726
1588
|
# Corresponds to the JSON property `metadata`
|
|
1727
1589
|
# @return [Hash<String,Object>]
|
|
1728
1590
|
attr_accessor :metadata
|
|
1729
1591
|
|
|
1730
1592
|
# The server-assigned name, which is only unique within the same service that
|
|
1731
|
-
# originally returns it. If you use the default HTTP mapping, the
|
|
1732
|
-
#
|
|
1593
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
|
1594
|
+
# be a resource name ending with `operations/`unique_id``.
|
|
1733
1595
|
# Corresponds to the JSON property `name`
|
|
1734
1596
|
# @return [String]
|
|
1735
1597
|
attr_accessor :name
|
|
1736
1598
|
|
|
1737
|
-
# The normal response of the operation in case of success.
|
|
1738
|
-
# method returns no data on success, such as `Delete`, the response is
|
|
1739
|
-
#
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1742
|
-
#
|
|
1743
|
-
#
|
|
1744
|
-
# `TakeSnapshotResponse`.
|
|
1599
|
+
# The normal response of the operation in case of success. If the original
|
|
1600
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
|
1601
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
|
1602
|
+
# the response should be the resource. For other methods, the response should
|
|
1603
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
|
1604
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
|
1605
|
+
# response type is `TakeSnapshotResponse`.
|
|
1745
1606
|
# Corresponds to the JSON property `response`
|
|
1746
1607
|
# @return [Hash<String,Object>]
|
|
1747
1608
|
attr_accessor :response
|
|
@@ -1760,8 +1621,8 @@ module Google
|
|
|
1760
1621
|
end
|
|
1761
1622
|
end
|
|
1762
1623
|
|
|
1763
|
-
# User specified settings that are attached to the Security Command
|
|
1764
|
-
#
|
|
1624
|
+
# User specified settings that are attached to the Security Command Center
|
|
1625
|
+
# organization.
|
|
1765
1626
|
class OrganizationSettings
|
|
1766
1627
|
include Google::Apis::Core::Hashable
|
|
1767
1628
|
|
|
@@ -1770,19 +1631,17 @@ module Google
|
|
|
1770
1631
|
# @return [Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig]
|
|
1771
1632
|
attr_accessor :asset_discovery_config
|
|
1772
1633
|
|
|
1773
|
-
# A flag that indicates if Asset Discovery should be enabled. If the flag is
|
|
1774
|
-
#
|
|
1775
|
-
#
|
|
1776
|
-
# occur.
|
|
1634
|
+
# A flag that indicates if Asset Discovery should be enabled. If the flag is set
|
|
1635
|
+
# to `true`, then discovery of assets will occur. If it is set to `false, all
|
|
1636
|
+
# historical assets will remain, but discovery of future assets will not occur.
|
|
1777
1637
|
# Corresponds to the JSON property `enableAssetDiscovery`
|
|
1778
1638
|
# @return [Boolean]
|
|
1779
1639
|
attr_accessor :enable_asset_discovery
|
|
1780
1640
|
alias_method :enable_asset_discovery?, :enable_asset_discovery
|
|
1781
1641
|
|
|
1782
|
-
# The relative resource name of the settings. See:
|
|
1783
|
-
#
|
|
1784
|
-
#
|
|
1785
|
-
# "organizations/`organization_id`/organizationSettings".
|
|
1642
|
+
# The relative resource name of the settings. See: https://cloud.google.com/apis/
|
|
1643
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
1644
|
+
# organization_id`/organizationSettings".
|
|
1786
1645
|
# Corresponds to the JSON property `name`
|
|
1787
1646
|
# @return [String]
|
|
1788
1647
|
attr_accessor :name
|
|
@@ -1800,66 +1659,32 @@ module Google
|
|
|
1800
1659
|
end
|
|
1801
1660
|
|
|
1802
1661
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
1803
|
-
# controls for Google Cloud resources.
|
|
1804
|
-
# A `
|
|
1805
|
-
#
|
|
1806
|
-
#
|
|
1807
|
-
#
|
|
1808
|
-
#
|
|
1809
|
-
#
|
|
1810
|
-
#
|
|
1811
|
-
#
|
|
1812
|
-
#
|
|
1813
|
-
#
|
|
1814
|
-
# [
|
|
1815
|
-
#
|
|
1816
|
-
#
|
|
1817
|
-
# `
|
|
1818
|
-
# "
|
|
1819
|
-
# `
|
|
1820
|
-
# "
|
|
1821
|
-
#
|
|
1822
|
-
#
|
|
1823
|
-
#
|
|
1824
|
-
#
|
|
1825
|
-
#
|
|
1826
|
-
#
|
|
1827
|
-
#
|
|
1828
|
-
#
|
|
1829
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
1830
|
-
# "members": [
|
|
1831
|
-
# "user:eve@example.com"
|
|
1832
|
-
# ],
|
|
1833
|
-
# "condition": `
|
|
1834
|
-
# "title": "expirable access",
|
|
1835
|
-
# "description": "Does not grant access after Sep 2020",
|
|
1836
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
1837
|
-
# ",
|
|
1838
|
-
# `
|
|
1839
|
-
# `
|
|
1840
|
-
# ],
|
|
1841
|
-
# "etag": "BwWWja0YfJA=",
|
|
1842
|
-
# "version": 3
|
|
1843
|
-
# `
|
|
1844
|
-
# **YAML example:**
|
|
1845
|
-
# bindings:
|
|
1846
|
-
# - members:
|
|
1847
|
-
# - user:mike@example.com
|
|
1848
|
-
# - group:admins@example.com
|
|
1849
|
-
# - domain:google.com
|
|
1850
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
1851
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
1852
|
-
# - members:
|
|
1853
|
-
# - user:eve@example.com
|
|
1854
|
-
# role: roles/resourcemanager.organizationViewer
|
|
1855
|
-
# condition:
|
|
1856
|
-
# title: expirable access
|
|
1857
|
-
# description: Does not grant access after Sep 2020
|
|
1858
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
1859
|
-
# - etag: BwWWja0YfJA=
|
|
1860
|
-
# - version: 3
|
|
1861
|
-
# For a description of IAM and its features, see the
|
|
1862
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
1662
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
1663
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
1664
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
1665
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
1666
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
1667
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
1668
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
1669
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
1670
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
1671
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1672
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
1673
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
1674
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
1675
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
1676
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
1677
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
1678
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
1679
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
1680
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
1681
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
1682
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
1683
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
1684
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
1685
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
1686
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
1687
|
+
# google.com/iam/docs/).
|
|
1863
1688
|
class Policy
|
|
1864
1689
|
include Google::Apis::Core::Hashable
|
|
1865
1690
|
|
|
@@ -1868,48 +1693,44 @@ module Google
|
|
|
1868
1693
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
|
|
1869
1694
|
attr_accessor :audit_configs
|
|
1870
1695
|
|
|
1871
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
1872
|
-
#
|
|
1873
|
-
#
|
|
1696
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
|
1697
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
|
1698
|
+
# the `bindings` must contain at least one member.
|
|
1874
1699
|
# Corresponds to the JSON property `bindings`
|
|
1875
1700
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
|
|
1876
1701
|
attr_accessor :bindings
|
|
1877
1702
|
|
|
1878
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
|
1879
|
-
#
|
|
1880
|
-
#
|
|
1881
|
-
#
|
|
1882
|
-
#
|
|
1883
|
-
#
|
|
1884
|
-
#
|
|
1885
|
-
#
|
|
1886
|
-
#
|
|
1887
|
-
#
|
|
1888
|
-
#
|
|
1703
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
|
1704
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
|
1705
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
|
1706
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
|
1707
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
|
1708
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
|
1709
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
|
1710
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
|
1711
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
|
1712
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
|
1713
|
+
# are lost.
|
|
1889
1714
|
# Corresponds to the JSON property `etag`
|
|
1890
1715
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1891
1716
|
# @return [String]
|
|
1892
1717
|
attr_accessor :etag
|
|
1893
1718
|
|
|
1894
|
-
# Specifies the format of the policy.
|
|
1895
|
-
#
|
|
1896
|
-
#
|
|
1897
|
-
#
|
|
1898
|
-
#
|
|
1899
|
-
#
|
|
1900
|
-
#
|
|
1901
|
-
#
|
|
1902
|
-
#
|
|
1903
|
-
#
|
|
1904
|
-
#
|
|
1905
|
-
#
|
|
1906
|
-
#
|
|
1907
|
-
#
|
|
1908
|
-
#
|
|
1909
|
-
# specify any valid version or leave the field unset.
|
|
1910
|
-
# To learn which resources support conditions in their IAM policies, see the
|
|
1911
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
1912
|
-
# policies).
|
|
1719
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
|
1720
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
|
1721
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
|
1722
|
+
# applies to the following operations: * Getting a policy that includes a
|
|
1723
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
|
1724
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
|
1725
|
+
# with or without a condition, from a policy that includes conditions **
|
|
1726
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
|
1727
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
|
1728
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
|
1729
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
|
1730
|
+
# any conditions, operations on that policy may specify any valid version or
|
|
1731
|
+
# leave the field unset. To learn which resources support conditions in their
|
|
1732
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
|
1733
|
+
# conditions/resource-policies).
|
|
1913
1734
|
# Corresponds to the JSON property `version`
|
|
1914
1735
|
# @return [Fixnum]
|
|
1915
1736
|
attr_accessor :version
|
|
@@ -1946,8 +1767,8 @@ module Google
|
|
|
1946
1767
|
include Google::Apis::Core::Hashable
|
|
1947
1768
|
|
|
1948
1769
|
# Immutable. The full resource name of the Google Cloud resource this asset
|
|
1949
|
-
# represents. This field is immutable after create time. See:
|
|
1950
|
-
#
|
|
1770
|
+
# represents. This field is immutable after create time. See: https://cloud.
|
|
1771
|
+
# google.com/apis/design/resource_names#full_resource_name
|
|
1951
1772
|
# Corresponds to the JSON property `resourceName`
|
|
1952
1773
|
# @return [String]
|
|
1953
1774
|
attr_accessor :resource_name
|
|
@@ -1957,22 +1778,21 @@ module Google
|
|
|
1957
1778
|
# @return [Array<String>]
|
|
1958
1779
|
attr_accessor :resource_owners
|
|
1959
1780
|
|
|
1960
|
-
# The full resource name of the immediate parent of the resource. See:
|
|
1961
|
-
#
|
|
1781
|
+
# The full resource name of the immediate parent of the resource. See: https://
|
|
1782
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1962
1783
|
# Corresponds to the JSON property `resourceParent`
|
|
1963
1784
|
# @return [String]
|
|
1964
1785
|
attr_accessor :resource_parent
|
|
1965
1786
|
|
|
1966
|
-
# The full resource name of the project the resource belongs to. See:
|
|
1967
|
-
#
|
|
1787
|
+
# The full resource name of the project the resource belongs to. See: https://
|
|
1788
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
|
1968
1789
|
# Corresponds to the JSON property `resourceProject`
|
|
1969
1790
|
# @return [String]
|
|
1970
1791
|
attr_accessor :resource_project
|
|
1971
1792
|
|
|
1972
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
|
1973
|
-
#
|
|
1974
|
-
#
|
|
1975
|
-
# immutable after create time.
|
|
1793
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
|
1794
|
+
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
|
1795
|
+
# Center and/or the producer of the resource and is immutable after create time.
|
|
1976
1796
|
# Corresponds to the JSON property `resourceType`
|
|
1977
1797
|
# @return [String]
|
|
1978
1798
|
attr_accessor :resource_type
|
|
@@ -1991,30 +1811,26 @@ module Google
|
|
|
1991
1811
|
end
|
|
1992
1812
|
end
|
|
1993
1813
|
|
|
1994
|
-
# User specified security marks that are attached to the parent Security
|
|
1995
|
-
#
|
|
1996
|
-
#
|
|
1997
|
-
#
|
|
1814
|
+
# User specified security marks that are attached to the parent Security Command
|
|
1815
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
|
1816
|
+
# organization -- they can be modified and viewed by all users who have proper
|
|
1817
|
+
# permissions on the organization.
|
|
1998
1818
|
class SecurityMarks
|
|
1999
1819
|
include Google::Apis::Core::Hashable
|
|
2000
1820
|
|
|
2001
1821
|
# Mutable user specified security marks belonging to the parent resource.
|
|
2002
|
-
# Constraints are as follows:
|
|
2003
|
-
#
|
|
2004
|
-
#
|
|
2005
|
-
#
|
|
2006
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
|
2007
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
|
1822
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
|
1823
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
|
1824
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
|
1825
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
|
2008
1826
|
# Corresponds to the JSON property `marks`
|
|
2009
1827
|
# @return [Hash<String,String>]
|
|
2010
1828
|
attr_accessor :marks
|
|
2011
1829
|
|
|
2012
|
-
# The relative resource name of the SecurityMarks. See:
|
|
2013
|
-
#
|
|
2014
|
-
#
|
|
2015
|
-
#
|
|
2016
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
|
2017
|
-
# securityMarks".
|
|
1830
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
|
1831
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
|
1832
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
|
1833
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
|
2018
1834
|
# Corresponds to the JSON property `name`
|
|
2019
1835
|
# @return [String]
|
|
2020
1836
|
attr_accessor :name
|
|
@@ -2060,74 +1876,39 @@ module Google
|
|
|
2060
1876
|
include Google::Apis::Core::Hashable
|
|
2061
1877
|
|
|
2062
1878
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
2063
|
-
# controls for Google Cloud resources.
|
|
2064
|
-
# A `
|
|
2065
|
-
#
|
|
2066
|
-
#
|
|
2067
|
-
#
|
|
2068
|
-
#
|
|
2069
|
-
#
|
|
2070
|
-
#
|
|
2071
|
-
#
|
|
2072
|
-
#
|
|
2073
|
-
#
|
|
2074
|
-
# [
|
|
2075
|
-
#
|
|
2076
|
-
#
|
|
2077
|
-
# `
|
|
2078
|
-
# "
|
|
2079
|
-
# `
|
|
2080
|
-
# "
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2084
|
-
#
|
|
2085
|
-
#
|
|
2086
|
-
#
|
|
2087
|
-
#
|
|
2088
|
-
#
|
|
2089
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
|
2090
|
-
# "members": [
|
|
2091
|
-
# "user:eve@example.com"
|
|
2092
|
-
# ],
|
|
2093
|
-
# "condition": `
|
|
2094
|
-
# "title": "expirable access",
|
|
2095
|
-
# "description": "Does not grant access after Sep 2020",
|
|
2096
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2097
|
-
# ",
|
|
2098
|
-
# `
|
|
2099
|
-
# `
|
|
2100
|
-
# ],
|
|
2101
|
-
# "etag": "BwWWja0YfJA=",
|
|
2102
|
-
# "version": 3
|
|
2103
|
-
# `
|
|
2104
|
-
# **YAML example:**
|
|
2105
|
-
# bindings:
|
|
2106
|
-
# - members:
|
|
2107
|
-
# - user:mike@example.com
|
|
2108
|
-
# - group:admins@example.com
|
|
2109
|
-
# - domain:google.com
|
|
2110
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
|
2111
|
-
# role: roles/resourcemanager.organizationAdmin
|
|
2112
|
-
# - members:
|
|
2113
|
-
# - user:eve@example.com
|
|
2114
|
-
# role: roles/resourcemanager.organizationViewer
|
|
2115
|
-
# condition:
|
|
2116
|
-
# title: expirable access
|
|
2117
|
-
# description: Does not grant access after Sep 2020
|
|
2118
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2119
|
-
# - etag: BwWWja0YfJA=
|
|
2120
|
-
# - version: 3
|
|
2121
|
-
# For a description of IAM and its features, see the
|
|
2122
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
1879
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
1880
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
|
1881
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
|
1882
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
|
1883
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
|
1884
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
|
1885
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
|
1886
|
+
# condition can add constraints based on attributes of the request, the resource,
|
|
1887
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
|
1888
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
|
1889
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
|
1890
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
|
1891
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
|
1892
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
|
1893
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
|
1894
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
|
1895
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
|
1896
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
|
1897
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
|
1898
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
|
1899
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
|
1900
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
|
1901
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
|
1902
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
|
1903
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
|
1904
|
+
# google.com/iam/docs/).
|
|
2123
1905
|
# Corresponds to the JSON property `policy`
|
|
2124
1906
|
# @return [Google::Apis::SecuritycenterV1beta1::Policy]
|
|
2125
1907
|
attr_accessor :policy
|
|
2126
1908
|
|
|
2127
1909
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
2128
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
|
2129
|
-
#
|
|
2130
|
-
# `paths: "bindings, etag"`
|
|
1910
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
|
1911
|
+
# default mask is used: `paths: "bindings, etag"`
|
|
2131
1912
|
# Corresponds to the JSON property `updateMask`
|
|
2132
1913
|
# @return [String]
|
|
2133
1914
|
attr_accessor :update_mask
|
|
@@ -2143,36 +1924,32 @@ module Google
|
|
|
2143
1924
|
end
|
|
2144
1925
|
end
|
|
2145
1926
|
|
|
2146
|
-
# Security Command Center finding source. A finding source
|
|
2147
|
-
#
|
|
2148
|
-
#
|
|
1927
|
+
# Security Command Center finding source. A finding source is an entity or a
|
|
1928
|
+
# mechanism that can produce a finding. A source is like a container of findings
|
|
1929
|
+
# that come from the same scanner, logger, monitor, etc.
|
|
2149
1930
|
class Source
|
|
2150
1931
|
include Google::Apis::Core::Hashable
|
|
2151
1932
|
|
|
2152
|
-
# The description of the source (max of 1024 characters).
|
|
2153
|
-
#
|
|
2154
|
-
#
|
|
2155
|
-
#
|
|
2156
|
-
#
|
|
2157
|
-
# (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
|
2158
|
-
# outdated/insecure libraries."
|
|
1933
|
+
# The description of the source (max of 1024 characters). Example: "Web Security
|
|
1934
|
+
# Scanner is a web security scanner for common vulnerabilities in App Engine
|
|
1935
|
+
# applications. It can automatically scan and detect four common vulnerabilities,
|
|
1936
|
+
# including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
|
|
1937
|
+
# HTTPS), and outdated/insecure libraries."
|
|
2159
1938
|
# Corresponds to the JSON property `description`
|
|
2160
1939
|
# @return [String]
|
|
2161
1940
|
attr_accessor :description
|
|
2162
1941
|
|
|
2163
|
-
# The source's display name.
|
|
2164
|
-
#
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
# (inclusive).
|
|
1942
|
+
# The source's display name. A source's display name must be unique amongst its
|
|
1943
|
+
# siblings, for example, two sources with the same parent can't share the same
|
|
1944
|
+
# display name. The display name must have a length between 1 and 64 characters (
|
|
1945
|
+
# inclusive).
|
|
2168
1946
|
# Corresponds to the JSON property `displayName`
|
|
2169
1947
|
# @return [String]
|
|
2170
1948
|
attr_accessor :display_name
|
|
2171
1949
|
|
|
2172
|
-
# The relative resource name of this source. See:
|
|
2173
|
-
#
|
|
2174
|
-
#
|
|
2175
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
|
1950
|
+
# The relative resource name of this source. See: https://cloud.google.com/apis/
|
|
1951
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
|
1952
|
+
# organization_id`/sources/`source_id`"
|
|
2176
1953
|
# Corresponds to the JSON property `name`
|
|
2177
1954
|
# @return [String]
|
|
2178
1955
|
attr_accessor :name
|
|
@@ -2189,12 +1966,12 @@ module Google
|
|
|
2189
1966
|
end
|
|
2190
1967
|
end
|
|
2191
1968
|
|
|
2192
|
-
# The `Status` type defines a logical error model that is suitable for
|
|
2193
|
-
#
|
|
2194
|
-
#
|
|
2195
|
-
#
|
|
2196
|
-
#
|
|
2197
|
-
#
|
|
1969
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1970
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1971
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1972
|
+
# data: error code, error message, and error details. You can find out more
|
|
1973
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1974
|
+
# //cloud.google.com/apis/design/errors).
|
|
2198
1975
|
class Status
|
|
2199
1976
|
include Google::Apis::Core::Hashable
|
|
2200
1977
|
|
|
@@ -2203,15 +1980,15 @@ module Google
|
|
|
2203
1980
|
# @return [Fixnum]
|
|
2204
1981
|
attr_accessor :code
|
|
2205
1982
|
|
|
2206
|
-
# A list of messages that carry the error details.
|
|
1983
|
+
# A list of messages that carry the error details. There is a common set of
|
|
2207
1984
|
# message types for APIs to use.
|
|
2208
1985
|
# Corresponds to the JSON property `details`
|
|
2209
1986
|
# @return [Array<Hash<String,Object>>]
|
|
2210
1987
|
attr_accessor :details
|
|
2211
1988
|
|
|
2212
|
-
# A developer-facing error message, which should be in English. Any
|
|
2213
|
-
#
|
|
2214
|
-
#
|
|
1989
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
|
1990
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
|
1991
|
+
# field, or localized by the client.
|
|
2215
1992
|
# Corresponds to the JSON property `message`
|
|
2216
1993
|
# @return [String]
|
|
2217
1994
|
attr_accessor :message
|
|
@@ -2232,10 +2009,9 @@ module Google
|
|
|
2232
2009
|
class TestIamPermissionsRequest
|
|
2233
2010
|
include Google::Apis::Core::Hashable
|
|
2234
2011
|
|
|
2235
|
-
# The set of permissions to check for the `resource`. Permissions with
|
|
2236
|
-
#
|
|
2237
|
-
#
|
|
2238
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
2012
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
2013
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
|
2014
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
2239
2015
|
# Corresponds to the JSON property `permissions`
|
|
2240
2016
|
# @return [Array<String>]
|
|
2241
2017
|
attr_accessor :permissions
|
|
@@ -2254,8 +2030,7 @@ module Google
|
|
|
2254
2030
|
class TestIamPermissionsResponse
|
|
2255
2031
|
include Google::Apis::Core::Hashable
|
|
2256
2032
|
|
|
2257
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
|
2258
|
-
# allowed.
|
|
2033
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
|
2259
2034
|
# Corresponds to the JSON property `permissions`
|
|
2260
2035
|
# @return [Array<String>]
|
|
2261
2036
|
attr_accessor :permissions
|