google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -22,22 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SecuritycenterV1
|
24
24
|
|
25
|
-
#
|
26
|
-
#
|
27
|
-
# The Asset is a
|
28
|
-
#
|
29
|
-
#
|
25
|
+
# Security Command Center representation of a Google Cloud
|
26
|
+
# resource.
|
27
|
+
# The Asset is a Security Command Center resource that captures information
|
28
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
29
|
+
# within the context of Security Command Center and don't affect the referenced
|
30
|
+
# Google Cloud resource.
|
30
31
|
class Asset
|
31
32
|
include Google::Apis::Core::Hashable
|
32
33
|
|
33
|
-
# The time at which the asset was created in
|
34
|
+
# The time at which the asset was created in Security Command Center.
|
34
35
|
# Corresponds to the JSON property `createTime`
|
35
36
|
# @return [String]
|
36
37
|
attr_accessor :create_time
|
37
38
|
|
38
|
-
# IAM Policy information associated with the
|
39
|
-
#
|
40
|
-
# resource and cannot be modified by the
|
39
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
40
|
+
# 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.
|
41
43
|
# Corresponds to the JSON property `iamPolicy`
|
42
44
|
# @return [Google::Apis::SecuritycenterV1::IamPolicy]
|
43
45
|
attr_accessor :iam_policy
|
@@ -45,33 +47,33 @@ module Google
|
|
45
47
|
# The relative resource name of this asset. See:
|
46
48
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
47
49
|
# Example:
|
48
|
-
# "organizations
|
50
|
+
# "organizations/`organization_id`/assets/`asset_id`".
|
49
51
|
# Corresponds to the JSON property `name`
|
50
52
|
# @return [String]
|
51
53
|
attr_accessor :name
|
52
54
|
|
53
55
|
# Resource managed properties. These properties are managed and defined by
|
54
|
-
# the
|
56
|
+
# the Google Cloud resource and cannot be modified by the user.
|
55
57
|
# Corresponds to the JSON property `resourceProperties`
|
56
58
|
# @return [Hash<String,Object>]
|
57
59
|
attr_accessor :resource_properties
|
58
60
|
|
59
|
-
#
|
60
|
-
# cannot be modified by the user.
|
61
|
+
# Security Command Center managed properties. These properties are managed by
|
62
|
+
# Security Command Center and cannot be modified by the user.
|
61
63
|
# Corresponds to the JSON property `securityCenterProperties`
|
62
64
|
# @return [Google::Apis::SecuritycenterV1::SecurityCenterProperties]
|
63
65
|
attr_accessor :security_center_properties
|
64
66
|
|
65
|
-
# User specified security marks that are attached to the parent
|
66
|
-
# Command Center
|
67
|
-
#
|
67
|
+
# User specified security marks that are attached to the parent Security
|
68
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
69
|
+
# Center organization -- they can be modified and viewed by all users who have
|
68
70
|
# proper permissions on the organization.
|
69
71
|
# Corresponds to the JSON property `securityMarks`
|
70
72
|
# @return [Google::Apis::SecuritycenterV1::SecurityMarks]
|
71
73
|
attr_accessor :security_marks
|
72
74
|
|
73
|
-
# The time at which the asset was last updated, added, or deleted in
|
74
|
-
#
|
75
|
+
# The time at which the asset was last updated, added, or deleted in Security
|
76
|
+
# Command Center.
|
75
77
|
# Corresponds to the JSON property `updateTime`
|
76
78
|
# @return [String]
|
77
79
|
attr_accessor :update_time
|
@@ -237,10 +239,28 @@ module Google
|
|
237
239
|
class Binding
|
238
240
|
include Google::Apis::Core::Hashable
|
239
241
|
|
240
|
-
# Represents
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
242
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
243
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
244
|
+
# are documented at https://github.com/google/cel-spec.
|
245
|
+
# Example (Comparison):
|
246
|
+
# title: "Summary size limit"
|
247
|
+
# description: "Determines if a summary is less than 100 chars"
|
248
|
+
# expression: "document.summary.size() < 100"
|
249
|
+
# Example (Equality):
|
250
|
+
# title: "Requestor is owner"
|
251
|
+
# description: "Determines if requestor is the document owner"
|
252
|
+
# expression: "document.owner == request.auth.claims.email"
|
253
|
+
# Example (Logic):
|
254
|
+
# title: "Public documents"
|
255
|
+
# description: "Determine whether the document should be publicly visible"
|
256
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
257
|
+
# Example (Data Manipulation):
|
258
|
+
# title: "Notification string"
|
259
|
+
# description: "Create a notification string with a timestamp."
|
260
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
261
|
+
# The exact variables and functions that may be referenced within an expression
|
262
|
+
# are determined by the service that evaluates it. See the service
|
263
|
+
# documentation for additional information.
|
244
264
|
# Corresponds to the JSON property `condition`
|
245
265
|
# @return [Google::Apis::SecuritycenterV1::Expr]
|
246
266
|
attr_accessor :condition
|
@@ -257,6 +277,23 @@ module Google
|
|
257
277
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
258
278
|
# * `group:`emailid``: An email address that represents a Google group.
|
259
279
|
# For example, `admins@example.com`.
|
280
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
281
|
+
# identifier) representing a user that has been recently deleted. For
|
282
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
283
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
284
|
+
# retains the role in the binding.
|
285
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
286
|
+
# unique identifier) representing a service account that has been recently
|
287
|
+
# deleted. For example,
|
288
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
289
|
+
# If the service account is undeleted, this value reverts to
|
290
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
291
|
+
# role in the binding.
|
292
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
293
|
+
# identifier) representing a Google group that has been recently
|
294
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
295
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
296
|
+
# recovered group retains the role in the binding.
|
260
297
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
261
298
|
# users of that domain. For example, `google.com` or `example.com`.
|
262
299
|
# Corresponds to the JSON property `members`
|
@@ -300,34 +337,50 @@ module Google
|
|
300
337
|
end
|
301
338
|
end
|
302
339
|
|
303
|
-
# Represents
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
340
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
341
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
342
|
+
# are documented at https://github.com/google/cel-spec.
|
343
|
+
# Example (Comparison):
|
344
|
+
# title: "Summary size limit"
|
345
|
+
# description: "Determines if a summary is less than 100 chars"
|
346
|
+
# expression: "document.summary.size() < 100"
|
347
|
+
# Example (Equality):
|
348
|
+
# title: "Requestor is owner"
|
349
|
+
# description: "Determines if requestor is the document owner"
|
350
|
+
# expression: "document.owner == request.auth.claims.email"
|
351
|
+
# Example (Logic):
|
352
|
+
# title: "Public documents"
|
353
|
+
# description: "Determine whether the document should be publicly visible"
|
354
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
355
|
+
# Example (Data Manipulation):
|
356
|
+
# title: "Notification string"
|
357
|
+
# description: "Create a notification string with a timestamp."
|
358
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
359
|
+
# The exact variables and functions that may be referenced within an expression
|
360
|
+
# are determined by the service that evaluates it. See the service
|
361
|
+
# documentation for additional information.
|
307
362
|
class Expr
|
308
363
|
include Google::Apis::Core::Hashable
|
309
364
|
|
310
|
-
#
|
365
|
+
# Optional. Description of the expression. This is a longer text which
|
311
366
|
# describes the expression, e.g. when hovered over it in a UI.
|
312
367
|
# Corresponds to the JSON property `description`
|
313
368
|
# @return [String]
|
314
369
|
attr_accessor :description
|
315
370
|
|
316
|
-
# Textual representation of an expression in
|
317
|
-
#
|
318
|
-
# The application context of the containing message determines which
|
319
|
-
# well-known feature set of CEL is supported.
|
371
|
+
# Textual representation of an expression in Common Expression Language
|
372
|
+
# syntax.
|
320
373
|
# Corresponds to the JSON property `expression`
|
321
374
|
# @return [String]
|
322
375
|
attr_accessor :expression
|
323
376
|
|
324
|
-
#
|
377
|
+
# Optional. String indicating the location of the expression for error
|
325
378
|
# reporting, e.g. a file name and a position in the file.
|
326
379
|
# Corresponds to the JSON property `location`
|
327
380
|
# @return [String]
|
328
381
|
attr_accessor :location
|
329
382
|
|
330
|
-
#
|
383
|
+
# Optional. Title for the expression, i.e. a short string describing
|
331
384
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
332
385
|
# expression.
|
333
386
|
# Corresponds to the JSON property `title`
|
@@ -347,11 +400,12 @@ module Google
|
|
347
400
|
end
|
348
401
|
end
|
349
402
|
|
350
|
-
#
|
351
|
-
# A finding is a record of assessment data
|
352
|
-
# ingested into
|
353
|
-
# policy testing, and enforcement. For example,
|
354
|
-
# App Engine application is a
|
403
|
+
# Security Command Center finding.
|
404
|
+
# A finding is a record of assessment data like security, risk, health, or
|
405
|
+
# privacy, that is ingested into Security Command Center for presentation,
|
406
|
+
# notification, analysis, policy testing, and enforcement. For example, a
|
407
|
+
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
408
|
+
# finding.
|
355
409
|
class Finding
|
356
410
|
include Google::Apis::Core::Hashable
|
357
411
|
|
@@ -362,7 +416,7 @@ module Google
|
|
362
416
|
# @return [String]
|
363
417
|
attr_accessor :category
|
364
418
|
|
365
|
-
# The time at which the finding was created in
|
419
|
+
# The time at which the finding was created in Security Command Center.
|
366
420
|
# Corresponds to the JSON property `createTime`
|
367
421
|
# @return [String]
|
368
422
|
attr_accessor :create_time
|
@@ -374,9 +428,9 @@ module Google
|
|
374
428
|
# @return [String]
|
375
429
|
attr_accessor :event_time
|
376
430
|
|
377
|
-
# The URI that, if available, points to a web page outside of
|
378
|
-
# where additional information about the finding can be found.
|
379
|
-
# guaranteed to be either empty or a well formed URL.
|
431
|
+
# The URI that, if available, points to a web page outside of Security
|
432
|
+
# Command Center where additional information about the finding can be found.
|
433
|
+
# This field is guaranteed to be either empty or a well formed URL.
|
380
434
|
# Corresponds to the JSON property `externalUri`
|
381
435
|
# @return [String]
|
382
436
|
attr_accessor :external_uri
|
@@ -384,7 +438,7 @@ module Google
|
|
384
438
|
# The relative resource name of this finding. See:
|
385
439
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
386
440
|
# Example:
|
387
|
-
# "organizations
|
441
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
388
442
|
# Corresponds to the JSON property `name`
|
389
443
|
# @return [String]
|
390
444
|
attr_accessor :name
|
@@ -393,22 +447,24 @@ module Google
|
|
393
447
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
394
448
|
# This field is immutable after creation time.
|
395
449
|
# For example:
|
396
|
-
# "organizations
|
450
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
397
451
|
# Corresponds to the JSON property `parent`
|
398
452
|
# @return [String]
|
399
453
|
attr_accessor :parent
|
400
454
|
|
401
|
-
#
|
402
|
-
# finding is for. See:
|
455
|
+
# For findings on Google Cloud resources, the full resource
|
456
|
+
# name of the Google Cloud resource this finding is for. See:
|
403
457
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
404
|
-
#
|
458
|
+
# When the finding is for a non-Google Cloud resource, the resourceName can
|
459
|
+
# be a customer or partner defined string. This field is immutable after
|
460
|
+
# creation time.
|
405
461
|
# Corresponds to the JSON property `resourceName`
|
406
462
|
# @return [String]
|
407
463
|
attr_accessor :resource_name
|
408
464
|
|
409
|
-
# User specified security marks that are attached to the parent
|
410
|
-
# Command Center
|
411
|
-
#
|
465
|
+
# User specified security marks that are attached to the parent Security
|
466
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
467
|
+
# Center organization -- they can be modified and viewed by all users who have
|
412
468
|
# proper permissions on the organization.
|
413
469
|
# Corresponds to the JSON property `securityMarks`
|
414
470
|
# @return [Google::Apis::SecuritycenterV1::SecurityMarks]
|
@@ -475,6 +531,9 @@ module Google
|
|
475
531
|
# Requests for policies with any conditional bindings must specify version 3.
|
476
532
|
# Policies without any conditional bindings may specify any valid value or
|
477
533
|
# leave the field unset.
|
534
|
+
# To learn which resources support conditions in their IAM policies, see the
|
535
|
+
# [IAM
|
536
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
478
537
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
479
538
|
# @return [Fixnum]
|
480
539
|
attr_accessor :requested_policy_version
|
@@ -489,6 +548,36 @@ module Google
|
|
489
548
|
end
|
490
549
|
end
|
491
550
|
|
551
|
+
# Cloud SCC's Notification
|
552
|
+
class GoogleCloudSecuritycenterV1NotificationMessage
|
553
|
+
include Google::Apis::Core::Hashable
|
554
|
+
|
555
|
+
# Security Command Center finding.
|
556
|
+
# A finding is a record of assessment data like security, risk, health, or
|
557
|
+
# privacy, that is ingested into Security Command Center for presentation,
|
558
|
+
# notification, analysis, policy testing, and enforcement. For example, a
|
559
|
+
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
560
|
+
# finding.
|
561
|
+
# Corresponds to the JSON property `finding`
|
562
|
+
# @return [Google::Apis::SecuritycenterV1::Finding]
|
563
|
+
attr_accessor :finding
|
564
|
+
|
565
|
+
# Name of the notification config that generated current notification.
|
566
|
+
# Corresponds to the JSON property `notificationConfigName`
|
567
|
+
# @return [String]
|
568
|
+
attr_accessor :notification_config_name
|
569
|
+
|
570
|
+
def initialize(**args)
|
571
|
+
update!(**args)
|
572
|
+
end
|
573
|
+
|
574
|
+
# Update properties of this object
|
575
|
+
def update!(**args)
|
576
|
+
@finding = args[:finding] if args.key?(:finding)
|
577
|
+
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
492
581
|
# Response of asset discovery run
|
493
582
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
494
583
|
include Google::Apis::Core::Hashable
|
@@ -539,6 +628,403 @@ module Google
|
|
539
628
|
end
|
540
629
|
end
|
541
630
|
|
631
|
+
# Security Command Center representation of a Google Cloud
|
632
|
+
# resource.
|
633
|
+
# The Asset is a Security Command Center resource that captures information
|
634
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
635
|
+
# within the context of Security Command Center and don't affect the referenced
|
636
|
+
# Google Cloud resource.
|
637
|
+
class GoogleCloudSecuritycenterV1p1beta1Asset
|
638
|
+
include Google::Apis::Core::Hashable
|
639
|
+
|
640
|
+
# The time at which the asset was created in Security Command Center.
|
641
|
+
# Corresponds to the JSON property `createTime`
|
642
|
+
# @return [String]
|
643
|
+
attr_accessor :create_time
|
644
|
+
|
645
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
646
|
+
# described by the Security Command Center asset. This information is managed
|
647
|
+
# and defined by the Google Cloud resource and cannot be modified by the
|
648
|
+
# user.
|
649
|
+
# Corresponds to the JSON property `iamPolicy`
|
650
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
651
|
+
attr_accessor :iam_policy
|
652
|
+
|
653
|
+
# The relative resource name of this asset. See:
|
654
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
655
|
+
# Example:
|
656
|
+
# "organizations/`organization_id`/assets/`asset_id`".
|
657
|
+
# Corresponds to the JSON property `name`
|
658
|
+
# @return [String]
|
659
|
+
attr_accessor :name
|
660
|
+
|
661
|
+
# Resource managed properties. These properties are managed and defined by
|
662
|
+
# the Google Cloud resource and cannot be modified by the user.
|
663
|
+
# Corresponds to the JSON property `resourceProperties`
|
664
|
+
# @return [Hash<String,Object>]
|
665
|
+
attr_accessor :resource_properties
|
666
|
+
|
667
|
+
# Security Command Center managed properties. These properties are managed by
|
668
|
+
# Security Command Center and cannot be modified by the user.
|
669
|
+
# Corresponds to the JSON property `securityCenterProperties`
|
670
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
671
|
+
attr_accessor :security_center_properties
|
672
|
+
|
673
|
+
# User specified security marks that are attached to the parent Security
|
674
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
675
|
+
# Center organization -- they can be modified and viewed by all users who have
|
676
|
+
# proper permissions on the organization.
|
677
|
+
# Corresponds to the JSON property `securityMarks`
|
678
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
679
|
+
attr_accessor :security_marks
|
680
|
+
|
681
|
+
# The time at which the asset was last updated, added, or deleted in Cloud
|
682
|
+
# SCC.
|
683
|
+
# Corresponds to the JSON property `updateTime`
|
684
|
+
# @return [String]
|
685
|
+
attr_accessor :update_time
|
686
|
+
|
687
|
+
def initialize(**args)
|
688
|
+
update!(**args)
|
689
|
+
end
|
690
|
+
|
691
|
+
# Update properties of this object
|
692
|
+
def update!(**args)
|
693
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
694
|
+
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
695
|
+
@name = args[:name] if args.key?(:name)
|
696
|
+
@resource_properties = args[:resource_properties] if args.key?(:resource_properties)
|
697
|
+
@security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
|
698
|
+
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
699
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
# Security Command Center finding.
|
704
|
+
# A finding is a record of assessment data (security, risk, health or privacy)
|
705
|
+
# ingested into Security Command Center for presentation, notification,
|
706
|
+
# analysis, policy testing, and enforcement. For example, an XSS vulnerability
|
707
|
+
# in an App Engine application is a finding.
|
708
|
+
class GoogleCloudSecuritycenterV1p1beta1Finding
|
709
|
+
include Google::Apis::Core::Hashable
|
710
|
+
|
711
|
+
# The additional taxonomy group within findings from a given source.
|
712
|
+
# This field is immutable after creation time.
|
713
|
+
# Example: "XSS_FLASH_INJECTION"
|
714
|
+
# Corresponds to the JSON property `category`
|
715
|
+
# @return [String]
|
716
|
+
attr_accessor :category
|
717
|
+
|
718
|
+
# The time at which the finding was created in Security Command Center.
|
719
|
+
# Corresponds to the JSON property `createTime`
|
720
|
+
# @return [String]
|
721
|
+
attr_accessor :create_time
|
722
|
+
|
723
|
+
# The time at which the event took place. For example, if the finding
|
724
|
+
# represents an open firewall it would capture the time the detector believes
|
725
|
+
# the firewall became open. The accuracy is determined by the detector.
|
726
|
+
# Corresponds to the JSON property `eventTime`
|
727
|
+
# @return [String]
|
728
|
+
attr_accessor :event_time
|
729
|
+
|
730
|
+
# The URI that, if available, points to a web page outside of Security
|
731
|
+
# Command Center where additional information about the finding can be found.
|
732
|
+
# This field is guaranteed to be either empty or a well formed URL.
|
733
|
+
# Corresponds to the JSON property `externalUri`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :external_uri
|
736
|
+
|
737
|
+
# The relative resource name of this finding. See:
|
738
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
739
|
+
# Example:
|
740
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
741
|
+
# Corresponds to the JSON property `name`
|
742
|
+
# @return [String]
|
743
|
+
attr_accessor :name
|
744
|
+
|
745
|
+
# The relative resource name of the source the finding belongs to. See:
|
746
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
747
|
+
# This field is immutable after creation time.
|
748
|
+
# For example:
|
749
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
750
|
+
# Corresponds to the JSON property `parent`
|
751
|
+
# @return [String]
|
752
|
+
attr_accessor :parent
|
753
|
+
|
754
|
+
# For findings on Google Cloud resources, the full resource
|
755
|
+
# name of the Google Cloud resource this finding is for. See:
|
756
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
757
|
+
# When the finding is for a non-Google Cloud resource, the resourceName can
|
758
|
+
# be a customer or partner defined string. This field is immutable after
|
759
|
+
# creation time.
|
760
|
+
# Corresponds to the JSON property `resourceName`
|
761
|
+
# @return [String]
|
762
|
+
attr_accessor :resource_name
|
763
|
+
|
764
|
+
# User specified security marks that are attached to the parent Security
|
765
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
766
|
+
# Center organization -- they can be modified and viewed by all users who have
|
767
|
+
# proper permissions on the organization.
|
768
|
+
# Corresponds to the JSON property `securityMarks`
|
769
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
770
|
+
attr_accessor :security_marks
|
771
|
+
|
772
|
+
# Source specific properties. These properties are managed by the source
|
773
|
+
# that writes the finding. The key names in the source_properties map must be
|
774
|
+
# between 1 and 255 characters, and must start with a letter and contain
|
775
|
+
# alphanumeric characters or underscores only.
|
776
|
+
# Corresponds to the JSON property `sourceProperties`
|
777
|
+
# @return [Hash<String,Object>]
|
778
|
+
attr_accessor :source_properties
|
779
|
+
|
780
|
+
# The state of the finding.
|
781
|
+
# Corresponds to the JSON property `state`
|
782
|
+
# @return [String]
|
783
|
+
attr_accessor :state
|
784
|
+
|
785
|
+
def initialize(**args)
|
786
|
+
update!(**args)
|
787
|
+
end
|
788
|
+
|
789
|
+
# Update properties of this object
|
790
|
+
def update!(**args)
|
791
|
+
@category = args[:category] if args.key?(:category)
|
792
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
793
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
794
|
+
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
795
|
+
@name = args[:name] if args.key?(:name)
|
796
|
+
@parent = args[:parent] if args.key?(:parent)
|
797
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
798
|
+
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
799
|
+
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
800
|
+
@state = args[:state] if args.key?(:state)
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
805
|
+
# described by the Security Command Center asset. This information is managed
|
806
|
+
# and defined by the Google Cloud resource and cannot be modified by the
|
807
|
+
# user.
|
808
|
+
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
809
|
+
include Google::Apis::Core::Hashable
|
810
|
+
|
811
|
+
# The JSON representation of the Policy associated with the asset.
|
812
|
+
# See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
|
813
|
+
# format details.
|
814
|
+
# Corresponds to the JSON property `policyBlob`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :policy_blob
|
817
|
+
|
818
|
+
def initialize(**args)
|
819
|
+
update!(**args)
|
820
|
+
end
|
821
|
+
|
822
|
+
# Update properties of this object
|
823
|
+
def update!(**args)
|
824
|
+
@policy_blob = args[:policy_blob] if args.key?(:policy_blob)
|
825
|
+
end
|
826
|
+
end
|
827
|
+
|
828
|
+
# Security Command Center's Notification
|
829
|
+
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
830
|
+
include Google::Apis::Core::Hashable
|
831
|
+
|
832
|
+
# Security Command Center finding.
|
833
|
+
# A finding is a record of assessment data (security, risk, health or privacy)
|
834
|
+
# ingested into Security Command Center for presentation, notification,
|
835
|
+
# analysis, policy testing, and enforcement. For example, an XSS vulnerability
|
836
|
+
# in an App Engine application is a finding.
|
837
|
+
# Corresponds to the JSON property `finding`
|
838
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
839
|
+
attr_accessor :finding
|
840
|
+
|
841
|
+
# Name of the notification config that generated current notification.
|
842
|
+
# Corresponds to the JSON property `notificationConfigName`
|
843
|
+
# @return [String]
|
844
|
+
attr_accessor :notification_config_name
|
845
|
+
|
846
|
+
# Wrapper over asset object that also captures the state change for the asset
|
847
|
+
# e.g. if it was a newly created asset vs updated or deleted asset.
|
848
|
+
# Corresponds to the JSON property `temporalAsset`
|
849
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
850
|
+
attr_accessor :temporal_asset
|
851
|
+
|
852
|
+
def initialize(**args)
|
853
|
+
update!(**args)
|
854
|
+
end
|
855
|
+
|
856
|
+
# Update properties of this object
|
857
|
+
def update!(**args)
|
858
|
+
@finding = args[:finding] if args.key?(:finding)
|
859
|
+
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
860
|
+
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
861
|
+
end
|
862
|
+
end
|
863
|
+
|
864
|
+
# Response of asset discovery run
|
865
|
+
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
866
|
+
include Google::Apis::Core::Hashable
|
867
|
+
|
868
|
+
# The duration between asset discovery run start and end
|
869
|
+
# Corresponds to the JSON property `duration`
|
870
|
+
# @return [String]
|
871
|
+
attr_accessor :duration
|
872
|
+
|
873
|
+
# The state of an asset discovery run.
|
874
|
+
# Corresponds to the JSON property `state`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :state
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@duration = args[:duration] if args.key?(:duration)
|
885
|
+
@state = args[:state] if args.key?(:state)
|
886
|
+
end
|
887
|
+
end
|
888
|
+
|
889
|
+
# Security Command Center managed properties. These properties are managed by
|
890
|
+
# Security Command Center and cannot be modified by the user.
|
891
|
+
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
892
|
+
include Google::Apis::Core::Hashable
|
893
|
+
|
894
|
+
# The user defined display name for this resource.
|
895
|
+
# Corresponds to the JSON property `resourceDisplayName`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :resource_display_name
|
898
|
+
|
899
|
+
# The full resource name of the Google Cloud resource this asset
|
900
|
+
# represents. This field is immutable after create time. See:
|
901
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
902
|
+
# Corresponds to the JSON property `resourceName`
|
903
|
+
# @return [String]
|
904
|
+
attr_accessor :resource_name
|
905
|
+
|
906
|
+
# Owners of the Google Cloud resource.
|
907
|
+
# Corresponds to the JSON property `resourceOwners`
|
908
|
+
# @return [Array<String>]
|
909
|
+
attr_accessor :resource_owners
|
910
|
+
|
911
|
+
# The full resource name of the immediate parent of the resource. See:
|
912
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
913
|
+
# Corresponds to the JSON property `resourceParent`
|
914
|
+
# @return [String]
|
915
|
+
attr_accessor :resource_parent
|
916
|
+
|
917
|
+
# The user defined display name for the parent of this resource.
|
918
|
+
# Corresponds to the JSON property `resourceParentDisplayName`
|
919
|
+
# @return [String]
|
920
|
+
attr_accessor :resource_parent_display_name
|
921
|
+
|
922
|
+
# The full resource name of the project the resource belongs to. See:
|
923
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
924
|
+
# Corresponds to the JSON property `resourceProject`
|
925
|
+
# @return [String]
|
926
|
+
attr_accessor :resource_project
|
927
|
+
|
928
|
+
# The user defined display name for the project of this resource.
|
929
|
+
# Corresponds to the JSON property `resourceProjectDisplayName`
|
930
|
+
# @return [String]
|
931
|
+
attr_accessor :resource_project_display_name
|
932
|
+
|
933
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
934
|
+
# PROJECT, and ORGANIZATION. This is a case insensitive field defined by
|
935
|
+
# Security Command Center and/or the producer of the resource and is
|
936
|
+
# immutable after create time.
|
937
|
+
# Corresponds to the JSON property `resourceType`
|
938
|
+
# @return [String]
|
939
|
+
attr_accessor :resource_type
|
940
|
+
|
941
|
+
def initialize(**args)
|
942
|
+
update!(**args)
|
943
|
+
end
|
944
|
+
|
945
|
+
# Update properties of this object
|
946
|
+
def update!(**args)
|
947
|
+
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
948
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
949
|
+
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
950
|
+
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
951
|
+
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
952
|
+
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
953
|
+
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
954
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
958
|
+
# User specified security marks that are attached to the parent Security
|
959
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
960
|
+
# Center organization -- they can be modified and viewed by all users who have
|
961
|
+
# proper permissions on the organization.
|
962
|
+
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
963
|
+
include Google::Apis::Core::Hashable
|
964
|
+
|
965
|
+
# Mutable user specified security marks belonging to the parent resource.
|
966
|
+
# Constraints are as follows:
|
967
|
+
# * Keys and values are treated as case insensitive
|
968
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
969
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
970
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
971
|
+
# characters must be between 1 - 4096 characters (inclusive)
|
972
|
+
# Corresponds to the JSON property `marks`
|
973
|
+
# @return [Hash<String,String>]
|
974
|
+
attr_accessor :marks
|
975
|
+
|
976
|
+
# The relative resource name of the SecurityMarks. See:
|
977
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
978
|
+
# Examples:
|
979
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
980
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
981
|
+
# securityMarks".
|
982
|
+
# Corresponds to the JSON property `name`
|
983
|
+
# @return [String]
|
984
|
+
attr_accessor :name
|
985
|
+
|
986
|
+
def initialize(**args)
|
987
|
+
update!(**args)
|
988
|
+
end
|
989
|
+
|
990
|
+
# Update properties of this object
|
991
|
+
def update!(**args)
|
992
|
+
@marks = args[:marks] if args.key?(:marks)
|
993
|
+
@name = args[:name] if args.key?(:name)
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
# Wrapper over asset object that also captures the state change for the asset
|
998
|
+
# e.g. if it was a newly created asset vs updated or deleted asset.
|
999
|
+
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
1000
|
+
include Google::Apis::Core::Hashable
|
1001
|
+
|
1002
|
+
# Security Command Center representation of a Google Cloud
|
1003
|
+
# resource.
|
1004
|
+
# The Asset is a Security Command Center resource that captures information
|
1005
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
1006
|
+
# within the context of Security Command Center and don't affect the referenced
|
1007
|
+
# Google Cloud resource.
|
1008
|
+
# Corresponds to the JSON property `asset`
|
1009
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1010
|
+
attr_accessor :asset
|
1011
|
+
|
1012
|
+
# Represents if the asset was created/updated/deleted.
|
1013
|
+
# Corresponds to the JSON property `changeType`
|
1014
|
+
# @return [String]
|
1015
|
+
attr_accessor :change_type
|
1016
|
+
|
1017
|
+
def initialize(**args)
|
1018
|
+
update!(**args)
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# Update properties of this object
|
1022
|
+
def update!(**args)
|
1023
|
+
@asset = args[:asset] if args.key?(:asset)
|
1024
|
+
@change_type = args[:change_type] if args.key?(:change_type)
|
1025
|
+
end
|
1026
|
+
end
|
1027
|
+
|
542
1028
|
# Request message for grouping by assets.
|
543
1029
|
class GroupAssetsRequest
|
544
1030
|
include Google::Apis::Core::Hashable
|
@@ -604,11 +1090,18 @@ module Google
|
|
604
1090
|
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
605
1091
|
# * security_marks.marks: `=`, `:`
|
606
1092
|
# * security_center_properties.resource_name: `=`, `:`
|
1093
|
+
# * security_center_properties.resource_display_name: `=`, `:`
|
607
1094
|
# * security_center_properties.resource_type: `=`, `:`
|
608
1095
|
# * security_center_properties.resource_parent: `=`, `:`
|
1096
|
+
# * security_center_properties.resource_parent_display_name: `=`, `:`
|
609
1097
|
# * security_center_properties.resource_project: `=`, `:`
|
1098
|
+
# * security_center_properties.resource_project_display_name: `=`, `:`
|
610
1099
|
# * security_center_properties.resource_owners: `=`, `:`
|
611
1100
|
# For example, `resource_properties.size = 100` is a valid filter string.
|
1101
|
+
# Use a partial match on the empty string to filter based on a property
|
1102
|
+
# existing: "resource_properties.my_property : \"\""
|
1103
|
+
# Use a negated partial match on the empty string to filter based on a
|
1104
|
+
# property not existing: "-resource_properties.my_property : \"\""
|
612
1105
|
# Corresponds to the JSON property `filter`
|
613
1106
|
# @return [String]
|
614
1107
|
attr_accessor :filter
|
@@ -621,10 +1114,14 @@ module Google
|
|
621
1114
|
# project".
|
622
1115
|
# The following fields are supported when compare_duration is not set:
|
623
1116
|
# * security_center_properties.resource_project
|
1117
|
+
# * security_center_properties.resource_project_display_name
|
624
1118
|
# * security_center_properties.resource_type
|
625
1119
|
# * security_center_properties.resource_parent
|
1120
|
+
# * security_center_properties.resource_parent_display_name
|
626
1121
|
# The following fields are supported when compare_duration is set:
|
627
1122
|
# * security_center_properties.resource_type
|
1123
|
+
# * security_center_properties.resource_project_display_name
|
1124
|
+
# * security_center_properties.resource_parent_display_name
|
628
1125
|
# Corresponds to the JSON property `groupBy`
|
629
1126
|
# @return [String]
|
630
1127
|
attr_accessor :group_by
|
@@ -719,12 +1216,18 @@ module Google
|
|
719
1216
|
# two times don't affect the result. For example, the results aren't affected
|
720
1217
|
# if the finding is made inactive and then active again.
|
721
1218
|
# Possible "state_change" values when compare_duration is specified:
|
722
|
-
# * "CHANGED": indicates that the finding was present
|
723
|
-
# compare_duration, but changed its
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
1219
|
+
# * "CHANGED": indicates that the finding was present and matched the given
|
1220
|
+
# filter at the start of compare_duration, but changed its
|
1221
|
+
# state at read_time.
|
1222
|
+
# * "UNCHANGED": indicates that the finding was present and matched the given
|
1223
|
+
# filter at the start of compare_duration and did not change
|
1224
|
+
# state at read_time.
|
1225
|
+
# * "ADDED": indicates that the finding did not match the given filter or
|
1226
|
+
# was not present at the start of compare_duration, but was
|
1227
|
+
# present at read_time.
|
1228
|
+
# * "REMOVED": indicates that the finding was present and matched the
|
1229
|
+
# filter at the start of compare_duration, but did not match
|
1230
|
+
# the filter at read_time.
|
728
1231
|
# If compare_duration is not specified, then the only possible state_change
|
729
1232
|
# is "UNUSED", which will be the state_change set for all findings present
|
730
1233
|
# at read_time.
|
@@ -766,6 +1269,10 @@ module Google
|
|
766
1269
|
# * security_marks.marks: `=`, `:`
|
767
1270
|
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
768
1271
|
# For example, `source_properties.size = 100` is a valid filter string.
|
1272
|
+
# Use a partial match on the empty string to filter based on a property
|
1273
|
+
# existing: "source_properties.my_property : \"\""
|
1274
|
+
# Use a negated partial match on the empty string to filter based on a
|
1275
|
+
# property not existing: "-source_properties.my_property : \"\""
|
769
1276
|
# Corresponds to the JSON property `filter`
|
770
1277
|
# @return [String]
|
771
1278
|
attr_accessor :filter
|
@@ -886,9 +1393,10 @@ module Google
|
|
886
1393
|
end
|
887
1394
|
end
|
888
1395
|
|
889
|
-
# IAM Policy information associated with the
|
890
|
-
#
|
891
|
-
# resource and cannot be modified by the
|
1396
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
1397
|
+
# described by the Security Command Center asset. This information is managed
|
1398
|
+
# and defined by the Google Cloud resource and cannot be modified by the
|
1399
|
+
# user.
|
892
1400
|
class IamPolicy
|
893
1401
|
include Google::Apis::Core::Hashable
|
894
1402
|
|
@@ -951,11 +1459,12 @@ module Google
|
|
951
1459
|
class ListAssetsResult
|
952
1460
|
include Google::Apis::Core::Hashable
|
953
1461
|
|
954
|
-
#
|
955
|
-
#
|
956
|
-
# The Asset is a
|
957
|
-
#
|
958
|
-
#
|
1462
|
+
# Security Command Center representation of a Google Cloud
|
1463
|
+
# resource.
|
1464
|
+
# The Asset is a Security Command Center resource that captures information
|
1465
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
1466
|
+
# within the context of Security Command Center and don't affect the referenced
|
1467
|
+
# Google Cloud resource.
|
959
1468
|
# Corresponds to the JSON property `asset`
|
960
1469
|
# @return [Google::Apis::SecuritycenterV1::Asset]
|
961
1470
|
attr_accessor :asset
|
@@ -1018,15 +1527,22 @@ module Google
|
|
1018
1527
|
class ListFindingsResult
|
1019
1528
|
include Google::Apis::Core::Hashable
|
1020
1529
|
|
1021
|
-
#
|
1022
|
-
# A finding is a record of assessment data
|
1023
|
-
# ingested into
|
1024
|
-
# policy testing, and enforcement. For example,
|
1025
|
-
# App Engine application is a
|
1530
|
+
# Security Command Center finding.
|
1531
|
+
# A finding is a record of assessment data like security, risk, health, or
|
1532
|
+
# privacy, that is ingested into Security Command Center for presentation,
|
1533
|
+
# notification, analysis, policy testing, and enforcement. For example, a
|
1534
|
+
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
1535
|
+
# finding.
|
1026
1536
|
# Corresponds to the JSON property `finding`
|
1027
1537
|
# @return [Google::Apis::SecuritycenterV1::Finding]
|
1028
1538
|
attr_accessor :finding
|
1029
1539
|
|
1540
|
+
# Information related to the Google Cloud resource that is
|
1541
|
+
# associated with this finding.
|
1542
|
+
# Corresponds to the JSON property `resource`
|
1543
|
+
# @return [Google::Apis::SecuritycenterV1::Resource]
|
1544
|
+
attr_accessor :resource
|
1545
|
+
|
1030
1546
|
# State change of the finding between the points in time.
|
1031
1547
|
# Corresponds to the JSON property `stateChange`
|
1032
1548
|
# @return [String]
|
@@ -1039,10 +1555,37 @@ module Google
|
|
1039
1555
|
# Update properties of this object
|
1040
1556
|
def update!(**args)
|
1041
1557
|
@finding = args[:finding] if args.key?(:finding)
|
1558
|
+
@resource = args[:resource] if args.key?(:resource)
|
1042
1559
|
@state_change = args[:state_change] if args.key?(:state_change)
|
1043
1560
|
end
|
1044
1561
|
end
|
1045
1562
|
|
1563
|
+
# Response message for listing notification configs.
|
1564
|
+
class ListNotificationConfigsResponse
|
1565
|
+
include Google::Apis::Core::Hashable
|
1566
|
+
|
1567
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
1568
|
+
# results.
|
1569
|
+
# Corresponds to the JSON property `nextPageToken`
|
1570
|
+
# @return [String]
|
1571
|
+
attr_accessor :next_page_token
|
1572
|
+
|
1573
|
+
# Notification configs belonging to the requested parent.
|
1574
|
+
# Corresponds to the JSON property `notificationConfigs`
|
1575
|
+
# @return [Array<Google::Apis::SecuritycenterV1::NotificationConfig>]
|
1576
|
+
attr_accessor :notification_configs
|
1577
|
+
|
1578
|
+
def initialize(**args)
|
1579
|
+
update!(**args)
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
# Update properties of this object
|
1583
|
+
def update!(**args)
|
1584
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1585
|
+
@notification_configs = args[:notification_configs] if args.key?(:notification_configs)
|
1586
|
+
end
|
1587
|
+
end
|
1588
|
+
|
1046
1589
|
# The response message for Operations.ListOperations.
|
1047
1590
|
class ListOperationsResponse
|
1048
1591
|
include Google::Apis::Core::Hashable
|
@@ -1094,6 +1637,57 @@ module Google
|
|
1094
1637
|
end
|
1095
1638
|
end
|
1096
1639
|
|
1640
|
+
# Cloud Security Command Center (Cloud SCC) notification configs.
|
1641
|
+
# A notification config is a Cloud SCC resource that contains the configuration
|
1642
|
+
# to send notifications for create/update events of findings, assets and etc.
|
1643
|
+
class NotificationConfig
|
1644
|
+
include Google::Apis::Core::Hashable
|
1645
|
+
|
1646
|
+
# The description of the notification config (max of 1024 characters).
|
1647
|
+
# Corresponds to the JSON property `description`
|
1648
|
+
# @return [String]
|
1649
|
+
attr_accessor :description
|
1650
|
+
|
1651
|
+
# The relative resource name of this notification config. See:
|
1652
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1653
|
+
# Example:
|
1654
|
+
# "organizations/`organization_id`/notificationConfigs/notify_public_bucket".
|
1655
|
+
# Corresponds to the JSON property `name`
|
1656
|
+
# @return [String]
|
1657
|
+
attr_accessor :name
|
1658
|
+
|
1659
|
+
# The PubSub topic to send notifications to. Its format is
|
1660
|
+
# "projects/[project_id]/topics/[topic]".
|
1661
|
+
# Corresponds to the JSON property `pubsubTopic`
|
1662
|
+
# @return [String]
|
1663
|
+
attr_accessor :pubsub_topic
|
1664
|
+
|
1665
|
+
# Output only. The service account that needs "pubsub.topics.publish"
|
1666
|
+
# permission to publish to the PubSub topic.
|
1667
|
+
# Corresponds to the JSON property `serviceAccount`
|
1668
|
+
# @return [String]
|
1669
|
+
attr_accessor :service_account
|
1670
|
+
|
1671
|
+
# The config for streaming-based notifications, which send each event as soon
|
1672
|
+
# as it is detected.
|
1673
|
+
# Corresponds to the JSON property `streamingConfig`
|
1674
|
+
# @return [Google::Apis::SecuritycenterV1::StreamingConfig]
|
1675
|
+
attr_accessor :streaming_config
|
1676
|
+
|
1677
|
+
def initialize(**args)
|
1678
|
+
update!(**args)
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# Update properties of this object
|
1682
|
+
def update!(**args)
|
1683
|
+
@description = args[:description] if args.key?(:description)
|
1684
|
+
@name = args[:name] if args.key?(:name)
|
1685
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
1686
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
1687
|
+
@streaming_config = args[:streaming_config] if args.key?(:streaming_config)
|
1688
|
+
end
|
1689
|
+
end
|
1690
|
+
|
1097
1691
|
# This resource represents a long-running operation that is the result of a
|
1098
1692
|
# network API call.
|
1099
1693
|
class Operation
|
@@ -1158,8 +1752,8 @@ module Google
|
|
1158
1752
|
end
|
1159
1753
|
end
|
1160
1754
|
|
1161
|
-
# User specified settings that are attached to the
|
1162
|
-
# Center
|
1755
|
+
# User specified settings that are attached to the Security Command
|
1756
|
+
# Center organization.
|
1163
1757
|
class OrganizationSettings
|
1164
1758
|
include Google::Apis::Core::Hashable
|
1165
1759
|
|
@@ -1180,7 +1774,7 @@ module Google
|
|
1180
1774
|
# The relative resource name of the settings. See:
|
1181
1775
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1182
1776
|
# Example:
|
1183
|
-
# "organizations
|
1777
|
+
# "organizations/`organization_id`/organizationSettings".
|
1184
1778
|
# Corresponds to the JSON property `name`
|
1185
1779
|
# @return [String]
|
1186
1780
|
attr_accessor :name
|
@@ -1197,20 +1791,25 @@ module Google
|
|
1197
1791
|
end
|
1198
1792
|
end
|
1199
1793
|
|
1200
|
-
#
|
1201
|
-
#
|
1794
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1795
|
+
# controls for Google Cloud resources.
|
1202
1796
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1203
1797
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1204
1798
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1205
|
-
# permissions
|
1206
|
-
#
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
#
|
1799
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1800
|
+
# custom role.
|
1801
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1802
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1803
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1804
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1805
|
+
# resources support conditions in their IAM policies, see the
|
1806
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1807
|
+
# policies).
|
1808
|
+
# **JSON example:**
|
1210
1809
|
# `
|
1211
1810
|
# "bindings": [
|
1212
1811
|
# `
|
1213
|
-
# "role": "
|
1812
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1214
1813
|
# "members": [
|
1215
1814
|
# "user:mike@example.com",
|
1216
1815
|
# "group:admins@example.com",
|
@@ -1220,17 +1819,21 @@ module Google
|
|
1220
1819
|
# `,
|
1221
1820
|
# `
|
1222
1821
|
# "role": "roles/resourcemanager.organizationViewer",
|
1223
|
-
# "members": [
|
1822
|
+
# "members": [
|
1823
|
+
# "user:eve@example.com"
|
1824
|
+
# ],
|
1224
1825
|
# "condition": `
|
1225
1826
|
# "title": "expirable access",
|
1226
1827
|
# "description": "Does not grant access after Sep 2020",
|
1227
|
-
# "expression": "request.time <
|
1228
|
-
#
|
1828
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1829
|
+
# ",
|
1229
1830
|
# `
|
1230
1831
|
# `
|
1231
|
-
# ]
|
1832
|
+
# ],
|
1833
|
+
# "etag": "BwWWja0YfJA=",
|
1834
|
+
# "version": 3
|
1232
1835
|
# `
|
1233
|
-
# **YAML
|
1836
|
+
# **YAML example:**
|
1234
1837
|
# bindings:
|
1235
1838
|
# - members:
|
1236
1839
|
# - user:mike@example.com
|
@@ -1245,8 +1848,10 @@ module Google
|
|
1245
1848
|
# title: expirable access
|
1246
1849
|
# description: Does not grant access after Sep 2020
|
1247
1850
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1851
|
+
# - etag: BwWWja0YfJA=
|
1852
|
+
# - version: 3
|
1248
1853
|
# For a description of IAM and its features, see the
|
1249
|
-
# [IAM
|
1854
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1250
1855
|
class Policy
|
1251
1856
|
include Google::Apis::Core::Hashable
|
1252
1857
|
|
@@ -1255,9 +1860,9 @@ module Google
|
|
1255
1860
|
# @return [Array<Google::Apis::SecuritycenterV1::AuditConfig>]
|
1256
1861
|
attr_accessor :audit_configs
|
1257
1862
|
|
1258
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
1259
|
-
# `condition` that determines when
|
1260
|
-
# `bindings`
|
1863
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1864
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
1865
|
+
# of the `bindings` must contain at least one member.
|
1261
1866
|
# Corresponds to the JSON property `bindings`
|
1262
1867
|
# @return [Array<Google::Apis::SecuritycenterV1::Binding>]
|
1263
1868
|
attr_accessor :bindings
|
@@ -1269,25 +1874,34 @@ module Google
|
|
1269
1874
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
1270
1875
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1271
1876
|
# ensure that their change will be applied to the same version of the policy.
|
1272
|
-
# If
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1877
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1878
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1879
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1880
|
+
# the conditions in the version `3` policy are lost.
|
1276
1881
|
# Corresponds to the JSON property `etag`
|
1277
1882
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1278
1883
|
# @return [String]
|
1279
1884
|
attr_accessor :etag
|
1280
1885
|
|
1281
1886
|
# Specifies the format of the policy.
|
1282
|
-
# Valid values are 0
|
1283
|
-
# rejected.
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1287
|
-
#
|
1288
|
-
#
|
1289
|
-
#
|
1290
|
-
#
|
1887
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
1888
|
+
# are rejected.
|
1889
|
+
# Any operation that affects conditional role bindings must specify version
|
1890
|
+
# `3`. This requirement applies to the following operations:
|
1891
|
+
# * Getting a policy that includes a conditional role binding
|
1892
|
+
# * Adding a conditional role binding to a policy
|
1893
|
+
# * Changing a conditional role binding in a policy
|
1894
|
+
# * Removing any role binding, with or without a condition, from a policy
|
1895
|
+
# that includes conditions
|
1896
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1897
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1898
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1899
|
+
# the conditions in the version `3` policy are lost.
|
1900
|
+
# If a policy does not include any conditions, operations on that policy may
|
1901
|
+
# specify any valid version or leave the field unset.
|
1902
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1903
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1904
|
+
# policies).
|
1291
1905
|
# Corresponds to the JSON property `version`
|
1292
1906
|
# @return [Fixnum]
|
1293
1907
|
attr_accessor :version
|
@@ -1305,6 +1919,51 @@ module Google
|
|
1305
1919
|
end
|
1306
1920
|
end
|
1307
1921
|
|
1922
|
+
# Information related to the Google Cloud resource that is
|
1923
|
+
# associated with this finding.
|
1924
|
+
class Resource
|
1925
|
+
include Google::Apis::Core::Hashable
|
1926
|
+
|
1927
|
+
# The full resource name of the resource. See:
|
1928
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1929
|
+
# Corresponds to the JSON property `name`
|
1930
|
+
# @return [String]
|
1931
|
+
attr_accessor :name
|
1932
|
+
|
1933
|
+
# The human readable name of resource's parent.
|
1934
|
+
# Corresponds to the JSON property `parentDisplayName`
|
1935
|
+
# @return [String]
|
1936
|
+
attr_accessor :parent_display_name
|
1937
|
+
|
1938
|
+
# The full resource name of resource's parent.
|
1939
|
+
# Corresponds to the JSON property `parentName`
|
1940
|
+
# @return [String]
|
1941
|
+
attr_accessor :parent_name
|
1942
|
+
|
1943
|
+
# The human readable name of project that the resource belongs to.
|
1944
|
+
# Corresponds to the JSON property `projectDisplayName`
|
1945
|
+
# @return [String]
|
1946
|
+
attr_accessor :project_display_name
|
1947
|
+
|
1948
|
+
# The full resource name of project that the resource belongs to.
|
1949
|
+
# Corresponds to the JSON property `projectName`
|
1950
|
+
# @return [String]
|
1951
|
+
attr_accessor :project_name
|
1952
|
+
|
1953
|
+
def initialize(**args)
|
1954
|
+
update!(**args)
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# Update properties of this object
|
1958
|
+
def update!(**args)
|
1959
|
+
@name = args[:name] if args.key?(:name)
|
1960
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
1961
|
+
@parent_name = args[:parent_name] if args.key?(:parent_name)
|
1962
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
1963
|
+
@project_name = args[:project_name] if args.key?(:project_name)
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
|
1308
1967
|
# Request message for running asset discovery for an organization.
|
1309
1968
|
class RunAssetDiscoveryRequest
|
1310
1969
|
include Google::Apis::Core::Hashable
|
@@ -1318,12 +1977,17 @@ module Google
|
|
1318
1977
|
end
|
1319
1978
|
end
|
1320
1979
|
|
1321
|
-
#
|
1322
|
-
# cannot be modified by the user.
|
1980
|
+
# Security Command Center managed properties. These properties are managed by
|
1981
|
+
# Security Command Center and cannot be modified by the user.
|
1323
1982
|
class SecurityCenterProperties
|
1324
1983
|
include Google::Apis::Core::Hashable
|
1325
1984
|
|
1326
|
-
# The
|
1985
|
+
# The user defined display name for this resource.
|
1986
|
+
# Corresponds to the JSON property `resourceDisplayName`
|
1987
|
+
# @return [String]
|
1988
|
+
attr_accessor :resource_display_name
|
1989
|
+
|
1990
|
+
# The full resource name of the Google Cloud resource this asset
|
1327
1991
|
# represents. This field is immutable after create time. See:
|
1328
1992
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1329
1993
|
# Corresponds to the JSON property `resourceName`
|
@@ -1341,16 +2005,26 @@ module Google
|
|
1341
2005
|
# @return [String]
|
1342
2006
|
attr_accessor :resource_parent
|
1343
2007
|
|
2008
|
+
# The user defined display name for the parent of this resource.
|
2009
|
+
# Corresponds to the JSON property `resourceParentDisplayName`
|
2010
|
+
# @return [String]
|
2011
|
+
attr_accessor :resource_parent_display_name
|
2012
|
+
|
1344
2013
|
# The full resource name of the project the resource belongs to. See:
|
1345
2014
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1346
2015
|
# Corresponds to the JSON property `resourceProject`
|
1347
2016
|
# @return [String]
|
1348
2017
|
attr_accessor :resource_project
|
1349
2018
|
|
1350
|
-
# The
|
2019
|
+
# The user defined display name for the project of this resource.
|
2020
|
+
# Corresponds to the JSON property `resourceProjectDisplayName`
|
2021
|
+
# @return [String]
|
2022
|
+
attr_accessor :resource_project_display_name
|
2023
|
+
|
2024
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
1351
2025
|
# PROJECT, and ORGANIZATION. This is a case insensitive field defined by
|
1352
|
-
#
|
1353
|
-
# after create time.
|
2026
|
+
# Security Command Center and/or the producer of the resource and is
|
2027
|
+
# immutable after create time.
|
1354
2028
|
# Corresponds to the JSON property `resourceType`
|
1355
2029
|
# @return [String]
|
1356
2030
|
attr_accessor :resource_type
|
@@ -1361,27 +2035,30 @@ module Google
|
|
1361
2035
|
|
1362
2036
|
# Update properties of this object
|
1363
2037
|
def update!(**args)
|
2038
|
+
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
1364
2039
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1365
2040
|
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
1366
2041
|
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
2042
|
+
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
1367
2043
|
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
2044
|
+
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
1368
2045
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1369
2046
|
end
|
1370
2047
|
end
|
1371
2048
|
|
1372
|
-
# User specified security marks that are attached to the parent
|
1373
|
-
# Command Center
|
1374
|
-
#
|
2049
|
+
# User specified security marks that are attached to the parent Security
|
2050
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
2051
|
+
# Center organization -- they can be modified and viewed by all users who have
|
1375
2052
|
# proper permissions on the organization.
|
1376
2053
|
class SecurityMarks
|
1377
2054
|
include Google::Apis::Core::Hashable
|
1378
2055
|
|
1379
2056
|
# Mutable user specified security marks belonging to the parent resource.
|
1380
2057
|
# Constraints are as follows:
|
1381
|
-
#
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
2058
|
+
# * Keys and values are treated as case insensitive
|
2059
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
2060
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
2061
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
1385
2062
|
# characters must be between 1 - 4096 characters (inclusive)
|
1386
2063
|
# Corresponds to the JSON property `marks`
|
1387
2064
|
# @return [Hash<String,String>]
|
@@ -1390,8 +2067,9 @@ module Google
|
|
1390
2067
|
# The relative resource name of the SecurityMarks. See:
|
1391
2068
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1392
2069
|
# Examples:
|
1393
|
-
# "organizations
|
1394
|
-
# "organizations
|
2070
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
2071
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
2072
|
+
# securityMarks".
|
1395
2073
|
# Corresponds to the JSON property `name`
|
1396
2074
|
# @return [String]
|
1397
2075
|
attr_accessor :name
|
@@ -1436,20 +2114,25 @@ module Google
|
|
1436
2114
|
class SetIamPolicyRequest
|
1437
2115
|
include Google::Apis::Core::Hashable
|
1438
2116
|
|
1439
|
-
#
|
1440
|
-
#
|
2117
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
2118
|
+
# controls for Google Cloud resources.
|
1441
2119
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1442
2120
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1443
2121
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1444
|
-
# permissions
|
1445
|
-
#
|
1446
|
-
#
|
1447
|
-
#
|
1448
|
-
#
|
2122
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
2123
|
+
# custom role.
|
2124
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
2125
|
+
# `condition`, which is a logical expression that allows access to a resource
|
2126
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
2127
|
+
# based on attributes of the request, the resource, or both. To learn which
|
2128
|
+
# resources support conditions in their IAM policies, see the
|
2129
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
2130
|
+
# policies).
|
2131
|
+
# **JSON example:**
|
1449
2132
|
# `
|
1450
2133
|
# "bindings": [
|
1451
2134
|
# `
|
1452
|
-
# "role": "
|
2135
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1453
2136
|
# "members": [
|
1454
2137
|
# "user:mike@example.com",
|
1455
2138
|
# "group:admins@example.com",
|
@@ -1459,17 +2142,21 @@ module Google
|
|
1459
2142
|
# `,
|
1460
2143
|
# `
|
1461
2144
|
# "role": "roles/resourcemanager.organizationViewer",
|
1462
|
-
# "members": [
|
2145
|
+
# "members": [
|
2146
|
+
# "user:eve@example.com"
|
2147
|
+
# ],
|
1463
2148
|
# "condition": `
|
1464
2149
|
# "title": "expirable access",
|
1465
2150
|
# "description": "Does not grant access after Sep 2020",
|
1466
|
-
# "expression": "request.time <
|
1467
|
-
#
|
2151
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2152
|
+
# ",
|
1468
2153
|
# `
|
1469
2154
|
# `
|
1470
|
-
# ]
|
2155
|
+
# ],
|
2156
|
+
# "etag": "BwWWja0YfJA=",
|
2157
|
+
# "version": 3
|
1471
2158
|
# `
|
1472
|
-
# **YAML
|
2159
|
+
# **YAML example:**
|
1473
2160
|
# bindings:
|
1474
2161
|
# - members:
|
1475
2162
|
# - user:mike@example.com
|
@@ -1484,8 +2171,10 @@ module Google
|
|
1484
2171
|
# title: expirable access
|
1485
2172
|
# description: Does not grant access after Sep 2020
|
1486
2173
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2174
|
+
# - etag: BwWWja0YfJA=
|
2175
|
+
# - version: 3
|
1487
2176
|
# For a description of IAM and its features, see the
|
1488
|
-
# [IAM
|
2177
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1489
2178
|
# Corresponds to the JSON property `policy`
|
1490
2179
|
# @return [Google::Apis::SecuritycenterV1::Policy]
|
1491
2180
|
attr_accessor :policy
|
@@ -1493,8 +2182,7 @@ module Google
|
|
1493
2182
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1494
2183
|
# the fields in the mask will be modified. If no mask is provided, the
|
1495
2184
|
# following default mask is used:
|
1496
|
-
# paths: "bindings, etag"
|
1497
|
-
# This field is only used by Cloud IAM.
|
2185
|
+
# `paths: "bindings, etag"`
|
1498
2186
|
# Corresponds to the JSON property `updateMask`
|
1499
2187
|
# @return [String]
|
1500
2188
|
attr_accessor :update_mask
|
@@ -1510,19 +2198,20 @@ module Google
|
|
1510
2198
|
end
|
1511
2199
|
end
|
1512
2200
|
|
1513
|
-
#
|
2201
|
+
# Security Command Center finding source. A finding source
|
1514
2202
|
# is an entity or a mechanism that can produce a finding. A source is like a
|
1515
|
-
# container of findings that come from the same scanner, logger, monitor,
|
2203
|
+
# container of findings that come from the same scanner, logger, monitor, and
|
2204
|
+
# other tools.
|
1516
2205
|
class Source
|
1517
2206
|
include Google::Apis::Core::Hashable
|
1518
2207
|
|
1519
2208
|
# The description of the source (max of 1024 characters).
|
1520
2209
|
# Example:
|
1521
|
-
# "
|
2210
|
+
# "Web Security Scanner is a web security scanner for common
|
1522
2211
|
# vulnerabilities in App Engine applications. It can automatically
|
1523
2212
|
# scan and detect four common vulnerabilities, including cross-site-scripting
|
1524
2213
|
# (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
1525
|
-
# outdated
|
2214
|
+
# outdated or insecure libraries."
|
1526
2215
|
# Corresponds to the JSON property `description`
|
1527
2216
|
# @return [String]
|
1528
2217
|
attr_accessor :description
|
@@ -1539,7 +2228,7 @@ module Google
|
|
1539
2228
|
# The relative resource name of this source. See:
|
1540
2229
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1541
2230
|
# Example:
|
1542
|
-
# "organizations
|
2231
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
1543
2232
|
# Corresponds to the JSON property `name`
|
1544
2233
|
# @return [String]
|
1545
2234
|
attr_accessor :name
|
@@ -1595,6 +2284,41 @@ module Google
|
|
1595
2284
|
end
|
1596
2285
|
end
|
1597
2286
|
|
2287
|
+
# The config for streaming-based notifications, which send each event as soon
|
2288
|
+
# as it is detected.
|
2289
|
+
class StreamingConfig
|
2290
|
+
include Google::Apis::Core::Hashable
|
2291
|
+
|
2292
|
+
# Expression that defines the filter to apply across create/update events
|
2293
|
+
# of assets or findings as specified by the event type. The expression is a
|
2294
|
+
# list of zero or more restrictions combined via logical operators `AND`
|
2295
|
+
# and `OR`. Parentheses are supported, and `OR` has higher precedence than
|
2296
|
+
# `AND`.
|
2297
|
+
# Restrictions have the form `<field> <operator> <value>` and may have a
|
2298
|
+
# `-` character in front of them to indicate negation. The fields map to
|
2299
|
+
# those defined in the corresponding resource.
|
2300
|
+
# The supported operators are:
|
2301
|
+
# * `=` for all value types.
|
2302
|
+
# * `>`, `<`, `>=`, `<=` for integer values.
|
2303
|
+
# * `:`, meaning substring matching, for strings.
|
2304
|
+
# The supported value types are:
|
2305
|
+
# * string literals in quotes.
|
2306
|
+
# * integer literals without quotes.
|
2307
|
+
# * boolean literals `true` and `false` without quotes.
|
2308
|
+
# Corresponds to the JSON property `filter`
|
2309
|
+
# @return [String]
|
2310
|
+
attr_accessor :filter
|
2311
|
+
|
2312
|
+
def initialize(**args)
|
2313
|
+
update!(**args)
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
# Update properties of this object
|
2317
|
+
def update!(**args)
|
2318
|
+
@filter = args[:filter] if args.key?(:filter)
|
2319
|
+
end
|
2320
|
+
end
|
2321
|
+
|
1598
2322
|
# Request message for `TestIamPermissions` method.
|
1599
2323
|
class TestIamPermissionsRequest
|
1600
2324
|
include Google::Apis::Core::Hashable
|