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