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
@@ -311,7 +311,8 @@ module Google
|
|
311
311
|
class AuthenticationRule
|
312
312
|
include Google::Apis::Core::Hashable
|
313
313
|
|
314
|
-
# If true, the service accepts API keys without any other credential.
|
314
|
+
# If true, the service accepts API keys without any other credential. This flag
|
315
|
+
# only applies to HTTP and gRPC requests.
|
315
316
|
# Corresponds to the JSON property `allowWithoutCredential`
|
316
317
|
# @return [Boolean]
|
317
318
|
attr_accessor :allow_without_credential
|
@@ -659,7 +660,7 @@ module Google
|
|
659
660
|
# context.OriginContext The above specifies that all methods in the API request `
|
660
661
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
661
662
|
# Available context types are defined in package `google.rpc.context`. This also
|
662
|
-
# provides mechanism to
|
663
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
663
664
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
664
665
|
# For example, list any service specific protobuf types that can appear in grpc
|
665
666
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -1368,10 +1369,7 @@ module Google
|
|
1368
1369
|
# @return [Google::Apis::ServiceusageV1::Billing]
|
1369
1370
|
attr_accessor :billing
|
1370
1371
|
|
1371
|
-
#
|
1372
|
-
# the interpretation of the service configuration. For example, certain features
|
1373
|
-
# are enabled by default for certain config versions. The latest config version
|
1374
|
-
# is `3`.
|
1372
|
+
# This field is obsolete. Its value must be set to `3`.
|
1375
1373
|
# Corresponds to the JSON property `configVersion`
|
1376
1374
|
# @return [Fixnum]
|
1377
1375
|
attr_accessor :config_version
|
@@ -1381,7 +1379,7 @@ module Google
|
|
1381
1379
|
# context.OriginContext The above specifies that all methods in the API request `
|
1382
1380
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
1383
1381
|
# Available context types are defined in package `google.rpc.context`. This also
|
1384
|
-
# provides mechanism to
|
1382
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
1385
1383
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
1386
1384
|
# For example, list any service specific protobuf types that can appear in grpc
|
1387
1385
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -1636,44 +1634,6 @@ module Google
|
|
1636
1634
|
end
|
1637
1635
|
end
|
1638
1636
|
|
1639
|
-
# The per-product per-project service identity for a service. Use this field to
|
1640
|
-
# configure per-product per-project service identity. Example of a service
|
1641
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
1642
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
1643
|
-
# as the identity of Cloud XXX to access resources"
|
1644
|
-
class GoogleApiServiceIdentity
|
1645
|
-
include Google::Apis::Core::Hashable
|
1646
|
-
|
1647
|
-
# Optional. A user-specified opaque description of the service account. Must be
|
1648
|
-
# less than or equal to 256 UTF-8 bytes.
|
1649
|
-
# Corresponds to the JSON property `description`
|
1650
|
-
# @return [String]
|
1651
|
-
attr_accessor :description
|
1652
|
-
|
1653
|
-
# Optional. A user-specified name for the service account. Must be less than or
|
1654
|
-
# equal to 100 UTF-8 bytes.
|
1655
|
-
# Corresponds to the JSON property `displayName`
|
1656
|
-
# @return [String]
|
1657
|
-
attr_accessor :display_name
|
1658
|
-
|
1659
|
-
# A service account project that hosts the service accounts. An example name
|
1660
|
-
# would be: `projects/123456789`
|
1661
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
1662
|
-
# @return [String]
|
1663
|
-
attr_accessor :service_account_parent
|
1664
|
-
|
1665
|
-
def initialize(**args)
|
1666
|
-
update!(**args)
|
1667
|
-
end
|
1668
|
-
|
1669
|
-
# Update properties of this object
|
1670
|
-
def update!(**args)
|
1671
|
-
@description = args[:description] if args.key?(:description)
|
1672
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1673
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
1674
|
-
end
|
1675
|
-
end
|
1676
|
-
|
1677
1637
|
# The operation metadata returned for the batchend services operation.
|
1678
1638
|
class GoogleApiServiceusageV1OperationMetadata
|
1679
1639
|
include Google::Apis::Core::Hashable
|
@@ -2101,13 +2061,6 @@ module Google
|
|
2101
2061
|
# @return [Array<Google::Apis::ServiceusageV1::HttpRule>]
|
2102
2062
|
attr_accessor :additional_bindings
|
2103
2063
|
|
2104
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
2105
|
-
# duplex streaming method.
|
2106
|
-
# Corresponds to the JSON property `allowHalfDuplex`
|
2107
|
-
# @return [Boolean]
|
2108
|
-
attr_accessor :allow_half_duplex
|
2109
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
2110
|
-
|
2111
2064
|
# The name of the request field whose value is mapped to the HTTP request body,
|
2112
2065
|
# or `*` for mapping all request fields not captured by the path pattern to the
|
2113
2066
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
@@ -2167,7 +2120,6 @@ module Google
|
|
2167
2120
|
# Update properties of this object
|
2168
2121
|
def update!(**args)
|
2169
2122
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
2170
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
2171
2123
|
@body = args[:body] if args.key?(:body)
|
2172
2124
|
@custom = args[:custom] if args.key?(:custom)
|
2173
2125
|
@delete = args[:delete] if args.key?(:delete)
|
@@ -3628,15 +3580,6 @@ module Google
|
|
3628
3580
|
# @return [Array<Google::Apis::ServiceusageV1::UsageRule>]
|
3629
3581
|
attr_accessor :rules
|
3630
3582
|
|
3631
|
-
# The per-product per-project service identity for a service. Use this field to
|
3632
|
-
# configure per-product per-project service identity. Example of a service
|
3633
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
3634
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
3635
|
-
# as the identity of Cloud XXX to access resources"
|
3636
|
-
# Corresponds to the JSON property `serviceIdentity`
|
3637
|
-
# @return [Google::Apis::ServiceusageV1::GoogleApiServiceIdentity]
|
3638
|
-
attr_accessor :service_identity
|
3639
|
-
|
3640
3583
|
def initialize(**args)
|
3641
3584
|
update!(**args)
|
3642
3585
|
end
|
@@ -3646,7 +3589,6 @@ module Google
|
|
3646
3589
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
3647
3590
|
@requirements = args[:requirements] if args.key?(:requirements)
|
3648
3591
|
@rules = args[:rules] if args.key?(:rules)
|
3649
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
3650
3592
|
end
|
3651
3593
|
end
|
3652
3594
|
|
@@ -238,12 +238,6 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
-
class GoogleApiServiceIdentity
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
241
|
class GoogleApiServiceusageV1OperationMetadata
|
248
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
243
|
|
@@ -893,15 +887,6 @@ module Google
|
|
893
887
|
end
|
894
888
|
end
|
895
889
|
|
896
|
-
class GoogleApiServiceIdentity
|
897
|
-
# @private
|
898
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
899
|
-
property :description, as: 'description'
|
900
|
-
property :display_name, as: 'displayName'
|
901
|
-
property :service_account_parent, as: 'serviceAccountParent'
|
902
|
-
end
|
903
|
-
end
|
904
|
-
|
905
890
|
class GoogleApiServiceusageV1OperationMetadata
|
906
891
|
# @private
|
907
892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -975,7 +960,6 @@ module Google
|
|
975
960
|
class Representation < Google::Apis::Core::JsonRepresentation
|
976
961
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1::HttpRule, decorator: Google::Apis::ServiceusageV1::HttpRule::Representation
|
977
962
|
|
978
|
-
property :allow_half_duplex, as: 'allowHalfDuplex'
|
979
963
|
property :body, as: 'body'
|
980
964
|
property :custom, as: 'custom', class: Google::Apis::ServiceusageV1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1::CustomHttpPattern::Representation
|
981
965
|
|
@@ -1328,8 +1312,6 @@ module Google
|
|
1328
1312
|
collection :requirements, as: 'requirements'
|
1329
1313
|
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1::UsageRule, decorator: Google::Apis::ServiceusageV1::UsageRule::Representation
|
1330
1314
|
|
1331
|
-
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceIdentity::Representation
|
1332
|
-
|
1333
1315
|
end
|
1334
1316
|
end
|
1335
1317
|
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201021'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -311,7 +311,8 @@ module Google
|
|
311
311
|
class AuthenticationRule
|
312
312
|
include Google::Apis::Core::Hashable
|
313
313
|
|
314
|
-
# If true, the service accepts API keys without any other credential.
|
314
|
+
# If true, the service accepts API keys without any other credential. This flag
|
315
|
+
# only applies to HTTP and gRPC requests.
|
315
316
|
# Corresponds to the JSON property `allowWithoutCredential`
|
316
317
|
# @return [Boolean]
|
317
318
|
attr_accessor :allow_without_credential
|
@@ -736,7 +737,7 @@ module Google
|
|
736
737
|
# context.OriginContext The above specifies that all methods in the API request `
|
737
738
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
738
739
|
# Available context types are defined in package `google.rpc.context`. This also
|
739
|
-
# provides mechanism to
|
740
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
740
741
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
741
742
|
# For example, list any service specific protobuf types that can appear in grpc
|
742
743
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -1429,10 +1430,7 @@ module Google
|
|
1429
1430
|
# @return [Google::Apis::ServiceusageV1beta1::Billing]
|
1430
1431
|
attr_accessor :billing
|
1431
1432
|
|
1432
|
-
#
|
1433
|
-
# the interpretation of the service configuration. For example, certain features
|
1434
|
-
# are enabled by default for certain config versions. The latest config version
|
1435
|
-
# is `3`.
|
1433
|
+
# This field is obsolete. Its value must be set to `3`.
|
1436
1434
|
# Corresponds to the JSON property `configVersion`
|
1437
1435
|
# @return [Fixnum]
|
1438
1436
|
attr_accessor :config_version
|
@@ -1442,7 +1440,7 @@ module Google
|
|
1442
1440
|
# context.OriginContext The above specifies that all methods in the API request `
|
1443
1441
|
# google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
|
1444
1442
|
# Available context types are defined in package `google.rpc.context`. This also
|
1445
|
-
# provides mechanism to
|
1443
|
+
# provides mechanism to allowlist any protobuf message extension that can be
|
1446
1444
|
# sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
|
1447
1445
|
# For example, list any service specific protobuf types that can appear in grpc
|
1448
1446
|
# metadata as follows in your yaml file: Example: context: rules: - selector: "
|
@@ -1697,44 +1695,6 @@ module Google
|
|
1697
1695
|
end
|
1698
1696
|
end
|
1699
1697
|
|
1700
|
-
# The per-product per-project service identity for a service. Use this field to
|
1701
|
-
# configure per-product per-project service identity. Example of a service
|
1702
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
1703
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
1704
|
-
# as the identity of Cloud XXX to access resources"
|
1705
|
-
class GoogleApiServiceIdentity
|
1706
|
-
include Google::Apis::Core::Hashable
|
1707
|
-
|
1708
|
-
# Optional. A user-specified opaque description of the service account. Must be
|
1709
|
-
# less than or equal to 256 UTF-8 bytes.
|
1710
|
-
# Corresponds to the JSON property `description`
|
1711
|
-
# @return [String]
|
1712
|
-
attr_accessor :description
|
1713
|
-
|
1714
|
-
# Optional. A user-specified name for the service account. Must be less than or
|
1715
|
-
# equal to 100 UTF-8 bytes.
|
1716
|
-
# Corresponds to the JSON property `displayName`
|
1717
|
-
# @return [String]
|
1718
|
-
attr_accessor :display_name
|
1719
|
-
|
1720
|
-
# A service account project that hosts the service accounts. An example name
|
1721
|
-
# would be: `projects/123456789`
|
1722
|
-
# Corresponds to the JSON property `serviceAccountParent`
|
1723
|
-
# @return [String]
|
1724
|
-
attr_accessor :service_account_parent
|
1725
|
-
|
1726
|
-
def initialize(**args)
|
1727
|
-
update!(**args)
|
1728
|
-
end
|
1729
|
-
|
1730
|
-
# Update properties of this object
|
1731
|
-
def update!(**args)
|
1732
|
-
@description = args[:description] if args.key?(:description)
|
1733
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
1734
|
-
@service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
|
1735
|
-
end
|
1736
|
-
end
|
1737
|
-
|
1738
1698
|
# The operation metadata returned for the batchend services operation.
|
1739
1699
|
class GoogleApiServiceusageV1OperationMetadata
|
1740
1700
|
include Google::Apis::Core::Hashable
|
@@ -2162,13 +2122,6 @@ module Google
|
|
2162
2122
|
# @return [Array<Google::Apis::ServiceusageV1beta1::HttpRule>]
|
2163
2123
|
attr_accessor :additional_bindings
|
2164
2124
|
|
2165
|
-
# When this flag is set to true, HTTP requests will be allowed to invoke a half-
|
2166
|
-
# duplex streaming method.
|
2167
|
-
# Corresponds to the JSON property `allowHalfDuplex`
|
2168
|
-
# @return [Boolean]
|
2169
|
-
attr_accessor :allow_half_duplex
|
2170
|
-
alias_method :allow_half_duplex?, :allow_half_duplex
|
2171
|
-
|
2172
2125
|
# The name of the request field whose value is mapped to the HTTP request body,
|
2173
2126
|
# or `*` for mapping all request fields not captured by the path pattern to the
|
2174
2127
|
# HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
|
@@ -2228,7 +2181,6 @@ module Google
|
|
2228
2181
|
# Update properties of this object
|
2229
2182
|
def update!(**args)
|
2230
2183
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
2231
|
-
@allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
|
2232
2184
|
@body = args[:body] if args.key?(:body)
|
2233
2185
|
@custom = args[:custom] if args.key?(:custom)
|
2234
2186
|
@delete = args[:delete] if args.key?(:delete)
|
@@ -2241,6 +2193,36 @@ module Google
|
|
2241
2193
|
end
|
2242
2194
|
end
|
2243
2195
|
|
2196
|
+
# Request message for ImportAdminOverrides
|
2197
|
+
class ImportAdminOverridesRequest
|
2198
|
+
include Google::Apis::Core::Hashable
|
2199
|
+
|
2200
|
+
# Whether to force the creation of the quota overrides. If creating an override
|
2201
|
+
# would cause the effective quota for the consumer to decrease by more than 10
|
2202
|
+
# percent, the call is rejected, as a safety measure to avoid accidentally
|
2203
|
+
# decreasing quota too quickly. Setting the force parameter to true ignores this
|
2204
|
+
# restriction.
|
2205
|
+
# Corresponds to the JSON property `force`
|
2206
|
+
# @return [Boolean]
|
2207
|
+
attr_accessor :force
|
2208
|
+
alias_method :force?, :force
|
2209
|
+
|
2210
|
+
# Import data embedded in the request message
|
2211
|
+
# Corresponds to the JSON property `inlineSource`
|
2212
|
+
# @return [Google::Apis::ServiceusageV1beta1::OverrideInlineSource]
|
2213
|
+
attr_accessor :inline_source
|
2214
|
+
|
2215
|
+
def initialize(**args)
|
2216
|
+
update!(**args)
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
# Update properties of this object
|
2220
|
+
def update!(**args)
|
2221
|
+
@force = args[:force] if args.key?(:force)
|
2222
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
2223
|
+
end
|
2224
|
+
end
|
2225
|
+
|
2244
2226
|
# Response message for ImportAdminOverrides
|
2245
2227
|
class ImportAdminOverridesResponse
|
2246
2228
|
include Google::Apis::Core::Hashable
|
@@ -4055,15 +4037,6 @@ module Google
|
|
4055
4037
|
# @return [Array<Google::Apis::ServiceusageV1beta1::UsageRule>]
|
4056
4038
|
attr_accessor :rules
|
4057
4039
|
|
4058
|
-
# The per-product per-project service identity for a service. Use this field to
|
4059
|
-
# configure per-product per-project service identity. Example of a service
|
4060
|
-
# identity configuration. usage: service_identity: - service_account_parent: "
|
4061
|
-
# projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
|
4062
|
-
# as the identity of Cloud XXX to access resources"
|
4063
|
-
# Corresponds to the JSON property `serviceIdentity`
|
4064
|
-
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity]
|
4065
|
-
attr_accessor :service_identity
|
4066
|
-
|
4067
4040
|
def initialize(**args)
|
4068
4041
|
update!(**args)
|
4069
4042
|
end
|
@@ -4073,7 +4046,6 @@ module Google
|
|
4073
4046
|
@producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
|
4074
4047
|
@requirements = args[:requirements] if args.key?(:requirements)
|
4075
4048
|
@rules = args[:rules] if args.key?(:rules)
|
4076
|
-
@service_identity = args[:service_identity] if args.key?(:service_identity)
|
4077
4049
|
end
|
4078
4050
|
end
|
4079
4051
|
|
@@ -238,12 +238,6 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
-
class GoogleApiServiceIdentity
|
242
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
-
|
244
|
-
include Google::Apis::Core::JsonObjectSupport
|
245
|
-
end
|
246
|
-
|
247
241
|
class GoogleApiServiceusageV1OperationMetadata
|
248
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
243
|
|
@@ -286,6 +280,12 @@ module Google
|
|
286
280
|
include Google::Apis::Core::JsonObjectSupport
|
287
281
|
end
|
288
282
|
|
283
|
+
class ImportAdminOverridesRequest
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
289
|
class ImportAdminOverridesResponse
|
290
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
291
|
|
@@ -950,15 +950,6 @@ module Google
|
|
950
950
|
end
|
951
951
|
end
|
952
952
|
|
953
|
-
class GoogleApiServiceIdentity
|
954
|
-
# @private
|
955
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
956
|
-
property :description, as: 'description'
|
957
|
-
property :display_name, as: 'displayName'
|
958
|
-
property :service_account_parent, as: 'serviceAccountParent'
|
959
|
-
end
|
960
|
-
end
|
961
|
-
|
962
953
|
class GoogleApiServiceusageV1OperationMetadata
|
963
954
|
# @private
|
964
955
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1032,7 +1023,6 @@ module Google
|
|
1032
1023
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1033
1024
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceusageV1beta1::HttpRule, decorator: Google::Apis::ServiceusageV1beta1::HttpRule::Representation
|
1034
1025
|
|
1035
|
-
property :allow_half_duplex, as: 'allowHalfDuplex'
|
1036
1026
|
property :body, as: 'body'
|
1037
1027
|
property :custom, as: 'custom', class: Google::Apis::ServiceusageV1beta1::CustomHttpPattern, decorator: Google::Apis::ServiceusageV1beta1::CustomHttpPattern::Representation
|
1038
1028
|
|
@@ -1046,6 +1036,15 @@ module Google
|
|
1046
1036
|
end
|
1047
1037
|
end
|
1048
1038
|
|
1039
|
+
class ImportAdminOverridesRequest
|
1040
|
+
# @private
|
1041
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1042
|
+
property :force, as: 'force'
|
1043
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::ServiceusageV1beta1::OverrideInlineSource, decorator: Google::Apis::ServiceusageV1beta1::OverrideInlineSource::Representation
|
1044
|
+
|
1045
|
+
end
|
1046
|
+
end
|
1047
|
+
|
1049
1048
|
class ImportAdminOverridesResponse
|
1050
1049
|
# @private
|
1051
1050
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1479,8 +1478,6 @@ module Google
|
|
1479
1478
|
collection :requirements, as: 'requirements'
|
1480
1479
|
collection :rules, as: 'rules', class: Google::Apis::ServiceusageV1beta1::UsageRule, decorator: Google::Apis::ServiceusageV1beta1::UsageRule::Representation
|
1481
1480
|
|
1482
|
-
property :service_identity, as: 'serviceIdentity', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceIdentity::Representation
|
1483
|
-
|
1484
1481
|
end
|
1485
1482
|
end
|
1486
1483
|
|
@@ -389,6 +389,42 @@ module Google
|
|
389
389
|
execute_or_queue_command(command, &block)
|
390
390
|
end
|
391
391
|
|
392
|
+
# Create or update multiple admin overrides atomically, all on the same consumer,
|
393
|
+
# but on many different metrics or limits. The name field in the quota override
|
394
|
+
# message should not be set.
|
395
|
+
# @param [String] parent
|
396
|
+
# The resource name of the consumer. An example name would be: `projects/123/
|
397
|
+
# services/compute.googleapis.com`
|
398
|
+
# @param [Google::Apis::ServiceusageV1beta1::ImportAdminOverridesRequest] import_admin_overrides_request_object
|
399
|
+
# @param [String] fields
|
400
|
+
# Selector specifying which fields to include in a partial response.
|
401
|
+
# @param [String] quota_user
|
402
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
403
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
404
|
+
# @param [Google::Apis::RequestOptions] options
|
405
|
+
# Request-specific options
|
406
|
+
#
|
407
|
+
# @yield [result, err] Result & error if block supplied
|
408
|
+
# @yieldparam result [Google::Apis::ServiceusageV1beta1::Operation] parsed result object
|
409
|
+
# @yieldparam err [StandardError] error object if request failed
|
410
|
+
#
|
411
|
+
# @return [Google::Apis::ServiceusageV1beta1::Operation]
|
412
|
+
#
|
413
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
414
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
415
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
416
|
+
def import_consumer_quota_metric_admin_overrides(parent, import_admin_overrides_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
417
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/consumerQuotaMetrics:importAdminOverrides', options)
|
418
|
+
command.request_representation = Google::Apis::ServiceusageV1beta1::ImportAdminOverridesRequest::Representation
|
419
|
+
command.request_object = import_admin_overrides_request_object
|
420
|
+
command.response_representation = Google::Apis::ServiceusageV1beta1::Operation::Representation
|
421
|
+
command.response_class = Google::Apis::ServiceusageV1beta1::Operation
|
422
|
+
command.params['parent'] = parent unless parent.nil?
|
423
|
+
command.query['fields'] = fields unless fields.nil?
|
424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
425
|
+
execute_or_queue_command(command, &block)
|
426
|
+
end
|
427
|
+
|
392
428
|
# Create or update multiple consumer overrides atomically, all on the same
|
393
429
|
# consumer, but on many different metrics or limits. The name field in the quota
|
394
430
|
# override message should not be set.
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20201028'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|