google-api-client 0.45.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +664 -188
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +252 -66
- data/generated/google/apis/apigee_v1/representations.rb +88 -19
- data/generated/google/apis/apigee_v1/service.rb +244 -38
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +212 -23
- data/generated/google/apis/bigquery_v2/representations.rb +69 -0
- data/generated/google/apis/bigquery_v2/service.rb +47 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +84 -2
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
- data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
- data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +633 -146
- data/generated/google/apis/compute_alpha/representations.rb +131 -8
- data/generated/google/apis/compute_alpha/service.rb +1995 -1013
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +566 -94
- data/generated/google/apis/compute_beta/representations.rb +100 -1
- data/generated/google/apis/compute_beta/service.rb +805 -136
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +586 -72
- data/generated/google/apis/compute_v1/representations.rb +98 -1
- data/generated/google/apis/compute_v1/service.rb +741 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
- data/generated/google/apis/content_v2_1/representations.rb +253 -0
- data/generated/google/apis/content_v2_1/service.rb +943 -802
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
- data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
- data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
- data/generated/google/apis/displayvideo_v1/service.rb +261 -18
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +59 -32
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +11 -11
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +11 -11
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +7 -5
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
- data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
- data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/jobs_v2/classes.rb +798 -0
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +798 -0
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -60
- data/generated/google/apis/logging_v2/representations.rb +64 -0
- data/generated/google/apis/logging_v2/service.rb +1422 -127
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +238 -77
- data/generated/google/apis/ml_v1/representations.rb +17 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -17
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +55 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +52 -51
- data/generated/google/apis/people_v1/service.rb +24 -22
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -5
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +67 -67
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +92 -33
- data/generated/google/apis/testing_v1/representations.rb +21 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +4 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -134
- data/generated/google/apis/youtube_v3/representations.rb +0 -55
- data/generated/google/apis/youtube_v3/service.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +51 -12
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -601,74 +601,6 @@ module Google
|
|
601
601
|
end
|
602
602
|
end
|
603
603
|
|
604
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
605
|
-
# is a Security Command Center resource that captures information about a single
|
606
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
607
|
-
# context of Security Command Center and don't affect the referenced Google
|
608
|
-
# Cloud resource.
|
609
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
610
|
-
include Google::Apis::Core::Hashable
|
611
|
-
|
612
|
-
# The time at which the asset was created in Security Command Center.
|
613
|
-
# Corresponds to the JSON property `createTime`
|
614
|
-
# @return [String]
|
615
|
-
attr_accessor :create_time
|
616
|
-
|
617
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
618
|
-
# described by the Security Command Center asset. This information is managed
|
619
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
620
|
-
# Corresponds to the JSON property `iamPolicy`
|
621
|
-
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
622
|
-
attr_accessor :iam_policy
|
623
|
-
|
624
|
-
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
625
|
-
# design/resource_names#relative_resource_name Example: "organizations/`
|
626
|
-
# organization_id`/assets/`asset_id`".
|
627
|
-
# Corresponds to the JSON property `name`
|
628
|
-
# @return [String]
|
629
|
-
attr_accessor :name
|
630
|
-
|
631
|
-
# Resource managed properties. These properties are managed and defined by the
|
632
|
-
# Google Cloud resource and cannot be modified by the user.
|
633
|
-
# Corresponds to the JSON property `resourceProperties`
|
634
|
-
# @return [Hash<String,Object>]
|
635
|
-
attr_accessor :resource_properties
|
636
|
-
|
637
|
-
# Security Command Center managed properties. These properties are managed by
|
638
|
-
# Security Command Center and cannot be modified by the user.
|
639
|
-
# Corresponds to the JSON property `securityCenterProperties`
|
640
|
-
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
641
|
-
attr_accessor :security_center_properties
|
642
|
-
|
643
|
-
# User specified security marks that are attached to the parent Security Command
|
644
|
-
# Center resource. Security marks are scoped within a Security Command Center
|
645
|
-
# organization -- they can be modified and viewed by all users who have proper
|
646
|
-
# permissions on the organization.
|
647
|
-
# Corresponds to the JSON property `securityMarks`
|
648
|
-
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
649
|
-
attr_accessor :security_marks
|
650
|
-
|
651
|
-
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
652
|
-
# Corresponds to the JSON property `updateTime`
|
653
|
-
# @return [String]
|
654
|
-
attr_accessor :update_time
|
655
|
-
|
656
|
-
def initialize(**args)
|
657
|
-
update!(**args)
|
658
|
-
end
|
659
|
-
|
660
|
-
# Update properties of this object
|
661
|
-
def update!(**args)
|
662
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
663
|
-
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
664
|
-
@name = args[:name] if args.key?(:name)
|
665
|
-
@resource_properties = args[:resource_properties] if args.key?(:resource_properties)
|
666
|
-
@security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
|
667
|
-
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
668
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
669
|
-
end
|
670
|
-
end
|
671
|
-
|
672
604
|
# Security Command Center finding. A finding is a record of assessment data (
|
673
605
|
# security, risk, health or privacy) ingested into Security Command Center for
|
674
606
|
# presentation, notification, analysis, policy testing, and enforcement. For
|
@@ -735,7 +667,8 @@ module Google
|
|
735
667
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
736
668
|
attr_accessor :security_marks
|
737
669
|
|
738
|
-
# The severity of the finding.
|
670
|
+
# The severity of the finding. This field is managed by the source that writes
|
671
|
+
# the finding.
|
739
672
|
# Corresponds to the JSON property `severity`
|
740
673
|
# @return [String]
|
741
674
|
attr_accessor :severity
|
@@ -773,28 +706,6 @@ module Google
|
|
773
706
|
end
|
774
707
|
end
|
775
708
|
|
776
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
777
|
-
# described by the Security Command Center asset. This information is managed
|
778
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
779
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
780
|
-
include Google::Apis::Core::Hashable
|
781
|
-
|
782
|
-
# The JSON representation of the Policy associated with the asset. See https://
|
783
|
-
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
784
|
-
# Corresponds to the JSON property `policyBlob`
|
785
|
-
# @return [String]
|
786
|
-
attr_accessor :policy_blob
|
787
|
-
|
788
|
-
def initialize(**args)
|
789
|
-
update!(**args)
|
790
|
-
end
|
791
|
-
|
792
|
-
# Update properties of this object
|
793
|
-
def update!(**args)
|
794
|
-
@policy_blob = args[:policy_blob] if args.key?(:policy_blob)
|
795
|
-
end
|
796
|
-
end
|
797
|
-
|
798
709
|
# Security Command Center's Notification
|
799
710
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
800
711
|
include Google::Apis::Core::Hashable
|
@@ -817,12 +728,6 @@ module Google
|
|
817
728
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
818
729
|
attr_accessor :resource
|
819
730
|
|
820
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
821
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
822
|
-
# Corresponds to the JSON property `temporalAsset`
|
823
|
-
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
824
|
-
attr_accessor :temporal_asset
|
825
|
-
|
826
731
|
def initialize(**args)
|
827
732
|
update!(**args)
|
828
733
|
end
|
@@ -832,7 +737,6 @@ module Google
|
|
832
737
|
@finding = args[:finding] if args.key?(:finding)
|
833
738
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
834
739
|
@resource = args[:resource] if args.key?(:resource)
|
835
|
-
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
836
740
|
end
|
837
741
|
end
|
838
742
|
|
@@ -905,74 +809,6 @@ module Google
|
|
905
809
|
end
|
906
810
|
end
|
907
811
|
|
908
|
-
# Security Command Center managed properties. These properties are managed by
|
909
|
-
# Security Command Center and cannot be modified by the user.
|
910
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
911
|
-
include Google::Apis::Core::Hashable
|
912
|
-
|
913
|
-
# The user defined display name for this resource.
|
914
|
-
# Corresponds to the JSON property `resourceDisplayName`
|
915
|
-
# @return [String]
|
916
|
-
attr_accessor :resource_display_name
|
917
|
-
|
918
|
-
# The full resource name of the Google Cloud resource this asset represents.
|
919
|
-
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
920
|
-
# design/resource_names#full_resource_name
|
921
|
-
# Corresponds to the JSON property `resourceName`
|
922
|
-
# @return [String]
|
923
|
-
attr_accessor :resource_name
|
924
|
-
|
925
|
-
# Owners of the Google Cloud resource.
|
926
|
-
# Corresponds to the JSON property `resourceOwners`
|
927
|
-
# @return [Array<String>]
|
928
|
-
attr_accessor :resource_owners
|
929
|
-
|
930
|
-
# The full resource name of the immediate parent of the resource. See: https://
|
931
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
932
|
-
# Corresponds to the JSON property `resourceParent`
|
933
|
-
# @return [String]
|
934
|
-
attr_accessor :resource_parent
|
935
|
-
|
936
|
-
# The user defined display name for the parent of this resource.
|
937
|
-
# Corresponds to the JSON property `resourceParentDisplayName`
|
938
|
-
# @return [String]
|
939
|
-
attr_accessor :resource_parent_display_name
|
940
|
-
|
941
|
-
# The full resource name of the project the resource belongs to. See: https://
|
942
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
943
|
-
# Corresponds to the JSON property `resourceProject`
|
944
|
-
# @return [String]
|
945
|
-
attr_accessor :resource_project
|
946
|
-
|
947
|
-
# The user defined display name for the project of this resource.
|
948
|
-
# Corresponds to the JSON property `resourceProjectDisplayName`
|
949
|
-
# @return [String]
|
950
|
-
attr_accessor :resource_project_display_name
|
951
|
-
|
952
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
953
|
-
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
954
|
-
# Center and/or the producer of the resource and is immutable after create time.
|
955
|
-
# Corresponds to the JSON property `resourceType`
|
956
|
-
# @return [String]
|
957
|
-
attr_accessor :resource_type
|
958
|
-
|
959
|
-
def initialize(**args)
|
960
|
-
update!(**args)
|
961
|
-
end
|
962
|
-
|
963
|
-
# Update properties of this object
|
964
|
-
def update!(**args)
|
965
|
-
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
966
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
967
|
-
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
968
|
-
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
969
|
-
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
970
|
-
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
971
|
-
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
972
|
-
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
973
|
-
end
|
974
|
-
end
|
975
|
-
|
976
812
|
# User specified security marks that are attached to the parent Security Command
|
977
813
|
# Center resource. Security marks are scoped within a Security Command Center
|
978
814
|
# organization -- they can be modified and viewed by all users who have proper
|
@@ -1008,36 +844,6 @@ module Google
|
|
1008
844
|
end
|
1009
845
|
end
|
1010
846
|
|
1011
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
1012
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
1013
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
1014
|
-
include Google::Apis::Core::Hashable
|
1015
|
-
|
1016
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
1017
|
-
# is a Security Command Center resource that captures information about a single
|
1018
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
1019
|
-
# context of Security Command Center and don't affect the referenced Google
|
1020
|
-
# Cloud resource.
|
1021
|
-
# Corresponds to the JSON property `asset`
|
1022
|
-
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1023
|
-
attr_accessor :asset
|
1024
|
-
|
1025
|
-
# Represents if the asset was created/updated/deleted.
|
1026
|
-
# Corresponds to the JSON property `changeType`
|
1027
|
-
# @return [String]
|
1028
|
-
attr_accessor :change_type
|
1029
|
-
|
1030
|
-
def initialize(**args)
|
1031
|
-
update!(**args)
|
1032
|
-
end
|
1033
|
-
|
1034
|
-
# Update properties of this object
|
1035
|
-
def update!(**args)
|
1036
|
-
@asset = args[:asset] if args.key?(:asset)
|
1037
|
-
@change_type = args[:change_type] if args.key?(:change_type)
|
1038
|
-
end
|
1039
|
-
end
|
1040
|
-
|
1041
847
|
# Request message for grouping by assets.
|
1042
848
|
class GroupAssetsRequest
|
1043
849
|
include Google::Apis::Core::Hashable
|
@@ -1609,14 +1415,14 @@ module Google
|
|
1609
1415
|
# @return [String]
|
1610
1416
|
attr_accessor :name
|
1611
1417
|
|
1612
|
-
# The
|
1613
|
-
# /topics/[topic]".
|
1418
|
+
# The Pub/Sub topic to send notifications to. Its format is "projects/[
|
1419
|
+
# project_id]/topics/[topic]".
|
1614
1420
|
# Corresponds to the JSON property `pubsubTopic`
|
1615
1421
|
# @return [String]
|
1616
1422
|
attr_accessor :pubsub_topic
|
1617
1423
|
|
1618
1424
|
# Output only. The service account that needs "pubsub.topics.publish" permission
|
1619
|
-
# to publish to the
|
1425
|
+
# to publish to the Pub/Sub topic.
|
1620
1426
|
# Corresponds to the JSON property `serviceAccount`
|
1621
1427
|
# @return [String]
|
1622
1428
|
attr_accessor :service_account
|
@@ -106,24 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
109
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
116
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
111
|
|
118
112
|
include Google::Apis::Core::JsonObjectSupport
|
119
113
|
end
|
120
114
|
|
121
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
115
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
128
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
117
|
|
@@ -142,24 +130,12 @@ module Google
|
|
142
130
|
include Google::Apis::Core::JsonObjectSupport
|
143
131
|
end
|
144
132
|
|
145
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
133
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
152
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
135
|
|
154
136
|
include Google::Apis::Core::JsonObjectSupport
|
155
137
|
end
|
156
138
|
|
157
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
-
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
161
|
-
end
|
162
|
-
|
163
139
|
class GroupAssetsRequest
|
164
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
141
|
|
@@ -465,22 +441,6 @@ module Google
|
|
465
441
|
end
|
466
442
|
end
|
467
443
|
|
468
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
469
|
-
# @private
|
470
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
471
|
-
property :create_time, as: 'createTime'
|
472
|
-
property :iam_policy, as: 'iamPolicy', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1IamPolicy::Representation
|
473
|
-
|
474
|
-
property :name, as: 'name'
|
475
|
-
hash :resource_properties, as: 'resourceProperties'
|
476
|
-
property :security_center_properties, as: 'securityCenterProperties', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties::Representation
|
477
|
-
|
478
|
-
property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks::Representation
|
479
|
-
|
480
|
-
property :update_time, as: 'updateTime'
|
481
|
-
end
|
482
|
-
end
|
483
|
-
|
484
444
|
class GoogleCloudSecuritycenterV1p1beta1Finding
|
485
445
|
# @private
|
486
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -499,13 +459,6 @@ module Google
|
|
499
459
|
end
|
500
460
|
end
|
501
461
|
|
502
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
503
|
-
# @private
|
504
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
505
|
-
property :policy_blob, as: 'policyBlob'
|
506
|
-
end
|
507
|
-
end
|
508
|
-
|
509
462
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
510
463
|
# @private
|
511
464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -514,8 +467,6 @@ module Google
|
|
514
467
|
property :notification_config_name, as: 'notificationConfigName'
|
515
468
|
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
516
469
|
|
517
|
-
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
518
|
-
|
519
470
|
end
|
520
471
|
end
|
521
472
|
|
@@ -538,20 +489,6 @@ module Google
|
|
538
489
|
end
|
539
490
|
end
|
540
491
|
|
541
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
542
|
-
# @private
|
543
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
-
property :resource_display_name, as: 'resourceDisplayName'
|
545
|
-
property :resource_name, as: 'resourceName'
|
546
|
-
collection :resource_owners, as: 'resourceOwners'
|
547
|
-
property :resource_parent, as: 'resourceParent'
|
548
|
-
property :resource_parent_display_name, as: 'resourceParentDisplayName'
|
549
|
-
property :resource_project, as: 'resourceProject'
|
550
|
-
property :resource_project_display_name, as: 'resourceProjectDisplayName'
|
551
|
-
property :resource_type, as: 'resourceType'
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
492
|
class GoogleCloudSecuritycenterV1p1beta1SecurityMarks
|
556
493
|
# @private
|
557
494
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -560,15 +497,6 @@ module Google
|
|
560
497
|
end
|
561
498
|
end
|
562
499
|
|
563
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
564
|
-
# @private
|
565
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
566
|
-
property :asset, as: 'asset', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1p1beta1Asset::Representation
|
567
|
-
|
568
|
-
property :change_type, as: 'changeType'
|
569
|
-
end
|
570
|
-
end
|
571
|
-
|
572
500
|
class GroupAssetsRequest
|
573
501
|
# @private
|
574
502
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200918'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -739,74 +739,6 @@ module Google
|
|
739
739
|
end
|
740
740
|
end
|
741
741
|
|
742
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
743
|
-
# is a Security Command Center resource that captures information about a single
|
744
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
745
|
-
# context of Security Command Center and don't affect the referenced Google
|
746
|
-
# Cloud resource.
|
747
|
-
class GoogleCloudSecuritycenterV1p1beta1Asset
|
748
|
-
include Google::Apis::Core::Hashable
|
749
|
-
|
750
|
-
# The time at which the asset was created in Security Command Center.
|
751
|
-
# Corresponds to the JSON property `createTime`
|
752
|
-
# @return [String]
|
753
|
-
attr_accessor :create_time
|
754
|
-
|
755
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
756
|
-
# described by the Security Command Center asset. This information is managed
|
757
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
758
|
-
# Corresponds to the JSON property `iamPolicy`
|
759
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1IamPolicy]
|
760
|
-
attr_accessor :iam_policy
|
761
|
-
|
762
|
-
# The relative resource name of this asset. See: https://cloud.google.com/apis/
|
763
|
-
# design/resource_names#relative_resource_name Example: "organizations/`
|
764
|
-
# organization_id`/assets/`asset_id`".
|
765
|
-
# Corresponds to the JSON property `name`
|
766
|
-
# @return [String]
|
767
|
-
attr_accessor :name
|
768
|
-
|
769
|
-
# Resource managed properties. These properties are managed and defined by the
|
770
|
-
# Google Cloud resource and cannot be modified by the user.
|
771
|
-
# Corresponds to the JSON property `resourceProperties`
|
772
|
-
# @return [Hash<String,Object>]
|
773
|
-
attr_accessor :resource_properties
|
774
|
-
|
775
|
-
# Security Command Center managed properties. These properties are managed by
|
776
|
-
# Security Command Center and cannot be modified by the user.
|
777
|
-
# Corresponds to the JSON property `securityCenterProperties`
|
778
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties]
|
779
|
-
attr_accessor :security_center_properties
|
780
|
-
|
781
|
-
# User specified security marks that are attached to the parent Security Command
|
782
|
-
# Center resource. Security marks are scoped within a Security Command Center
|
783
|
-
# organization -- they can be modified and viewed by all users who have proper
|
784
|
-
# permissions on the organization.
|
785
|
-
# Corresponds to the JSON property `securityMarks`
|
786
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
787
|
-
attr_accessor :security_marks
|
788
|
-
|
789
|
-
# The time at which the asset was last updated, added, or deleted in Cloud SCC.
|
790
|
-
# Corresponds to the JSON property `updateTime`
|
791
|
-
# @return [String]
|
792
|
-
attr_accessor :update_time
|
793
|
-
|
794
|
-
def initialize(**args)
|
795
|
-
update!(**args)
|
796
|
-
end
|
797
|
-
|
798
|
-
# Update properties of this object
|
799
|
-
def update!(**args)
|
800
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
801
|
-
@iam_policy = args[:iam_policy] if args.key?(:iam_policy)
|
802
|
-
@name = args[:name] if args.key?(:name)
|
803
|
-
@resource_properties = args[:resource_properties] if args.key?(:resource_properties)
|
804
|
-
@security_center_properties = args[:security_center_properties] if args.key?(:security_center_properties)
|
805
|
-
@security_marks = args[:security_marks] if args.key?(:security_marks)
|
806
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
807
|
-
end
|
808
|
-
end
|
809
|
-
|
810
742
|
# Security Command Center finding. A finding is a record of assessment data (
|
811
743
|
# security, risk, health or privacy) ingested into Security Command Center for
|
812
744
|
# presentation, notification, analysis, policy testing, and enforcement. For
|
@@ -873,7 +805,8 @@ module Google
|
|
873
805
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1SecurityMarks]
|
874
806
|
attr_accessor :security_marks
|
875
807
|
|
876
|
-
# The severity of the finding.
|
808
|
+
# The severity of the finding. This field is managed by the source that writes
|
809
|
+
# the finding.
|
877
810
|
# Corresponds to the JSON property `severity`
|
878
811
|
# @return [String]
|
879
812
|
attr_accessor :severity
|
@@ -911,28 +844,6 @@ module Google
|
|
911
844
|
end
|
912
845
|
end
|
913
846
|
|
914
|
-
# Cloud IAM Policy information associated with the Google Cloud resource
|
915
|
-
# described by the Security Command Center asset. This information is managed
|
916
|
-
# and defined by the Google Cloud resource and cannot be modified by the user.
|
917
|
-
class GoogleCloudSecuritycenterV1p1beta1IamPolicy
|
918
|
-
include Google::Apis::Core::Hashable
|
919
|
-
|
920
|
-
# The JSON representation of the Policy associated with the asset. See https://
|
921
|
-
# cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
|
922
|
-
# Corresponds to the JSON property `policyBlob`
|
923
|
-
# @return [String]
|
924
|
-
attr_accessor :policy_blob
|
925
|
-
|
926
|
-
def initialize(**args)
|
927
|
-
update!(**args)
|
928
|
-
end
|
929
|
-
|
930
|
-
# Update properties of this object
|
931
|
-
def update!(**args)
|
932
|
-
@policy_blob = args[:policy_blob] if args.key?(:policy_blob)
|
933
|
-
end
|
934
|
-
end
|
935
|
-
|
936
847
|
# Security Command Center's Notification
|
937
848
|
class GoogleCloudSecuritycenterV1p1beta1NotificationMessage
|
938
849
|
include Google::Apis::Core::Hashable
|
@@ -955,12 +866,6 @@ module Google
|
|
955
866
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
956
867
|
attr_accessor :resource
|
957
868
|
|
958
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
959
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
960
|
-
# Corresponds to the JSON property `temporalAsset`
|
961
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset]
|
962
|
-
attr_accessor :temporal_asset
|
963
|
-
|
964
869
|
def initialize(**args)
|
965
870
|
update!(**args)
|
966
871
|
end
|
@@ -970,7 +875,6 @@ module Google
|
|
970
875
|
@finding = args[:finding] if args.key?(:finding)
|
971
876
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
972
877
|
@resource = args[:resource] if args.key?(:resource)
|
973
|
-
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
974
878
|
end
|
975
879
|
end
|
976
880
|
|
@@ -1043,74 +947,6 @@ module Google
|
|
1043
947
|
end
|
1044
948
|
end
|
1045
949
|
|
1046
|
-
# Security Command Center managed properties. These properties are managed by
|
1047
|
-
# Security Command Center and cannot be modified by the user.
|
1048
|
-
class GoogleCloudSecuritycenterV1p1beta1SecurityCenterProperties
|
1049
|
-
include Google::Apis::Core::Hashable
|
1050
|
-
|
1051
|
-
# The user defined display name for this resource.
|
1052
|
-
# Corresponds to the JSON property `resourceDisplayName`
|
1053
|
-
# @return [String]
|
1054
|
-
attr_accessor :resource_display_name
|
1055
|
-
|
1056
|
-
# The full resource name of the Google Cloud resource this asset represents.
|
1057
|
-
# This field is immutable after create time. See: https://cloud.google.com/apis/
|
1058
|
-
# design/resource_names#full_resource_name
|
1059
|
-
# Corresponds to the JSON property `resourceName`
|
1060
|
-
# @return [String]
|
1061
|
-
attr_accessor :resource_name
|
1062
|
-
|
1063
|
-
# Owners of the Google Cloud resource.
|
1064
|
-
# Corresponds to the JSON property `resourceOwners`
|
1065
|
-
# @return [Array<String>]
|
1066
|
-
attr_accessor :resource_owners
|
1067
|
-
|
1068
|
-
# The full resource name of the immediate parent of the resource. See: https://
|
1069
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
1070
|
-
# Corresponds to the JSON property `resourceParent`
|
1071
|
-
# @return [String]
|
1072
|
-
attr_accessor :resource_parent
|
1073
|
-
|
1074
|
-
# The user defined display name for the parent of this resource.
|
1075
|
-
# Corresponds to the JSON property `resourceParentDisplayName`
|
1076
|
-
# @return [String]
|
1077
|
-
attr_accessor :resource_parent_display_name
|
1078
|
-
|
1079
|
-
# The full resource name of the project the resource belongs to. See: https://
|
1080
|
-
# cloud.google.com/apis/design/resource_names#full_resource_name
|
1081
|
-
# Corresponds to the JSON property `resourceProject`
|
1082
|
-
# @return [String]
|
1083
|
-
attr_accessor :resource_project
|
1084
|
-
|
1085
|
-
# The user defined display name for the project of this resource.
|
1086
|
-
# Corresponds to the JSON property `resourceProjectDisplayName`
|
1087
|
-
# @return [String]
|
1088
|
-
attr_accessor :resource_project_display_name
|
1089
|
-
|
1090
|
-
# The type of the Google Cloud resource. Examples include: APPLICATION, PROJECT,
|
1091
|
-
# and ORGANIZATION. This is a case insensitive field defined by Security Command
|
1092
|
-
# Center and/or the producer of the resource and is immutable after create time.
|
1093
|
-
# Corresponds to the JSON property `resourceType`
|
1094
|
-
# @return [String]
|
1095
|
-
attr_accessor :resource_type
|
1096
|
-
|
1097
|
-
def initialize(**args)
|
1098
|
-
update!(**args)
|
1099
|
-
end
|
1100
|
-
|
1101
|
-
# Update properties of this object
|
1102
|
-
def update!(**args)
|
1103
|
-
@resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
|
1104
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1105
|
-
@resource_owners = args[:resource_owners] if args.key?(:resource_owners)
|
1106
|
-
@resource_parent = args[:resource_parent] if args.key?(:resource_parent)
|
1107
|
-
@resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
|
1108
|
-
@resource_project = args[:resource_project] if args.key?(:resource_project)
|
1109
|
-
@resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
|
1110
|
-
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
1111
|
-
end
|
1112
|
-
end
|
1113
|
-
|
1114
950
|
# User specified security marks that are attached to the parent Security Command
|
1115
951
|
# Center resource. Security marks are scoped within a Security Command Center
|
1116
952
|
# organization -- they can be modified and viewed by all users who have proper
|
@@ -1146,36 +982,6 @@ module Google
|
|
1146
982
|
end
|
1147
983
|
end
|
1148
984
|
|
1149
|
-
# Wrapper over asset object that also captures the state change for the asset e.
|
1150
|
-
# g. if it was a newly created asset vs updated or deleted asset.
|
1151
|
-
class GoogleCloudSecuritycenterV1p1beta1TemporalAsset
|
1152
|
-
include Google::Apis::Core::Hashable
|
1153
|
-
|
1154
|
-
# Security Command Center representation of a Google Cloud resource. The Asset
|
1155
|
-
# is a Security Command Center resource that captures information about a single
|
1156
|
-
# Google Cloud resource. All modifications to an Asset are only within the
|
1157
|
-
# context of Security Command Center and don't affect the referenced Google
|
1158
|
-
# Cloud resource.
|
1159
|
-
# Corresponds to the JSON property `asset`
|
1160
|
-
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1p1beta1Asset]
|
1161
|
-
attr_accessor :asset
|
1162
|
-
|
1163
|
-
# Represents if the asset was created/updated/deleted.
|
1164
|
-
# Corresponds to the JSON property `changeType`
|
1165
|
-
# @return [String]
|
1166
|
-
attr_accessor :change_type
|
1167
|
-
|
1168
|
-
def initialize(**args)
|
1169
|
-
update!(**args)
|
1170
|
-
end
|
1171
|
-
|
1172
|
-
# Update properties of this object
|
1173
|
-
def update!(**args)
|
1174
|
-
@asset = args[:asset] if args.key?(:asset)
|
1175
|
-
@change_type = args[:change_type] if args.key?(:change_type)
|
1176
|
-
end
|
1177
|
-
end
|
1178
|
-
|
1179
985
|
# Request message for grouping by assets.
|
1180
986
|
class GroupAssetsRequest
|
1181
987
|
include Google::Apis::Core::Hashable
|