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
@@ -24,21 +24,19 @@ module Google
|
|
24
24
|
|
25
25
|
# Specifies the audit configuration for a service. The configuration determines
|
26
26
|
# which permission types are logged, and what identities, if any, are exempted
|
27
|
-
# from logging. An AuditConfig must have one or more AuditLogConfigs.
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# log_type": "
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
|
41
|
-
# example.com from DATA_WRITE logging.
|
27
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
28
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
29
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
30
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
31
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
32
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
33
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
34
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
35
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
36
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
37
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
38
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
39
|
+
# DATA_WRITE logging.
|
42
40
|
class AuditConfig
|
43
41
|
include Google::Apis::Core::Hashable
|
44
42
|
|
@@ -47,11 +45,6 @@ module Google
|
|
47
45
|
# @return [Array<Google::Apis::DeploymentmanagerV2::AuditLogConfig>]
|
48
46
|
attr_accessor :audit_log_configs
|
49
47
|
|
50
|
-
#
|
51
|
-
# Corresponds to the JSON property `exemptedMembers`
|
52
|
-
# @return [Array<String>]
|
53
|
-
attr_accessor :exempted_members
|
54
|
-
|
55
48
|
# Specifies a service that will be enabled for audit logging. For example, `
|
56
49
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
57
50
|
# value that covers all services.
|
@@ -66,31 +59,24 @@ module Google
|
|
66
59
|
# Update properties of this object
|
67
60
|
def update!(**args)
|
68
61
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
69
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
70
62
|
@service = args[:service] if args.key?(:service)
|
71
63
|
end
|
72
64
|
end
|
73
65
|
|
74
|
-
# Provides the configuration for logging a type of permissions. Example:
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
66
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
67
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
68
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
69
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
70
|
+
# DATA_READ logging.
|
79
71
|
class AuditLogConfig
|
80
72
|
include Google::Apis::Core::Hashable
|
81
73
|
|
82
74
|
# Specifies the identities that do not cause logging for this type of permission.
|
83
|
-
# Follows the same format of
|
75
|
+
# Follows the same format of Binding.members.
|
84
76
|
# Corresponds to the JSON property `exemptedMembers`
|
85
77
|
# @return [Array<String>]
|
86
78
|
attr_accessor :exempted_members
|
87
79
|
|
88
|
-
#
|
89
|
-
# Corresponds to the JSON property `ignoreChildExemptions`
|
90
|
-
# @return [Boolean]
|
91
|
-
attr_accessor :ignore_child_exemptions
|
92
|
-
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
93
|
-
|
94
80
|
# The log type that this config enables.
|
95
81
|
# Corresponds to the JSON property `logType`
|
96
82
|
# @return [String]
|
@@ -103,88 +89,59 @@ module Google
|
|
103
89
|
# Update properties of this object
|
104
90
|
def update!(**args)
|
105
91
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
106
|
-
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
107
92
|
@log_type = args[:log_type] if args.key?(:log_type)
|
108
93
|
end
|
109
94
|
end
|
110
95
|
|
111
|
-
# Authorization-related information used by Cloud Audit Logging.
|
112
|
-
class AuthorizationLoggingOptions
|
113
|
-
include Google::Apis::Core::Hashable
|
114
|
-
|
115
|
-
# The type of the permission that was checked.
|
116
|
-
# Corresponds to the JSON property `permissionType`
|
117
|
-
# @return [String]
|
118
|
-
attr_accessor :permission_type
|
119
|
-
|
120
|
-
def initialize(**args)
|
121
|
-
update!(**args)
|
122
|
-
end
|
123
|
-
|
124
|
-
# Update properties of this object
|
125
|
-
def update!(**args)
|
126
|
-
@permission_type = args[:permission_type] if args.key?(:permission_type)
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
96
|
# Associates `members` with a `role`.
|
131
97
|
class Binding
|
132
98
|
include Google::Apis::Core::Hashable
|
133
99
|
|
134
100
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
135
101
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
136
|
-
# documented at https://github.com/google/cel-spec.
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# Example (
|
141
|
-
# title: "
|
142
|
-
#
|
143
|
-
# Example (
|
144
|
-
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# timestamp." expression: "'New message received at ' + string(document.
|
150
|
-
# create_time)"
|
151
|
-
# The exact variables and functions that may be referenced within an expression
|
152
|
-
# are determined by the service that evaluates it. See the service documentation
|
153
|
-
# for additional information.
|
102
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
103
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
104
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
105
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
106
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
107
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
108
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
109
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
110
|
+
# string" description: "Create a notification string with a timestamp."
|
111
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
112
|
+
# exact variables and functions that may be referenced within an expression are
|
113
|
+
# determined by the service that evaluates it. See the service documentation for
|
114
|
+
# additional information.
|
154
115
|
# Corresponds to the JSON property `condition`
|
155
116
|
# @return [Google::Apis::DeploymentmanagerV2::Expr]
|
156
117
|
attr_accessor :condition
|
157
118
|
|
158
119
|
# Specifies the identities requesting access for a Cloud Platform resource. `
|
159
|
-
# members` can have the following values:
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
# * `
|
165
|
-
# For example, `
|
166
|
-
# * `
|
167
|
-
#
|
168
|
-
#
|
169
|
-
# example, `
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
# deleted
|
178
|
-
# 123456789012345678901`. If the service account is undeleted, this value
|
179
|
-
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
180
|
-
# retains the role in the binding.
|
181
|
-
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
120
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
121
|
+
# that represents anyone who is on the internet; with or without a Google
|
122
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
123
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
124
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
125
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
126
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
127
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
128
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
129
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
130
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
131
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
132
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
133
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
134
|
+
# identifier) representing a service account that has been recently deleted. For
|
135
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
136
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
137
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
138
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
182
139
|
# identifier) representing a Google group that has been recently deleted. For
|
183
140
|
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
184
141
|
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
185
|
-
# retains the role in the binding.
|
186
|
-
#
|
187
|
-
#
|
142
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
143
|
+
# primary) that represents all the users of that domain. For example, `google.
|
144
|
+
# com` or `example.com`.
|
188
145
|
# Corresponds to the JSON property `members`
|
189
146
|
# @return [Array<String>]
|
190
147
|
attr_accessor :members
|
@@ -207,50 +164,6 @@ module Google
|
|
207
164
|
end
|
208
165
|
end
|
209
166
|
|
210
|
-
# A condition to be met.
|
211
|
-
class Condition
|
212
|
-
include Google::Apis::Core::Hashable
|
213
|
-
|
214
|
-
# Trusted attributes supplied by the IAM system.
|
215
|
-
# Corresponds to the JSON property `iam`
|
216
|
-
# @return [String]
|
217
|
-
attr_accessor :iam
|
218
|
-
|
219
|
-
# An operator to apply the subject with.
|
220
|
-
# Corresponds to the JSON property `op`
|
221
|
-
# @return [String]
|
222
|
-
attr_accessor :op
|
223
|
-
|
224
|
-
# Trusted attributes discharged by the service.
|
225
|
-
# Corresponds to the JSON property `svc`
|
226
|
-
# @return [String]
|
227
|
-
attr_accessor :svc
|
228
|
-
|
229
|
-
# Trusted attributes supplied by any service that owns resources and uses the
|
230
|
-
# IAM system for access control.
|
231
|
-
# Corresponds to the JSON property `sys`
|
232
|
-
# @return [String]
|
233
|
-
attr_accessor :sys
|
234
|
-
|
235
|
-
# The objects of the condition.
|
236
|
-
# Corresponds to the JSON property `values`
|
237
|
-
# @return [Array<String>]
|
238
|
-
attr_accessor :values
|
239
|
-
|
240
|
-
def initialize(**args)
|
241
|
-
update!(**args)
|
242
|
-
end
|
243
|
-
|
244
|
-
# Update properties of this object
|
245
|
-
def update!(**args)
|
246
|
-
@iam = args[:iam] if args.key?(:iam)
|
247
|
-
@op = args[:op] if args.key?(:op)
|
248
|
-
@svc = args[:svc] if args.key?(:svc)
|
249
|
-
@sys = args[:sys] if args.key?(:sys)
|
250
|
-
@values = args[:values] if args.key?(:values)
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
167
|
#
|
255
168
|
class ConfigFile
|
256
169
|
include Google::Apis::Core::Hashable
|
@@ -283,8 +196,8 @@ module Google
|
|
283
196
|
# update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
|
284
197
|
# randomly generated value that must be provided with `update()`, `stop()`, and `
|
285
198
|
# cancelPreview()` requests to perform optimistic locking. This ensures
|
286
|
-
# optimistic concurrency so that only one request happens at a time.
|
287
|
-
#
|
199
|
+
# optimistic concurrency so that only one request happens at a time. The
|
200
|
+
# fingerprint is initially generated by Deployment Manager and changes after
|
288
201
|
# every request to modify data. To get the latest fingerprint value, perform a `
|
289
202
|
# get()` request to a deployment.
|
290
203
|
# Corresponds to the JSON property `fingerprint`
|
@@ -302,11 +215,11 @@ module Google
|
|
302
215
|
# @return [String]
|
303
216
|
attr_accessor :insert_time
|
304
217
|
|
305
|
-
# Map of labels; provided by the client when the resource is
|
306
|
-
# Specifically: Label keys must be between 1 and 63
|
307
|
-
# conform to the following regular expression: `[a-z]([-
|
308
|
-
# Label values must be between 0 and 63 characters long and
|
309
|
-
# regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
218
|
+
# Map of One Platform labels; provided by the client when the resource is
|
219
|
+
# created or updated. Specifically: Label keys must be between 1 and 63
|
220
|
+
# characters long and must conform to the following regular expression: `[a-z]([-
|
221
|
+
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
222
|
+
# must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
|
310
223
|
# Corresponds to the JSON property `labels`
|
311
224
|
# @return [Array<Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry>]
|
312
225
|
attr_accessor :labels
|
@@ -328,21 +241,16 @@ module Google
|
|
328
241
|
# @return [String]
|
329
242
|
attr_accessor :name
|
330
243
|
|
331
|
-
# Represents an Operation resource.
|
332
|
-
#
|
333
|
-
# * [
|
334
|
-
#
|
335
|
-
#
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
342
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
343
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
344
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
345
|
-
# zoneOperations ==)
|
244
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
245
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
246
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
247
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
248
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
249
|
+
# requests. For more information, read Handling API responses. Operations can be
|
250
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
251
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
252
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
253
|
+
# read Global, Regional, and Zonal Resources.
|
346
254
|
# Corresponds to the JSON property `operation`
|
347
255
|
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
348
256
|
attr_accessor :operation
|
@@ -352,12 +260,14 @@ module Google
|
|
352
260
|
# @return [String]
|
353
261
|
attr_accessor :self_link
|
354
262
|
|
355
|
-
#
|
263
|
+
# [Input Only] The parameters that define your deployment, including the
|
264
|
+
# deployment configuration and relevant templates.
|
356
265
|
# Corresponds to the JSON property `target`
|
357
266
|
# @return [Google::Apis::DeploymentmanagerV2::TargetConfiguration]
|
358
267
|
attr_accessor :target
|
359
268
|
|
360
|
-
#
|
269
|
+
# Output only. If Deployment Manager is currently updating or previewing an
|
270
|
+
# update to this deployment, the updated configuration appears here.
|
361
271
|
# Corresponds to the JSON property `update`
|
362
272
|
# @return [Google::Apis::DeploymentmanagerV2::DeploymentUpdate]
|
363
273
|
attr_accessor :update
|
@@ -388,16 +298,16 @@ module Google
|
|
388
298
|
end
|
389
299
|
end
|
390
300
|
|
391
|
-
#
|
301
|
+
# Label object for Deployments
|
392
302
|
class DeploymentLabelEntry
|
393
303
|
include Google::Apis::Core::Hashable
|
394
304
|
|
395
|
-
#
|
305
|
+
# Key of the label
|
396
306
|
# Corresponds to the JSON property `key`
|
397
307
|
# @return [String]
|
398
308
|
attr_accessor :key
|
399
309
|
|
400
|
-
#
|
310
|
+
# Value of the label
|
401
311
|
# Corresponds to the JSON property `value`
|
402
312
|
# @return [String]
|
403
313
|
attr_accessor :value
|
@@ -423,7 +333,7 @@ module Google
|
|
423
333
|
# @return [String]
|
424
334
|
attr_accessor :description
|
425
335
|
|
426
|
-
#
|
336
|
+
# Map of One Platform labels; provided by the client when the resource is
|
427
337
|
# created or updated. Specifically: Label keys must be between 1 and 63
|
428
338
|
# characters long and must conform to the following regular expression: `[a-z]([-
|
429
339
|
# a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
|
@@ -450,16 +360,16 @@ module Google
|
|
450
360
|
end
|
451
361
|
end
|
452
362
|
|
453
|
-
#
|
363
|
+
# Label object for DeploymentUpdate
|
454
364
|
class DeploymentUpdateLabelEntry
|
455
365
|
include Google::Apis::Core::Hashable
|
456
366
|
|
457
|
-
#
|
367
|
+
# Key of the label
|
458
368
|
# Corresponds to the JSON property `key`
|
459
369
|
# @return [String]
|
460
370
|
attr_accessor :key
|
461
371
|
|
462
|
-
#
|
372
|
+
# Value of the label
|
463
373
|
# Corresponds to the JSON property `value`
|
464
374
|
# @return [String]
|
465
375
|
attr_accessor :value
|
@@ -484,10 +394,10 @@ module Google
|
|
484
394
|
# to perform optimistic locking. This ensures optimistic concurrency so that the
|
485
395
|
# deployment does not have conflicting requests (e.g. if someone attempts to
|
486
396
|
# make a new update request while another user attempts to cancel a preview,
|
487
|
-
# this would prevent one of the requests).
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
397
|
+
# this would prevent one of the requests). The fingerprint is initially
|
398
|
+
# generated by Deployment Manager and changes after every request to modify a
|
399
|
+
# deployment. To get the latest fingerprint value, perform a `get()` request on
|
400
|
+
# the deployment.
|
491
401
|
# Corresponds to the JSON property `fingerprint`
|
492
402
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
493
403
|
# @return [String]
|
@@ -538,10 +448,9 @@ module Google
|
|
538
448
|
# optimistic locking. This ensures optimistic concurrency so that the deployment
|
539
449
|
# does not have conflicting requests (e.g. if someone attempts to make a new
|
540
450
|
# update request while another user attempts to stop an ongoing update request,
|
541
|
-
# this would prevent a collision).
|
542
|
-
#
|
543
|
-
#
|
544
|
-
# perform a `get()` request on the deployment.
|
451
|
+
# this would prevent a collision). The fingerprint is initially generated by
|
452
|
+
# Deployment Manager and changes after every request to modify a deployment. To
|
453
|
+
# get the latest fingerprint value, perform a `get()` request on the deployment.
|
545
454
|
# Corresponds to the JSON property `fingerprint`
|
546
455
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
547
456
|
# @return [String]
|
@@ -559,24 +468,19 @@ module Google
|
|
559
468
|
|
560
469
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
561
470
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
562
|
-
# documented at https://github.com/google/cel-spec.
|
563
|
-
#
|
564
|
-
#
|
565
|
-
#
|
566
|
-
# Example (
|
567
|
-
# title: "
|
568
|
-
#
|
569
|
-
# Example (
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
# timestamp." expression: "'New message received at ' + string(document.
|
576
|
-
# create_time)"
|
577
|
-
# The exact variables and functions that may be referenced within an expression
|
578
|
-
# are determined by the service that evaluates it. See the service documentation
|
579
|
-
# for additional information.
|
471
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
472
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
473
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
474
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
475
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
476
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
477
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
478
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
479
|
+
# string" description: "Create a notification string with a timestamp."
|
480
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
481
|
+
# exact variables and functions that may be referenced within an expression are
|
482
|
+
# determined by the service that evaluates it. See the service documentation for
|
483
|
+
# additional information.
|
580
484
|
class Expr
|
581
485
|
include Google::Apis::Core::Hashable
|
582
486
|
|
@@ -634,35 +538,32 @@ module Google
|
|
634
538
|
attr_accessor :etag
|
635
539
|
|
636
540
|
# An Identity and Access Management (IAM) policy, which specifies access
|
637
|
-
# controls for Google Cloud resources.
|
638
|
-
# A `
|
639
|
-
#
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
# condition
|
645
|
-
#
|
646
|
-
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
#
|
651
|
-
# [ "user:
|
652
|
-
#
|
653
|
-
#
|
654
|
-
# ], "
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
664
|
-
# For a description of IAM and its features, see the [IAM documentation](https://
|
665
|
-
# cloud.google.com/iam/docs/).
|
541
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
542
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
543
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
544
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
545
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
546
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
547
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
548
|
+
# condition can add constraints based on attributes of the request, the resource,
|
549
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
550
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
551
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
552
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
553
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
554
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
555
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
556
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
557
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
558
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
559
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
560
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
561
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
562
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
563
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
564
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
565
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
566
|
+
# google.com/iam/docs/).
|
666
567
|
# Corresponds to the JSON property `policy`
|
667
568
|
# @return [Google::Apis::DeploymentmanagerV2::Policy]
|
668
569
|
attr_accessor :policy
|
@@ -704,171 +605,11 @@ module Google
|
|
704
605
|
end
|
705
606
|
end
|
706
607
|
|
707
|
-
# Specifies what kind of log the caller must write
|
708
|
-
class LogConfig
|
709
|
-
include Google::Apis::Core::Hashable
|
710
|
-
|
711
|
-
# Write a Cloud Audit log
|
712
|
-
# Corresponds to the JSON property `cloudAudit`
|
713
|
-
# @return [Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions]
|
714
|
-
attr_accessor :cloud_audit
|
715
|
-
|
716
|
-
# Increment a streamz counter with the specified metric and field names.
|
717
|
-
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
718
|
-
# _count". Field names should not contain an initial slash. The actual exported
|
719
|
-
# metric names will have "/iam/policy" prepended.
|
720
|
-
# Field names correspond to IAM request parameters and field values are their
|
721
|
-
# respective values.
|
722
|
-
# Supported field names: - "authority", which is "[token]" if IAMContext.token
|
723
|
-
# is present, otherwise the value of IAMContext.authority_selector if present,
|
724
|
-
# and otherwise a representation of IAMContext.principal; or - "iam_principal",
|
725
|
-
# a representation of IAMContext.principal even if a token or authority selector
|
726
|
-
# is present; or - "" (empty string), resulting in a counter with no fields.
|
727
|
-
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
728
|
-
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
729
|
-
# IAMContext.principal]`
|
730
|
-
# Corresponds to the JSON property `counter`
|
731
|
-
# @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions]
|
732
|
-
attr_accessor :counter
|
733
|
-
|
734
|
-
# Write a Data Access (Gin) log
|
735
|
-
# Corresponds to the JSON property `dataAccess`
|
736
|
-
# @return [Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions]
|
737
|
-
attr_accessor :data_access
|
738
|
-
|
739
|
-
def initialize(**args)
|
740
|
-
update!(**args)
|
741
|
-
end
|
742
|
-
|
743
|
-
# Update properties of this object
|
744
|
-
def update!(**args)
|
745
|
-
@cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
|
746
|
-
@counter = args[:counter] if args.key?(:counter)
|
747
|
-
@data_access = args[:data_access] if args.key?(:data_access)
|
748
|
-
end
|
749
|
-
end
|
750
|
-
|
751
|
-
# Write a Cloud Audit log
|
752
|
-
class LogConfigCloudAuditOptions
|
753
|
-
include Google::Apis::Core::Hashable
|
754
|
-
|
755
|
-
# Authorization-related information used by Cloud Audit Logging.
|
756
|
-
# Corresponds to the JSON property `authorizationLoggingOptions`
|
757
|
-
# @return [Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions]
|
758
|
-
attr_accessor :authorization_logging_options
|
759
|
-
|
760
|
-
# The log_name to populate in the Cloud Audit Record.
|
761
|
-
# Corresponds to the JSON property `logName`
|
762
|
-
# @return [String]
|
763
|
-
attr_accessor :log_name
|
764
|
-
|
765
|
-
def initialize(**args)
|
766
|
-
update!(**args)
|
767
|
-
end
|
768
|
-
|
769
|
-
# Update properties of this object
|
770
|
-
def update!(**args)
|
771
|
-
@authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
|
772
|
-
@log_name = args[:log_name] if args.key?(:log_name)
|
773
|
-
end
|
774
|
-
end
|
775
|
-
|
776
|
-
# Increment a streamz counter with the specified metric and field names.
|
777
|
-
# Metric names should start with a '/', generally be lowercase-only, and end in "
|
778
|
-
# _count". Field names should not contain an initial slash. The actual exported
|
779
|
-
# metric names will have "/iam/policy" prepended.
|
780
|
-
# Field names correspond to IAM request parameters and field values are their
|
781
|
-
# respective values.
|
782
|
-
# Supported field names: - "authority", which is "[token]" if IAMContext.token
|
783
|
-
# is present, otherwise the value of IAMContext.authority_selector if present,
|
784
|
-
# and otherwise a representation of IAMContext.principal; or - "iam_principal",
|
785
|
-
# a representation of IAMContext.principal even if a token or authority selector
|
786
|
-
# is present; or - "" (empty string), resulting in a counter with no fields.
|
787
|
-
# Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
|
788
|
-
# increment counter /iam/policy/debug_access_count `iam_principal=[value of
|
789
|
-
# IAMContext.principal]`
|
790
|
-
class LogConfigCounterOptions
|
791
|
-
include Google::Apis::Core::Hashable
|
792
|
-
|
793
|
-
# Custom fields.
|
794
|
-
# Corresponds to the JSON property `customFields`
|
795
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField>]
|
796
|
-
attr_accessor :custom_fields
|
797
|
-
|
798
|
-
# The field value to attribute.
|
799
|
-
# Corresponds to the JSON property `field`
|
800
|
-
# @return [String]
|
801
|
-
attr_accessor :field
|
802
|
-
|
803
|
-
# The metric to update.
|
804
|
-
# Corresponds to the JSON property `metric`
|
805
|
-
# @return [String]
|
806
|
-
attr_accessor :metric
|
807
|
-
|
808
|
-
def initialize(**args)
|
809
|
-
update!(**args)
|
810
|
-
end
|
811
|
-
|
812
|
-
# Update properties of this object
|
813
|
-
def update!(**args)
|
814
|
-
@custom_fields = args[:custom_fields] if args.key?(:custom_fields)
|
815
|
-
@field = args[:field] if args.key?(:field)
|
816
|
-
@metric = args[:metric] if args.key?(:metric)
|
817
|
-
end
|
818
|
-
end
|
819
|
-
|
820
|
-
# Custom fields. These can be used to create a counter with arbitrary field/
|
821
|
-
# value pairs. See: go/rpcsp-custom-fields.
|
822
|
-
class LogConfigCounterOptionsCustomField
|
823
|
-
include Google::Apis::Core::Hashable
|
824
|
-
|
825
|
-
# Name is the field name.
|
826
|
-
# Corresponds to the JSON property `name`
|
827
|
-
# @return [String]
|
828
|
-
attr_accessor :name
|
829
|
-
|
830
|
-
# Value is the field value. It is important that in contrast to the
|
831
|
-
# CounterOptions.field, the value here is a constant that is not derived from
|
832
|
-
# the IAMContext.
|
833
|
-
# Corresponds to the JSON property `value`
|
834
|
-
# @return [String]
|
835
|
-
attr_accessor :value
|
836
|
-
|
837
|
-
def initialize(**args)
|
838
|
-
update!(**args)
|
839
|
-
end
|
840
|
-
|
841
|
-
# Update properties of this object
|
842
|
-
def update!(**args)
|
843
|
-
@name = args[:name] if args.key?(:name)
|
844
|
-
@value = args[:value] if args.key?(:value)
|
845
|
-
end
|
846
|
-
end
|
847
|
-
|
848
|
-
# Write a Data Access (Gin) log
|
849
|
-
class LogConfigDataAccessOptions
|
850
|
-
include Google::Apis::Core::Hashable
|
851
|
-
|
852
|
-
#
|
853
|
-
# Corresponds to the JSON property `logMode`
|
854
|
-
# @return [String]
|
855
|
-
attr_accessor :log_mode
|
856
|
-
|
857
|
-
def initialize(**args)
|
858
|
-
update!(**args)
|
859
|
-
end
|
860
|
-
|
861
|
-
# Update properties of this object
|
862
|
-
def update!(**args)
|
863
|
-
@log_mode = args[:log_mode] if args.key?(:log_mode)
|
864
|
-
end
|
865
|
-
end
|
866
|
-
|
867
608
|
#
|
868
609
|
class Manifest
|
869
610
|
include Google::Apis::Core::Hashable
|
870
611
|
|
871
|
-
#
|
612
|
+
# Output only. The YAML configuration for this manifest.
|
872
613
|
# Corresponds to the JSON property `config`
|
873
614
|
# @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
|
874
615
|
attr_accessor :config
|
@@ -899,8 +640,7 @@ module Google
|
|
899
640
|
# @return [String]
|
900
641
|
attr_accessor :layout
|
901
642
|
|
902
|
-
# Output only.
|
903
|
-
# The name of the manifest.
|
643
|
+
# Output only. The name of the manifest.
|
904
644
|
# Corresponds to the JSON property `name`
|
905
645
|
# @return [String]
|
906
646
|
attr_accessor :name
|
@@ -953,21 +693,16 @@ module Google
|
|
953
693
|
end
|
954
694
|
end
|
955
695
|
|
956
|
-
# Represents an Operation resource.
|
957
|
-
#
|
958
|
-
# * [
|
959
|
-
#
|
960
|
-
#
|
961
|
-
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
965
|
-
#
|
966
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
967
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
968
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
969
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
970
|
-
# zoneOperations ==)
|
696
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
697
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
698
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
699
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
700
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
701
|
+
# requests. For more information, read Handling API responses. Operations can be
|
702
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
703
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
704
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
705
|
+
# read Global, Regional, and Zonal Resources.
|
971
706
|
class Operation
|
972
707
|
include Google::Apis::Core::Hashable
|
973
708
|
|
@@ -1203,8 +938,8 @@ module Google
|
|
1203
938
|
# @return [String]
|
1204
939
|
attr_accessor :code
|
1205
940
|
|
1206
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
1207
|
-
#
|
941
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
942
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1208
943
|
# Corresponds to the JSON property `data`
|
1209
944
|
# @return [Array<Google::Apis::DeploymentmanagerV2::Operation::Warning::Datum>]
|
1210
945
|
attr_accessor :data
|
@@ -1285,35 +1020,32 @@ module Google
|
|
1285
1020
|
end
|
1286
1021
|
|
1287
1022
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1288
|
-
# controls for Google Cloud resources.
|
1289
|
-
# A `
|
1290
|
-
#
|
1291
|
-
#
|
1292
|
-
#
|
1293
|
-
#
|
1294
|
-
#
|
1295
|
-
# condition
|
1296
|
-
#
|
1297
|
-
#
|
1298
|
-
#
|
1299
|
-
#
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
# [ "user:
|
1303
|
-
#
|
1304
|
-
#
|
1305
|
-
# ], "
|
1306
|
-
#
|
1307
|
-
#
|
1308
|
-
#
|
1309
|
-
#
|
1310
|
-
#
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
#
|
1314
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
|
1315
|
-
# For a description of IAM and its features, see the [IAM documentation](https://
|
1316
|
-
# cloud.google.com/iam/docs/).
|
1023
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1024
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1025
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1026
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1027
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1028
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1029
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1030
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1031
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1032
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1033
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1034
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1035
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1036
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1037
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1038
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1039
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1040
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1041
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1042
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1043
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1044
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1045
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1046
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1047
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1048
|
+
# google.com/iam/docs/).
|
1317
1049
|
class Policy
|
1318
1050
|
include Google::Apis::Core::Hashable
|
1319
1051
|
|
@@ -1335,51 +1067,31 @@ module Google
|
|
1335
1067
|
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1336
1068
|
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1337
1069
|
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1338
|
-
# applied to the same version of the policy.
|
1339
|
-
#
|
1340
|
-
#
|
1341
|
-
#
|
1342
|
-
#
|
1070
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1071
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1072
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1073
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1074
|
+
# are lost.
|
1343
1075
|
# Corresponds to the JSON property `etag`
|
1344
1076
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1345
1077
|
# @return [String]
|
1346
1078
|
attr_accessor :etag
|
1347
1079
|
|
1348
|
-
#
|
1349
|
-
#
|
1350
|
-
#
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
# DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
|
1357
|
-
# one or more matching rule requires logging. - Otherwise, if any ALLOW/
|
1358
|
-
# ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
|
1359
|
-
# one or more matching rule requires logging. - Otherwise, if no rule applies,
|
1360
|
-
# permission is denied.
|
1361
|
-
# Corresponds to the JSON property `rules`
|
1362
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
|
1363
|
-
attr_accessor :rules
|
1364
|
-
|
1365
|
-
# Specifies the format of the policy.
|
1366
|
-
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
|
1367
|
-
# rejected.
|
1368
|
-
# Any operation that affects conditional role bindings must specify version `3`.
|
1369
|
-
# This requirement applies to the following operations:
|
1370
|
-
# * Getting a policy that includes a conditional role binding * Adding a
|
1371
|
-
# conditional role binding to a policy * Changing a conditional role binding in
|
1372
|
-
# a policy * Removing any role binding, with or without a condition, from a
|
1373
|
-
# policy that includes conditions
|
1374
|
-
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1080
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1081
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1082
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1083
|
+
# applies to the following operations: * Getting a policy that includes a
|
1084
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1085
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1086
|
+
# with or without a condition, from a policy that includes conditions **
|
1087
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1375
1088
|
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1376
1089
|
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1377
|
-
# conditions in the version `3` policy are lost.
|
1378
|
-
#
|
1379
|
-
#
|
1380
|
-
#
|
1381
|
-
#
|
1382
|
-
# policies).
|
1090
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1091
|
+
# any conditions, operations on that policy may specify any valid version or
|
1092
|
+
# leave the field unset. To learn which resources support conditions in their
|
1093
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1094
|
+
# conditions/resource-policies).
|
1383
1095
|
# Corresponds to the JSON property `version`
|
1384
1096
|
# @return [Fixnum]
|
1385
1097
|
attr_accessor :version
|
@@ -1393,8 +1105,6 @@ module Google
|
|
1393
1105
|
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
1394
1106
|
@bindings = args[:bindings] if args.key?(:bindings)
|
1395
1107
|
@etag = args[:etag] if args.key?(:etag)
|
1396
|
-
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
1397
|
-
@rules = args[:rules] if args.key?(:rules)
|
1398
1108
|
@version = args[:version] if args.key?(:version)
|
1399
1109
|
end
|
1400
1110
|
end
|
@@ -1447,7 +1157,8 @@ module Google
|
|
1447
1157
|
# @return [String]
|
1448
1158
|
attr_accessor :type
|
1449
1159
|
|
1450
|
-
#
|
1160
|
+
# Output only. If Deployment Manager is currently updating or previewing an
|
1161
|
+
# update to this resource, the updated configuration appears here.
|
1451
1162
|
# Corresponds to the JSON property `update`
|
1452
1163
|
# @return [Google::Apis::DeploymentmanagerV2::ResourceUpdate]
|
1453
1164
|
attr_accessor :update
|
@@ -1498,8 +1209,8 @@ module Google
|
|
1498
1209
|
# @return [String]
|
1499
1210
|
attr_accessor :code
|
1500
1211
|
|
1501
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
1502
|
-
#
|
1212
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
1213
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1503
1214
|
# Corresponds to the JSON property `data`
|
1504
1215
|
# @return [Array<Google::Apis::DeploymentmanagerV2::Resource::Warning::Datum>]
|
1505
1216
|
attr_accessor :data
|
@@ -1699,8 +1410,8 @@ module Google
|
|
1699
1410
|
# @return [String]
|
1700
1411
|
attr_accessor :code
|
1701
1412
|
|
1702
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
1703
|
-
#
|
1413
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
1414
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1704
1415
|
# Corresponds to the JSON property `data`
|
1705
1416
|
# @return [Array<Google::Apis::DeploymentmanagerV2::ResourceUpdate::Warning::Datum>]
|
1706
1417
|
attr_accessor :data
|
@@ -1780,72 +1491,11 @@ module Google
|
|
1780
1491
|
end
|
1781
1492
|
end
|
1782
1493
|
|
1783
|
-
# A rule to be applied in a Policy.
|
1784
|
-
class Rule
|
1785
|
-
include Google::Apis::Core::Hashable
|
1786
|
-
|
1787
|
-
# Required
|
1788
|
-
# Corresponds to the JSON property `action`
|
1789
|
-
# @return [String]
|
1790
|
-
attr_accessor :action
|
1791
|
-
|
1792
|
-
# Additional restrictions that must be met. All conditions must pass for the
|
1793
|
-
# rule to match.
|
1794
|
-
# Corresponds to the JSON property `conditions`
|
1795
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2::Condition>]
|
1796
|
-
attr_accessor :conditions
|
1797
|
-
|
1798
|
-
# Human-readable description of the rule.
|
1799
|
-
# Corresponds to the JSON property `description`
|
1800
|
-
# @return [String]
|
1801
|
-
attr_accessor :description
|
1802
|
-
|
1803
|
-
# If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
|
1804
|
-
# AUTHORITY_SELECTOR is in at least one of these entries.
|
1805
|
-
# Corresponds to the JSON property `ins`
|
1806
|
-
# @return [Array<String>]
|
1807
|
-
attr_accessor :ins
|
1808
|
-
|
1809
|
-
# The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
|
1810
|
-
# that match the LOG action.
|
1811
|
-
# Corresponds to the JSON property `logConfigs`
|
1812
|
-
# @return [Array<Google::Apis::DeploymentmanagerV2::LogConfig>]
|
1813
|
-
attr_accessor :log_configs
|
1814
|
-
|
1815
|
-
# If one or more 'not_in' clauses are specified, the rule matches if the
|
1816
|
-
# PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
1817
|
-
# Corresponds to the JSON property `notIns`
|
1818
|
-
# @return [Array<String>]
|
1819
|
-
attr_accessor :not_ins
|
1820
|
-
|
1821
|
-
# A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
|
1822
|
-
# of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
|
1823
|
-
# *') matches all verbs.
|
1824
|
-
# Corresponds to the JSON property `permissions`
|
1825
|
-
# @return [Array<String>]
|
1826
|
-
attr_accessor :permissions
|
1827
|
-
|
1828
|
-
def initialize(**args)
|
1829
|
-
update!(**args)
|
1830
|
-
end
|
1831
|
-
|
1832
|
-
# Update properties of this object
|
1833
|
-
def update!(**args)
|
1834
|
-
@action = args[:action] if args.key?(:action)
|
1835
|
-
@conditions = args[:conditions] if args.key?(:conditions)
|
1836
|
-
@description = args[:description] if args.key?(:description)
|
1837
|
-
@ins = args[:ins] if args.key?(:ins)
|
1838
|
-
@log_configs = args[:log_configs] if args.key?(:log_configs)
|
1839
|
-
@not_ins = args[:not_ins] if args.key?(:not_ins)
|
1840
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
1841
|
-
end
|
1842
|
-
end
|
1843
|
-
|
1844
1494
|
#
|
1845
1495
|
class TargetConfiguration
|
1846
1496
|
include Google::Apis::Core::Hashable
|
1847
1497
|
|
1848
|
-
#
|
1498
|
+
# The configuration to use for this deployment.
|
1849
1499
|
# Corresponds to the JSON property `config`
|
1850
1500
|
# @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
|
1851
1501
|
attr_accessor :config
|
@@ -1926,21 +1576,16 @@ module Google
|
|
1926
1576
|
# @return [String]
|
1927
1577
|
attr_accessor :name
|
1928
1578
|
|
1929
|
-
# Represents an Operation resource.
|
1930
|
-
#
|
1931
|
-
# * [
|
1932
|
-
#
|
1933
|
-
#
|
1934
|
-
#
|
1935
|
-
#
|
1936
|
-
#
|
1937
|
-
#
|
1938
|
-
#
|
1939
|
-
# - For zonal operations, use the `zonalOperations` resource.
|
1940
|
-
# For more information, read Global, Regional, and Zonal Resources. (==
|
1941
|
-
# resource_for `$api_version`.globalOperations ==) (== resource_for `$
|
1942
|
-
# api_version`.regionOperations ==) (== resource_for `$api_version`.
|
1943
|
-
# zoneOperations ==)
|
1579
|
+
# Represents an Operation resource. Google Compute Engine has three Operation
|
1580
|
+
# resources: * [Global](/compute/docs/reference/rest/`$api_version`/
|
1581
|
+
# globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
|
1582
|
+
# regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
|
1583
|
+
# zoneOperations) You can use an operation resource to manage asynchronous API
|
1584
|
+
# requests. For more information, read Handling API responses. Operations can be
|
1585
|
+
# global, regional or zonal. - For global operations, use the `globalOperations`
|
1586
|
+
# resource. - For regional operations, use the `regionOperations` resource. -
|
1587
|
+
# For zonal operations, use the `zonalOperations` resource. For more information,
|
1588
|
+
# read Global, Regional, and Zonal Resources.
|
1944
1589
|
# Corresponds to the JSON property `operation`
|
1945
1590
|
# @return [Google::Apis::DeploymentmanagerV2::Operation]
|
1946
1591
|
attr_accessor :operation
|