google-api-client 0.41.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- 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/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -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 -268
- 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 +199 -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 +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- 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/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- 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 +645 -900
- 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/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- 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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_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/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- 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 +207 -330
- 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 +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- 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/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- 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/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- 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/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- 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 -143
- 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 +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- 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 +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- 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 +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- 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 +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- 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/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- 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 +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- 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/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- 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 +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -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 +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- 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_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- 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 +50 -2
- 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/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -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/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- 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 -1868
- 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 -1788
- 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 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- 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 +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- 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 +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- 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
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -48,15 +48,13 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Starts asynchronous cancellation on a long-running operation.
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# operation
|
58
|
-
# the operation is not deleted; instead, it becomes an operation with
|
59
|
-
# an Operation.error value with a google.rpc.Status.code of 1,
|
51
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
52
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
53
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
54
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
55
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
56
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
57
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
60
58
|
# corresponding to `Code.CANCELLED`.
|
61
59
|
# @param [String] name
|
62
60
|
# The name of the operation resource to be cancelled.
|
@@ -87,10 +85,10 @@ module Google
|
|
87
85
|
execute_or_queue_command(command, &block)
|
88
86
|
end
|
89
87
|
|
90
|
-
# Deletes a long-running operation. This method indicates that the client is
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
88
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
89
|
+
# longer interested in the operation result. It does not cancel the operation.
|
90
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
91
|
+
# UNIMPLEMENTED`.
|
94
92
|
# @param [String] name
|
95
93
|
# The name of the operation resource to be deleted.
|
96
94
|
# @param [String] fields
|
@@ -120,9 +118,8 @@ module Google
|
|
120
118
|
execute_or_queue_command(command, &block)
|
121
119
|
end
|
122
120
|
|
123
|
-
# Gets the latest state of a long-running operation.
|
124
|
-
#
|
125
|
-
# service.
|
121
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
122
|
+
# to poll the operation result at intervals as recommended by the API service.
|
126
123
|
# @param [String] name
|
127
124
|
# The name of the operation resource.
|
128
125
|
# @param [String] fields
|
@@ -152,15 +149,14 @@ module Google
|
|
152
149
|
execute_or_queue_command(command, &block)
|
153
150
|
end
|
154
151
|
|
155
|
-
# Lists operations that match the specified filter in the request. If the
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
# is the parent resource, without the operations collection id.
|
152
|
+
# Lists operations that match the specified filter in the request. If the server
|
153
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
154
|
+
# binding allows API services to override the binding to use different resource
|
155
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
156
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
157
|
+
# service configuration. For backwards compatibility, the default name includes
|
158
|
+
# the operations collection id, however overriding users must ensure the name
|
159
|
+
# binding is the parent resource, without the operations collection id.
|
164
160
|
# @param [String] name
|
165
161
|
# The name of the operation's parent resource.
|
166
162
|
# @param [String] filter
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1p1beta1
|
28
28
|
VERSION = 'V1p1beta1'
|
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'
|
@@ -47,53 +47,21 @@ module Google
|
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
50
|
-
# Specifies the audit configuration for a service.
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# `
|
60
|
-
# "
|
61
|
-
# `
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# "log_type": "DATA_READ",
|
66
|
-
# "exempted_members": [
|
67
|
-
# "user:jose@example.com"
|
68
|
-
# ]
|
69
|
-
# `,
|
70
|
-
# `
|
71
|
-
# "log_type": "DATA_WRITE"
|
72
|
-
# `,
|
73
|
-
# `
|
74
|
-
# "log_type": "ADMIN_READ"
|
75
|
-
# `
|
76
|
-
# ]
|
77
|
-
# `,
|
78
|
-
# `
|
79
|
-
# "service": "sampleservice.googleapis.com",
|
80
|
-
# "audit_log_configs": [
|
81
|
-
# `
|
82
|
-
# "log_type": "DATA_READ"
|
83
|
-
# `,
|
84
|
-
# `
|
85
|
-
# "log_type": "DATA_WRITE",
|
86
|
-
# "exempted_members": [
|
87
|
-
# "user:aliya@example.com"
|
88
|
-
# ]
|
89
|
-
# `
|
90
|
-
# ]
|
91
|
-
# `
|
92
|
-
# ]
|
93
|
-
# `
|
94
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
95
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
96
|
-
# aliya@example.com from DATA_WRITE logging.
|
50
|
+
# Specifies the audit configuration for a service. The configuration determines
|
51
|
+
# which permission types are logged, and what identities, if any, are exempted
|
52
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
53
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
54
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
55
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
56
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
57
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
58
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
59
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
60
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
61
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
62
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
63
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
64
|
+
# DATA_WRITE logging.
|
97
65
|
class AuditConfig
|
98
66
|
include Google::Apis::Core::Hashable
|
99
67
|
|
@@ -102,9 +70,9 @@ module Google
|
|
102
70
|
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditLogConfig>]
|
103
71
|
attr_accessor :audit_log_configs
|
104
72
|
|
105
|
-
# Specifies a service that will be enabled for audit logging.
|
106
|
-
#
|
107
|
-
#
|
73
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
74
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
75
|
+
# value that covers all services.
|
108
76
|
# Corresponds to the JSON property `service`
|
109
77
|
# @return [String]
|
110
78
|
attr_accessor :service
|
@@ -120,28 +88,15 @@ module Google
|
|
120
88
|
end
|
121
89
|
end
|
122
90
|
|
123
|
-
# Provides the configuration for logging a type of permissions.
|
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
|
-
# `
|
138
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
139
|
-
# jose@example.com from DATA_READ logging.
|
91
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
92
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
93
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
94
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
95
|
+
# DATA_READ logging.
|
140
96
|
class AuditLogConfig
|
141
97
|
include Google::Apis::Core::Hashable
|
142
98
|
|
143
|
-
# Specifies the identities that do not cause logging for this type of
|
144
|
-
# permission.
|
99
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
145
100
|
# Follows the same format of Binding.members.
|
146
101
|
# Corresponds to the JSON property `exemptedMembers`
|
147
102
|
# @return [Array<String>]
|
@@ -167,69 +122,57 @@ module Google
|
|
167
122
|
class Binding
|
168
123
|
include Google::Apis::Core::Hashable
|
169
124
|
|
170
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
# description: "Determines if
|
176
|
-
# expression: "document.
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
#
|
185
|
-
# Example (Data Manipulation):
|
186
|
-
# title: "Notification string"
|
187
|
-
# description: "Create a notification string with a timestamp."
|
188
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
189
|
-
# The exact variables and functions that may be referenced within an expression
|
190
|
-
# are determined by the service that evaluates it. See the service
|
191
|
-
# documentation for additional information.
|
125
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
126
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
127
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
128
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
129
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
130
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
131
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
132
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
133
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
134
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
135
|
+
# string" description: "Create a notification string with a timestamp."
|
136
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
137
|
+
# exact variables and functions that may be referenced within an expression are
|
138
|
+
# determined by the service that evaluates it. See the service documentation for
|
139
|
+
# additional information.
|
192
140
|
# Corresponds to the JSON property `condition`
|
193
141
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Expr]
|
194
142
|
attr_accessor :condition
|
195
143
|
|
196
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
200
|
-
#
|
201
|
-
#
|
202
|
-
# * `
|
203
|
-
# account. For example, `
|
204
|
-
# * `
|
205
|
-
#
|
206
|
-
#
|
207
|
-
# For example, `
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
214
|
-
#
|
215
|
-
# deleted
|
216
|
-
#
|
217
|
-
# If the
|
218
|
-
# `
|
219
|
-
# role in the binding.
|
220
|
-
#
|
221
|
-
#
|
222
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
223
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
224
|
-
# recovered group retains the role in the binding.
|
225
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
226
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
144
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
145
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
146
|
+
# that represents anyone who is on the internet; with or without a Google
|
147
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
148
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
149
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
150
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
151
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
152
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
153
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
154
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
155
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
156
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
157
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
158
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
159
|
+
# identifier) representing a service account that has been recently deleted. For
|
160
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
161
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
162
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
163
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
164
|
+
# identifier) representing a Google group that has been recently deleted. For
|
165
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
166
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
167
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
168
|
+
# primary) that represents all the users of that domain. For example, `google.
|
169
|
+
# com` or `example.com`.
|
227
170
|
# Corresponds to the JSON property `members`
|
228
171
|
# @return [Array<String>]
|
229
172
|
attr_accessor :members
|
230
173
|
|
231
|
-
# Role that is assigned to `members`.
|
232
|
-
#
|
174
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
175
|
+
# , or `roles/owner`.
|
233
176
|
# Corresponds to the JSON property `role`
|
234
177
|
# @return [String]
|
235
178
|
attr_accessor :role
|
@@ -246,13 +189,11 @@ module Google
|
|
246
189
|
end
|
247
190
|
end
|
248
191
|
|
249
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
250
|
-
#
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
# `
|
255
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
192
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
193
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
194
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
195
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
196
|
+
# `Empty` is empty JSON object ````.
|
256
197
|
class Empty
|
257
198
|
include Google::Apis::Core::Hashable
|
258
199
|
|
@@ -265,52 +206,43 @@ module Google
|
|
265
206
|
end
|
266
207
|
end
|
267
208
|
|
268
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
# description: "Determines if
|
274
|
-
# expression: "document.
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
# Example (Data Manipulation):
|
284
|
-
# title: "Notification string"
|
285
|
-
# description: "Create a notification string with a timestamp."
|
286
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
287
|
-
# The exact variables and functions that may be referenced within an expression
|
288
|
-
# are determined by the service that evaluates it. See the service
|
289
|
-
# documentation for additional information.
|
209
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
210
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
211
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
212
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
213
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
214
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
215
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
216
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
217
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
218
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
219
|
+
# string" description: "Create a notification string with a timestamp."
|
220
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
221
|
+
# exact variables and functions that may be referenced within an expression are
|
222
|
+
# determined by the service that evaluates it. See the service documentation for
|
223
|
+
# additional information.
|
290
224
|
class Expr
|
291
225
|
include Google::Apis::Core::Hashable
|
292
226
|
|
293
|
-
# Optional. Description of the expression. This is a longer text which
|
294
|
-
#
|
227
|
+
# Optional. Description of the expression. This is a longer text which describes
|
228
|
+
# the expression, e.g. when hovered over it in a UI.
|
295
229
|
# Corresponds to the JSON property `description`
|
296
230
|
# @return [String]
|
297
231
|
attr_accessor :description
|
298
232
|
|
299
|
-
# Textual representation of an expression in Common Expression Language
|
300
|
-
# syntax.
|
233
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
301
234
|
# Corresponds to the JSON property `expression`
|
302
235
|
# @return [String]
|
303
236
|
attr_accessor :expression
|
304
237
|
|
305
|
-
# Optional. String indicating the location of the expression for error
|
306
|
-
#
|
238
|
+
# Optional. String indicating the location of the expression for error reporting,
|
239
|
+
# e.g. a file name and a position in the file.
|
307
240
|
# Corresponds to the JSON property `location`
|
308
241
|
# @return [String]
|
309
242
|
attr_accessor :location
|
310
243
|
|
311
|
-
# Optional. Title for the expression, i.e. a short string describing
|
312
|
-
#
|
313
|
-
# expression.
|
244
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
245
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
314
246
|
# Corresponds to the JSON property `title`
|
315
247
|
# @return [String]
|
316
248
|
attr_accessor :title
|
@@ -328,18 +260,16 @@ module Google
|
|
328
260
|
end
|
329
261
|
end
|
330
262
|
|
331
|
-
# Security Command Center finding.
|
332
|
-
#
|
333
|
-
#
|
334
|
-
#
|
335
|
-
#
|
336
|
-
# finding.
|
263
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
264
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
265
|
+
# Center for presentation, notification, analysis, policy testing, and
|
266
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
267
|
+
# Engine application is a finding.
|
337
268
|
class Finding
|
338
269
|
include Google::Apis::Core::Hashable
|
339
270
|
|
340
|
-
# The additional taxonomy group within findings from a given source.
|
341
|
-
#
|
342
|
-
# Example: "XSS_FLASH_INJECTION"
|
271
|
+
# The additional taxonomy group within findings from a given source. This field
|
272
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
343
273
|
# Corresponds to the JSON property `category`
|
344
274
|
# @return [String]
|
345
275
|
attr_accessor :category
|
@@ -349,59 +279,56 @@ module Google
|
|
349
279
|
# @return [String]
|
350
280
|
attr_accessor :create_time
|
351
281
|
|
352
|
-
# The time at which the event took place. For example, if the finding
|
353
|
-
#
|
354
|
-
#
|
282
|
+
# The time at which the event took place. For example, if the finding represents
|
283
|
+
# an open firewall it would capture the time the detector believes the firewall
|
284
|
+
# became open. The accuracy is determined by the detector.
|
355
285
|
# Corresponds to the JSON property `eventTime`
|
356
286
|
# @return [String]
|
357
287
|
attr_accessor :event_time
|
358
288
|
|
359
|
-
# The URI that, if available, points to a web page outside of Security
|
360
|
-
#
|
361
|
-
#
|
289
|
+
# The URI that, if available, points to a web page outside of Security Command
|
290
|
+
# Center where additional information about the finding can be found. This field
|
291
|
+
# is guaranteed to be either empty or a well formed URL.
|
362
292
|
# Corresponds to the JSON property `externalUri`
|
363
293
|
# @return [String]
|
364
294
|
attr_accessor :external_uri
|
365
295
|
|
366
|
-
# The relative resource name of this finding. See:
|
367
|
-
#
|
368
|
-
#
|
369
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
296
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
297
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
298
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
370
299
|
# Corresponds to the JSON property `name`
|
371
300
|
# @return [String]
|
372
301
|
attr_accessor :name
|
373
302
|
|
374
|
-
# The relative resource name of the source the finding belongs to. See:
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
303
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
304
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
305
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
306
|
+
# /sources/`source_id`"
|
379
307
|
# Corresponds to the JSON property `parent`
|
380
308
|
# @return [String]
|
381
309
|
attr_accessor :parent
|
382
310
|
|
383
|
-
# For findings on Google Cloud resources, the full resource
|
384
|
-
#
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# creation time.
|
311
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
312
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
313
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
314
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
315
|
+
# field is immutable after creation time.
|
389
316
|
# Corresponds to the JSON property `resourceName`
|
390
317
|
# @return [String]
|
391
318
|
attr_accessor :resource_name
|
392
319
|
|
393
|
-
# User specified security marks that are attached to the parent Security
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
320
|
+
# User specified security marks that are attached to the parent Security Command
|
321
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
322
|
+
# organization -- they can be modified and viewed by all users who have proper
|
323
|
+
# permissions on the organization.
|
397
324
|
# Corresponds to the JSON property `securityMarks`
|
398
325
|
# @return [Google::Apis::SecuritycenterV1p1beta1::SecurityMarks]
|
399
326
|
attr_accessor :security_marks
|
400
327
|
|
401
|
-
# Source specific properties. These properties are managed by the source
|
402
|
-
#
|
403
|
-
#
|
404
|
-
#
|
328
|
+
# Source specific properties. These properties are managed by the source that
|
329
|
+
# writes the finding. The key names in the source_properties map must be between
|
330
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
331
|
+
# characters or underscores only.
|
405
332
|
# Corresponds to the JSON property `sourceProperties`
|
406
333
|
# @return [Hash<String,Object>]
|
407
334
|
attr_accessor :source_properties
|
@@ -453,15 +380,13 @@ module Google
|
|
453
380
|
class GetPolicyOptions
|
454
381
|
include Google::Apis::Core::Hashable
|
455
382
|
|
456
|
-
# Optional. The policy format version to be returned.
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
#
|
462
|
-
#
|
463
|
-
# [IAM
|
464
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
383
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
384
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
385
|
+
# policies with any conditional bindings must specify version 3. Policies
|
386
|
+
# without any conditional bindings may specify any valid value or leave the
|
387
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
388
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
389
|
+
# resource-policies).
|
465
390
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
466
391
|
# @return [Fixnum]
|
467
392
|
attr_accessor :requested_policy_version
|
@@ -480,12 +405,11 @@ module Google
|
|
480
405
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
481
406
|
include Google::Apis::Core::Hashable
|
482
407
|
|
483
|
-
# Security Command Center finding.
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
# finding.
|
408
|
+
# Security Command Center finding. A finding is a record of assessment data like
|
409
|
+
# security, risk, health, or privacy, that is ingested into Security Command
|
410
|
+
# Center for presentation, notification, analysis, policy testing, and
|
411
|
+
# enforcement. For example, a cross-site scripting (XSS) vulnerability in an App
|
412
|
+
# Engine application is a finding.
|
489
413
|
# Corresponds to the JSON property `finding`
|
490
414
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Finding]
|
491
415
|
attr_accessor :finding
|
@@ -516,8 +440,8 @@ module Google
|
|
516
440
|
class GoogleCloudSecuritycenterV1Resource
|
517
441
|
include Google::Apis::Core::Hashable
|
518
442
|
|
519
|
-
# The full resource name of the resource. See:
|
520
|
-
#
|
443
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
444
|
+
# design/resource_names#full_resource_name
|
521
445
|
# Corresponds to the JSON property `name`
|
522
446
|
# @return [String]
|
523
447
|
attr_accessor :name
|
@@ -606,12 +530,11 @@ module Google
|
|
606
530
|
end
|
607
531
|
end
|
608
532
|
|
609
|
-
# Security Command Center representation of a Google Cloud
|
610
|
-
# resource
|
611
|
-
#
|
612
|
-
#
|
613
|
-
#
|
614
|
-
# Google Cloud resource.
|
533
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
534
|
+
# is a Security Command Center resource that captures information about a single
|
535
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
536
|
+
# context of Security Command Center and don't affect the referenced Google
|
537
|
+
# Cloud resource.
|
615
538
|
class GoogleCloudSecuritycenterV1p1beta1Asset
|
616
539
|
include Google::Apis::Core::Hashable
|
617
540
|
|
@@ -622,22 +545,20 @@ module Google
|
|
622
545
|
|
623
546
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
624
547
|
# described by the Security Command Center asset. This information is managed
|
625
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
626
|
-
# user.
|
548
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
627
549
|
# Corresponds to the JSON property `iamPolicy`
|
628
550
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
629
551
|
attr_accessor :iam_policy
|
630
552
|
|
631
|
-
# The relative resource name of this asset. See:
|
632
|
-
#
|
633
|
-
#
|
634
|
-
# "organizations/`organization_id`/assets/`asset_id`".
|
553
|
+
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
554
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
555
|
+
# organization_id`/assets/`asset_id`".
|
635
556
|
# Corresponds to the JSON property `name`
|
636
557
|
# @return [String]
|
637
558
|
attr_accessor :name
|
638
559
|
|
639
|
-
# Resource managed properties. These properties are managed and defined by
|
640
|
-
#
|
560
|
+
# Resource managed properties. These properties are managed and defined by the
|
561
|
+
# Google Cloud resource and cannot be modified by the user.
|
641
562
|
# Corresponds to the JSON property `resourceProperties`
|
642
563
|
# @return [Hash<String,Object>]
|
643
564
|
attr_accessor :resource_properties
|
@@ -648,16 +569,15 @@ module Google
|
|
648
569
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
649
570
|
attr_accessor :security_center_properties
|
650
571
|
|
651
|
-
# User specified security marks that are attached to the parent Security
|
652
|
-
#
|
653
|
-
#
|
654
|
-
#
|
572
|
+
# User specified security marks that are attached to the parent Security Command
|
573
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
574
|
+
# organization -- they can be modified and viewed by all users who have proper
|
575
|
+
# permissions on the organization.
|
655
576
|
# Corresponds to the JSON property `securityMarks`
|
656
577
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
657
578
|
attr_accessor :security_marks
|
658
579
|
|
659
|
-
# The time at which the asset was last updated, added, or deleted in Cloud
|
660
|
-
# SCC.
|
580
|
+
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
661
581
|
# Corresponds to the JSON property `updateTime`
|
662
582
|
# @return [String]
|
663
583
|
attr_accessor :update_time
|
@@ -678,17 +598,15 @@ module Google
|
|
678
598
|
end
|
679
599
|
end
|
680
600
|
|
681
|
-
# Security Command Center finding.
|
682
|
-
#
|
683
|
-
#
|
684
|
-
#
|
685
|
-
# in an App Engine application is a finding.
|
601
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
602
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
603
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
604
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
686
605
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
687
606
|
include Google::Apis::Core::Hashable
|
688
607
|
|
689
|
-
# The additional taxonomy group within findings from a given source.
|
690
|
-
#
|
691
|
-
# Example: "XSS_FLASH_INJECTION"
|
608
|
+
# The additional taxonomy group within findings from a given source. This field
|
609
|
+
# is immutable after creation time. Example: "XSS_FLASH_INJECTION"
|
692
610
|
# Corresponds to the JSON property `category`
|
693
611
|
# @return [String]
|
694
612
|
attr_accessor :category
|
@@ -698,59 +616,56 @@ module Google
|
|
698
616
|
# @return [String]
|
699
617
|
attr_accessor :create_time
|
700
618
|
|
701
|
-
# The time at which the event took place. For example, if the finding
|
702
|
-
#
|
703
|
-
#
|
619
|
+
# The time at which the event took place. For example, if the finding represents
|
620
|
+
# an open firewall it would capture the time the detector believes the firewall
|
621
|
+
# became open. The accuracy is determined by the detector.
|
704
622
|
# Corresponds to the JSON property `eventTime`
|
705
623
|
# @return [String]
|
706
624
|
attr_accessor :event_time
|
707
625
|
|
708
|
-
# The URI that, if available, points to a web page outside of Security
|
709
|
-
#
|
710
|
-
#
|
626
|
+
# The URI that, if available, points to a web page outside of Security Command
|
627
|
+
# Center where additional information about the finding can be found. This field
|
628
|
+
# is guaranteed to be either empty or a well formed URL.
|
711
629
|
# Corresponds to the JSON property `externalUri`
|
712
630
|
# @return [String]
|
713
631
|
attr_accessor :external_uri
|
714
632
|
|
715
|
-
# The relative resource name of this finding. See:
|
716
|
-
#
|
717
|
-
#
|
718
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
633
|
+
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
634
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
635
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
719
636
|
# Corresponds to the JSON property `name`
|
720
637
|
# @return [String]
|
721
638
|
attr_accessor :name
|
722
639
|
|
723
|
-
# The relative resource name of the source the finding belongs to. See:
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
727
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
640
|
+
# The relative resource name of the source the finding belongs to. See: https://
|
641
|
+
# cloud.google.com/apis/design/resource_names#relative_resource_name This field
|
642
|
+
# is immutable after creation time. For example: "organizations/`organization_id`
|
643
|
+
# /sources/`source_id`"
|
728
644
|
# Corresponds to the JSON property `parent`
|
729
645
|
# @return [String]
|
730
646
|
attr_accessor :parent
|
731
647
|
|
732
|
-
# For findings on Google Cloud resources, the full resource
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
# creation time.
|
648
|
+
# For findings on Google Cloud resources, the full resource name of the Google
|
649
|
+
# Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
|
650
|
+
# resource_names#full_resource_name When the finding is for a non-Google Cloud
|
651
|
+
# resource, the resourceName can be a customer or partner defined string. This
|
652
|
+
# field is immutable after creation time.
|
738
653
|
# Corresponds to the JSON property `resourceName`
|
739
654
|
# @return [String]
|
740
655
|
attr_accessor :resource_name
|
741
656
|
|
742
|
-
# User specified security marks that are attached to the parent Security
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
657
|
+
# User specified security marks that are attached to the parent Security Command
|
658
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
659
|
+
# organization -- they can be modified and viewed by all users who have proper
|
660
|
+
# permissions on the organization.
|
746
661
|
# Corresponds to the JSON property `securityMarks`
|
747
662
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
748
663
|
attr_accessor :security_marks
|
749
664
|
|
750
|
-
# Source specific properties. These properties are managed by the source
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
665
|
+
# Source specific properties. These properties are managed by the source that
|
666
|
+
# writes the finding. The key names in the source_properties map must be between
|
667
|
+
# 1 and 255 characters, and must start with a letter and contain alphanumeric
|
668
|
+
# characters or underscores only.
|
754
669
|
# Corresponds to the JSON property `sourceProperties`
|
755
670
|
# @return [Hash<String,Object>]
|
756
671
|
attr_accessor :source_properties
|
@@ -781,14 +696,12 @@ module Google
|
|
781
696
|
|
782
697
|
# Cloud IAM Policy information associated with the Google Cloud resource
|
783
698
|
# described by the Security Command Center asset. This information is managed
|
784
|
-
# and defined by the Google Cloud resource and cannot be modified by the
|
785
|
-
# user.
|
699
|
+
# and defined by the Google Cloud resource and cannot be modified by the user.
|
786
700
|
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
787
701
|
include Google::Apis::Core::Hashable
|
788
702
|
|
789
|
-
# The JSON representation of the Policy associated with the asset.
|
790
|
-
#
|
791
|
-
# format details.
|
703
|
+
# The JSON representation of the Policy associated with the asset. See https://
|
704
|
+
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
792
705
|
# Corresponds to the JSON property `policyBlob`
|
793
706
|
# @return [String]
|
794
707
|
attr_accessor :policy_blob
|
@@ -807,11 +720,10 @@ module Google
|
|
807
720
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
808
721
|
include Google::Apis::Core::Hashable
|
809
722
|
|
810
|
-
# Security Command Center finding.
|
811
|
-
#
|
812
|
-
#
|
813
|
-
#
|
814
|
-
# in an App Engine application is a finding.
|
723
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
724
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
725
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
726
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
815
727
|
# Corresponds to the JSON property `finding`
|
816
728
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
817
729
|
attr_accessor :finding
|
@@ -826,8 +738,8 @@ module Google
|
|
826
738
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
827
739
|
attr_accessor :resource
|
828
740
|
|
829
|
-
# Wrapper over asset object that also captures the state change for the asset
|
830
|
-
#
|
741
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
742
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
831
743
|
# Corresponds to the JSON property `temporalAsset`
|
832
744
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
833
745
|
attr_accessor :temporal_asset
|
@@ -849,8 +761,8 @@ module Google
|
|
849
761
|
class GoogleCloudSecuritycenterV1p1beta1Resource
|
850
762
|
include Google::Apis::Core::Hashable
|
851
763
|
|
852
|
-
# The full resource name of the resource. See:
|
853
|
-
#
|
764
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
765
|
+
# design/resource_names#full_resource_name
|
854
766
|
# Corresponds to the JSON property `name`
|
855
767
|
# @return [String]
|
856
768
|
attr_accessor :name
|
@@ -924,9 +836,9 @@ module Google
|
|
924
836
|
# @return [String]
|
925
837
|
attr_accessor :resource_display_name
|
926
838
|
|
927
|
-
# The full resource name of the Google Cloud resource this asset
|
928
|
-
#
|
929
|
-
#
|
839
|
+
# The full resource name of the Google Cloud resource this asset represents.
|
840
|
+
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
841
|
+
# design/resource_names#full_resource_name
|
930
842
|
# Corresponds to the JSON property `resourceName`
|
931
843
|
# @return [String]
|
932
844
|
attr_accessor :resource_name
|
@@ -936,8 +848,8 @@ module Google
|
|
936
848
|
# @return [Array<String>]
|
937
849
|
attr_accessor :resource_owners
|
938
850
|
|
939
|
-
# The full resource name of the immediate parent of the resource. See:
|
940
|
-
#
|
851
|
+
# The full resource name of the immediate parent of the resource. See: https://
|
852
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
941
853
|
# Corresponds to the JSON property `resourceParent`
|
942
854
|
# @return [String]
|
943
855
|
attr_accessor :resource_parent
|
@@ -947,8 +859,8 @@ module Google
|
|
947
859
|
# @return [String]
|
948
860
|
attr_accessor :resource_parent_display_name
|
949
861
|
|
950
|
-
# The full resource name of the project the resource belongs to. See:
|
951
|
-
#
|
862
|
+
# The full resource name of the project the resource belongs to. See: https://
|
863
|
+
# cloud.google.com/apis/design/resource_names#full_resource_name
|
952
864
|
# Corresponds to the JSON property `resourceProject`
|
953
865
|
# @return [String]
|
954
866
|
attr_accessor :resource_project
|
@@ -958,10 +870,9 @@ module Google
|
|
958
870
|
# @return [String]
|
959
871
|
attr_accessor :resource_project_display_name
|
960
872
|
|
961
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
962
|
-
#
|
963
|
-
#
|
964
|
-
# immutable after create time.
|
873
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
874
|
+
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
875
|
+
# Center and/or the producer of the resource and is immutable after create time.
|
965
876
|
# Corresponds to the JSON property `resourceType`
|
966
877
|
# @return [String]
|
967
878
|
attr_accessor :resource_type
|
@@ -983,30 +894,26 @@ module Google
|
|
983
894
|
end
|
984
895
|
end
|
985
896
|
|
986
|
-
# User specified security marks that are attached to the parent Security
|
987
|
-
#
|
988
|
-
#
|
989
|
-
#
|
897
|
+
# User specified security marks that are attached to the parent Security Command
|
898
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
899
|
+
# organization -- they can be modified and viewed by all users who have proper
|
900
|
+
# permissions on the organization.
|
990
901
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
991
902
|
include Google::Apis::Core::Hashable
|
992
903
|
|
993
904
|
# Mutable user specified security marks belonging to the parent resource.
|
994
|
-
# Constraints are as follows:
|
995
|
-
#
|
996
|
-
#
|
997
|
-
#
|
998
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
999
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
905
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
906
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
907
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
908
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
1000
909
|
# Corresponds to the JSON property `marks`
|
1001
910
|
# @return [Hash<String,String>]
|
1002
911
|
attr_accessor :marks
|
1003
912
|
|
1004
|
-
# The relative resource name of the SecurityMarks. See:
|
1005
|
-
#
|
1006
|
-
#
|
1007
|
-
#
|
1008
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
1009
|
-
# securityMarks".
|
913
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
914
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
915
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
916
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
1010
917
|
# Corresponds to the JSON property `name`
|
1011
918
|
# @return [String]
|
1012
919
|
attr_accessor :name
|
@@ -1022,17 +929,16 @@ module Google
|
|
1022
929
|
end
|
1023
930
|
end
|
1024
931
|
|
1025
|
-
# Wrapper over asset object that also captures the state change for the asset
|
1026
|
-
#
|
932
|
+
# Wrapper over asset object that also captures the state change for the asset e.
|
933
|
+
# g. if it was a newly created asset vs updated or deleted asset.
|
1027
934
|
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
1028
935
|
include Google::Apis::Core::Hashable
|
1029
936
|
|
1030
|
-
# Security Command Center representation of a Google Cloud
|
1031
|
-
# resource
|
1032
|
-
#
|
1033
|
-
#
|
1034
|
-
#
|
1035
|
-
# Google Cloud resource.
|
937
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
938
|
+
# is a Security Command Center resource that captures information about a single
|
939
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
940
|
+
# context of Security Command Center and don't affect the referenced Google
|
941
|
+
# Cloud resource.
|
1036
942
|
# Corresponds to the JSON property `asset`
|
1037
943
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1038
944
|
attr_accessor :asset
|
@@ -1058,119 +964,93 @@ module Google
|
|
1058
964
|
include Google::Apis::Core::Hashable
|
1059
965
|
|
1060
966
|
# When compare_duration is set, the GroupResult's "state_change" property is
|
1061
|
-
# updated to indicate whether the asset was added, removed, or remained
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
1073
|
-
# compare_duration
|
1074
|
-
#
|
1075
|
-
#
|
1076
|
-
#
|
1077
|
-
# If compare_duration is not specified, then the only possible state_change
|
1078
|
-
# is "UNUSED", which will be the state_change set for all assets present at
|
1079
|
-
# read_time.
|
1080
|
-
# If this field is set then `state_change` must be a specified field in
|
1081
|
-
# `group_by`.
|
967
|
+
# updated to indicate whether the asset was added, removed, or remained present
|
968
|
+
# during the compare_duration period of time that precedes the read_time. This
|
969
|
+
# is the time between (read_time - compare_duration) and read_time. The state
|
970
|
+
# change value is derived based on the presence of the asset at the two points
|
971
|
+
# in time. Intermediate state changes between the two times don't affect the
|
972
|
+
# result. For example, the results aren't affected if the asset is removed and
|
973
|
+
# re-created again. Possible "state_change" values when compare_duration is
|
974
|
+
# specified: * "ADDED": indicates that the asset was not present at the start of
|
975
|
+
# compare_duration, but present at reference_time. * "REMOVED": indicates that
|
976
|
+
# the asset was present at the start of compare_duration, but not present at
|
977
|
+
# reference_time. * "ACTIVE": indicates that the asset was present at both the
|
978
|
+
# start and the end of the time period defined by compare_duration and
|
979
|
+
# reference_time. If compare_duration is not specified, then the only possible
|
980
|
+
# state_change is "UNUSED", which will be the state_change set for all assets
|
981
|
+
# present at read_time. If this field is set then `state_change` must be a
|
982
|
+
# specified field in `group_by`.
|
1082
983
|
# Corresponds to the JSON property `compareDuration`
|
1083
984
|
# @return [String]
|
1084
985
|
attr_accessor :compare_duration
|
1085
986
|
|
1086
|
-
# Expression that defines the filter to apply across assets.
|
1087
|
-
#
|
1088
|
-
#
|
1089
|
-
#
|
1090
|
-
#
|
1091
|
-
#
|
1092
|
-
#
|
1093
|
-
# *
|
1094
|
-
# *
|
1095
|
-
# *
|
1096
|
-
#
|
1097
|
-
#
|
1098
|
-
#
|
1099
|
-
#
|
1100
|
-
# *
|
1101
|
-
#
|
1102
|
-
#
|
1103
|
-
# *
|
1104
|
-
#
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
#
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
# * iam_policy.policy_blob: `=`, `:`
|
1118
|
-
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
1119
|
-
# * security_marks.marks: `=`, `:`
|
1120
|
-
# * security_center_properties.resource_name: `=`, `:`
|
1121
|
-
# * security_center_properties.resource_name_display_name: `=`, `:`
|
1122
|
-
# * security_center_properties.resource_type: `=`, `:`
|
1123
|
-
# * security_center_properties.resource_parent: `=`, `:`
|
1124
|
-
# * security_center_properties.resource_parent_display_name: `=`, `:`
|
1125
|
-
# * security_center_properties.resource_project: `=`, `:`
|
1126
|
-
# * security_center_properties.resource_project_display_name: `=`, `:`
|
1127
|
-
# * security_center_properties.resource_owners: `=`, `:`
|
1128
|
-
# For example, `resource_properties.size = 100` is a valid filter string.
|
1129
|
-
# Use a partial match on the empty string to filter based on a property
|
1130
|
-
# existing: `resource_properties.my_property : ""`
|
1131
|
-
# Use a negated partial match on the empty string to filter based on a
|
1132
|
-
# property not existing: `-resource_properties.my_property : ""`
|
987
|
+
# Expression that defines the filter to apply across assets. The expression is a
|
988
|
+
# list of zero or more restrictions combined via logical operators `AND` and `OR`
|
989
|
+
# . Parentheses are supported, and `OR` has higher precedence than `AND`.
|
990
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
991
|
+
# to indicate negation. The fields map to those defined in the Asset resource.
|
992
|
+
# Examples include: * name * security_center_properties.resource_name *
|
993
|
+
# resource_properties.a_property * security_marks.marks.marka The supported
|
994
|
+
# operators are: * `=` for all value types. * `>`, `<`, `>=`, `<=` for integer
|
995
|
+
# values. * `:`, meaning substring matching, for strings. The supported value
|
996
|
+
# types are: * string literals in quotes. * integer literals without quotes. *
|
997
|
+
# boolean literals `true` and `false` without quotes. The following field and
|
998
|
+
# operator combinations are supported: * name: `=` * update_time: `=`, `>`, `<`,
|
999
|
+
# `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1000
|
+
# Examples: `update_time = "2019-06-10T16:07:18-07:00"` `update_time =
|
1001
|
+
# 1560208038000` * create_time: `=`, `>`, `<`, `>=`, `<=` Usage: This should be
|
1002
|
+
# milliseconds since epoch or an RFC3339 string. Examples: `create_time = "2019-
|
1003
|
+
# 06-10T16:07:18-07:00"` `create_time = 1560208038000` * iam_policy.policy_blob:
|
1004
|
+
# `=`, `:` * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=` *
|
1005
|
+
# security_marks.marks: `=`, `:` * security_center_properties.resource_name: `=`,
|
1006
|
+
# `:` * security_center_properties.resource_name_display_name: `=`, `:` *
|
1007
|
+
# security_center_properties.resource_type: `=`, `:` *
|
1008
|
+
# security_center_properties.resource_parent: `=`, `:` *
|
1009
|
+
# security_center_properties.resource_parent_display_name: `=`, `:` *
|
1010
|
+
# security_center_properties.resource_project: `=`, `:` *
|
1011
|
+
# security_center_properties.resource_project_display_name: `=`, `:` *
|
1012
|
+
# security_center_properties.resource_owners: `=`, `:` For example, `
|
1013
|
+
# resource_properties.size = 100` is a valid filter string. Use a partial match
|
1014
|
+
# on the empty string to filter based on a property existing: `
|
1015
|
+
# resource_properties.my_property : ""` Use a negated partial match on the empty
|
1016
|
+
# string to filter based on a property not existing: `-resource_properties.
|
1017
|
+
# my_property : ""`
|
1133
1018
|
# Corresponds to the JSON property `filter`
|
1134
1019
|
# @return [String]
|
1135
1020
|
attr_accessor :filter
|
1136
1021
|
|
1137
1022
|
# Required. Expression that defines what assets fields to use for grouping. The
|
1138
|
-
# string
|
1139
|
-
#
|
1140
|
-
#
|
1141
|
-
#
|
1142
|
-
#
|
1143
|
-
#
|
1144
|
-
# * security_center_properties.
|
1145
|
-
# *
|
1146
|
-
# * security_center_properties.
|
1147
|
-
# * security_center_properties.
|
1148
|
-
#
|
1149
|
-
# The following fields are supported when compare_duration is set:
|
1150
|
-
# * security_center_properties.resource_type
|
1151
|
-
# * security_center_properties.resource_project_display_name
|
1152
|
-
# * security_center_properties.resource_parent_display_name
|
1023
|
+
# string value should follow SQL syntax: comma separated list of fields. For
|
1024
|
+
# example: "security_center_properties.resource_project,
|
1025
|
+
# security_center_properties.project". The following fields are supported when
|
1026
|
+
# compare_duration is not set: * security_center_properties.resource_project *
|
1027
|
+
# security_center_properties.resource_project_display_name *
|
1028
|
+
# security_center_properties.resource_type * security_center_properties.
|
1029
|
+
# resource_parent * security_center_properties.resource_parent_display_name The
|
1030
|
+
# following fields are supported when compare_duration is set: *
|
1031
|
+
# security_center_properties.resource_type * security_center_properties.
|
1032
|
+
# resource_project_display_name * security_center_properties.
|
1033
|
+
# resource_parent_display_name
|
1153
1034
|
# Corresponds to the JSON property `groupBy`
|
1154
1035
|
# @return [String]
|
1155
1036
|
attr_accessor :group_by
|
1156
1037
|
|
1157
|
-
# The maximum number of results to return in a single response. Default is
|
1158
|
-
#
|
1038
|
+
# The maximum number of results to return in a single response. Default is 10,
|
1039
|
+
# minimum is 1, maximum is 1000.
|
1159
1040
|
# Corresponds to the JSON property `pageSize`
|
1160
1041
|
# @return [Fixnum]
|
1161
1042
|
attr_accessor :page_size
|
1162
1043
|
|
1163
|
-
# The value returned by the last `GroupAssetsResponse`; indicates
|
1164
|
-
#
|
1165
|
-
#
|
1044
|
+
# The value returned by the last `GroupAssetsResponse`; indicates that this is a
|
1045
|
+
# continuation of a prior `GroupAssets` call, and that the system should return
|
1046
|
+
# the next page of data.
|
1166
1047
|
# Corresponds to the JSON property `pageToken`
|
1167
1048
|
# @return [String]
|
1168
1049
|
attr_accessor :page_token
|
1169
1050
|
|
1170
|
-
# Time used as a reference point when filtering assets. The filter is limited
|
1171
|
-
#
|
1172
|
-
# specific time. Absence of this field will default to the API's version of
|
1173
|
-
# NOW.
|
1051
|
+
# Time used as a reference point when filtering assets. The filter is limited to
|
1052
|
+
# assets existing at the supplied time and their values are those at that
|
1053
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
1174
1054
|
# Corresponds to the JSON property `readTime`
|
1175
1055
|
# @return [String]
|
1176
1056
|
attr_accessor :read_time
|
@@ -1194,9 +1074,9 @@ module Google
|
|
1194
1074
|
class GroupAssetsResponse
|
1195
1075
|
include Google::Apis::Core::Hashable
|
1196
1076
|
|
1197
|
-
# Group results. There exists an element for each existing unique
|
1198
|
-
#
|
1199
|
-
#
|
1077
|
+
# Group results. There exists an element for each existing unique combination of
|
1078
|
+
# property/values. The element contains a count for the number of times those
|
1079
|
+
# specific property/values appear.
|
1200
1080
|
# Corresponds to the JSON property `groupByResults`
|
1201
1081
|
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
|
1202
1082
|
attr_accessor :group_by_results
|
@@ -1235,108 +1115,79 @@ module Google
|
|
1235
1115
|
include Google::Apis::Core::Hashable
|
1236
1116
|
|
1237
1117
|
# When compare_duration is set, the GroupResult's "state_change" attribute is
|
1238
|
-
# updated to indicate whether the finding had its state changed, the
|
1239
|
-
#
|
1240
|
-
# compare_duration period of time that precedes the read_time. This is the
|
1241
|
-
#
|
1242
|
-
#
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
#
|
1249
|
-
# state at
|
1250
|
-
# * "
|
1251
|
-
# filter at the start of compare_duration
|
1252
|
-
#
|
1253
|
-
#
|
1254
|
-
#
|
1255
|
-
#
|
1256
|
-
#
|
1257
|
-
#
|
1258
|
-
# the filter at read_time.
|
1259
|
-
# If compare_duration is not specified, then the only possible state_change
|
1260
|
-
# is "UNUSED", which will be the state_change set for all findings present
|
1261
|
-
# at read_time.
|
1262
|
-
# If this field is set then `state_change` must be a specified field in
|
1263
|
-
# `group_by`.
|
1118
|
+
# updated to indicate whether the finding had its state changed, the finding's
|
1119
|
+
# state remained unchanged, or if the finding was added during the
|
1120
|
+
# compare_duration period of time that precedes the read_time. This is the time
|
1121
|
+
# between (read_time - compare_duration) and read_time. The state_change value
|
1122
|
+
# is derived based on the presence and state of the finding at the two points in
|
1123
|
+
# time. Intermediate state changes between the two times don't affect the result.
|
1124
|
+
# For example, the results aren't affected if the finding is made inactive and
|
1125
|
+
# then active again. Possible "state_change" values when compare_duration is
|
1126
|
+
# specified: * "CHANGED": indicates that the finding was present and matched the
|
1127
|
+
# given filter at the start of compare_duration, but changed its state at
|
1128
|
+
# read_time. * "UNCHANGED": indicates that the finding was present and matched
|
1129
|
+
# the given filter at the start of compare_duration and did not change state at
|
1130
|
+
# read_time. * "ADDED": indicates that the finding did not match the given
|
1131
|
+
# filter or was not present at the start of compare_duration, but was present at
|
1132
|
+
# read_time. * "REMOVED": indicates that the finding was present and matched the
|
1133
|
+
# filter at the start of compare_duration, but did not match the filter at
|
1134
|
+
# read_time. If compare_duration is not specified, then the only possible
|
1135
|
+
# state_change is "UNUSED", which will be the state_change set for all findings
|
1136
|
+
# present at read_time. If this field is set then `state_change` must be a
|
1137
|
+
# specified field in `group_by`.
|
1264
1138
|
# Corresponds to the JSON property `compareDuration`
|
1265
1139
|
# @return [String]
|
1266
1140
|
attr_accessor :compare_duration
|
1267
1141
|
|
1268
|
-
# Expression that defines the filter to apply across findings.
|
1269
|
-
#
|
1270
|
-
#
|
1271
|
-
#
|
1272
|
-
#
|
1273
|
-
#
|
1274
|
-
# *
|
1275
|
-
# *
|
1276
|
-
# *
|
1277
|
-
# The
|
1278
|
-
# * `=`
|
1279
|
-
# *
|
1280
|
-
#
|
1281
|
-
#
|
1282
|
-
# *
|
1283
|
-
#
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
# * resource_name: `=`, `:`
|
1289
|
-
# * state: `=`, `:`
|
1290
|
-
# * category: `=`, `:`
|
1291
|
-
# * external_uri: `=`, `:`
|
1292
|
-
# * event_time: `=`, `>`, `<`, `>=`, `<=`
|
1293
|
-
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1294
|
-
# Examples:
|
1295
|
-
# `event_time = "2019-06-10T16:07:18-07:00"`
|
1296
|
-
# `event_time = 1560208038000`
|
1297
|
-
# * security_marks.marks: `=`, `:`
|
1298
|
-
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
1299
|
-
# For example, `source_properties.size = 100` is a valid filter string.
|
1300
|
-
# Use a partial match on the empty string to filter based on a property
|
1301
|
-
# existing: `source_properties.my_property : ""`
|
1302
|
-
# Use a negated partial match on the empty string to filter based on a
|
1303
|
-
# property not existing: `-source_properties.my_property : ""`
|
1142
|
+
# Expression that defines the filter to apply across findings. The expression is
|
1143
|
+
# a list of one or more restrictions combined via logical operators `AND` and `
|
1144
|
+
# OR`. Parentheses are supported, and `OR` has higher precedence than `AND`.
|
1145
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
1146
|
+
# to indicate negation. Examples include: * name * source_properties.a_property *
|
1147
|
+
# security_marks.marks.marka The supported operators are: * `=` for all value
|
1148
|
+
# types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning substring
|
1149
|
+
# matching, for strings. The supported value types are: * string literals in
|
1150
|
+
# quotes. * integer literals without quotes. * boolean literals `true` and `
|
1151
|
+
# false` without quotes. The following field and operator combinations are
|
1152
|
+
# supported: * name: `=` * parent: `=`, `:` * resource_name: `=`, `:` * state: `=
|
1153
|
+
# `, `:` * category: `=`, `:` * external_uri: `=`, `:` * event_time: `=`, `>`, `<
|
1154
|
+
# `, `>=`, `<=` Usage: This should be milliseconds since epoch or an RFC3339
|
1155
|
+
# string. Examples: `event_time = "2019-06-10T16:07:18-07:00"` `event_time =
|
1156
|
+
# 1560208038000` * security_marks.marks: `=`, `:` * source_properties: `=`, `:`,
|
1157
|
+
# `>`, `<`, `>=`, `<=` For example, `source_properties.size = 100` is a valid
|
1158
|
+
# filter string. Use a partial match on the empty string to filter based on a
|
1159
|
+
# property existing: `source_properties.my_property : ""` Use a negated partial
|
1160
|
+
# match on the empty string to filter based on a property not existing: `-
|
1161
|
+
# source_properties.my_property : ""`
|
1304
1162
|
# Corresponds to the JSON property `filter`
|
1305
1163
|
# @return [String]
|
1306
1164
|
attr_accessor :filter
|
1307
1165
|
|
1308
1166
|
# Required. Expression that defines what assets fields to use for grouping (
|
1309
|
-
# including
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
# * resource_name
|
1314
|
-
# * category
|
1315
|
-
# * state
|
1316
|
-
# * parent
|
1317
|
-
# The following fields are supported when compare_duration is set:
|
1318
|
-
# * state_change
|
1167
|
+
# including `state_change`). The string value should follow SQL syntax: comma
|
1168
|
+
# separated list of fields. For example: "parent,resource_name". The following
|
1169
|
+
# fields are supported: * resource_name * category * state * parent The
|
1170
|
+
# following fields are supported when compare_duration is set: * state_change
|
1319
1171
|
# Corresponds to the JSON property `groupBy`
|
1320
1172
|
# @return [String]
|
1321
1173
|
attr_accessor :group_by
|
1322
1174
|
|
1323
|
-
# The maximum number of results to return in a single response. Default is
|
1324
|
-
#
|
1175
|
+
# The maximum number of results to return in a single response. Default is 10,
|
1176
|
+
# minimum is 1, maximum is 1000.
|
1325
1177
|
# Corresponds to the JSON property `pageSize`
|
1326
1178
|
# @return [Fixnum]
|
1327
1179
|
attr_accessor :page_size
|
1328
1180
|
|
1329
|
-
# The value returned by the last `GroupFindingsResponse`; indicates
|
1330
|
-
#
|
1331
|
-
#
|
1181
|
+
# The value returned by the last `GroupFindingsResponse`; indicates that this is
|
1182
|
+
# a continuation of a prior `GroupFindings` call, and that the system should
|
1183
|
+
# return the next page of data.
|
1332
1184
|
# Corresponds to the JSON property `pageToken`
|
1333
1185
|
# @return [String]
|
1334
1186
|
attr_accessor :page_token
|
1335
1187
|
|
1336
|
-
# Time used as a reference point when filtering findings. The filter is
|
1337
|
-
#
|
1338
|
-
#
|
1339
|
-
# API's version of NOW.
|
1188
|
+
# Time used as a reference point when filtering findings. The filter is limited
|
1189
|
+
# to findings existing at the supplied time and their values are those at that
|
1190
|
+
# specific time. Absence of this field will default to the API's version of NOW.
|
1340
1191
|
# Corresponds to the JSON property `readTime`
|
1341
1192
|
# @return [String]
|
1342
1193
|
attr_accessor :read_time
|
@@ -1360,9 +1211,9 @@ module Google
|
|
1360
1211
|
class GroupFindingsResponse
|
1361
1212
|
include Google::Apis::Core::Hashable
|
1362
1213
|
|
1363
|
-
# Group results. There exists an element for each existing unique
|
1364
|
-
#
|
1365
|
-
#
|
1214
|
+
# Group results. There exists an element for each existing unique combination of
|
1215
|
+
# property/values. The element contains a count for the number of times those
|
1216
|
+
# specific property/values appear.
|
1366
1217
|
# Corresponds to the JSON property `groupByResults`
|
1367
1218
|
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::GroupResult>]
|
1368
1219
|
attr_accessor :group_by_results
|
@@ -1463,12 +1314,11 @@ module Google
|
|
1463
1314
|
class ListAssetsResult
|
1464
1315
|
include Google::Apis::Core::Hashable
|
1465
1316
|
|
1466
|
-
# Security Command Center representation of a Google Cloud
|
1467
|
-
# resource
|
1468
|
-
#
|
1469
|
-
#
|
1470
|
-
#
|
1471
|
-
# Google Cloud resource.
|
1317
|
+
# Security Command Center representation of a Google Cloud resource. The Asset
|
1318
|
+
# is a Security Command Center resource that captures information about a single
|
1319
|
+
# Google Cloud resource. All modifications to an Asset are only within the
|
1320
|
+
# context of Security Command Center and don't affect the referenced Google
|
1321
|
+
# Cloud resource.
|
1472
1322
|
# Corresponds to the JSON property `asset`
|
1473
1323
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1474
1324
|
attr_accessor :asset
|
@@ -1531,17 +1381,16 @@ module Google
|
|
1531
1381
|
class ListFindingsResult
|
1532
1382
|
include Google::Apis::Core::Hashable
|
1533
1383
|
|
1534
|
-
# Security Command Center finding.
|
1535
|
-
#
|
1536
|
-
#
|
1537
|
-
#
|
1538
|
-
# in an App Engine application is a finding.
|
1384
|
+
# Security Command Center finding. A finding is a record of assessment data (
|
1385
|
+
# security, risk, health or privacy) ingested into Security Command Center for
|
1386
|
+
# presentation, notification, analysis, policy testing, and enforcement. For
|
1387
|
+
# example, an XSS vulnerability in an App Engine application is a finding.
|
1539
1388
|
# Corresponds to the JSON property `finding`
|
1540
1389
|
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
1541
1390
|
attr_accessor :finding
|
1542
1391
|
|
1543
|
-
# Information related to the Google Cloud resource that is
|
1544
|
-
#
|
1392
|
+
# Information related to the Google Cloud resource that is associated with this
|
1393
|
+
# finding. LINT.IfChange
|
1545
1394
|
# Corresponds to the JSON property `resource`
|
1546
1395
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Resource]
|
1547
1396
|
attr_accessor :resource
|
@@ -1640,10 +1489,9 @@ module Google
|
|
1640
1489
|
end
|
1641
1490
|
end
|
1642
1491
|
|
1643
|
-
# Security Command Center notification configs.
|
1644
|
-
#
|
1645
|
-
#
|
1646
|
-
# assets and etc.
|
1492
|
+
# Security Command Center notification configs. A notification config is a
|
1493
|
+
# Security Command Center resource that contains the configuration to send
|
1494
|
+
# notifications for create/update events of findings, assets and etc.
|
1647
1495
|
class NotificationConfig
|
1648
1496
|
include Google::Apis::Core::Hashable
|
1649
1497
|
|
@@ -1657,28 +1505,27 @@ module Google
|
|
1657
1505
|
# @return [String]
|
1658
1506
|
attr_accessor :event_type
|
1659
1507
|
|
1660
|
-
# The relative resource name of this notification config. See:
|
1661
|
-
#
|
1662
|
-
#
|
1663
|
-
# "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
|
1508
|
+
# The relative resource name of this notification config. See: https://cloud.
|
1509
|
+
# google.com/apis/design/resource_names#relative_resource_name Example: "
|
1510
|
+
# organizations/`organization_id`/notificationConfigs/notify_public_bucket".
|
1664
1511
|
# Corresponds to the JSON property `name`
|
1665
1512
|
# @return [String]
|
1666
1513
|
attr_accessor :name
|
1667
1514
|
|
1668
|
-
# The Pub/Sub topic to send notifications to. Its format is
|
1669
|
-
#
|
1515
|
+
# The Pub/Sub topic to send notifications to. Its format is "projects/[
|
1516
|
+
# project_id]/topics/[topic]".
|
1670
1517
|
# Corresponds to the JSON property `pubsubTopic`
|
1671
1518
|
# @return [String]
|
1672
1519
|
attr_accessor :pubsub_topic
|
1673
1520
|
|
1674
|
-
# Output only. The service account that needs "pubsub.topics.publish"
|
1675
|
-
#
|
1521
|
+
# Output only. The service account that needs "pubsub.topics.publish" permission
|
1522
|
+
# to publish to the Pub/Sub topic.
|
1676
1523
|
# Corresponds to the JSON property `serviceAccount`
|
1677
1524
|
# @return [String]
|
1678
1525
|
attr_accessor :service_account
|
1679
1526
|
|
1680
|
-
# The config for streaming-based notifications, which send each event as soon
|
1681
|
-
#
|
1527
|
+
# The config for streaming-based notifications, which send each event as soon as
|
1528
|
+
# it is detected.
|
1682
1529
|
# Corresponds to the JSON property `streamingConfig`
|
1683
1530
|
# @return [Google::Apis::SecuritycenterV1p1beta1::StreamingConfig]
|
1684
1531
|
attr_accessor :streaming_config
|
@@ -1703,47 +1550,45 @@ module Google
|
|
1703
1550
|
class Operation
|
1704
1551
|
include Google::Apis::Core::Hashable
|
1705
1552
|
|
1706
|
-
# If the value is `false`, it means the operation is still in progress.
|
1707
|
-
#
|
1708
|
-
# available.
|
1553
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
1554
|
+
# , the operation is completed, and either `error` or `response` is available.
|
1709
1555
|
# Corresponds to the JSON property `done`
|
1710
1556
|
# @return [Boolean]
|
1711
1557
|
attr_accessor :done
|
1712
1558
|
alias_method :done?, :done
|
1713
1559
|
|
1714
|
-
# The `Status` type defines a logical error model that is suitable for
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
#
|
1560
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1561
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1562
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1563
|
+
# data: error code, error message, and error details. You can find out more
|
1564
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1565
|
+
# //cloud.google.com/apis/design/errors).
|
1720
1566
|
# Corresponds to the JSON property `error`
|
1721
1567
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Status]
|
1722
1568
|
attr_accessor :error
|
1723
1569
|
|
1724
|
-
# Service-specific metadata associated with the operation.
|
1725
|
-
#
|
1726
|
-
#
|
1727
|
-
#
|
1570
|
+
# Service-specific metadata associated with the operation. It typically contains
|
1571
|
+
# progress information and common metadata such as create time. Some services
|
1572
|
+
# might not provide such metadata. Any method that returns a long-running
|
1573
|
+
# operation should document the metadata type, if any.
|
1728
1574
|
# Corresponds to the JSON property `metadata`
|
1729
1575
|
# @return [Hash<String,Object>]
|
1730
1576
|
attr_accessor :metadata
|
1731
1577
|
|
1732
1578
|
# The server-assigned name, which is only unique within the same service that
|
1733
|
-
# originally returns it. If you use the default HTTP mapping, the
|
1734
|
-
#
|
1579
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
1580
|
+
# be a resource name ending with `operations/`unique_id``.
|
1735
1581
|
# Corresponds to the JSON property `name`
|
1736
1582
|
# @return [String]
|
1737
1583
|
attr_accessor :name
|
1738
1584
|
|
1739
|
-
# The normal response of the operation in case of success.
|
1740
|
-
# method returns no data on success, such as `Delete`, the response is
|
1741
|
-
#
|
1742
|
-
#
|
1743
|
-
#
|
1744
|
-
#
|
1745
|
-
#
|
1746
|
-
# `TakeSnapshotResponse`.
|
1585
|
+
# The normal response of the operation in case of success. If the original
|
1586
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
1587
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1588
|
+
# the response should be the resource. For other methods, the response should
|
1589
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1590
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1591
|
+
# response type is `TakeSnapshotResponse`.
|
1747
1592
|
# Corresponds to the JSON property `response`
|
1748
1593
|
# @return [Hash<String,Object>]
|
1749
1594
|
attr_accessor :response
|
@@ -1762,8 +1607,8 @@ module Google
|
|
1762
1607
|
end
|
1763
1608
|
end
|
1764
1609
|
|
1765
|
-
# User specified settings that are attached to the Security Command
|
1766
|
-
#
|
1610
|
+
# User specified settings that are attached to the Security Command Center
|
1611
|
+
# organization.
|
1767
1612
|
class OrganizationSettings
|
1768
1613
|
include Google::Apis::Core::Hashable
|
1769
1614
|
|
@@ -1772,19 +1617,17 @@ module Google
|
|
1772
1617
|
# @return [Google::Apis::SecuritycenterV1p1beta1::AssetDiscoveryConfig]
|
1773
1618
|
attr_accessor :asset_discovery_config
|
1774
1619
|
|
1775
|
-
# A flag that indicates if Asset Discovery should be enabled. If the flag is
|
1776
|
-
#
|
1777
|
-
#
|
1778
|
-
# occur.
|
1620
|
+
# A flag that indicates if Asset Discovery should be enabled. If the flag is set
|
1621
|
+
# to `true`, then discovery of assets will occur. If it is set to `false, all
|
1622
|
+
# historical assets will remain, but discovery of future assets will not occur.
|
1779
1623
|
# Corresponds to the JSON property `enableAssetDiscovery`
|
1780
1624
|
# @return [Boolean]
|
1781
1625
|
attr_accessor :enable_asset_discovery
|
1782
1626
|
alias_method :enable_asset_discovery?, :enable_asset_discovery
|
1783
1627
|
|
1784
|
-
# The relative resource name of the settings. See:
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
# "organizations/`organization_id`/organizationSettings".
|
1628
|
+
# The relative resource name of the settings. See: https://cloud.google.com/apis/
|
1629
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
1630
|
+
# organization_id`/organizationSettings".
|
1788
1631
|
# Corresponds to the JSON property `name`
|
1789
1632
|
# @return [String]
|
1790
1633
|
attr_accessor :name
|
@@ -1802,66 +1645,32 @@ module Google
|
|
1802
1645
|
end
|
1803
1646
|
|
1804
1647
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1805
|
-
# controls for Google Cloud resources.
|
1806
|
-
# A `
|
1807
|
-
#
|
1808
|
-
#
|
1809
|
-
#
|
1810
|
-
#
|
1811
|
-
#
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
#
|
1815
|
-
#
|
1816
|
-
# [
|
1817
|
-
#
|
1818
|
-
#
|
1819
|
-
# `
|
1820
|
-
# "
|
1821
|
-
# `
|
1822
|
-
# "
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
#
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
#
|
1829
|
-
#
|
1830
|
-
#
|
1831
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1832
|
-
# "members": [
|
1833
|
-
# "user:eve@example.com"
|
1834
|
-
# ],
|
1835
|
-
# "condition": `
|
1836
|
-
# "title": "expirable access",
|
1837
|
-
# "description": "Does not grant access after Sep 2020",
|
1838
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1839
|
-
# ",
|
1840
|
-
# `
|
1841
|
-
# `
|
1842
|
-
# ],
|
1843
|
-
# "etag": "BwWWja0YfJA=",
|
1844
|
-
# "version": 3
|
1845
|
-
# `
|
1846
|
-
# **YAML example:**
|
1847
|
-
# bindings:
|
1848
|
-
# - members:
|
1849
|
-
# - user:mike@example.com
|
1850
|
-
# - group:admins@example.com
|
1851
|
-
# - domain:google.com
|
1852
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1853
|
-
# role: roles/resourcemanager.organizationAdmin
|
1854
|
-
# - members:
|
1855
|
-
# - user:eve@example.com
|
1856
|
-
# role: roles/resourcemanager.organizationViewer
|
1857
|
-
# condition:
|
1858
|
-
# title: expirable access
|
1859
|
-
# description: Does not grant access after Sep 2020
|
1860
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1861
|
-
# - etag: BwWWja0YfJA=
|
1862
|
-
# - version: 3
|
1863
|
-
# For a description of IAM and its features, see the
|
1864
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1648
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1649
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1650
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1651
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1652
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1653
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1654
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1655
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1656
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1657
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1658
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1659
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1660
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1661
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1662
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1663
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1664
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1665
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1666
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1667
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1668
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1669
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1670
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1671
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1672
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1673
|
+
# google.com/iam/docs/).
|
1865
1674
|
class Policy
|
1866
1675
|
include Google::Apis::Core::Hashable
|
1867
1676
|
|
@@ -1870,48 +1679,44 @@ module Google
|
|
1870
1679
|
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::AuditConfig>]
|
1871
1680
|
attr_accessor :audit_configs
|
1872
1681
|
|
1873
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1874
|
-
#
|
1875
|
-
#
|
1682
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1683
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1684
|
+
# the `bindings` must contain at least one member.
|
1876
1685
|
# Corresponds to the JSON property `bindings`
|
1877
1686
|
# @return [Array<Google::Apis::SecuritycenterV1p1beta1::Binding>]
|
1878
1687
|
attr_accessor :bindings
|
1879
1688
|
|
1880
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1881
|
-
#
|
1882
|
-
#
|
1883
|
-
#
|
1884
|
-
#
|
1885
|
-
#
|
1886
|
-
#
|
1887
|
-
#
|
1888
|
-
#
|
1889
|
-
#
|
1890
|
-
#
|
1689
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1690
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1691
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1692
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1693
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1694
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1695
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1696
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1697
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1698
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1699
|
+
# are lost.
|
1891
1700
|
# Corresponds to the JSON property `etag`
|
1892
1701
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1893
1702
|
# @return [String]
|
1894
1703
|
attr_accessor :etag
|
1895
1704
|
|
1896
|
-
# Specifies the format of the policy.
|
1897
|
-
#
|
1898
|
-
#
|
1899
|
-
#
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
#
|
1904
|
-
#
|
1905
|
-
#
|
1906
|
-
#
|
1907
|
-
#
|
1908
|
-
#
|
1909
|
-
#
|
1910
|
-
#
|
1911
|
-
# specify any valid version or leave the field unset.
|
1912
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1913
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1914
|
-
# policies).
|
1705
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1706
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1707
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1708
|
+
# applies to the following operations: * Getting a policy that includes a
|
1709
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1710
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1711
|
+
# with or without a condition, from a policy that includes conditions **
|
1712
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1713
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1714
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1715
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1716
|
+
# any conditions, operations on that policy may specify any valid version or
|
1717
|
+
# leave the field unset. To learn which resources support conditions in their
|
1718
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1719
|
+
# conditions/resource-policies).
|
1915
1720
|
# Corresponds to the JSON property `version`
|
1916
1721
|
# @return [Fixnum]
|
1917
1722
|
attr_accessor :version
|
@@ -1929,13 +1734,13 @@ module Google
|
|
1929
1734
|
end
|
1930
1735
|
end
|
1931
1736
|
|
1932
|
-
# Information related to the Google Cloud resource that is
|
1933
|
-
#
|
1737
|
+
# Information related to the Google Cloud resource that is associated with this
|
1738
|
+
# finding. LINT.IfChange
|
1934
1739
|
class Resource
|
1935
1740
|
include Google::Apis::Core::Hashable
|
1936
1741
|
|
1937
|
-
# The full resource name of the resource. See:
|
1938
|
-
#
|
1742
|
+
# The full resource name of the resource. See: https://cloud.google.com/apis/
|
1743
|
+
# design/resource_names#full_resource_name
|
1939
1744
|
# Corresponds to the JSON property `name`
|
1940
1745
|
# @return [String]
|
1941
1746
|
attr_accessor :name
|
@@ -1987,30 +1792,26 @@ module Google
|
|
1987
1792
|
end
|
1988
1793
|
end
|
1989
1794
|
|
1990
|
-
# User specified security marks that are attached to the parent Security
|
1991
|
-
#
|
1992
|
-
#
|
1993
|
-
#
|
1795
|
+
# User specified security marks that are attached to the parent Security Command
|
1796
|
+
# Center resource. Security marks are scoped within a Security Command Center
|
1797
|
+
# organization -- they can be modified and viewed by all users who have proper
|
1798
|
+
# permissions on the organization.
|
1994
1799
|
class SecurityMarks
|
1995
1800
|
include Google::Apis::Core::Hashable
|
1996
1801
|
|
1997
1802
|
# Mutable user specified security marks belonging to the parent resource.
|
1998
|
-
# Constraints are as follows:
|
1999
|
-
#
|
2000
|
-
#
|
2001
|
-
#
|
2002
|
-
# * Values have leading and trailing whitespace trimmed, remaining
|
2003
|
-
# characters must be between 1 - 4096 characters (inclusive)
|
1803
|
+
# Constraints are as follows: * Keys and values are treated as case insensitive *
|
1804
|
+
# Keys must be between 1 - 256 characters (inclusive) * Keys must be letters,
|
1805
|
+
# numbers, underscores, or dashes * Values have leading and trailing whitespace
|
1806
|
+
# trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
|
2004
1807
|
# Corresponds to the JSON property `marks`
|
2005
1808
|
# @return [Hash<String,String>]
|
2006
1809
|
attr_accessor :marks
|
2007
1810
|
|
2008
|
-
# The relative resource name of the SecurityMarks. See:
|
2009
|
-
#
|
2010
|
-
#
|
2011
|
-
#
|
2012
|
-
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
2013
|
-
# securityMarks".
|
1811
|
+
# The relative resource name of the SecurityMarks. See: https://cloud.google.com/
|
1812
|
+
# apis/design/resource_names#relative_resource_name Examples: "organizations/`
|
1813
|
+
# organization_id`/assets/`asset_id`/securityMarks" "organizations/`
|
1814
|
+
# organization_id`/sources/`source_id`/findings/`finding_id`/securityMarks".
|
2014
1815
|
# Corresponds to the JSON property `name`
|
2015
1816
|
# @return [String]
|
2016
1817
|
attr_accessor :name
|
@@ -2056,74 +1857,39 @@ module Google
|
|
2056
1857
|
include Google::Apis::Core::Hashable
|
2057
1858
|
|
2058
1859
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2059
|
-
# controls for Google Cloud resources.
|
2060
|
-
# A `
|
2061
|
-
#
|
2062
|
-
#
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
#
|
2066
|
-
#
|
2067
|
-
#
|
2068
|
-
#
|
2069
|
-
#
|
2070
|
-
# [
|
2071
|
-
#
|
2072
|
-
#
|
2073
|
-
# `
|
2074
|
-
# "
|
2075
|
-
# `
|
2076
|
-
# "
|
2077
|
-
#
|
2078
|
-
#
|
2079
|
-
#
|
2080
|
-
#
|
2081
|
-
#
|
2082
|
-
#
|
2083
|
-
#
|
2084
|
-
#
|
2085
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
2086
|
-
# "members": [
|
2087
|
-
# "user:eve@example.com"
|
2088
|
-
# ],
|
2089
|
-
# "condition": `
|
2090
|
-
# "title": "expirable access",
|
2091
|
-
# "description": "Does not grant access after Sep 2020",
|
2092
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2093
|
-
# ",
|
2094
|
-
# `
|
2095
|
-
# `
|
2096
|
-
# ],
|
2097
|
-
# "etag": "BwWWja0YfJA=",
|
2098
|
-
# "version": 3
|
2099
|
-
# `
|
2100
|
-
# **YAML example:**
|
2101
|
-
# bindings:
|
2102
|
-
# - members:
|
2103
|
-
# - user:mike@example.com
|
2104
|
-
# - group:admins@example.com
|
2105
|
-
# - domain:google.com
|
2106
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2107
|
-
# role: roles/resourcemanager.organizationAdmin
|
2108
|
-
# - members:
|
2109
|
-
# - user:eve@example.com
|
2110
|
-
# role: roles/resourcemanager.organizationViewer
|
2111
|
-
# condition:
|
2112
|
-
# title: expirable access
|
2113
|
-
# description: Does not grant access after Sep 2020
|
2114
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2115
|
-
# - etag: BwWWja0YfJA=
|
2116
|
-
# - version: 3
|
2117
|
-
# For a description of IAM and its features, see the
|
2118
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1860
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1861
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1862
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1863
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1864
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1865
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1866
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1867
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1868
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1869
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1870
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1871
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1872
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1873
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1874
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1875
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1876
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1877
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1878
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1879
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1880
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1881
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1882
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1883
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1884
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1885
|
+
# google.com/iam/docs/).
|
2119
1886
|
# Corresponds to the JSON property `policy`
|
2120
1887
|
# @return [Google::Apis::SecuritycenterV1p1beta1::Policy]
|
2121
1888
|
attr_accessor :policy
|
2122
1889
|
|
2123
1890
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
2124
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
2125
|
-
#
|
2126
|
-
# `paths: "bindings, etag"`
|
1891
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
1892
|
+
# default mask is used: `paths: "bindings, etag"`
|
2127
1893
|
# Corresponds to the JSON property `updateMask`
|
2128
1894
|
# @return [String]
|
2129
1895
|
attr_accessor :update_mask
|
@@ -2139,36 +1905,32 @@ module Google
|
|
2139
1905
|
end
|
2140
1906
|
end
|
2141
1907
|
|
2142
|
-
# Security Command Center finding source. A finding source
|
2143
|
-
#
|
2144
|
-
#
|
1908
|
+
# Security Command Center finding source. A finding source is an entity or a
|
1909
|
+
# mechanism that can produce a finding. A source is like a container of findings
|
1910
|
+
# that come from the same scanner, logger, monitor, etc.
|
2145
1911
|
class Source
|
2146
1912
|
include Google::Apis::Core::Hashable
|
2147
1913
|
|
2148
|
-
# The description of the source (max of 1024 characters).
|
2149
|
-
#
|
2150
|
-
#
|
2151
|
-
#
|
2152
|
-
#
|
2153
|
-
# (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
2154
|
-
# outdated/insecure libraries."
|
1914
|
+
# The description of the source (max of 1024 characters). Example: "Web Security
|
1915
|
+
# Scanner is a web security scanner for common vulnerabilities in App Engine
|
1916
|
+
# applications. It can automatically scan and detect four common vulnerabilities,
|
1917
|
+
# including cross-site-scripting (XSS), Flash injection, mixed content (HTTP in
|
1918
|
+
# HTTPS), and outdated/insecure libraries."
|
2155
1919
|
# Corresponds to the JSON property `description`
|
2156
1920
|
# @return [String]
|
2157
1921
|
attr_accessor :description
|
2158
1922
|
|
2159
|
-
# The source's display name.
|
2160
|
-
#
|
2161
|
-
#
|
2162
|
-
#
|
2163
|
-
# (inclusive).
|
1923
|
+
# The source's display name. A source's display name must be unique amongst its
|
1924
|
+
# siblings, for example, two sources with the same parent can't share the same
|
1925
|
+
# display name. The display name must have a length between 1 and 64 characters (
|
1926
|
+
# inclusive).
|
2164
1927
|
# Corresponds to the JSON property `displayName`
|
2165
1928
|
# @return [String]
|
2166
1929
|
attr_accessor :display_name
|
2167
1930
|
|
2168
|
-
# The relative resource name of this source. See:
|
2169
|
-
#
|
2170
|
-
#
|
2171
|
-
# "organizations/`organization_id`/sources/`source_id`"
|
1931
|
+
# The relative resource name of this source. See: https://cloud.google.com/apis/
|
1932
|
+
# design/resource_names#relative_resource_name Example: "organizations/`
|
1933
|
+
# organization_id`/sources/`source_id`"
|
2172
1934
|
# Corresponds to the JSON property `name`
|
2173
1935
|
# @return [String]
|
2174
1936
|
attr_accessor :name
|
@@ -2185,12 +1947,12 @@ module Google
|
|
2185
1947
|
end
|
2186
1948
|
end
|
2187
1949
|
|
2188
|
-
# The `Status` type defines a logical error model that is suitable for
|
2189
|
-
#
|
2190
|
-
#
|
2191
|
-
#
|
2192
|
-
#
|
2193
|
-
#
|
1950
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1951
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1952
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1953
|
+
# data: error code, error message, and error details. You can find out more
|
1954
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1955
|
+
# //cloud.google.com/apis/design/errors).
|
2194
1956
|
class Status
|
2195
1957
|
include Google::Apis::Core::Hashable
|
2196
1958
|
|
@@ -2199,15 +1961,15 @@ module Google
|
|
2199
1961
|
# @return [Fixnum]
|
2200
1962
|
attr_accessor :code
|
2201
1963
|
|
2202
|
-
# A list of messages that carry the error details.
|
1964
|
+
# A list of messages that carry the error details. There is a common set of
|
2203
1965
|
# message types for APIs to use.
|
2204
1966
|
# Corresponds to the JSON property `details`
|
2205
1967
|
# @return [Array<Hash<String,Object>>]
|
2206
1968
|
attr_accessor :details
|
2207
1969
|
|
2208
|
-
# A developer-facing error message, which should be in English. Any
|
2209
|
-
#
|
2210
|
-
#
|
1970
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1971
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1972
|
+
# field, or localized by the client.
|
2211
1973
|
# Corresponds to the JSON property `message`
|
2212
1974
|
# @return [String]
|
2213
1975
|
attr_accessor :message
|
@@ -2224,27 +1986,21 @@ module Google
|
|
2224
1986
|
end
|
2225
1987
|
end
|
2226
1988
|
|
2227
|
-
# The config for streaming-based notifications, which send each event as soon
|
2228
|
-
#
|
1989
|
+
# The config for streaming-based notifications, which send each event as soon as
|
1990
|
+
# it is detected.
|
2229
1991
|
class StreamingConfig
|
2230
1992
|
include Google::Apis::Core::Hashable
|
2231
1993
|
|
2232
|
-
# Expression that defines the filter to apply across create/update events
|
2233
|
-
#
|
2234
|
-
#
|
2235
|
-
#
|
2236
|
-
# `
|
2237
|
-
#
|
2238
|
-
#
|
2239
|
-
#
|
2240
|
-
# The supported
|
2241
|
-
# *
|
2242
|
-
# * `>`, `<`, `>=`, `<=` for integer values.
|
2243
|
-
# * `:`, meaning substring matching, for strings.
|
2244
|
-
# The supported value types are:
|
2245
|
-
# * string literals in quotes.
|
2246
|
-
# * integer literals without quotes.
|
2247
|
-
# * boolean literals `true` and `false` without quotes.
|
1994
|
+
# Expression that defines the filter to apply across create/update events of
|
1995
|
+
# assets or findings as specified by the event type. The expression is a list of
|
1996
|
+
# zero or more restrictions combined via logical operators `AND` and `OR`.
|
1997
|
+
# Parentheses are supported, and `OR` has higher precedence than `AND`.
|
1998
|
+
# Restrictions have the form ` ` and may have a `-` character in front of them
|
1999
|
+
# to indicate negation. The fields map to those defined in the corresponding
|
2000
|
+
# resource. The supported operators are: * `=` for all value types. * `>`, `<`, `
|
2001
|
+
# >=`, `<=` for integer values. * `:`, meaning substring matching, for strings.
|
2002
|
+
# The supported value types are: * string literals in quotes. * integer literals
|
2003
|
+
# without quotes. * boolean literals `true` and `false` without quotes.
|
2248
2004
|
# Corresponds to the JSON property `filter`
|
2249
2005
|
# @return [String]
|
2250
2006
|
attr_accessor :filter
|
@@ -2263,10 +2019,9 @@ module Google
|
|
2263
2019
|
class TestIamPermissionsRequest
|
2264
2020
|
include Google::Apis::Core::Hashable
|
2265
2021
|
|
2266
|
-
# The set of permissions to check for the `resource`. Permissions with
|
2267
|
-
#
|
2268
|
-
#
|
2269
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2022
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
2023
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
2024
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2270
2025
|
# Corresponds to the JSON property `permissions`
|
2271
2026
|
# @return [Array<String>]
|
2272
2027
|
attr_accessor :permissions
|
@@ -2285,8 +2040,7 @@ module Google
|
|
2285
2040
|
class TestIamPermissionsResponse
|
2286
2041
|
include Google::Apis::Core::Hashable
|
2287
2042
|
|
2288
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
2289
|
-
# allowed.
|
2043
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
2290
2044
|
# Corresponds to the JSON property `permissions`
|
2291
2045
|
# @return [Array<String>]
|
2292
2046
|
attr_accessor :permissions
|