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,15 +22,16 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SecuritycenterV1beta1
|
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
|
@@ -38,33 +39,33 @@ module Google
|
|
38
39
|
# The relative resource name of this asset. See:
|
39
40
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
40
41
|
# Example:
|
41
|
-
# "organizations
|
42
|
+
# "organizations/`organization_id`/assets/`asset_id`".
|
42
43
|
# Corresponds to the JSON property `name`
|
43
44
|
# @return [String]
|
44
45
|
attr_accessor :name
|
45
46
|
|
46
47
|
# Resource managed properties. These properties are managed and defined by
|
47
|
-
# the
|
48
|
+
# the Google Cloud resource and cannot be modified by the user.
|
48
49
|
# Corresponds to the JSON property `resourceProperties`
|
49
50
|
# @return [Hash<String,Object>]
|
50
51
|
attr_accessor :resource_properties
|
51
52
|
|
52
|
-
#
|
53
|
-
# cannot be modified by the user.
|
53
|
+
# Security Command Center managed properties. These properties are managed by
|
54
|
+
# Security Command Center and cannot be modified by the user.
|
54
55
|
# Corresponds to the JSON property `securityCenterProperties`
|
55
56
|
# @return [Google::Apis::SecuritycenterV1beta1::SecurityCenterProperties]
|
56
57
|
attr_accessor :security_center_properties
|
57
58
|
|
58
|
-
# User specified security marks that are attached to the parent
|
59
|
-
# Command Center
|
60
|
-
#
|
59
|
+
# User specified security marks that are attached to the parent Security
|
60
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
61
|
+
# Center organization -- they can be modified and viewed by all users who have
|
61
62
|
# proper permissions on the organization.
|
62
63
|
# Corresponds to the JSON property `securityMarks`
|
63
|
-
# @return [Google::Apis::SecuritycenterV1beta1::
|
64
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
64
65
|
attr_accessor :security_marks
|
65
66
|
|
66
|
-
# The time at which the asset was last updated, added, or deleted in
|
67
|
-
#
|
67
|
+
# The time at which the asset was last updated, added, or deleted in Security
|
68
|
+
# Command Center.
|
68
69
|
# Corresponds to the JSON property `updateTime`
|
69
70
|
# @return [String]
|
70
71
|
attr_accessor :update_time
|
@@ -229,10 +230,28 @@ module Google
|
|
229
230
|
class Binding
|
230
231
|
include Google::Apis::Core::Hashable
|
231
232
|
|
232
|
-
# Represents
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
233
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
234
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
235
|
+
# are documented at https://github.com/google/cel-spec.
|
236
|
+
# Example (Comparison):
|
237
|
+
# title: "Summary size limit"
|
238
|
+
# description: "Determines if a summary is less than 100 chars"
|
239
|
+
# expression: "document.summary.size() < 100"
|
240
|
+
# Example (Equality):
|
241
|
+
# title: "Requestor is owner"
|
242
|
+
# description: "Determines if requestor is the document owner"
|
243
|
+
# expression: "document.owner == request.auth.claims.email"
|
244
|
+
# Example (Logic):
|
245
|
+
# title: "Public documents"
|
246
|
+
# description: "Determine whether the document should be publicly visible"
|
247
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
248
|
+
# Example (Data Manipulation):
|
249
|
+
# title: "Notification string"
|
250
|
+
# description: "Create a notification string with a timestamp."
|
251
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
252
|
+
# The exact variables and functions that may be referenced within an expression
|
253
|
+
# are determined by the service that evaluates it. See the service
|
254
|
+
# documentation for additional information.
|
236
255
|
# Corresponds to the JSON property `condition`
|
237
256
|
# @return [Google::Apis::SecuritycenterV1beta1::Expr]
|
238
257
|
attr_accessor :condition
|
@@ -249,6 +268,23 @@ module Google
|
|
249
268
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
250
269
|
# * `group:`emailid``: An email address that represents a Google group.
|
251
270
|
# For example, `admins@example.com`.
|
271
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
272
|
+
# identifier) representing a user that has been recently deleted. For
|
273
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
274
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
275
|
+
# retains the role in the binding.
|
276
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
277
|
+
# unique identifier) representing a service account that has been recently
|
278
|
+
# deleted. For example,
|
279
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
280
|
+
# If the service account is undeleted, this value reverts to
|
281
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
282
|
+
# role in the binding.
|
283
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
284
|
+
# identifier) representing a Google group that has been recently
|
285
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
286
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
287
|
+
# recovered group retains the role in the binding.
|
252
288
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
253
289
|
# users of that domain. For example, `google.com` or `example.com`.
|
254
290
|
# Corresponds to the JSON property `members`
|
@@ -305,34 +341,50 @@ module Google
|
|
305
341
|
end
|
306
342
|
end
|
307
343
|
|
308
|
-
# Represents
|
309
|
-
#
|
310
|
-
#
|
311
|
-
#
|
344
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
345
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
346
|
+
# are documented at https://github.com/google/cel-spec.
|
347
|
+
# Example (Comparison):
|
348
|
+
# title: "Summary size limit"
|
349
|
+
# description: "Determines if a summary is less than 100 chars"
|
350
|
+
# expression: "document.summary.size() < 100"
|
351
|
+
# Example (Equality):
|
352
|
+
# title: "Requestor is owner"
|
353
|
+
# description: "Determines if requestor is the document owner"
|
354
|
+
# expression: "document.owner == request.auth.claims.email"
|
355
|
+
# Example (Logic):
|
356
|
+
# title: "Public documents"
|
357
|
+
# description: "Determine whether the document should be publicly visible"
|
358
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
359
|
+
# Example (Data Manipulation):
|
360
|
+
# title: "Notification string"
|
361
|
+
# description: "Create a notification string with a timestamp."
|
362
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
363
|
+
# The exact variables and functions that may be referenced within an expression
|
364
|
+
# are determined by the service that evaluates it. See the service
|
365
|
+
# documentation for additional information.
|
312
366
|
class Expr
|
313
367
|
include Google::Apis::Core::Hashable
|
314
368
|
|
315
|
-
#
|
369
|
+
# Optional. Description of the expression. This is a longer text which
|
316
370
|
# describes the expression, e.g. when hovered over it in a UI.
|
317
371
|
# Corresponds to the JSON property `description`
|
318
372
|
# @return [String]
|
319
373
|
attr_accessor :description
|
320
374
|
|
321
|
-
# Textual representation of an expression in
|
322
|
-
#
|
323
|
-
# The application context of the containing message determines which
|
324
|
-
# well-known feature set of CEL is supported.
|
375
|
+
# Textual representation of an expression in Common Expression Language
|
376
|
+
# syntax.
|
325
377
|
# Corresponds to the JSON property `expression`
|
326
378
|
# @return [String]
|
327
379
|
attr_accessor :expression
|
328
380
|
|
329
|
-
#
|
381
|
+
# Optional. String indicating the location of the expression for error
|
330
382
|
# reporting, e.g. a file name and a position in the file.
|
331
383
|
# Corresponds to the JSON property `location`
|
332
384
|
# @return [String]
|
333
385
|
attr_accessor :location
|
334
386
|
|
335
|
-
#
|
387
|
+
# Optional. Title for the expression, i.e. a short string describing
|
336
388
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
337
389
|
# expression.
|
338
390
|
# Corresponds to the JSON property `title`
|
@@ -352,11 +404,12 @@ module Google
|
|
352
404
|
end
|
353
405
|
end
|
354
406
|
|
355
|
-
#
|
356
|
-
# A finding is a record of assessment data
|
357
|
-
# ingested into
|
358
|
-
# policy testing, and enforcement. For example,
|
359
|
-
# App Engine application is a
|
407
|
+
# Security Command Center finding.
|
408
|
+
# A finding is a record of assessment data like security, risk, health, or
|
409
|
+
# privacy, that is ingested into Security Command Center for presentation,
|
410
|
+
# notification, analysis, policy testing, and enforcement. For example, a
|
411
|
+
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
412
|
+
# finding.
|
360
413
|
class Finding
|
361
414
|
include Google::Apis::Core::Hashable
|
362
415
|
|
@@ -367,7 +420,7 @@ module Google
|
|
367
420
|
# @return [String]
|
368
421
|
attr_accessor :category
|
369
422
|
|
370
|
-
# The time at which the finding was created in
|
423
|
+
# The time at which the finding was created in Security Command Center.
|
371
424
|
# Corresponds to the JSON property `createTime`
|
372
425
|
# @return [String]
|
373
426
|
attr_accessor :create_time
|
@@ -379,9 +432,9 @@ module Google
|
|
379
432
|
# @return [String]
|
380
433
|
attr_accessor :event_time
|
381
434
|
|
382
|
-
# The URI that, if available, points to a web page outside of
|
383
|
-
# where additional information about the finding can be found.
|
384
|
-
# guaranteed to be either empty or a well formed URL.
|
435
|
+
# The URI that, if available, points to a web page outside of Security
|
436
|
+
# Command Center where additional information about the finding can be found.
|
437
|
+
# This field is guaranteed to be either empty or a well formed URL.
|
385
438
|
# Corresponds to the JSON property `externalUri`
|
386
439
|
# @return [String]
|
387
440
|
attr_accessor :external_uri
|
@@ -389,32 +442,33 @@ module Google
|
|
389
442
|
# The relative resource name of this finding. See:
|
390
443
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
391
444
|
# Example:
|
392
|
-
# "organizations
|
445
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
393
446
|
# Corresponds to the JSON property `name`
|
394
447
|
# @return [String]
|
395
448
|
attr_accessor :name
|
396
449
|
|
397
|
-
#
|
398
|
-
# See:
|
450
|
+
# The relative resource name of the source the finding belongs to. See:
|
399
451
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
400
452
|
# This field is immutable after creation time.
|
401
453
|
# For example:
|
402
|
-
# "organizations
|
454
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
403
455
|
# Corresponds to the JSON property `parent`
|
404
456
|
# @return [String]
|
405
457
|
attr_accessor :parent
|
406
458
|
|
407
|
-
#
|
408
|
-
# finding is for. See:
|
459
|
+
# For findings on Google Cloud resources, the full resource
|
460
|
+
# name of the Google Cloud resource this finding is for. See:
|
409
461
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
410
|
-
#
|
462
|
+
# When the finding is for a non-Google Cloud resource, the resourceName can
|
463
|
+
# be a customer or partner defined string. This field is immutable after
|
464
|
+
# creation time.
|
411
465
|
# Corresponds to the JSON property `resourceName`
|
412
466
|
# @return [String]
|
413
467
|
attr_accessor :resource_name
|
414
468
|
|
415
|
-
# User specified security marks that are attached to the parent
|
416
|
-
# Command Center
|
417
|
-
#
|
469
|
+
# User specified security marks that are attached to the parent Security
|
470
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
471
|
+
# Center organization -- they can be modified and viewed by all users who have
|
418
472
|
# proper permissions on the organization.
|
419
473
|
# Corresponds to the JSON property `securityMarks`
|
420
474
|
# @return [Google::Apis::SecuritycenterV1beta1::SecurityMarks]
|
@@ -481,6 +535,9 @@ module Google
|
|
481
535
|
# Requests for policies with any conditional bindings must specify version 3.
|
482
536
|
# Policies without any conditional bindings may specify any valid value or
|
483
537
|
# leave the field unset.
|
538
|
+
# To learn which resources support conditions in their IAM policies, see the
|
539
|
+
# [IAM
|
540
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
484
541
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
485
542
|
# @return [Fixnum]
|
486
543
|
attr_accessor :requested_policy_version
|
@@ -495,6 +552,36 @@ module Google
|
|
495
552
|
end
|
496
553
|
end
|
497
554
|
|
555
|
+
# Cloud SCC's Notification
|
556
|
+
class GoogleCloudSecuritycenterV1NotificationMessage
|
557
|
+
include Google::Apis::Core::Hashable
|
558
|
+
|
559
|
+
# Security Command Center finding.
|
560
|
+
# A finding is a record of assessment data like security, risk, health, or
|
561
|
+
# privacy, that is ingested into Security Command Center for presentation,
|
562
|
+
# notification, analysis, policy testing, and enforcement. For example, a
|
563
|
+
# cross-site scripting (XSS) vulnerability in an App Engine application is a
|
564
|
+
# finding.
|
565
|
+
# Corresponds to the JSON property `finding`
|
566
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Finding]
|
567
|
+
attr_accessor :finding
|
568
|
+
|
569
|
+
# Name of the notification config that generated current notification.
|
570
|
+
# Corresponds to the JSON property `notificationConfigName`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :notification_config_name
|
573
|
+
|
574
|
+
def initialize(**args)
|
575
|
+
update!(**args)
|
576
|
+
end
|
577
|
+
|
578
|
+
# Update properties of this object
|
579
|
+
def update!(**args)
|
580
|
+
@finding = args[:finding] if args.key?(:finding)
|
581
|
+
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
498
585
|
# Response of asset discovery run
|
499
586
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
500
587
|
include Google::Apis::Core::Hashable
|
@@ -520,6 +607,108 @@ module Google
|
|
520
607
|
end
|
521
608
|
end
|
522
609
|
|
610
|
+
# Security Command Center finding.
|
611
|
+
# A finding is a record of assessment data (security, risk, health or privacy)
|
612
|
+
# ingested into Security Command Center for presentation, notification,
|
613
|
+
# analysis, policy testing, and enforcement. For example, an XSS vulnerability
|
614
|
+
# in an App Engine application is a finding.
|
615
|
+
class GoogleCloudSecuritycenterV1beta1Finding
|
616
|
+
include Google::Apis::Core::Hashable
|
617
|
+
|
618
|
+
# The additional taxonomy group within findings from a given source.
|
619
|
+
# This field is immutable after creation time.
|
620
|
+
# Example: "XSS_FLASH_INJECTION"
|
621
|
+
# Corresponds to the JSON property `category`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :category
|
624
|
+
|
625
|
+
# The time at which the finding was created in Security Command Center.
|
626
|
+
# Corresponds to the JSON property `createTime`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :create_time
|
629
|
+
|
630
|
+
# The time at which the event took place. For example, if the finding
|
631
|
+
# represents an open firewall it would capture the time the detector believes
|
632
|
+
# the firewall became open. The accuracy is determined by the detector.
|
633
|
+
# Corresponds to the JSON property `eventTime`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :event_time
|
636
|
+
|
637
|
+
# The URI that, if available, points to a web page outside of Security
|
638
|
+
# Command Center where additional information about the finding can be found.
|
639
|
+
# This field is guaranteed to be either empty or a well formed URL.
|
640
|
+
# Corresponds to the JSON property `externalUri`
|
641
|
+
# @return [String]
|
642
|
+
attr_accessor :external_uri
|
643
|
+
|
644
|
+
# The relative resource name of this finding. See:
|
645
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
646
|
+
# Example:
|
647
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
648
|
+
# Corresponds to the JSON property `name`
|
649
|
+
# @return [String]
|
650
|
+
attr_accessor :name
|
651
|
+
|
652
|
+
# Immutable. The relative resource name of the source the finding belongs to.
|
653
|
+
# See:
|
654
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
655
|
+
# This field is immutable after creation time.
|
656
|
+
# For example:
|
657
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
658
|
+
# Corresponds to the JSON property `parent`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :parent
|
661
|
+
|
662
|
+
# For findings on Google Cloud resources, the full resource
|
663
|
+
# name of the Google Cloud resource this finding is for. See:
|
664
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
665
|
+
# When the finding is for a non-Google Cloud resource, the resourceName can
|
666
|
+
# be a customer or partner defined string. This field is immutable after
|
667
|
+
# creation time.
|
668
|
+
# Corresponds to the JSON property `resourceName`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :resource_name
|
671
|
+
|
672
|
+
# User specified security marks that are attached to the parent Security
|
673
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
674
|
+
# Center organization -- they can be modified and viewed by all users who have
|
675
|
+
# proper permissions on the organization.
|
676
|
+
# Corresponds to the JSON property `securityMarks`
|
677
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1SecurityMarks]
|
678
|
+
attr_accessor :security_marks
|
679
|
+
|
680
|
+
# Source specific properties. These properties are managed by the source
|
681
|
+
# that writes the finding. The key names in the source_properties map must be
|
682
|
+
# between 1 and 255 characters, and must start with a letter and contain
|
683
|
+
# alphanumeric characters or underscores only.
|
684
|
+
# Corresponds to the JSON property `sourceProperties`
|
685
|
+
# @return [Hash<String,Object>]
|
686
|
+
attr_accessor :source_properties
|
687
|
+
|
688
|
+
# The state of the finding.
|
689
|
+
# Corresponds to the JSON property `state`
|
690
|
+
# @return [String]
|
691
|
+
attr_accessor :state
|
692
|
+
|
693
|
+
def initialize(**args)
|
694
|
+
update!(**args)
|
695
|
+
end
|
696
|
+
|
697
|
+
# Update properties of this object
|
698
|
+
def update!(**args)
|
699
|
+
@category = args[:category] if args.key?(:category)
|
700
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
701
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
702
|
+
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
703
|
+
@name = args[:name] if args.key?(:name)
|
704
|
+
@parent = args[:parent] if args.key?(:parent)
|
705
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
706
|
+
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
707
|
+
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
708
|
+
@state = args[:state] if args.key?(:state)
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
523
712
|
# Response of asset discovery run
|
524
713
|
class GoogleCloudSecuritycenterV1beta1RunAssetDiscoveryResponse
|
525
714
|
include Google::Apis::Core::Hashable
|
@@ -545,6 +734,442 @@ module Google
|
|
545
734
|
end
|
546
735
|
end
|
547
736
|
|
737
|
+
# User specified security marks that are attached to the parent Security
|
738
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
739
|
+
# Center organization -- they can be modified and viewed by all users who have
|
740
|
+
# proper permissions on the organization.
|
741
|
+
class GoogleCloudSecuritycenterV1beta1SecurityMarks
|
742
|
+
include Google::Apis::Core::Hashable
|
743
|
+
|
744
|
+
# Mutable user specified security marks belonging to the parent resource.
|
745
|
+
# Constraints are as follows:
|
746
|
+
# * Keys and values are treated as case insensitive
|
747
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
748
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
749
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
750
|
+
# characters must be between 1 - 4096 characters (inclusive)
|
751
|
+
# Corresponds to the JSON property `marks`
|
752
|
+
# @return [Hash<String,String>]
|
753
|
+
attr_accessor :marks
|
754
|
+
|
755
|
+
# The relative resource name of the SecurityMarks. See:
|
756
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
757
|
+
# Examples:
|
758
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
759
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
760
|
+
# securityMarks".
|
761
|
+
# Corresponds to the JSON property `name`
|
762
|
+
# @return [String]
|
763
|
+
attr_accessor :name
|
764
|
+
|
765
|
+
def initialize(**args)
|
766
|
+
update!(**args)
|
767
|
+
end
|
768
|
+
|
769
|
+
# Update properties of this object
|
770
|
+
def update!(**args)
|
771
|
+
@marks = args[:marks] if args.key?(:marks)
|
772
|
+
@name = args[:name] if args.key?(:name)
|
773
|
+
end
|
774
|
+
end
|
775
|
+
|
776
|
+
# Security Command Center representation of a Google Cloud
|
777
|
+
# resource.
|
778
|
+
# The Asset is a Security Command Center resource that captures information
|
779
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
780
|
+
# within the context of Security Command Center and don't affect the referenced
|
781
|
+
# Google Cloud resource.
|
782
|
+
class GoogleCloudSecuritycenterV1p1beta1Asset
|
783
|
+
include Google::Apis::Core::Hashable
|
784
|
+
|
785
|
+
# The time at which the asset was created in Security Command Center.
|
786
|
+
# Corresponds to the JSON property `createTime`
|
787
|
+
# @return [String]
|
788
|
+
attr_accessor :create_time
|
789
|
+
|
790
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
791
|
+
# described by the Security Command Center asset. This information is managed
|
792
|
+
# and defined by the Google Cloud resource and cannot be modified by the
|
793
|
+
# user.
|
794
|
+
# Corresponds to the JSON property `iamPolicy`
|
795
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
796
|
+
attr_accessor :iam_policy
|
797
|
+
|
798
|
+
# The relative resource name of this asset. See:
|
799
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
800
|
+
# Example:
|
801
|
+
# "organizations/`organization_id`/assets/`asset_id`".
|
802
|
+
# Corresponds to the JSON property `name`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :name
|
805
|
+
|
806
|
+
# Resource managed properties. These properties are managed and defined by
|
807
|
+
# the Google Cloud resource and cannot be modified by the user.
|
808
|
+
# Corresponds to the JSON property `resourceProperties`
|
809
|
+
# @return [Hash<String,Object>]
|
810
|
+
attr_accessor :resource_properties
|
811
|
+
|
812
|
+
# Security Command Center managed properties. These properties are managed by
|
813
|
+
# Security Command Center and cannot be modified by the user.
|
814
|
+
# Corresponds to the JSON property `securityCenterProperties`
|
815
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
816
|
+
attr_accessor :security_center_properties
|
817
|
+
|
818
|
+
# User specified security marks that are attached to the parent Security
|
819
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
820
|
+
# Center organization -- they can be modified and viewed by all users who have
|
821
|
+
# proper permissions on the organization.
|
822
|
+
# Corresponds to the JSON property `securityMarks`
|
823
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
824
|
+
attr_accessor :security_marks
|
825
|
+
|
826
|
+
# The time at which the asset was last updated, added, or deleted in Cloud
|
827
|
+
# SCC.
|
828
|
+
# Corresponds to the JSON property `updateTime`
|
829
|
+
# @return [String]
|
830
|
+
attr_accessor :update_time
|
831
|
+
|
832
|
+
def initialize(**args)
|
833
|
+
update!(**args)
|
834
|
+
end
|
835
|
+
|
836
|
+
# Update properties of this object
|
837
|
+
def update!(**args)
|
838
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
839
|
+
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
840
|
+
@name = args[:name] if args.key?(:name)
|
841
|
+
@resource_properties = args[:resource_properties] if args.key?(:resource_properties)
|
842
|
+
@security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
|
843
|
+
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
844
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
848
|
+
# Security Command Center finding.
|
849
|
+
# A finding is a record of assessment data (security, risk, health or privacy)
|
850
|
+
# ingested into Security Command Center for presentation, notification,
|
851
|
+
# analysis, policy testing, and enforcement. For example, an XSS vulnerability
|
852
|
+
# in an App Engine application is a finding.
|
853
|
+
class GoogleCloudSecuritycenterV1p1beta1Finding
|
854
|
+
include Google::Apis::Core::Hashable
|
855
|
+
|
856
|
+
# The additional taxonomy group within findings from a given source.
|
857
|
+
# This field is immutable after creation time.
|
858
|
+
# Example: "XSS_FLASH_INJECTION"
|
859
|
+
# Corresponds to the JSON property `category`
|
860
|
+
# @return [String]
|
861
|
+
attr_accessor :category
|
862
|
+
|
863
|
+
# The time at which the finding was created in Security Command Center.
|
864
|
+
# Corresponds to the JSON property `createTime`
|
865
|
+
# @return [String]
|
866
|
+
attr_accessor :create_time
|
867
|
+
|
868
|
+
# The time at which the event took place. For example, if the finding
|
869
|
+
# represents an open firewall it would capture the time the detector believes
|
870
|
+
# the firewall became open. The accuracy is determined by the detector.
|
871
|
+
# Corresponds to the JSON property `eventTime`
|
872
|
+
# @return [String]
|
873
|
+
attr_accessor :event_time
|
874
|
+
|
875
|
+
# The URI that, if available, points to a web page outside of Security
|
876
|
+
# Command Center where additional information about the finding can be found.
|
877
|
+
# This field is guaranteed to be either empty or a well formed URL.
|
878
|
+
# Corresponds to the JSON property `externalUri`
|
879
|
+
# @return [String]
|
880
|
+
attr_accessor :external_uri
|
881
|
+
|
882
|
+
# The relative resource name of this finding. See:
|
883
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
884
|
+
# Example:
|
885
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`"
|
886
|
+
# Corresponds to the JSON property `name`
|
887
|
+
# @return [String]
|
888
|
+
attr_accessor :name
|
889
|
+
|
890
|
+
# The relative resource name of the source the finding belongs to. See:
|
891
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
892
|
+
# This field is immutable after creation time.
|
893
|
+
# For example:
|
894
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
895
|
+
# Corresponds to the JSON property `parent`
|
896
|
+
# @return [String]
|
897
|
+
attr_accessor :parent
|
898
|
+
|
899
|
+
# For findings on Google Cloud resources, the full resource
|
900
|
+
# name of the Google Cloud resource this finding is for. See:
|
901
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
902
|
+
# When the finding is for a non-Google Cloud resource, the resourceName can
|
903
|
+
# be a customer or partner defined string. This field is immutable after
|
904
|
+
# creation time.
|
905
|
+
# Corresponds to the JSON property `resourceName`
|
906
|
+
# @return [String]
|
907
|
+
attr_accessor :resource_name
|
908
|
+
|
909
|
+
# User specified security marks that are attached to the parent Security
|
910
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
911
|
+
# Center organization -- they can be modified and viewed by all users who have
|
912
|
+
# proper permissions on the organization.
|
913
|
+
# Corresponds to the JSON property `securityMarks`
|
914
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
915
|
+
attr_accessor :security_marks
|
916
|
+
|
917
|
+
# Source specific properties. These properties are managed by the source
|
918
|
+
# that writes the finding. The key names in the source_properties map must be
|
919
|
+
# between 1 and 255 characters, and must start with a letter and contain
|
920
|
+
# alphanumeric characters or underscores only.
|
921
|
+
# Corresponds to the JSON property `sourceProperties`
|
922
|
+
# @return [Hash<String,Object>]
|
923
|
+
attr_accessor :source_properties
|
924
|
+
|
925
|
+
# The state of the finding.
|
926
|
+
# Corresponds to the JSON property `state`
|
927
|
+
# @return [String]
|
928
|
+
attr_accessor :state
|
929
|
+
|
930
|
+
def initialize(**args)
|
931
|
+
update!(**args)
|
932
|
+
end
|
933
|
+
|
934
|
+
# Update properties of this object
|
935
|
+
def update!(**args)
|
936
|
+
@category = args[:category] if args.key?(:category)
|
937
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
938
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
939
|
+
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
940
|
+
@name = args[:name] if args.key?(:name)
|
941
|
+
@parent = args[:parent] if args.key?(:parent)
|
942
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
943
|
+
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
944
|
+
@source_properties = args[:source_properties] if args.key?(:source_properties)
|
945
|
+
@state = args[:state] if args.key?(:state)
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
949
|
+
# Cloud IAM Policy information associated with the Google Cloud resource
|
950
|
+
# described by the Security Command Center asset. This information is managed
|
951
|
+
# and defined by the Google Cloud resource and cannot be modified by the
|
952
|
+
# user.
|
953
|
+
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
954
|
+
include Google::Apis::Core::Hashable
|
955
|
+
|
956
|
+
# The JSON representation of the Policy associated with the asset.
|
957
|
+
# See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
|
958
|
+
# format details.
|
959
|
+
# Corresponds to the JSON property `policyBlob`
|
960
|
+
# @return [String]
|
961
|
+
attr_accessor :policy_blob
|
962
|
+
|
963
|
+
def initialize(**args)
|
964
|
+
update!(**args)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Update properties of this object
|
968
|
+
def update!(**args)
|
969
|
+
@policy_blob = args[:policy_blob] if args.key?(:policy_blob)
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
# Security Command Center's Notification
|
974
|
+
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
975
|
+
include Google::Apis::Core::Hashable
|
976
|
+
|
977
|
+
# Security Command Center finding.
|
978
|
+
# A finding is a record of assessment data (security, risk, health or privacy)
|
979
|
+
# ingested into Security Command Center for presentation, notification,
|
980
|
+
# analysis, policy testing, and enforcement. For example, an XSS vulnerability
|
981
|
+
# in an App Engine application is a finding.
|
982
|
+
# Corresponds to the JSON property `finding`
|
983
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Finding]
|
984
|
+
attr_accessor :finding
|
985
|
+
|
986
|
+
# Name of the notification config that generated current notification.
|
987
|
+
# Corresponds to the JSON property `notificationConfigName`
|
988
|
+
# @return [String]
|
989
|
+
attr_accessor :notification_config_name
|
990
|
+
|
991
|
+
# Wrapper over asset object that also captures the state change for the asset
|
992
|
+
# e.g. if it was a newly created asset vs updated or deleted asset.
|
993
|
+
# Corresponds to the JSON property `temporalAsset`
|
994
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
995
|
+
attr_accessor :temporal_asset
|
996
|
+
|
997
|
+
def initialize(**args)
|
998
|
+
update!(**args)
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# Update properties of this object
|
1002
|
+
def update!(**args)
|
1003
|
+
@finding = args[:finding] if args.key?(:finding)
|
1004
|
+
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
1005
|
+
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# Response of asset discovery run
|
1010
|
+
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
1011
|
+
include Google::Apis::Core::Hashable
|
1012
|
+
|
1013
|
+
# The duration between asset discovery run start and end
|
1014
|
+
# Corresponds to the JSON property `duration`
|
1015
|
+
# @return [String]
|
1016
|
+
attr_accessor :duration
|
1017
|
+
|
1018
|
+
# The state of an asset discovery run.
|
1019
|
+
# Corresponds to the JSON property `state`
|
1020
|
+
# @return [String]
|
1021
|
+
attr_accessor :state
|
1022
|
+
|
1023
|
+
def initialize(**args)
|
1024
|
+
update!(**args)
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# Update properties of this object
|
1028
|
+
def update!(**args)
|
1029
|
+
@duration = args[:duration] if args.key?(:duration)
|
1030
|
+
@state = args[:state] if args.key?(:state)
|
1031
|
+
end
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# Security Command Center managed properties. These properties are managed by
|
1035
|
+
# Security Command Center and cannot be modified by the user.
|
1036
|
+
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
1037
|
+
include Google::Apis::Core::Hashable
|
1038
|
+
|
1039
|
+
# The user defined display name for this resource.
|
1040
|
+
# Corresponds to the JSON property `resourceDisplayName`
|
1041
|
+
# @return [String]
|
1042
|
+
attr_accessor :resource_display_name
|
1043
|
+
|
1044
|
+
# The full resource name of the Google Cloud resource this asset
|
1045
|
+
# represents. This field is immutable after create time. See:
|
1046
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1047
|
+
# Corresponds to the JSON property `resourceName`
|
1048
|
+
# @return [String]
|
1049
|
+
attr_accessor :resource_name
|
1050
|
+
|
1051
|
+
# Owners of the Google Cloud resource.
|
1052
|
+
# Corresponds to the JSON property `resourceOwners`
|
1053
|
+
# @return [Array<String>]
|
1054
|
+
attr_accessor :resource_owners
|
1055
|
+
|
1056
|
+
# The full resource name of the immediate parent of the resource. See:
|
1057
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1058
|
+
# Corresponds to the JSON property `resourceParent`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :resource_parent
|
1061
|
+
|
1062
|
+
# The user defined display name for the parent of this resource.
|
1063
|
+
# Corresponds to the JSON property `resourceParentDisplayName`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :resource_parent_display_name
|
1066
|
+
|
1067
|
+
# The full resource name of the project the resource belongs to. See:
|
1068
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1069
|
+
# Corresponds to the JSON property `resourceProject`
|
1070
|
+
# @return [String]
|
1071
|
+
attr_accessor :resource_project
|
1072
|
+
|
1073
|
+
# The user defined display name for the project of this resource.
|
1074
|
+
# Corresponds to the JSON property `resourceProjectDisplayName`
|
1075
|
+
# @return [String]
|
1076
|
+
attr_accessor :resource_project_display_name
|
1077
|
+
|
1078
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
1079
|
+
# PROJECT, and ORGANIZATION. This is a case insensitive field defined by
|
1080
|
+
# Security Command Center and/or the producer of the resource and is
|
1081
|
+
# immutable after create time.
|
1082
|
+
# Corresponds to the JSON property `resourceType`
|
1083
|
+
# @return [String]
|
1084
|
+
attr_accessor :resource_type
|
1085
|
+
|
1086
|
+
def initialize(**args)
|
1087
|
+
update!(**args)
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
# Update properties of this object
|
1091
|
+
def update!(**args)
|
1092
|
+
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
1093
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1094
|
+
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
1095
|
+
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
1096
|
+
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
1097
|
+
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
1098
|
+
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
1099
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
# User specified security marks that are attached to the parent Security
|
1104
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
1105
|
+
# Center organization -- they can be modified and viewed by all users who have
|
1106
|
+
# proper permissions on the organization.
|
1107
|
+
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
1108
|
+
include Google::Apis::Core::Hashable
|
1109
|
+
|
1110
|
+
# Mutable user specified security marks belonging to the parent resource.
|
1111
|
+
# Constraints are as follows:
|
1112
|
+
# * Keys and values are treated as case insensitive
|
1113
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
1114
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
1115
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
1116
|
+
# characters must be between 1 - 4096 characters (inclusive)
|
1117
|
+
# Corresponds to the JSON property `marks`
|
1118
|
+
# @return [Hash<String,String>]
|
1119
|
+
attr_accessor :marks
|
1120
|
+
|
1121
|
+
# The relative resource name of the SecurityMarks. See:
|
1122
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1123
|
+
# Examples:
|
1124
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
1125
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
1126
|
+
# securityMarks".
|
1127
|
+
# Corresponds to the JSON property `name`
|
1128
|
+
# @return [String]
|
1129
|
+
attr_accessor :name
|
1130
|
+
|
1131
|
+
def initialize(**args)
|
1132
|
+
update!(**args)
|
1133
|
+
end
|
1134
|
+
|
1135
|
+
# Update properties of this object
|
1136
|
+
def update!(**args)
|
1137
|
+
@marks = args[:marks] if args.key?(:marks)
|
1138
|
+
@name = args[:name] if args.key?(:name)
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Wrapper over asset object that also captures the state change for the asset
|
1143
|
+
# e.g. if it was a newly created asset vs updated or deleted asset.
|
1144
|
+
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
1145
|
+
include Google::Apis::Core::Hashable
|
1146
|
+
|
1147
|
+
# Security Command Center representation of a Google Cloud
|
1148
|
+
# resource.
|
1149
|
+
# The Asset is a Security Command Center resource that captures information
|
1150
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
1151
|
+
# within the context of Security Command Center and don't affect the referenced
|
1152
|
+
# Google Cloud resource.
|
1153
|
+
# Corresponds to the JSON property `asset`
|
1154
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1155
|
+
attr_accessor :asset
|
1156
|
+
|
1157
|
+
# Represents if the asset was created/updated/deleted.
|
1158
|
+
# Corresponds to the JSON property `changeType`
|
1159
|
+
# @return [String]
|
1160
|
+
attr_accessor :change_type
|
1161
|
+
|
1162
|
+
def initialize(**args)
|
1163
|
+
update!(**args)
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
# Update properties of this object
|
1167
|
+
def update!(**args)
|
1168
|
+
@asset = args[:asset] if args.key?(:asset)
|
1169
|
+
@change_type = args[:change_type] if args.key?(:change_type)
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
548
1173
|
# Request message for grouping by assets.
|
549
1174
|
class GroupAssetsRequest
|
550
1175
|
include Google::Apis::Core::Hashable
|
@@ -856,11 +1481,12 @@ module Google
|
|
856
1481
|
class ListAssetsResult
|
857
1482
|
include Google::Apis::Core::Hashable
|
858
1483
|
|
859
|
-
#
|
860
|
-
#
|
861
|
-
# The Asset is a
|
862
|
-
#
|
863
|
-
#
|
1484
|
+
# Security Command Center representation of a Google Cloud
|
1485
|
+
# resource.
|
1486
|
+
# The Asset is a Security Command Center resource that captures information
|
1487
|
+
# about a single Google Cloud resource. All modifications to an Asset are only
|
1488
|
+
# within the context of Security Command Center and don't affect the referenced
|
1489
|
+
# Google Cloud resource.
|
864
1490
|
# Corresponds to the JSON property `asset`
|
865
1491
|
# @return [Google::Apis::SecuritycenterV1beta1::Asset]
|
866
1492
|
attr_accessor :asset
|
@@ -887,7 +1513,7 @@ module Google
|
|
887
1513
|
|
888
1514
|
# Findings matching the list request.
|
889
1515
|
# Corresponds to the JSON property `findings`
|
890
|
-
# @return [Array<Google::Apis::SecuritycenterV1beta1::
|
1516
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1beta1Finding>]
|
891
1517
|
attr_accessor :findings
|
892
1518
|
|
893
1519
|
# Token to retrieve the next page of results, or empty if there are no more
|
@@ -1034,8 +1660,8 @@ module Google
|
|
1034
1660
|
end
|
1035
1661
|
end
|
1036
1662
|
|
1037
|
-
# User specified settings that are attached to the
|
1038
|
-
# Center
|
1663
|
+
# User specified settings that are attached to the Security Command
|
1664
|
+
# Center organization.
|
1039
1665
|
class OrganizationSettings
|
1040
1666
|
include Google::Apis::Core::Hashable
|
1041
1667
|
|
@@ -1056,7 +1682,7 @@ module Google
|
|
1056
1682
|
# The relative resource name of the settings. See:
|
1057
1683
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1058
1684
|
# Example:
|
1059
|
-
# "organizations
|
1685
|
+
# "organizations/`organization_id`/organizationSettings".
|
1060
1686
|
# Corresponds to the JSON property `name`
|
1061
1687
|
# @return [String]
|
1062
1688
|
attr_accessor :name
|
@@ -1073,20 +1699,25 @@ module Google
|
|
1073
1699
|
end
|
1074
1700
|
end
|
1075
1701
|
|
1076
|
-
#
|
1077
|
-
#
|
1702
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1703
|
+
# controls for Google Cloud resources.
|
1078
1704
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1079
1705
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1080
1706
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1081
|
-
# permissions
|
1082
|
-
#
|
1083
|
-
#
|
1084
|
-
#
|
1085
|
-
#
|
1707
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1708
|
+
# custom role.
|
1709
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1710
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1711
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1712
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1713
|
+
# resources support conditions in their IAM policies, see the
|
1714
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1715
|
+
# policies).
|
1716
|
+
# **JSON example:**
|
1086
1717
|
# `
|
1087
1718
|
# "bindings": [
|
1088
1719
|
# `
|
1089
|
-
# "role": "
|
1720
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1090
1721
|
# "members": [
|
1091
1722
|
# "user:mike@example.com",
|
1092
1723
|
# "group:admins@example.com",
|
@@ -1096,17 +1727,21 @@ module Google
|
|
1096
1727
|
# `,
|
1097
1728
|
# `
|
1098
1729
|
# "role": "roles/resourcemanager.organizationViewer",
|
1099
|
-
# "members": [
|
1730
|
+
# "members": [
|
1731
|
+
# "user:eve@example.com"
|
1732
|
+
# ],
|
1100
1733
|
# "condition": `
|
1101
1734
|
# "title": "expirable access",
|
1102
1735
|
# "description": "Does not grant access after Sep 2020",
|
1103
|
-
# "expression": "request.time <
|
1104
|
-
#
|
1736
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1737
|
+
# ",
|
1105
1738
|
# `
|
1106
1739
|
# `
|
1107
|
-
# ]
|
1740
|
+
# ],
|
1741
|
+
# "etag": "BwWWja0YfJA=",
|
1742
|
+
# "version": 3
|
1108
1743
|
# `
|
1109
|
-
# **YAML
|
1744
|
+
# **YAML example:**
|
1110
1745
|
# bindings:
|
1111
1746
|
# - members:
|
1112
1747
|
# - user:mike@example.com
|
@@ -1121,8 +1756,10 @@ module Google
|
|
1121
1756
|
# title: expirable access
|
1122
1757
|
# description: Does not grant access after Sep 2020
|
1123
1758
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1759
|
+
# - etag: BwWWja0YfJA=
|
1760
|
+
# - version: 3
|
1124
1761
|
# For a description of IAM and its features, see the
|
1125
|
-
# [IAM
|
1762
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1126
1763
|
class Policy
|
1127
1764
|
include Google::Apis::Core::Hashable
|
1128
1765
|
|
@@ -1131,9 +1768,9 @@ module Google
|
|
1131
1768
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
|
1132
1769
|
attr_accessor :audit_configs
|
1133
1770
|
|
1134
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
1135
|
-
# `condition` that determines when
|
1136
|
-
# `bindings`
|
1771
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1772
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
1773
|
+
# of the `bindings` must contain at least one member.
|
1137
1774
|
# Corresponds to the JSON property `bindings`
|
1138
1775
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
|
1139
1776
|
attr_accessor :bindings
|
@@ -1145,25 +1782,34 @@ module Google
|
|
1145
1782
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
1146
1783
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1147
1784
|
# ensure that their change will be applied to the same version of the policy.
|
1148
|
-
# If
|
1149
|
-
#
|
1150
|
-
#
|
1151
|
-
#
|
1785
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1786
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1787
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1788
|
+
# the conditions in the version `3` policy are lost.
|
1152
1789
|
# Corresponds to the JSON property `etag`
|
1153
1790
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1154
1791
|
# @return [String]
|
1155
1792
|
attr_accessor :etag
|
1156
1793
|
|
1157
1794
|
# Specifies the format of the policy.
|
1158
|
-
# Valid values are 0
|
1159
|
-
# rejected.
|
1160
|
-
#
|
1161
|
-
#
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
#
|
1165
|
-
#
|
1166
|
-
#
|
1795
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
1796
|
+
# are rejected.
|
1797
|
+
# Any operation that affects conditional role bindings must specify version
|
1798
|
+
# `3`. This requirement applies to the following operations:
|
1799
|
+
# * Getting a policy that includes a conditional role binding
|
1800
|
+
# * Adding a conditional role binding to a policy
|
1801
|
+
# * Changing a conditional role binding in a policy
|
1802
|
+
# * Removing any role binding, with or without a condition, from a policy
|
1803
|
+
# that includes conditions
|
1804
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1805
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1806
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1807
|
+
# the conditions in the version `3` policy are lost.
|
1808
|
+
# If a policy does not include any conditions, operations on that policy may
|
1809
|
+
# specify any valid version or leave the field unset.
|
1810
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1811
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1812
|
+
# policies).
|
1167
1813
|
# Corresponds to the JSON property `version`
|
1168
1814
|
# @return [Fixnum]
|
1169
1815
|
attr_accessor :version
|
@@ -1194,12 +1840,12 @@ module Google
|
|
1194
1840
|
end
|
1195
1841
|
end
|
1196
1842
|
|
1197
|
-
#
|
1198
|
-
# cannot be modified by the user.
|
1843
|
+
# Security Command Center managed properties. These properties are managed by
|
1844
|
+
# Security Command Center and cannot be modified by the user.
|
1199
1845
|
class SecurityCenterProperties
|
1200
1846
|
include Google::Apis::Core::Hashable
|
1201
1847
|
|
1202
|
-
# Immutable. The full resource name of the
|
1848
|
+
# Immutable. The full resource name of the Google Cloud resource this asset
|
1203
1849
|
# represents. This field is immutable after create time. See:
|
1204
1850
|
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
1205
1851
|
# Corresponds to the JSON property `resourceName`
|
@@ -1223,10 +1869,10 @@ module Google
|
|
1223
1869
|
# @return [String]
|
1224
1870
|
attr_accessor :resource_project
|
1225
1871
|
|
1226
|
-
# The type of the
|
1872
|
+
# The type of the Google Cloud resource. Examples include: APPLICATION,
|
1227
1873
|
# PROJECT, and ORGANIZATION. This is a case insensitive field defined by
|
1228
|
-
#
|
1229
|
-
# after create time.
|
1874
|
+
# Security Command Center and/or the producer of the resource and is
|
1875
|
+
# immutable after create time.
|
1230
1876
|
# Corresponds to the JSON property `resourceType`
|
1231
1877
|
# @return [String]
|
1232
1878
|
attr_accessor :resource_type
|
@@ -1245,19 +1891,19 @@ module Google
|
|
1245
1891
|
end
|
1246
1892
|
end
|
1247
1893
|
|
1248
|
-
# User specified security marks that are attached to the parent
|
1249
|
-
# Command Center
|
1250
|
-
#
|
1894
|
+
# User specified security marks that are attached to the parent Security
|
1895
|
+
# Command Center resource. Security marks are scoped within a Security Command
|
1896
|
+
# Center organization -- they can be modified and viewed by all users who have
|
1251
1897
|
# proper permissions on the organization.
|
1252
1898
|
class SecurityMarks
|
1253
1899
|
include Google::Apis::Core::Hashable
|
1254
1900
|
|
1255
1901
|
# Mutable user specified security marks belonging to the parent resource.
|
1256
1902
|
# Constraints are as follows:
|
1257
|
-
#
|
1258
|
-
#
|
1259
|
-
#
|
1260
|
-
#
|
1903
|
+
# * Keys and values are treated as case insensitive
|
1904
|
+
# * Keys must be between 1 - 256 characters (inclusive)
|
1905
|
+
# * Keys must be letters, numbers, underscores, or dashes
|
1906
|
+
# * Values have leading and trailing whitespace trimmed, remaining
|
1261
1907
|
# characters must be between 1 - 4096 characters (inclusive)
|
1262
1908
|
# Corresponds to the JSON property `marks`
|
1263
1909
|
# @return [Hash<String,String>]
|
@@ -1266,8 +1912,9 @@ module Google
|
|
1266
1912
|
# The relative resource name of the SecurityMarks. See:
|
1267
1913
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1268
1914
|
# Examples:
|
1269
|
-
# "organizations
|
1270
|
-
# "organizations
|
1915
|
+
# "organizations/`organization_id`/assets/`asset_id`/securityMarks"
|
1916
|
+
# "organizations/`organization_id`/sources/`source_id`/findings/`finding_id`/
|
1917
|
+
# securityMarks".
|
1271
1918
|
# Corresponds to the JSON property `name`
|
1272
1919
|
# @return [String]
|
1273
1920
|
attr_accessor :name
|
@@ -1312,20 +1959,25 @@ module Google
|
|
1312
1959
|
class SetIamPolicyRequest
|
1313
1960
|
include Google::Apis::Core::Hashable
|
1314
1961
|
|
1315
|
-
#
|
1316
|
-
#
|
1962
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1963
|
+
# controls for Google Cloud resources.
|
1317
1964
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1318
1965
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1319
1966
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1320
|
-
# permissions
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1967
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1968
|
+
# custom role.
|
1969
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1970
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1971
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1972
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1973
|
+
# resources support conditions in their IAM policies, see the
|
1974
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1975
|
+
# policies).
|
1976
|
+
# **JSON example:**
|
1325
1977
|
# `
|
1326
1978
|
# "bindings": [
|
1327
1979
|
# `
|
1328
|
-
# "role": "
|
1980
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
1329
1981
|
# "members": [
|
1330
1982
|
# "user:mike@example.com",
|
1331
1983
|
# "group:admins@example.com",
|
@@ -1335,17 +1987,21 @@ module Google
|
|
1335
1987
|
# `,
|
1336
1988
|
# `
|
1337
1989
|
# "role": "roles/resourcemanager.organizationViewer",
|
1338
|
-
# "members": [
|
1990
|
+
# "members": [
|
1991
|
+
# "user:eve@example.com"
|
1992
|
+
# ],
|
1339
1993
|
# "condition": `
|
1340
1994
|
# "title": "expirable access",
|
1341
1995
|
# "description": "Does not grant access after Sep 2020",
|
1342
|
-
# "expression": "request.time <
|
1343
|
-
#
|
1996
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1997
|
+
# ",
|
1344
1998
|
# `
|
1345
1999
|
# `
|
1346
|
-
# ]
|
2000
|
+
# ],
|
2001
|
+
# "etag": "BwWWja0YfJA=",
|
2002
|
+
# "version": 3
|
1347
2003
|
# `
|
1348
|
-
# **YAML
|
2004
|
+
# **YAML example:**
|
1349
2005
|
# bindings:
|
1350
2006
|
# - members:
|
1351
2007
|
# - user:mike@example.com
|
@@ -1360,8 +2016,10 @@ module Google
|
|
1360
2016
|
# title: expirable access
|
1361
2017
|
# description: Does not grant access after Sep 2020
|
1362
2018
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2019
|
+
# - etag: BwWWja0YfJA=
|
2020
|
+
# - version: 3
|
1363
2021
|
# For a description of IAM and its features, see the
|
1364
|
-
# [IAM
|
2022
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1365
2023
|
# Corresponds to the JSON property `policy`
|
1366
2024
|
# @return [Google::Apis::SecuritycenterV1beta1::Policy]
|
1367
2025
|
attr_accessor :policy
|
@@ -1369,8 +2027,7 @@ module Google
|
|
1369
2027
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1370
2028
|
# the fields in the mask will be modified. If no mask is provided, the
|
1371
2029
|
# following default mask is used:
|
1372
|
-
# paths: "bindings, etag"
|
1373
|
-
# This field is only used by Cloud IAM.
|
2030
|
+
# `paths: "bindings, etag"`
|
1374
2031
|
# Corresponds to the JSON property `updateMask`
|
1375
2032
|
# @return [String]
|
1376
2033
|
attr_accessor :update_mask
|
@@ -1386,7 +2043,7 @@ module Google
|
|
1386
2043
|
end
|
1387
2044
|
end
|
1388
2045
|
|
1389
|
-
#
|
2046
|
+
# Security Command Center finding source. A finding source
|
1390
2047
|
# is an entity or a mechanism that can produce a finding. A source is like a
|
1391
2048
|
# container of findings that come from the same scanner, logger, monitor, etc.
|
1392
2049
|
class Source
|
@@ -1394,7 +2051,7 @@ module Google
|
|
1394
2051
|
|
1395
2052
|
# The description of the source (max of 1024 characters).
|
1396
2053
|
# Example:
|
1397
|
-
# "
|
2054
|
+
# "Web Security Scanner is a web security scanner for common
|
1398
2055
|
# vulnerabilities in App Engine applications. It can automatically
|
1399
2056
|
# scan and detect four common vulnerabilities, including cross-site-scripting
|
1400
2057
|
# (XSS), Flash injection, mixed content (HTTP in HTTPS), and
|
@@ -1403,8 +2060,8 @@ module Google
|
|
1403
2060
|
# @return [String]
|
1404
2061
|
attr_accessor :description
|
1405
2062
|
|
1406
|
-
# The source
|
1407
|
-
# A source
|
2063
|
+
# The source's display name.
|
2064
|
+
# A source's display name must be unique amongst its siblings, for example,
|
1408
2065
|
# two sources with the same parent can't share the same display name.
|
1409
2066
|
# The display name must have a length between 1 and 64 characters
|
1410
2067
|
# (inclusive).
|
@@ -1415,7 +2072,7 @@ module Google
|
|
1415
2072
|
# The relative resource name of this source. See:
|
1416
2073
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1417
2074
|
# Example:
|
1418
|
-
# "organizations
|
2075
|
+
# "organizations/`organization_id`/sources/`source_id`"
|
1419
2076
|
# Corresponds to the JSON property `name`
|
1420
2077
|
# @return [String]
|
1421
2078
|
attr_accessor :name
|