google-api-client 0.45.0 → 0.47.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/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +600 -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.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_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/accesscontextmanager_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/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/adexchangebuyer_v1_4.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/admin_directory_v1.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_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- 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/analyticsdata_v1alpha.rb +1 -1
- 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/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
- data/generated/google/apis/androidpublisher_v3.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/apigee_v1.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/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- 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/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_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/bigquery_v2.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 +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.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_v1beta1.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/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -1
- data/generated/google/apis/chat_v1.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/civicinfo_v2.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/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_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/cloudfunctions_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/cloudidentity_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_v1beta1.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/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_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/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.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/compute_alpha.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_beta.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_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +351 -61
- data/generated/google/apis/compute_v1/representations.rb +57 -1
- data/generated/google/apis/compute_v1/service.rb +739 -133
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +510 -1217
- data/generated/google/apis/content_v2/service.rb +373 -646
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -4
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +38 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +20 -8
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- 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_v1beta2.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/dfareporting_v3_3.rb +1 -1
- 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_4.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/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +663 -208
- data/generated/google/apis/dialogflow_v2/representations.rb +297 -87
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +670 -216
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +297 -87
- data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +779 -211
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +349 -90
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +21 -18
- data/generated/google/apis/dlp_v2.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/dns_v1.rb +2 -2
- 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_v1beta2.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/documentai_v1beta3.rb +36 -0
- 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/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
- data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +329 -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/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_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_v1beta.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/genomics_v2alpha1.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/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.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_v1beta1.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/jobs_v2.rb +1 -1
- 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_v3.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_v3p1beta1.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/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.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/localservices_v1.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/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +102 -60
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.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_v1alpha1.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_v1beta1.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/memcache_v1beta2.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/ml_v1.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/monitoring_v3.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/oauth2_v2.rb +40 -0
- 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/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +48 -47
- data/generated/google/apis/people_v1/service.rb +12 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
- data/generated/google/apis/realtimebidding_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/recommender_v1.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_v1beta1.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/redis_v1.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_v1beta1.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/remotebuildexecution_v1.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_v1alpha.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_v2.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/run_v1.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/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -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/securitycenter_v1.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_v1beta1.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_v1beta2.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/serviceconsumermanagement_v1.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_v1beta1.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/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +33 -4
- data/generated/google/apis/servicecontrol_v1/representations.rb +4 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +18 -2
- data/generated/google/apis/servicecontrol_v2/representations.rb +2 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +4 -25
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_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_v1beta.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/serviceusage_v1.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_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +5 -63
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -18
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +174 -84
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +132 -57
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -17
- data/generated/google/apis/storage_v1.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/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +50 -29
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.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/tagmanager_v2.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/testing_v1.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/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.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_v1alpha1.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/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.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/videointelligence_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_v1beta2.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_v1p1beta1.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_v1p2beta1.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_v1p3beta1.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/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.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 +3 -3
- 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 +42 -16
- 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
- data/generated/google/apis/safebrowsing_v4.rb +0 -35
- data/generated/google/apis/safebrowsing_v4/classes.rb +0 -909
- data/generated/google/apis/safebrowsing_v4/representations.rb +0 -445
- data/generated/google/apis/safebrowsing_v4/service.rb +0 -286
@@ -197,6 +197,183 @@ module Google
|
|
197
197
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
198
198
|
execute_or_queue_command(command, &block)
|
199
199
|
end
|
200
|
+
|
201
|
+
# Adds a public SSH key to an environment, allowing clients with the
|
202
|
+
# corresponding private key to connect to that environment via SSH. If a key
|
203
|
+
# with the same content already exists, this will error with ALREADY_EXISTS.
|
204
|
+
# @param [String] environment
|
205
|
+
# Environment this key should be added to, e.g. `users/me/environments/default`.
|
206
|
+
# @param [Google::Apis::CloudshellV1::AddPublicKeyRequest] add_public_key_request_object
|
207
|
+
# @param [String] fields
|
208
|
+
# Selector specifying which fields to include in a partial response.
|
209
|
+
# @param [String] quota_user
|
210
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
211
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
212
|
+
# @param [Google::Apis::RequestOptions] options
|
213
|
+
# Request-specific options
|
214
|
+
#
|
215
|
+
# @yield [result, err] Result & error if block supplied
|
216
|
+
# @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
|
217
|
+
# @yieldparam err [StandardError] error object if request failed
|
218
|
+
#
|
219
|
+
# @return [Google::Apis::CloudshellV1::Operation]
|
220
|
+
#
|
221
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
222
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
223
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
224
|
+
def add_environment_public_key(environment, add_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
225
|
+
command = make_simple_command(:post, 'v1/{+environment}:addPublicKey', options)
|
226
|
+
command.request_representation = Google::Apis::CloudshellV1::AddPublicKeyRequest::Representation
|
227
|
+
command.request_object = add_public_key_request_object
|
228
|
+
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
|
229
|
+
command.response_class = Google::Apis::CloudshellV1::Operation
|
230
|
+
command.params['environment'] = environment unless environment.nil?
|
231
|
+
command.query['fields'] = fields unless fields.nil?
|
232
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
233
|
+
execute_or_queue_command(command, &block)
|
234
|
+
end
|
235
|
+
|
236
|
+
# Sends OAuth credentials to a running environment on behalf of a user. When
|
237
|
+
# this completes, the environment will be authorized to run various Google Cloud
|
238
|
+
# command line tools without requiring the user to manually authenticate.
|
239
|
+
# @param [String] name
|
240
|
+
# Name of the resource that should receive the credentials, for example `users/
|
241
|
+
# me/environments/default` or `users/someone@example.com/environments/default`.
|
242
|
+
# @param [Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest] authorize_environment_request_object
|
243
|
+
# @param [String] fields
|
244
|
+
# Selector specifying which fields to include in a partial response.
|
245
|
+
# @param [String] quota_user
|
246
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
247
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
248
|
+
# @param [Google::Apis::RequestOptions] options
|
249
|
+
# Request-specific options
|
250
|
+
#
|
251
|
+
# @yield [result, err] Result & error if block supplied
|
252
|
+
# @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
|
253
|
+
# @yieldparam err [StandardError] error object if request failed
|
254
|
+
#
|
255
|
+
# @return [Google::Apis::CloudshellV1::Operation]
|
256
|
+
#
|
257
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
258
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
259
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
260
|
+
def authorize_environment(name, authorize_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
261
|
+
command = make_simple_command(:post, 'v1/{+name}:authorize', options)
|
262
|
+
command.request_representation = Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest::Representation
|
263
|
+
command.request_object = authorize_environment_request_object
|
264
|
+
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
|
265
|
+
command.response_class = Google::Apis::CloudshellV1::Operation
|
266
|
+
command.params['name'] = name unless name.nil?
|
267
|
+
command.query['fields'] = fields unless fields.nil?
|
268
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
269
|
+
execute_or_queue_command(command, &block)
|
270
|
+
end
|
271
|
+
|
272
|
+
# Gets an environment. Returns NOT_FOUND if the environment does not exist.
|
273
|
+
# @param [String] name
|
274
|
+
# Required. Name of the requested resource, for example `users/me/environments/
|
275
|
+
# default` or `users/someone@example.com/environments/default`.
|
276
|
+
# @param [String] fields
|
277
|
+
# Selector specifying which fields to include in a partial response.
|
278
|
+
# @param [String] quota_user
|
279
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
280
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
281
|
+
# @param [Google::Apis::RequestOptions] options
|
282
|
+
# Request-specific options
|
283
|
+
#
|
284
|
+
# @yield [result, err] Result & error if block supplied
|
285
|
+
# @yieldparam result [Google::Apis::CloudshellV1::Environment] parsed result object
|
286
|
+
# @yieldparam err [StandardError] error object if request failed
|
287
|
+
#
|
288
|
+
# @return [Google::Apis::CloudshellV1::Environment]
|
289
|
+
#
|
290
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
291
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
292
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
293
|
+
def get_user_environment(name, fields: nil, quota_user: nil, options: nil, &block)
|
294
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
295
|
+
command.response_representation = Google::Apis::CloudshellV1::Environment::Representation
|
296
|
+
command.response_class = Google::Apis::CloudshellV1::Environment
|
297
|
+
command.params['name'] = name unless name.nil?
|
298
|
+
command.query['fields'] = fields unless fields.nil?
|
299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
300
|
+
execute_or_queue_command(command, &block)
|
301
|
+
end
|
302
|
+
|
303
|
+
# Removes a public SSH key from an environment. Clients will no longer be able
|
304
|
+
# to connect to the environment using the corresponding private key. If a key
|
305
|
+
# with the same content is not present, this will error with NOT_FOUND.
|
306
|
+
# @param [String] environment
|
307
|
+
# Environment this key should be removed from, e.g. `users/me/environments/
|
308
|
+
# default`.
|
309
|
+
# @param [Google::Apis::CloudshellV1::RemovePublicKeyRequest] remove_public_key_request_object
|
310
|
+
# @param [String] fields
|
311
|
+
# Selector specifying which fields to include in a partial response.
|
312
|
+
# @param [String] quota_user
|
313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
315
|
+
# @param [Google::Apis::RequestOptions] options
|
316
|
+
# Request-specific options
|
317
|
+
#
|
318
|
+
# @yield [result, err] Result & error if block supplied
|
319
|
+
# @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
|
320
|
+
# @yieldparam err [StandardError] error object if request failed
|
321
|
+
#
|
322
|
+
# @return [Google::Apis::CloudshellV1::Operation]
|
323
|
+
#
|
324
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
325
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
326
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
327
|
+
def remove_environment_public_key(environment, remove_public_key_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
328
|
+
command = make_simple_command(:post, 'v1/{+environment}:removePublicKey', options)
|
329
|
+
command.request_representation = Google::Apis::CloudshellV1::RemovePublicKeyRequest::Representation
|
330
|
+
command.request_object = remove_public_key_request_object
|
331
|
+
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
|
332
|
+
command.response_class = Google::Apis::CloudshellV1::Operation
|
333
|
+
command.params['environment'] = environment unless environment.nil?
|
334
|
+
command.query['fields'] = fields unless fields.nil?
|
335
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
336
|
+
execute_or_queue_command(command, &block)
|
337
|
+
end
|
338
|
+
|
339
|
+
# Starts an existing environment, allowing clients to connect to it. The
|
340
|
+
# returned operation will contain an instance of StartEnvironmentMetadata in its
|
341
|
+
# metadata field. Users can wait for the environment to start by polling this
|
342
|
+
# operation via GetOperation. Once the environment has finished starting and is
|
343
|
+
# ready to accept connections, the operation will contain a
|
344
|
+
# StartEnvironmentResponse in its response field.
|
345
|
+
# @param [String] name
|
346
|
+
# Name of the resource that should be started, for example `users/me/
|
347
|
+
# environments/default` or `users/someone@example.com/environments/default`.
|
348
|
+
# @param [Google::Apis::CloudshellV1::StartEnvironmentRequest] start_environment_request_object
|
349
|
+
# @param [String] fields
|
350
|
+
# Selector specifying which fields to include in a partial response.
|
351
|
+
# @param [String] quota_user
|
352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
354
|
+
# @param [Google::Apis::RequestOptions] options
|
355
|
+
# Request-specific options
|
356
|
+
#
|
357
|
+
# @yield [result, err] Result & error if block supplied
|
358
|
+
# @yieldparam result [Google::Apis::CloudshellV1::Operation] parsed result object
|
359
|
+
# @yieldparam err [StandardError] error object if request failed
|
360
|
+
#
|
361
|
+
# @return [Google::Apis::CloudshellV1::Operation]
|
362
|
+
#
|
363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
366
|
+
def start_environment(name, start_environment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
367
|
+
command = make_simple_command(:post, 'v1/{+name}:start', options)
|
368
|
+
command.request_representation = Google::Apis::CloudshellV1::StartEnvironmentRequest::Representation
|
369
|
+
command.request_object = start_environment_request_object
|
370
|
+
command.response_representation = Google::Apis::CloudshellV1::Operation::Representation
|
371
|
+
command.response_class = Google::Apis::CloudshellV1::Operation
|
372
|
+
command.params['name'] = name unless name.nil?
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
375
|
+
execute_or_queue_command(command, &block)
|
376
|
+
end
|
200
377
|
|
201
378
|
protected
|
202
379
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201002'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -662,9 +662,8 @@ module Google
|
|
662
662
|
# Apache Airflow configuration property names must be written in [snake_case](
|
663
663
|
# https://en.wikipedia.org/wiki/Snake_case). Property values can contain any
|
664
664
|
# character, and can be written in any lower/upper case format. Certain Apache
|
665
|
-
# Airflow configuration property values are [
|
666
|
-
#
|
667
|
-
# cannot be overridden.
|
665
|
+
# Airflow configuration property values are [blocked](/composer/docs/concepts/
|
666
|
+
# airflow-configurations), and cannot be overridden.
|
668
667
|
# Corresponds to the JSON property `airflowConfigOverrides`
|
669
668
|
# @return [Hash<String,String>]
|
670
669
|
attr_accessor :airflow_config_overrides
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201002'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -682,7 +682,8 @@ module Google
|
|
682
682
|
attr_accessor :cloud_sql_ipv4_cidr_block
|
683
683
|
|
684
684
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
685
|
-
# this field is true, `use_ip_aliases` must be
|
685
|
+
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
686
|
+
# true.
|
686
687
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
687
688
|
# @return [Boolean]
|
688
689
|
attr_accessor :enable_private_environment
|
@@ -733,9 +734,8 @@ module Google
|
|
733
734
|
# Apache Airflow configuration property names must be written in [snake_case](
|
734
735
|
# https://en.wikipedia.org/wiki/Snake_case). Property values can contain any
|
735
736
|
# character, and can be written in any lower/upper case format. Certain Apache
|
736
|
-
# Airflow configuration property values are [
|
737
|
-
#
|
738
|
-
# cannot be overridden.
|
737
|
+
# Airflow configuration property values are [blocked](/composer/docs/concepts/
|
738
|
+
# airflow-configurations), and cannot be overridden.
|
739
739
|
# Corresponds to the JSON property `airflowConfigOverrides`
|
740
740
|
# @return [Hash<String,String>]
|
741
741
|
attr_accessor :airflow_config_overrides
|
@@ -210,49 +210,51 @@ module Google
|
|
210
210
|
# 14, the `updateMask` would contain the path "config.softwareConfig.
|
211
211
|
# pypiPackages", and the patch environment would be the following: ` "config":` "
|
212
212
|
# softwareConfig":` "pypiPackages":` "botocore":"==1.7.14" ` ` ` ` *Note:* Only
|
213
|
-
# the following fields can be updated: *
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
213
|
+
# the following fields can be updated: * config.softwareConfig.pypiPackages *
|
214
|
+
# Replace all custom custom PyPI packages. If a replacement package map is not
|
215
|
+
# included in `environment`, all custom PyPI packages are cleared. It is an
|
216
|
+
# error to provide both this mask and a mask specifying an individual package. *
|
217
|
+
# config.softwareConfig.pypiPackages.packagename * Update the custom PyPI
|
218
218
|
# package packagename, preserving other packages. To delete the package, include
|
219
219
|
# it in `updateMask`, and omit the mapping for it in `environment.config.
|
220
220
|
# softwareConfig.pypiPackages`. It is an error to provide both a mask of this
|
221
|
-
# form and the "config.softwareConfig.pypiPackages" mask. labels Replace all
|
221
|
+
# form and the "config.softwareConfig.pypiPackages" mask. * labels * Replace all
|
222
222
|
# environment labels. If a replacement labels map is not included in `
|
223
223
|
# environment`, all labels are cleared. It is an error to provide both this mask
|
224
|
-
# and a mask specifying one or more individual labels. labels.labelName Set
|
225
|
-
# label named labelName, while preserving other labels. To delete the label,
|
224
|
+
# and a mask specifying one or more individual labels. * labels.labelName * Set
|
225
|
+
# the label named labelName, while preserving other labels. To delete the label,
|
226
226
|
# include it in `updateMask` and omit its mapping in `environment.labels`. It is
|
227
|
-
# an error to provide both a mask of this form and the "labels" mask. config.
|
228
|
-
# nodeCount Horizontally scale the number of nodes in the environment. An
|
227
|
+
# an error to provide both a mask of this form and the "labels" mask. * config.
|
228
|
+
# nodeCount * Horizontally scale the number of nodes in the environment. An
|
229
229
|
# integer greater than or equal to 3 must be provided in the `config.nodeCount`
|
230
|
-
# field. config.webServerNetworkAccessControl Replace the environment's
|
231
|
-
# WebServerNetworkAccessControl. config.softwareConfig.
|
232
|
-
# Replace all Apache Airflow config overrides. If a
|
233
|
-
# map is not included in `environment`, all config
|
230
|
+
# field. * config.webServerNetworkAccessControl * Replace the environment's
|
231
|
+
# current WebServerNetworkAccessControl. * config.softwareConfig.
|
232
|
+
# airflowConfigOverrides * Replace all Apache Airflow config overrides. If a
|
233
|
+
# replacement config overrides map is not included in `environment`, all config
|
234
|
+
# overrides are cleared. It is an error to provide both this mask and a mask
|
235
|
+
# specifying one or more individual config overrides. * config.softwareConfig.
|
236
|
+
# airflowConfigOverrides.section- name * Override the Apache Airflow config
|
237
|
+
# property name in the section named section, preserving other properties. To
|
238
|
+
# delete the property override, include it in `updateMask` and omit its mapping
|
239
|
+
# in `environment.config.softwareConfig.airflowConfigOverrides`. It is an error
|
240
|
+
# to provide both a mask of this form and the "config.softwareConfig.
|
241
|
+
# airflowConfigOverrides" mask. * config.softwareConfig.envVariables * Replace
|
242
|
+
# all environment variables. If a replacement environment variable map is not
|
243
|
+
# included in `environment`, all custom environment variables are cleared. It is
|
234
244
|
# an error to provide both this mask and a mask specifying one or more
|
235
|
-
# individual
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
# config.
|
242
|
-
#
|
243
|
-
#
|
244
|
-
#
|
245
|
-
#
|
246
|
-
#
|
247
|
-
#
|
248
|
-
# effect a version downgrade and must match the current image version's Composer
|
249
|
-
# major version and Airflow major and minor versions. Consult the Cloud Composer
|
250
|
-
# Version List for valid values. config.databaseConfig.machineType Cloud SQL
|
251
|
-
# machine type used by Airflow database. It has to be one of: db-n1-standard-2,
|
252
|
-
# db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. config.
|
253
|
-
# webServerConfig.machineType Machine type on which Airflow web server is
|
254
|
-
# running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4
|
255
|
-
# or composer-n1-webserver-8.
|
245
|
+
# individual environment variables. * config.softwareConfig.imageVersion *
|
246
|
+
# Upgrade the version of the environment in-place. Refer to `SoftwareConfig.
|
247
|
+
# image_version` for information on how to format the new image version.
|
248
|
+
# Additionally, the new image version cannot effect a version downgrade and must
|
249
|
+
# match the current image version's Composer major version and Airflow major and
|
250
|
+
# minor versions. Consult the Cloud Composer Version List for valid values. *
|
251
|
+
# config.databaseConfig.machineType * Cloud SQL machine type used by Airflow
|
252
|
+
# database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-
|
253
|
+
# standard-8 or db-n1-standard-16. * config.webServerConfig.machineType *
|
254
|
+
# Machine type on which Airflow web server is running. It has to be one of:
|
255
|
+
# composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. *
|
256
|
+
# config.maintenanceWindow * Maintenance window during which Cloud Composer
|
257
|
+
# components may be under maintenance.
|
256
258
|
# @param [String] fields
|
257
259
|
# Selector specifying which fields to include in a partial response.
|
258
260
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200910'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1195,13 +1195,6 @@ module Google
|
|
1195
1195
|
# @return [Fixnum]
|
1196
1196
|
attr_accessor :maintenance_freeze_duration_hours
|
1197
1197
|
|
1198
|
-
# Specifies whether this VM may be a stable fleet VM. Setting this to "Periodic"
|
1199
|
-
# designates this VM as a Stable Fleet VM.
|
1200
|
-
# See go/stable-fleet-ug for more details.
|
1201
|
-
# Corresponds to the JSON property `maintenanceInterval`
|
1202
|
-
# @return [String]
|
1203
|
-
attr_accessor :maintenance_interval
|
1204
|
-
|
1205
1198
|
# Minimum cpu platform the reservation.
|
1206
1199
|
# Corresponds to the JSON property `minCpuPlatform`
|
1207
1200
|
# @return [String]
|
@@ -1218,7 +1211,6 @@ module Google
|
|
1218
1211
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
1219
1212
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
1220
1213
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
1221
|
-
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
1222
1214
|
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
|
1223
1215
|
end
|
1224
1216
|
end
|
@@ -1387,6 +1379,13 @@ module Google
|
|
1387
1379
|
# @return [String]
|
1388
1380
|
attr_accessor :type
|
1389
1381
|
|
1382
|
+
# [Output Only] A list of user provided licenses. It represents a list of URLs
|
1383
|
+
# to the license resource. Unlike regular licenses, user provided licenses can
|
1384
|
+
# be modified after the disk is created.
|
1385
|
+
# Corresponds to the JSON property `userLicenses`
|
1386
|
+
# @return [Array<String>]
|
1387
|
+
attr_accessor :user_licenses
|
1388
|
+
|
1390
1389
|
def initialize(**args)
|
1391
1390
|
update!(**args)
|
1392
1391
|
end
|
@@ -1409,6 +1408,7 @@ module Google
|
|
1409
1408
|
@shielded_instance_initial_state = args[:shielded_instance_initial_state] if args.key?(:shielded_instance_initial_state)
|
1410
1409
|
@source = args[:source] if args.key?(:source)
|
1411
1410
|
@type = args[:type] if args.key?(:type)
|
1411
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
1412
1412
|
end
|
1413
1413
|
end
|
1414
1414
|
|
@@ -2377,13 +2377,13 @@ module Google
|
|
2377
2377
|
class AutoscalingPolicyCpuUtilization
|
2378
2378
|
include Google::Apis::Core::Hashable
|
2379
2379
|
|
2380
|
-
# Indicates
|
2381
|
-
#
|
2382
|
-
#
|
2383
|
-
#
|
2384
|
-
#
|
2385
|
-
#
|
2386
|
-
#
|
2380
|
+
# Indicates whether predictive autoscaling based on CPU metric is enabled. Valid
|
2381
|
+
# values are:
|
2382
|
+
# * NONE (default). No predictive method is used. The autoscaler scales the
|
2383
|
+
# group to meet current demand based on real-time metrics. *
|
2384
|
+
# OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by
|
2385
|
+
# monitoring daily and weekly load patterns and scaling out ahead of anticipated
|
2386
|
+
# demand.
|
2387
2387
|
# Corresponds to the JSON property `predictiveMethod`
|
2388
2388
|
# @return [String]
|
2389
2389
|
attr_accessor :predictive_method
|
@@ -2471,9 +2471,9 @@ module Google
|
|
2471
2471
|
# The target value of the metric that autoscaler should maintain. This must be a
|
2472
2472
|
# positive value. A utilization metric scales number of virtual machines
|
2473
2473
|
# handling requests to increase or decrease proportionally to the metric.
|
2474
|
-
# For example, a good metric to use as a utilization_target is
|
2475
|
-
# googleapis.com/instance/network/received_bytes_count. The
|
2476
|
-
# to keep this value constant for each of the instances.
|
2474
|
+
# For example, a good metric to use as a utilization_target is https://www.
|
2475
|
+
# googleapis.com/compute/v1/instance/network/received_bytes_count. The
|
2476
|
+
# autoscaler will work to keep this value constant for each of the instances.
|
2477
2477
|
# Corresponds to the JSON property `utilizationTarget`
|
2478
2478
|
# @return [Float]
|
2479
2479
|
attr_accessor :utilization_target
|
@@ -2927,7 +2927,19 @@ module Google
|
|
2927
2927
|
# @return [Array<Google::Apis::ComputeAlpha::BackendBucketCdnPolicyBypassCacheOnRequestHeader>]
|
2928
2928
|
attr_accessor :bypass_cache_on_request_headers
|
2929
2929
|
|
2930
|
-
#
|
2930
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
2931
|
+
# values are:
|
2932
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
2933
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
2934
|
+
# and will require a full trip to the origin on every request, potentially
|
2935
|
+
# impacting performance and increasing load on the origin server.
|
2936
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
2937
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
2938
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
2939
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
2940
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
2941
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
2942
|
+
# content (including HTML), will not be cached.
|
2931
2943
|
# Corresponds to the JSON property `cacheMode`
|
2932
2944
|
# @return [String]
|
2933
2945
|
attr_accessor :cache_mode
|
@@ -2942,12 +2954,12 @@ module Google
|
|
2942
2954
|
|
2943
2955
|
# Specifies the default TTL for cached content served by this origin for
|
2944
2956
|
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
2945
|
-
# Setting a TTL of "0" means "always revalidate"
|
2946
|
-
#
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
#
|
2950
|
-
#
|
2957
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
2958
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
2959
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
2960
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
2961
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
2962
|
+
# defined TTL.
|
2951
2963
|
# Corresponds to the JSON property `defaultTtl`
|
2952
2964
|
# @return [Fixnum]
|
2953
2965
|
attr_accessor :default_ttl
|
@@ -2956,10 +2968,10 @@ module Google
|
|
2956
2968
|
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
2957
2969
|
# or an Expires header more than maxTTL seconds in the future will be capped at
|
2958
2970
|
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
2959
|
-
# directive.
|
2960
|
-
#
|
2961
|
-
#
|
2962
|
-
#
|
2971
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
2972
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
2973
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
2974
|
+
# before the defined TTL.
|
2963
2975
|
# Corresponds to the JSON property `maxTtl`
|
2964
2976
|
# @return [Fixnum]
|
2965
2977
|
attr_accessor :max_ttl
|
@@ -2970,8 +2982,8 @@ module Google
|
|
2970
2982
|
# default, Cloud CDN will apply the following default TTLs to these status codes:
|
2971
2983
|
# HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
|
2972
2984
|
# Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
|
2973
|
-
# Not Found),
|
2974
|
-
# be overridden in negative_caching_policy
|
2985
|
+
# Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
|
2986
|
+
# defaults can be overridden in negative_caching_policy
|
2975
2987
|
# Corresponds to the JSON property `negativeCaching`
|
2976
2988
|
# @return [Boolean]
|
2977
2989
|
attr_accessor :negative_caching
|
@@ -3001,7 +3013,7 @@ module Google
|
|
3001
3013
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
3002
3014
|
# day), which will allow stale content to be served up to this limit beyond the
|
3003
3015
|
# max-age (or s-max-age) of a cached response. The maximum allowed value is
|
3004
|
-
# 604800(1 week). Set this to zero (0) to disable serve-while-stale.
|
3016
|
+
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
3005
3017
|
# Corresponds to the JSON property `serveWhileStale`
|
3006
3018
|
# @return [Fixnum]
|
3007
3019
|
attr_accessor :serve_while_stale
|
@@ -3069,17 +3081,15 @@ module Google
|
|
3069
3081
|
include Google::Apis::Core::Hashable
|
3070
3082
|
|
3071
3083
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3072
|
-
# 308, 404, 405, 410,
|
3084
|
+
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
|
3073
3085
|
# cannot specify a status code more than once.
|
3074
3086
|
# Corresponds to the JSON property `code`
|
3075
3087
|
# @return [Fixnum]
|
3076
3088
|
attr_accessor :code
|
3077
3089
|
|
3078
3090
|
# The TTL (in seconds) to cache responses with the corresponding status code for.
|
3079
|
-
#
|
3080
|
-
#
|
3081
|
-
# that infrequently accessed objects may be evicted from the cache before the
|
3082
|
-
# defined TTL.
|
3091
|
+
# The maximum allowed value is 1800s (30 minutes), noting that infrequently
|
3092
|
+
# accessed objects may be evicted from the cache before the defined TTL.
|
3083
3093
|
# Corresponds to the JSON property `ttl`
|
3084
3094
|
# @return [Fixnum]
|
3085
3095
|
attr_accessor :ttl
|
@@ -3228,6 +3238,9 @@ module Google
|
|
3228
3238
|
class BackendService
|
3229
3239
|
include Google::Apis::Core::Hashable
|
3230
3240
|
|
3241
|
+
# Lifetime of cookies in seconds. Only applicable if the loadBalancingScheme is
|
3242
|
+
# EXTERNAL, INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED, the protocol is HTTP or
|
3243
|
+
# HTTPS, and the sessionAffinity is GENERATED_COOKIE, or HTTP_COOKIE.
|
3231
3244
|
# If set to 0, the cookie is non-persistent and lasts only until the end of the
|
3232
3245
|
# browser session (or equivalent). The maximum allowed value is one day (86,400).
|
3233
3246
|
# Not supported when the backend service is referenced by a URL map that is
|
@@ -3485,6 +3498,11 @@ module Google
|
|
3485
3498
|
# @return [String]
|
3486
3499
|
attr_accessor :session_affinity
|
3487
3500
|
|
3501
|
+
# Subsetting options to make L4 ILB support any number of backend instances
|
3502
|
+
# Corresponds to the JSON property `subsetting`
|
3503
|
+
# @return [Google::Apis::ComputeAlpha::Subsetting]
|
3504
|
+
attr_accessor :subsetting
|
3505
|
+
|
3488
3506
|
# The backend service timeout has a different meaning depending on the type of
|
3489
3507
|
# load balancer. For more information see, Backend service settings The default
|
3490
3508
|
# is 30 seconds.
|
@@ -3530,6 +3548,7 @@ module Google
|
|
3530
3548
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3531
3549
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
3532
3550
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
3551
|
+
@subsetting = args[:subsetting] if args.key?(:subsetting)
|
3533
3552
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
3534
3553
|
end
|
3535
3554
|
end
|
@@ -3674,7 +3693,19 @@ module Google
|
|
3674
3693
|
# @return [Google::Apis::ComputeAlpha::CacheKeyPolicy]
|
3675
3694
|
attr_accessor :cache_key_policy
|
3676
3695
|
|
3677
|
-
#
|
3696
|
+
# Specifies the cache setting for all responses from this backend. The possible
|
3697
|
+
# values are:
|
3698
|
+
# USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache
|
3699
|
+
# content. Responses without these headers will not be cached at Google's edge,
|
3700
|
+
# and will require a full trip to the origin on every request, potentially
|
3701
|
+
# impacting performance and increasing load on the origin server.
|
3702
|
+
# FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-
|
3703
|
+
# cache" directives in Cache-Control response headers. Warning: this may result
|
3704
|
+
# in Cloud CDN caching private, per-user (user identifiable) content.
|
3705
|
+
# CACHE_ALL_STATIC Automatically cache static content, including common image
|
3706
|
+
# formats, media (video and audio), and web assets (JavaScript and CSS).
|
3707
|
+
# Requests and responses that are marked as uncacheable, as well as dynamic
|
3708
|
+
# content (including HTML), will not be cached.
|
3678
3709
|
# Corresponds to the JSON property `cacheMode`
|
3679
3710
|
# @return [String]
|
3680
3711
|
attr_accessor :cache_mode
|
@@ -3689,12 +3720,12 @@ module Google
|
|
3689
3720
|
|
3690
3721
|
# Specifies the default TTL for cached content served by this origin for
|
3691
3722
|
# responses that do not have an existing valid TTL (max-age or s-max-age).
|
3692
|
-
# Setting a TTL of "0" means "always revalidate"
|
3693
|
-
#
|
3694
|
-
#
|
3695
|
-
#
|
3696
|
-
#
|
3697
|
-
#
|
3723
|
+
# Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot
|
3724
|
+
# be set to a value greater than that of maxTTL, but can be equal. When the
|
3725
|
+
# cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set
|
3726
|
+
# in all responses. The maximum allowed value is 31,622,400s (1 year), noting
|
3727
|
+
# that infrequently accessed objects may be evicted from the cache before the
|
3728
|
+
# defined TTL.
|
3698
3729
|
# Corresponds to the JSON property `defaultTtl`
|
3699
3730
|
# @return [Fixnum]
|
3700
3731
|
attr_accessor :default_ttl
|
@@ -3703,10 +3734,10 @@ module Google
|
|
3703
3734
|
# Cache directives that attempt to set a max-age or s-maxage higher than this,
|
3704
3735
|
# or an Expires header more than maxTTL seconds in the future will be capped at
|
3705
3736
|
# the value of maxTTL, as if it were the value of an s-maxage Cache-Control
|
3706
|
-
# directive.
|
3707
|
-
#
|
3708
|
-
#
|
3709
|
-
#
|
3737
|
+
# directive. Headers sent to the client will not be modified. Setting a TTL of "
|
3738
|
+
# 0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year)
|
3739
|
+
# , noting that infrequently accessed objects may be evicted from the cache
|
3740
|
+
# before the defined TTL.
|
3710
3741
|
# Corresponds to the JSON property `maxTtl`
|
3711
3742
|
# @return [Fixnum]
|
3712
3743
|
attr_accessor :max_ttl
|
@@ -3717,8 +3748,8 @@ module Google
|
|
3717
3748
|
# default, Cloud CDN will apply the following default TTLs to these status codes:
|
3718
3749
|
# HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not
|
3719
3750
|
# Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method
|
3720
|
-
# Not Found),
|
3721
|
-
# be overridden in negative_caching_policy
|
3751
|
+
# Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s These
|
3752
|
+
# defaults can be overridden in negative_caching_policy
|
3722
3753
|
# Corresponds to the JSON property `negativeCaching`
|
3723
3754
|
# @return [Boolean]
|
3724
3755
|
attr_accessor :negative_caching
|
@@ -3748,7 +3779,7 @@ module Google
|
|
3748
3779
|
# configured here will not be served. The default limit (max-stale) is 86400s (1
|
3749
3780
|
# day), which will allow stale content to be served up to this limit beyond the
|
3750
3781
|
# max-age (or s-max-age) of a cached response. The maximum allowed value is
|
3751
|
-
# 604800(1 week). Set this to zero (0) to disable serve-while-stale.
|
3782
|
+
# 604800 (1 week). Set this to zero (0) to disable serve-while-stale.
|
3752
3783
|
# Corresponds to the JSON property `serveWhileStale`
|
3753
3784
|
# @return [Fixnum]
|
3754
3785
|
attr_accessor :serve_while_stale
|
@@ -3817,17 +3848,15 @@ module Google
|
|
3817
3848
|
include Google::Apis::Core::Hashable
|
3818
3849
|
|
3819
3850
|
# The HTTP status code to define a TTL against. Only HTTP status codes 300, 301,
|
3820
|
-
# 308, 404, 405, 410,
|
3851
|
+
# 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you
|
3821
3852
|
# cannot specify a status code more than once.
|
3822
3853
|
# Corresponds to the JSON property `code`
|
3823
3854
|
# @return [Fixnum]
|
3824
3855
|
attr_accessor :code
|
3825
3856
|
|
3826
3857
|
# The TTL (in seconds) to cache responses with the corresponding status code for.
|
3827
|
-
#
|
3828
|
-
#
|
3829
|
-
# that infrequently accessed objects may be evicted from the cache before the
|
3830
|
-
# defined TTL.
|
3858
|
+
# The maximum allowed value is 1800s (30 minutes), noting that infrequently
|
3859
|
+
# accessed objects may be evicted from the cache before the defined TTL.
|
3831
3860
|
# Corresponds to the JSON property `ttl`
|
3832
3861
|
# @return [Fixnum]
|
3833
3862
|
attr_accessor :ttl
|
@@ -4544,6 +4573,12 @@ module Google
|
|
4544
4573
|
class Binding
|
4545
4574
|
include Google::Apis::Core::Hashable
|
4546
4575
|
|
4576
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
4577
|
+
# support the internal bindings-by-ID API.
|
4578
|
+
# Corresponds to the JSON property `bindingId`
|
4579
|
+
# @return [String]
|
4580
|
+
attr_accessor :binding_id
|
4581
|
+
|
4547
4582
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
4548
4583
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
4549
4584
|
# documented at https://github.com/google/cel-spec.
|
@@ -4614,6 +4649,7 @@ module Google
|
|
4614
4649
|
|
4615
4650
|
# Update properties of this object
|
4616
4651
|
def update!(**args)
|
4652
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
4617
4653
|
@condition = args[:condition] if args.key?(:condition)
|
4618
4654
|
@members = args[:members] if args.key?(:members)
|
4619
4655
|
@role = args[:role] if args.key?(:role)
|
@@ -5940,11 +5976,11 @@ module Google
|
|
5940
5976
|
# @return [Array<String>]
|
5941
5977
|
attr_accessor :resource_policies
|
5942
5978
|
|
5943
|
-
# [Output Only]
|
5944
|
-
# Corresponds to the JSON property `
|
5979
|
+
# [Output Only] Reserved for future use.
|
5980
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
5945
5981
|
# @return [Boolean]
|
5946
|
-
attr_accessor :
|
5947
|
-
alias_method :
|
5982
|
+
attr_accessor :satisfies_pzs
|
5983
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
5948
5984
|
|
5949
5985
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
5950
5986
|
# Corresponds to the JSON property `selfLink`
|
@@ -6112,6 +6148,15 @@ module Google
|
|
6112
6148
|
# @return [String]
|
6113
6149
|
attr_accessor :type
|
6114
6150
|
|
6151
|
+
# A list of publicly visible user-licenses. Unlike regular licenses, user
|
6152
|
+
# provided licenses can be modified after the disk is created. This includes a
|
6153
|
+
# list of URLs to the license resource. For example, to provide a debian license:
|
6154
|
+
# https://www.googleapis.com/compute/v1/projects/debian-cloud/global/licenses/
|
6155
|
+
# debian-9-stretch
|
6156
|
+
# Corresponds to the JSON property `userLicenses`
|
6157
|
+
# @return [Array<String>]
|
6158
|
+
attr_accessor :user_licenses
|
6159
|
+
|
6115
6160
|
# [Output Only] Links to the users of the disk (attached instances) in form:
|
6116
6161
|
# projects/project/zones/zone/instances/instance
|
6117
6162
|
# Corresponds to the JSON property `users`
|
@@ -6153,7 +6198,7 @@ module Google
|
|
6153
6198
|
@region = args[:region] if args.key?(:region)
|
6154
6199
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
6155
6200
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
6156
|
-
@
|
6201
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
6157
6202
|
@self_link = args[:self_link] if args.key?(:self_link)
|
6158
6203
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
6159
6204
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
@@ -6173,6 +6218,7 @@ module Google
|
|
6173
6218
|
@status = args[:status] if args.key?(:status)
|
6174
6219
|
@storage_type = args[:storage_type] if args.key?(:storage_type)
|
6175
6220
|
@type = args[:type] if args.key?(:type)
|
6221
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
6176
6222
|
@users = args[:users] if args.key?(:users)
|
6177
6223
|
@zone = args[:zone] if args.key?(:zone)
|
6178
6224
|
end
|
@@ -8773,9 +8819,9 @@ module Google
|
|
8773
8819
|
attr_accessor :name
|
8774
8820
|
|
8775
8821
|
# This field is not used for external load balancing.
|
8776
|
-
# For
|
8777
|
-
#
|
8778
|
-
#
|
8822
|
+
# For internal load balancing, this field identifies the network that the load
|
8823
|
+
# balanced IP should belong to for this Forwarding Rule. If this field is not
|
8824
|
+
# specified, the default network will be used.
|
8779
8825
|
# Corresponds to the JSON property `network`
|
8780
8826
|
# @return [String]
|
8781
8827
|
attr_accessor :network
|
@@ -8869,7 +8915,7 @@ module Google
|
|
8869
8915
|
# @return [String]
|
8870
8916
|
attr_accessor :service_name
|
8871
8917
|
|
8872
|
-
# This field is only used for
|
8918
|
+
# This field is only used for internal load balancing.
|
8873
8919
|
# For internal load balancing, this field identifies the subnetwork that the
|
8874
8920
|
# load balanced IP should belong to for this Forwarding Rule.
|
8875
8921
|
# If the network specified is in auto subnet mode, this field is optional.
|
@@ -8880,11 +8926,11 @@ module Google
|
|
8880
8926
|
attr_accessor :subnetwork
|
8881
8927
|
|
8882
8928
|
# The URL of the target resource to receive the matched traffic. For regional
|
8883
|
-
# forwarding rules, this target must
|
8929
|
+
# forwarding rules, this target must be in the same region as the forwarding
|
8884
8930
|
# rule. For global forwarding rules, this target must be a global load balancing
|
8885
8931
|
# resource. The forwarded traffic must be of a type appropriate to the target
|
8886
|
-
# object. For
|
8887
|
-
#
|
8932
|
+
# object. For more information, see the "Target" column in [Port specifications](
|
8933
|
+
# /load-balancing/docs/forwarding-rule-concepts#ip_address_specifications).
|
8888
8934
|
# Corresponds to the JSON property `target`
|
8889
8935
|
# @return [String]
|
8890
8936
|
attr_accessor :target
|
@@ -11027,6 +11073,13 @@ module Google
|
|
11027
11073
|
# For matching against the HTTP request's authority, use a headerMatch with the
|
11028
11074
|
# header name ":authority".
|
11029
11075
|
# For matching a request's method, use the headerName ":method".
|
11076
|
+
# When the URL map is bound to target gRPC proxy that has validateForProxyless
|
11077
|
+
# field set to true, only non-binary user-specified custom metadata and the `
|
11078
|
+
# content-type` header are supported. The following transport-level headers
|
11079
|
+
# cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:
|
11080
|
+
# scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-
|
11081
|
+
# encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `
|
11082
|
+
# grpc-timeout` and `grpc-trace-bin.
|
11030
11083
|
# Corresponds to the JSON property `headerName`
|
11031
11084
|
# @return [String]
|
11032
11085
|
attr_accessor :header_name
|
@@ -11602,10 +11655,10 @@ module Google
|
|
11602
11655
|
# A list of weighted backend services to send traffic to when a route match
|
11603
11656
|
# occurs. The weights determine the fraction of traffic that flows to their
|
11604
11657
|
# corresponding backend service. If all traffic needs to go to a single backend
|
11605
|
-
# service, there must be one weightedBackendService with weight set to a non
|
11606
|
-
# number.
|
11658
|
+
# service, there must be one weightedBackendService with weight set to a non-
|
11659
|
+
# zero number.
|
11607
11660
|
# Once a backendService is identified and before forwarding the request to the
|
11608
|
-
# backend service, advanced routing actions
|
11661
|
+
# backend service, advanced routing actions such as URL rewrites and header
|
11609
11662
|
# transformations are applied depending on additional settings specified in this
|
11610
11663
|
# HttpRouteAction.
|
11611
11664
|
# Corresponds to the JSON property `weightedBackendServices`
|
@@ -11649,6 +11702,8 @@ module Google
|
|
11649
11702
|
# enabled by Traffic Director. httpFilterConfigs only applies for Loadbalancers
|
11650
11703
|
# with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See ForwardingRule for
|
11651
11704
|
# more details.
|
11705
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11706
|
+
# validateForProxyless field set to true.
|
11652
11707
|
# Corresponds to the JSON property `httpFilterConfigs`
|
11653
11708
|
# @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
|
11654
11709
|
attr_accessor :http_filter_configs
|
@@ -11658,6 +11713,8 @@ module Google
|
|
11658
11713
|
# Loadbalancers with loadBalancingScheme set to INTERNAL_SELF_MANAGED. See
|
11659
11714
|
# ForwardingRule for more details.
|
11660
11715
|
# The only configTypeUrl supported is type.googleapis.com/google.protobuf.Struct
|
11716
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11717
|
+
# validateForProxyless field set to true.
|
11661
11718
|
# Corresponds to the JSON property `httpFilterMetadata`
|
11662
11719
|
# @return [Array<Google::Apis::ComputeAlpha::HttpFilterConfig>]
|
11663
11720
|
attr_accessor :http_filter_metadata
|
@@ -11758,6 +11815,7 @@ module Google
|
|
11758
11815
|
# Specifies that prefixMatch and fullPathMatch matches are case sensitive.
|
11759
11816
|
# The default value is false.
|
11760
11817
|
# ignoreCase must not be used with regexMatch.
|
11818
|
+
# Not supported when the URL map is bound to target gRPC proxy.
|
11761
11819
|
# Corresponds to the JSON property `ignoreCase`
|
11762
11820
|
# @return [Boolean]
|
11763
11821
|
attr_accessor :ignore_case
|
@@ -11777,6 +11835,8 @@ module Google
|
|
11777
11835
|
# ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to.
|
11778
11836
|
# metadataFilters only applies to Loadbalancers that have their
|
11779
11837
|
# loadBalancingScheme set to INTERNAL_SELF_MANAGED.
|
11838
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
11839
|
+
# validateForProxyless field set to true.
|
11780
11840
|
# Corresponds to the JSON property `metadataFilters`
|
11781
11841
|
# @return [Array<Google::Apis::ComputeAlpha::MetadataFilter>]
|
11782
11842
|
attr_accessor :metadata_filters
|
@@ -11791,6 +11851,7 @@ module Google
|
|
11791
11851
|
|
11792
11852
|
# Specifies a list of query parameter match criteria, all of which must match
|
11793
11853
|
# corresponding query parameters in the request.
|
11854
|
+
# Not supported when the URL map is bound to target gRPC proxy.
|
11794
11855
|
# Corresponds to the JSON property `queryParameterMatches`
|
11795
11856
|
# @return [Array<Google::Apis::ComputeAlpha::HttpQueryParameterMatch>]
|
11796
11857
|
attr_accessor :query_parameter_matches
|
@@ -12965,7 +13026,7 @@ module Google
|
|
12965
13026
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
12966
13027
|
attr_accessor :network_interfaces
|
12967
13028
|
|
12968
|
-
#
|
13029
|
+
# PostKeyRevocationActionType of the instance.
|
12969
13030
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
12970
13031
|
# @return [String]
|
12971
13032
|
attr_accessor :post_key_revocation_action_type
|
@@ -12991,17 +13052,23 @@ module Google
|
|
12991
13052
|
# @return [Array<String>]
|
12992
13053
|
attr_accessor :resource_policies
|
12993
13054
|
|
12994
|
-
# [Output Only]
|
12995
|
-
# Corresponds to the JSON property `
|
13055
|
+
# [Output Only] Reserved for future use.
|
13056
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
12996
13057
|
# @return [Boolean]
|
12997
|
-
attr_accessor :
|
12998
|
-
alias_method :
|
13058
|
+
attr_accessor :satisfies_pzs
|
13059
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
12999
13060
|
|
13000
|
-
# Sets the scheduling options for an Instance. NextID:
|
13061
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
13001
13062
|
# Corresponds to the JSON property `scheduling`
|
13002
13063
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
13003
13064
|
attr_accessor :scheduling
|
13004
13065
|
|
13066
|
+
# Secure labels to apply to this instance. These can be later modified by the
|
13067
|
+
# update method. Maximum number of secure labels allowed is 300.
|
13068
|
+
# Corresponds to the JSON property `secureLabels`
|
13069
|
+
# @return [Array<String>]
|
13070
|
+
attr_accessor :secure_labels
|
13071
|
+
|
13005
13072
|
# [Output Only] Server-defined URL for this resource.
|
13006
13073
|
# Corresponds to the JSON property `selfLink`
|
13007
13074
|
# @return [String]
|
@@ -13062,7 +13129,8 @@ module Google
|
|
13062
13129
|
|
13063
13130
|
# [Output Only] The status of the instance. One of the following values:
|
13064
13131
|
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
13065
|
-
# and TERMINATED.
|
13132
|
+
# and TERMINATED. For more information about the status of the instance, see
|
13133
|
+
# Instance life cycle.
|
13066
13134
|
# Corresponds to the JSON property `status`
|
13067
13135
|
# @return [String]
|
13068
13136
|
attr_accessor :status
|
@@ -13126,8 +13194,9 @@ module Google
|
|
13126
13194
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
13127
13195
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
13128
13196
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
13129
|
-
@
|
13197
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
13130
13198
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
13199
|
+
@secure_labels = args[:secure_labels] if args.key?(:secure_labels)
|
13131
13200
|
@self_link = args[:self_link] if args.key?(:self_link)
|
13132
13201
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
13133
13202
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
@@ -15826,7 +15895,7 @@ module Google
|
|
15826
15895
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
15827
15896
|
attr_accessor :network_interfaces
|
15828
15897
|
|
15829
|
-
#
|
15898
|
+
# PostKeyRevocationActionType of the instance.
|
15830
15899
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
15831
15900
|
# @return [String]
|
15832
15901
|
attr_accessor :post_key_revocation_action_type
|
@@ -15848,7 +15917,7 @@ module Google
|
|
15848
15917
|
# @return [Array<String>]
|
15849
15918
|
attr_accessor :resource_policies
|
15850
15919
|
|
15851
|
-
# Sets the scheduling options for an Instance. NextID:
|
15920
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
15852
15921
|
# Corresponds to the JSON property `scheduling`
|
15853
15922
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
15854
15923
|
attr_accessor :scheduling
|
@@ -16551,6 +16620,267 @@ module Google
|
|
16551
16620
|
end
|
16552
16621
|
end
|
16553
16622
|
|
16623
|
+
# Represents a InstantSnapshot resource.
|
16624
|
+
# You can use instant snapshots to create disk rollback points quickly.. (==
|
16625
|
+
# resource_for `$api_version`.instantSnapshots ==)
|
16626
|
+
class InstantSnapshot
|
16627
|
+
include Google::Apis::Core::Hashable
|
16628
|
+
|
16629
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
16630
|
+
# Corresponds to the JSON property `creationTimestamp`
|
16631
|
+
# @return [String]
|
16632
|
+
attr_accessor :creation_timestamp
|
16633
|
+
|
16634
|
+
# An optional description of this resource. Provide this property when you
|
16635
|
+
# create the resource.
|
16636
|
+
# Corresponds to the JSON property `description`
|
16637
|
+
# @return [String]
|
16638
|
+
attr_accessor :description
|
16639
|
+
|
16640
|
+
# [Output Only] Size of the source disk, specified in GB.
|
16641
|
+
# Corresponds to the JSON property `diskSizeGb`
|
16642
|
+
# @return [Fixnum]
|
16643
|
+
attr_accessor :disk_size_gb
|
16644
|
+
|
16645
|
+
# Whether to attempt an application consistent instant snapshot by informing the
|
16646
|
+
# OS to prepare for the snapshot process. Currently only supported on Windows
|
16647
|
+
# instances using the Volume Shadow Copy Service (VSS).
|
16648
|
+
# Corresponds to the JSON property `guestFlush`
|
16649
|
+
# @return [Boolean]
|
16650
|
+
attr_accessor :guest_flush
|
16651
|
+
alias_method :guest_flush?, :guest_flush
|
16652
|
+
|
16653
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
16654
|
+
# defined by the server.
|
16655
|
+
# Corresponds to the JSON property `id`
|
16656
|
+
# @return [Fixnum]
|
16657
|
+
attr_accessor :id
|
16658
|
+
|
16659
|
+
# [Output Only] Type of the resource. Always compute#instantSnapshot for
|
16660
|
+
# InstantSnapshot resources.
|
16661
|
+
# Corresponds to the JSON property `kind`
|
16662
|
+
# @return [String]
|
16663
|
+
attr_accessor :kind
|
16664
|
+
|
16665
|
+
# A fingerprint for the labels being applied to this InstantSnapshot, which is
|
16666
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
16667
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
16668
|
+
# request to modify or update labels. You must always provide an up-to-date
|
16669
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
16670
|
+
# will fail with error 412 conditionNotMet.
|
16671
|
+
# To see the latest fingerprint, make a get() request to retrieve a
|
16672
|
+
# InstantSnapshot.
|
16673
|
+
# Corresponds to the JSON property `labelFingerprint`
|
16674
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
16675
|
+
# @return [String]
|
16676
|
+
attr_accessor :label_fingerprint
|
16677
|
+
|
16678
|
+
# Labels to apply to this InstantSnapshot. These can be later modified by the
|
16679
|
+
# setLabels method. Label values may be empty.
|
16680
|
+
# Corresponds to the JSON property `labels`
|
16681
|
+
# @return [Hash<String,String>]
|
16682
|
+
attr_accessor :labels
|
16683
|
+
|
16684
|
+
# Name of the resource; provided by the client when the resource is created. The
|
16685
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
16686
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
16687
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
16688
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
16689
|
+
# except the last character, which cannot be a dash.
|
16690
|
+
# Corresponds to the JSON property `name`
|
16691
|
+
# @return [String]
|
16692
|
+
attr_accessor :name
|
16693
|
+
|
16694
|
+
# [Output Only] URL of the region where the instant snapshot resides. You must
|
16695
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
16696
|
+
# field in the request body.
|
16697
|
+
# Corresponds to the JSON property `region`
|
16698
|
+
# @return [String]
|
16699
|
+
attr_accessor :region
|
16700
|
+
|
16701
|
+
# [Output Only] Server-defined URL for the resource.
|
16702
|
+
# Corresponds to the JSON property `selfLink`
|
16703
|
+
# @return [String]
|
16704
|
+
attr_accessor :self_link
|
16705
|
+
|
16706
|
+
# [Output Only] Server-defined URL for this resource's resource id.
|
16707
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
16708
|
+
# @return [String]
|
16709
|
+
attr_accessor :self_link_with_id
|
16710
|
+
|
16711
|
+
# URL of the source disk used to create this instant snapshot. Note that the
|
16712
|
+
# source disk must be in the same zone/region as the instant snapshot to be
|
16713
|
+
# created. This can be a full or valid partial URL. For example, the following
|
16714
|
+
# are valid values:
|
16715
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
16716
|
+
# - projects/project/zones/zone/disks/disk
|
16717
|
+
# - zones/zone/disks/disk
|
16718
|
+
# Corresponds to the JSON property `sourceDisk`
|
16719
|
+
# @return [String]
|
16720
|
+
attr_accessor :source_disk
|
16721
|
+
|
16722
|
+
# [Output Only] The ID value of the disk used to create this InstantSnapshot.
|
16723
|
+
# This value may be used to determine whether the InstantSnapshot was taken from
|
16724
|
+
# the current or a previous instance of a given disk name.
|
16725
|
+
# Corresponds to the JSON property `sourceDiskId`
|
16726
|
+
# @return [String]
|
16727
|
+
attr_accessor :source_disk_id
|
16728
|
+
|
16729
|
+
# [Output Only] The status of the instantSnapshot. This can be CREATING,
|
16730
|
+
# DELETING, FAILED, or READY.
|
16731
|
+
# Corresponds to the JSON property `status`
|
16732
|
+
# @return [String]
|
16733
|
+
attr_accessor :status
|
16734
|
+
|
16735
|
+
# [Output Only] URL of the zone where the instant snapshot resides. You must
|
16736
|
+
# specify this field as part of the HTTP request URL. It is not settable as a
|
16737
|
+
# field in the request body.
|
16738
|
+
# Corresponds to the JSON property `zone`
|
16739
|
+
# @return [String]
|
16740
|
+
attr_accessor :zone
|
16741
|
+
|
16742
|
+
def initialize(**args)
|
16743
|
+
update!(**args)
|
16744
|
+
end
|
16745
|
+
|
16746
|
+
# Update properties of this object
|
16747
|
+
def update!(**args)
|
16748
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
16749
|
+
@description = args[:description] if args.key?(:description)
|
16750
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
16751
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
16752
|
+
@id = args[:id] if args.key?(:id)
|
16753
|
+
@kind = args[:kind] if args.key?(:kind)
|
16754
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
16755
|
+
@labels = args[:labels] if args.key?(:labels)
|
16756
|
+
@name = args[:name] if args.key?(:name)
|
16757
|
+
@region = args[:region] if args.key?(:region)
|
16758
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16759
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
16760
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
16761
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
16762
|
+
@status = args[:status] if args.key?(:status)
|
16763
|
+
@zone = args[:zone] if args.key?(:zone)
|
16764
|
+
end
|
16765
|
+
end
|
16766
|
+
|
16767
|
+
# Contains a list of InstantSnapshot resources.
|
16768
|
+
class InstantSnapshotList
|
16769
|
+
include Google::Apis::Core::Hashable
|
16770
|
+
|
16771
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
16772
|
+
# Corresponds to the JSON property `id`
|
16773
|
+
# @return [String]
|
16774
|
+
attr_accessor :id
|
16775
|
+
|
16776
|
+
# A list of InstantSnapshot resources.
|
16777
|
+
# Corresponds to the JSON property `items`
|
16778
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshot>]
|
16779
|
+
attr_accessor :items
|
16780
|
+
|
16781
|
+
# Type of resource.
|
16782
|
+
# Corresponds to the JSON property `kind`
|
16783
|
+
# @return [String]
|
16784
|
+
attr_accessor :kind
|
16785
|
+
|
16786
|
+
# [Output Only] This token allows you to get the next page of results for list
|
16787
|
+
# requests. If the number of results is larger than maxResults, use the
|
16788
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
16789
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
16790
|
+
# continue paging through the results.
|
16791
|
+
# Corresponds to the JSON property `nextPageToken`
|
16792
|
+
# @return [String]
|
16793
|
+
attr_accessor :next_page_token
|
16794
|
+
|
16795
|
+
# [Output Only] Server-defined URL for this resource.
|
16796
|
+
# Corresponds to the JSON property `selfLink`
|
16797
|
+
# @return [String]
|
16798
|
+
attr_accessor :self_link
|
16799
|
+
|
16800
|
+
# [Output Only] Informational warning message.
|
16801
|
+
# Corresponds to the JSON property `warning`
|
16802
|
+
# @return [Google::Apis::ComputeAlpha::InstantSnapshotList::Warning]
|
16803
|
+
attr_accessor :warning
|
16804
|
+
|
16805
|
+
def initialize(**args)
|
16806
|
+
update!(**args)
|
16807
|
+
end
|
16808
|
+
|
16809
|
+
# Update properties of this object
|
16810
|
+
def update!(**args)
|
16811
|
+
@id = args[:id] if args.key?(:id)
|
16812
|
+
@items = args[:items] if args.key?(:items)
|
16813
|
+
@kind = args[:kind] if args.key?(:kind)
|
16814
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
16815
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
16816
|
+
@warning = args[:warning] if args.key?(:warning)
|
16817
|
+
end
|
16818
|
+
|
16819
|
+
# [Output Only] Informational warning message.
|
16820
|
+
class Warning
|
16821
|
+
include Google::Apis::Core::Hashable
|
16822
|
+
|
16823
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
16824
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
16825
|
+
# Corresponds to the JSON property `code`
|
16826
|
+
# @return [String]
|
16827
|
+
attr_accessor :code
|
16828
|
+
|
16829
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
16830
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
16831
|
+
# Corresponds to the JSON property `data`
|
16832
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstantSnapshotList::Warning::Datum>]
|
16833
|
+
attr_accessor :data
|
16834
|
+
|
16835
|
+
# [Output Only] A human-readable description of the warning code.
|
16836
|
+
# Corresponds to the JSON property `message`
|
16837
|
+
# @return [String]
|
16838
|
+
attr_accessor :message
|
16839
|
+
|
16840
|
+
def initialize(**args)
|
16841
|
+
update!(**args)
|
16842
|
+
end
|
16843
|
+
|
16844
|
+
# Update properties of this object
|
16845
|
+
def update!(**args)
|
16846
|
+
@code = args[:code] if args.key?(:code)
|
16847
|
+
@data = args[:data] if args.key?(:data)
|
16848
|
+
@message = args[:message] if args.key?(:message)
|
16849
|
+
end
|
16850
|
+
|
16851
|
+
#
|
16852
|
+
class Datum
|
16853
|
+
include Google::Apis::Core::Hashable
|
16854
|
+
|
16855
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
16856
|
+
# For example, for warnings where there are no results in a list request for a
|
16857
|
+
# particular zone, this key might be scope and the key value might be the zone
|
16858
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
16859
|
+
# suggested replacement, or a warning about invalid network settings (for
|
16860
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
16861
|
+
# for IP forwarding).
|
16862
|
+
# Corresponds to the JSON property `key`
|
16863
|
+
# @return [String]
|
16864
|
+
attr_accessor :key
|
16865
|
+
|
16866
|
+
# [Output Only] A warning data value corresponding to the key.
|
16867
|
+
# Corresponds to the JSON property `value`
|
16868
|
+
# @return [String]
|
16869
|
+
attr_accessor :value
|
16870
|
+
|
16871
|
+
def initialize(**args)
|
16872
|
+
update!(**args)
|
16873
|
+
end
|
16874
|
+
|
16875
|
+
# Update properties of this object
|
16876
|
+
def update!(**args)
|
16877
|
+
@key = args[:key] if args.key?(:key)
|
16878
|
+
@value = args[:value] if args.key?(:value)
|
16879
|
+
end
|
16880
|
+
end
|
16881
|
+
end
|
16882
|
+
end
|
16883
|
+
|
16554
16884
|
# HttpRouteRuleMatch criteria for field values that must stay within the
|
16555
16885
|
# specified integer range.
|
16556
16886
|
class Int64RangeMatch
|
@@ -19180,7 +19510,7 @@ module Google
|
|
19180
19510
|
# @return [String]
|
19181
19511
|
attr_accessor :description
|
19182
19512
|
|
19183
|
-
# [Input Only]
|
19513
|
+
# [Input Only] Whether to attempt an application consistent machine image by
|
19184
19514
|
# informing the OS to prepare for the snapshot process. Currently only supported
|
19185
19515
|
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
19186
19516
|
# Corresponds to the JSON property `guestFlush`
|
@@ -21482,6 +21812,15 @@ module Google
|
|
21482
21812
|
# @return [String]
|
21483
21813
|
attr_accessor :network_ip
|
21484
21814
|
|
21815
|
+
# The networking queue count for the network interface. Both Rx and Tx queues
|
21816
|
+
# will be set to this number. If it's not specified by the user, a default
|
21817
|
+
# number of queues will be assigned. For Virtio-net, each interface will get (
|
21818
|
+
# min(#vCPU, 32) / #vNIC) queues. For gVNIC, each interface will get (min(#vCPU /
|
21819
|
+
# 2, 16) / #vNIC) qeueus.
|
21820
|
+
# Corresponds to the JSON property `queueCount`
|
21821
|
+
# @return [Fixnum]
|
21822
|
+
attr_accessor :queue_count
|
21823
|
+
|
21485
21824
|
# The URL of the Subnetwork resource for this instance. If the network resource
|
21486
21825
|
# is in legacy mode, do not specify this field. If the network is in auto subnet
|
21487
21826
|
# mode, specifying the subnetwork is optional. If the network is in custom
|
@@ -21509,6 +21848,7 @@ module Google
|
|
21509
21848
|
@name = args[:name] if args.key?(:name)
|
21510
21849
|
@network = args[:network] if args.key?(:network)
|
21511
21850
|
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
21851
|
+
@queue_count = args[:queue_count] if args.key?(:queue_count)
|
21512
21852
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
21513
21853
|
end
|
21514
21854
|
end
|
@@ -22185,7 +22525,8 @@ module Google
|
|
22185
22525
|
class NodeGroupAutoscalingPolicy
|
22186
22526
|
include Google::Apis::Core::Hashable
|
22187
22527
|
|
22188
|
-
# The maximum number of nodes that the group should have.
|
22528
|
+
# The maximum number of nodes that the group should have. Must be set if
|
22529
|
+
# autoscaling is enabled. Maximum value allowed is 100.
|
22189
22530
|
# Corresponds to the JSON property `maxNodes`
|
22190
22531
|
# @return [Fixnum]
|
22191
22532
|
attr_accessor :max_nodes
|
@@ -22394,11 +22735,11 @@ module Google
|
|
22394
22735
|
# @return [String]
|
22395
22736
|
attr_accessor :node_type
|
22396
22737
|
|
22397
|
-
# [Output Only]
|
22398
|
-
# Corresponds to the JSON property `
|
22738
|
+
# [Output Only] Reserved for future use.
|
22739
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
22399
22740
|
# @return [Boolean]
|
22400
|
-
attr_accessor :
|
22401
|
-
alias_method :
|
22741
|
+
attr_accessor :satisfies_pzs
|
22742
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
22402
22743
|
|
22403
22744
|
# Binding properties for the physical server.
|
22404
22745
|
# Corresponds to the JSON property `serverBinding`
|
@@ -22427,7 +22768,7 @@ module Google
|
|
22427
22768
|
@instances = args[:instances] if args.key?(:instances)
|
22428
22769
|
@name = args[:name] if args.key?(:name)
|
22429
22770
|
@node_type = args[:node_type] if args.key?(:node_type)
|
22430
|
-
@
|
22771
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
22431
22772
|
@server_binding = args[:server_binding] if args.key?(:server_binding)
|
22432
22773
|
@server_id = args[:server_id] if args.key?(:server_id)
|
22433
22774
|
@status = args[:status] if args.key?(:status)
|
@@ -25381,8 +25722,6 @@ module Google
|
|
25381
25722
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
25382
25723
|
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
25383
25724
|
# within a pathMatcher's defaultRouteAction.
|
25384
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25385
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25386
25725
|
# Corresponds to the JSON property `defaultRouteAction`
|
25387
25726
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
25388
25727
|
attr_accessor :default_route_action
|
@@ -25405,8 +25744,6 @@ module Google
|
|
25405
25744
|
# the specified resource default_service:
|
25406
25745
|
# - compute.backendBuckets.use
|
25407
25746
|
# - compute.backendServices.use
|
25408
|
-
# pathMatchers[].defaultService is the only option available when the URL map is
|
25409
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25410
25747
|
# Corresponds to the JSON property `defaultService`
|
25411
25748
|
# @return [String]
|
25412
25749
|
attr_accessor :default_service
|
@@ -25440,8 +25777,6 @@ module Google
|
|
25440
25777
|
# For example: a pathRule with a path /a/b/c/* will match before /a/b/*
|
25441
25778
|
# irrespective of the order in which those paths appear in this list.
|
25442
25779
|
# Within a given pathMatcher, only one of pathRules or routeRules must be set.
|
25443
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25444
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25445
25780
|
# Corresponds to the JSON property `pathRules`
|
25446
25781
|
# @return [Array<Google::Apis::ComputeAlpha::PathRule>]
|
25447
25782
|
attr_accessor :path_rules
|
@@ -25450,8 +25785,6 @@ module Google
|
|
25450
25785
|
# route matching and routing actions are desired. routeRules are evaluated in
|
25451
25786
|
# order of priority, from the lowest to highest number.
|
25452
25787
|
# Within a given pathMatcher, you can set only one of pathRules or routeRules.
|
25453
|
-
# Not supported when the backend service is referenced by a URL map that is
|
25454
|
-
# bound to target gRPC proxy that has validateForProxyless field set to true.
|
25455
25788
|
# Corresponds to the JSON property `routeRules`
|
25456
25789
|
# @return [Array<Google::Apis::ComputeAlpha::HttpRouteRule>]
|
25457
25790
|
attr_accessor :route_rules
|
@@ -27151,11 +27484,11 @@ module Google
|
|
27151
27484
|
# @return [String]
|
27152
27485
|
attr_accessor :status
|
27153
27486
|
|
27154
|
-
# [Output Only]
|
27155
|
-
# Corresponds to the JSON property `
|
27487
|
+
# [Output Only] Reserved for future use.
|
27488
|
+
# Corresponds to the JSON property `supportsPzs`
|
27156
27489
|
# @return [Boolean]
|
27157
|
-
attr_accessor :
|
27158
|
-
alias_method :
|
27490
|
+
attr_accessor :supports_pzs
|
27491
|
+
alias_method :supports_pzs?, :supports_pzs
|
27159
27492
|
|
27160
27493
|
# [Output Only] A list of zones available in this region, in the form of
|
27161
27494
|
# resource URLs.
|
@@ -27179,7 +27512,7 @@ module Google
|
|
27179
27512
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27180
27513
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
27181
27514
|
@status = args[:status] if args.key?(:status)
|
27182
|
-
@
|
27515
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
27183
27516
|
@zones = args[:zones] if args.key?(:zones)
|
27184
27517
|
end
|
27185
27518
|
end
|
@@ -29836,8 +30169,8 @@ module Google
|
|
29836
30169
|
# @return [Fixnum]
|
29837
30170
|
attr_accessor :max_retention_days
|
29838
30171
|
|
29839
|
-
# Specifies the behavior to apply to
|
29840
|
-
# the policy is changed.
|
30172
|
+
# TODO(b/165626794): Remove this field Specifies the behavior to apply to
|
30173
|
+
# existing, scheduled snapshots snapshots if the policy is changed.
|
29841
30174
|
# Corresponds to the JSON property `onPolicySwitch`
|
29842
30175
|
# @return [String]
|
29843
30176
|
attr_accessor :on_policy_switch
|
@@ -30812,6 +31145,14 @@ module Google
|
|
30812
31145
|
# @return [String]
|
30813
31146
|
attr_accessor :peer_ip_address
|
30814
31147
|
|
31148
|
+
# URI of the VM instance that is used as third party router appliances such as
|
31149
|
+
# Next Gen Firewalls, Virtual Routers, SD-WAN. The VM instance must live in
|
31150
|
+
# zones contained in the same region as this Cloud Router. The VM instance is
|
31151
|
+
# the peer side of the BGP session.
|
31152
|
+
# Corresponds to the JSON property `routerApplianceInstance`
|
31153
|
+
# @return [String]
|
31154
|
+
attr_accessor :router_appliance_instance
|
31155
|
+
|
30815
31156
|
def initialize(**args)
|
30816
31157
|
update!(**args)
|
30817
31158
|
end
|
@@ -30830,6 +31171,7 @@ module Google
|
|
30830
31171
|
@name = args[:name] if args.key?(:name)
|
30831
31172
|
@peer_asn = args[:peer_asn] if args.key?(:peer_asn)
|
30832
31173
|
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
31174
|
+
@router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
|
30833
31175
|
end
|
30834
31176
|
end
|
30835
31177
|
|
@@ -30971,6 +31313,35 @@ module Google
|
|
30971
31313
|
# @return [String]
|
30972
31314
|
attr_accessor :name
|
30973
31315
|
|
31316
|
+
# The regional private internal IP address that will be used to establish BGP
|
31317
|
+
# session to a VM instance, which is used as third party router appliances such
|
31318
|
+
# as Next Gen Firewalls, Virtual Routers, SD-WAN.
|
31319
|
+
# Corresponds to the JSON property `privateIpAddress`
|
31320
|
+
# @return [String]
|
31321
|
+
attr_accessor :private_ip_address
|
31322
|
+
|
31323
|
+
# Name of the interface that will be redundant with the current interface you
|
31324
|
+
# are creating. The redundantInterface must belong to the same Cloud Router as
|
31325
|
+
# the interface here. To establish the BGP session to SD-WAN VM, you must create
|
31326
|
+
# two BGP peers, and the two BGP peers need to be attached to two separate
|
31327
|
+
# interfaces that are redundant with each other. The redundant_interface must be
|
31328
|
+
# 1-63 characters long, and comply with RFC1035. Specifically, the
|
31329
|
+
# redundant_interface must be 1-63 characters long and match the regular
|
31330
|
+
# expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
|
31331
|
+
# be a lowercase letter, and all following characters must be a dash, lowercase
|
31332
|
+
# letter, or digit, except the last character, which cannot be a dash.
|
31333
|
+
# Corresponds to the JSON property `redundantInterface`
|
31334
|
+
# @return [String]
|
31335
|
+
attr_accessor :redundant_interface
|
31336
|
+
|
31337
|
+
# The URL of the subnetwork resource this interface belongs to, it must be in
|
31338
|
+
# the same region as the router. When you establish a BGP session to a VM
|
31339
|
+
# instance using this interface, the VM instance must belong to the same
|
31340
|
+
# subnetwork as the subnetwork specified here.
|
31341
|
+
# Corresponds to the JSON property `subnetwork`
|
31342
|
+
# @return [String]
|
31343
|
+
attr_accessor :subnetwork
|
31344
|
+
|
30974
31345
|
def initialize(**args)
|
30975
31346
|
update!(**args)
|
30976
31347
|
end
|
@@ -30982,6 +31353,9 @@ module Google
|
|
30982
31353
|
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
30983
31354
|
@management_type = args[:management_type] if args.key?(:management_type)
|
30984
31355
|
@name = args[:name] if args.key?(:name)
|
31356
|
+
@private_ip_address = args[:private_ip_address] if args.key?(:private_ip_address)
|
31357
|
+
@redundant_interface = args[:redundant_interface] if args.key?(:redundant_interface)
|
31358
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
30985
31359
|
end
|
30986
31360
|
end
|
30987
31361
|
|
@@ -32038,7 +32412,7 @@ module Google
|
|
32038
32412
|
end
|
32039
32413
|
end
|
32040
32414
|
|
32041
|
-
# Sets the scheduling options for an Instance. NextID:
|
32415
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
32042
32416
|
class Scheduling
|
32043
32417
|
include Google::Apis::Core::Hashable
|
32044
32418
|
|
@@ -32849,10 +33223,26 @@ module Google
|
|
32849
33223
|
class SecurityPolicyRuleRateLimitOptions
|
32850
33224
|
include Google::Apis::Core::Hashable
|
32851
33225
|
|
32852
|
-
# Can only be specified if the action for the rule is "
|
33226
|
+
# Can only be specified if the action for the rule is "rate_based_ban". If
|
33227
|
+
# specified, the key will be banned for the configured 'ban_duration' when the
|
33228
|
+
# number of requests that exceed the 'rate_limit_threshold' also exceed this '
|
33229
|
+
# ban_threshold'.
|
33230
|
+
# Corresponds to the JSON property `banDurationSec`
|
33231
|
+
# @return [Fixnum]
|
33232
|
+
attr_accessor :ban_duration_sec
|
33233
|
+
|
33234
|
+
# Can only be specified if the action for the rule is "rate_based_ban". If
|
33235
|
+
# specified, the key will be banned for the configured 'ban_duration' when the
|
33236
|
+
# number of requests that exceed the 'rate_limit_threshold' also exceed this '
|
33237
|
+
# ban_threshold'.
|
33238
|
+
# Corresponds to the JSON property `banThreshold`
|
33239
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
33240
|
+
attr_accessor :ban_threshold
|
33241
|
+
|
33242
|
+
# Can only be specified if the action for the rule is "rate_based_ban" If
|
32853
33243
|
# specified, determines the time (in seconds) the traffic will continue to be
|
32854
33244
|
# blocked by the rate limit after the rate falls below the threshold. The
|
32855
|
-
# default value is 0 seconds.
|
33245
|
+
# default value is 0 seconds. [Deprecated] This field is deprecated.
|
32856
33246
|
# Corresponds to the JSON property `blockDuration`
|
32857
33247
|
# @return [Fixnum]
|
32858
33248
|
attr_accessor :block_duration
|
@@ -32877,7 +33267,13 @@ module Google
|
|
32877
33267
|
# @return [String]
|
32878
33268
|
attr_accessor :exceed_action
|
32879
33269
|
|
32880
|
-
#
|
33270
|
+
# Threshold at which to begin ratelimiting.
|
33271
|
+
# Corresponds to the JSON property `rateLimitThreshold`
|
33272
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleRateLimitOptionsThreshold]
|
33273
|
+
attr_accessor :rate_limit_threshold
|
33274
|
+
|
33275
|
+
# Rate in requests per second at which to begin ratelimiting. [Deprecated] This
|
33276
|
+
# field is deprecated.
|
32881
33277
|
# Corresponds to the JSON property `thresholdRps`
|
32882
33278
|
# @return [Fixnum]
|
32883
33279
|
attr_accessor :threshold_rps
|
@@ -32888,14 +33284,42 @@ module Google
|
|
32888
33284
|
|
32889
33285
|
# Update properties of this object
|
32890
33286
|
def update!(**args)
|
33287
|
+
@ban_duration_sec = args[:ban_duration_sec] if args.key?(:ban_duration_sec)
|
33288
|
+
@ban_threshold = args[:ban_threshold] if args.key?(:ban_threshold)
|
32891
33289
|
@block_duration = args[:block_duration] if args.key?(:block_duration)
|
32892
33290
|
@conform_action = args[:conform_action] if args.key?(:conform_action)
|
32893
33291
|
@enforce_on_key = args[:enforce_on_key] if args.key?(:enforce_on_key)
|
32894
33292
|
@exceed_action = args[:exceed_action] if args.key?(:exceed_action)
|
33293
|
+
@rate_limit_threshold = args[:rate_limit_threshold] if args.key?(:rate_limit_threshold)
|
32895
33294
|
@threshold_rps = args[:threshold_rps] if args.key?(:threshold_rps)
|
32896
33295
|
end
|
32897
33296
|
end
|
32898
33297
|
|
33298
|
+
#
|
33299
|
+
class SecurityPolicyRuleRateLimitOptionsThreshold
|
33300
|
+
include Google::Apis::Core::Hashable
|
33301
|
+
|
33302
|
+
# Number of HTTP(S) requests for calculating the threshold.
|
33303
|
+
# Corresponds to the JSON property `count`
|
33304
|
+
# @return [Fixnum]
|
33305
|
+
attr_accessor :count
|
33306
|
+
|
33307
|
+
# Interval over which the threshold is computed.
|
33308
|
+
# Corresponds to the JSON property `intervalSec`
|
33309
|
+
# @return [Fixnum]
|
33310
|
+
attr_accessor :interval_sec
|
33311
|
+
|
33312
|
+
def initialize(**args)
|
33313
|
+
update!(**args)
|
33314
|
+
end
|
33315
|
+
|
33316
|
+
# Update properties of this object
|
33317
|
+
def update!(**args)
|
33318
|
+
@count = args[:count] if args.key?(:count)
|
33319
|
+
@interval_sec = args[:interval_sec] if args.key?(:interval_sec)
|
33320
|
+
end
|
33321
|
+
end
|
33322
|
+
|
32899
33323
|
# The authentication and authorization settings for a BackendService.
|
32900
33324
|
class SecuritySettings
|
32901
33325
|
include Google::Apis::Core::Hashable
|
@@ -33150,12 +33574,11 @@ module Google
|
|
33150
33574
|
# @return [String]
|
33151
33575
|
attr_accessor :name
|
33152
33576
|
|
33153
|
-
# An array of
|
33154
|
-
#
|
33155
|
-
#
|
33156
|
-
# Corresponds to the JSON property `natIpCidrRanges`
|
33577
|
+
# An array of URLs where each entry is the URL of a subnet provided by the
|
33578
|
+
# service producer to use for NAT in this service attachment.
|
33579
|
+
# Corresponds to the JSON property `natSubnets`
|
33157
33580
|
# @return [Array<String>]
|
33158
|
-
attr_accessor :
|
33581
|
+
attr_accessor :nat_subnets
|
33159
33582
|
|
33160
33583
|
# The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is
|
33161
33584
|
# serving the endpoint identified by this service attachment.
|
@@ -33188,7 +33611,7 @@ module Google
|
|
33188
33611
|
@id = args[:id] if args.key?(:id)
|
33189
33612
|
@kind = args[:kind] if args.key?(:kind)
|
33190
33613
|
@name = args[:name] if args.key?(:name)
|
33191
|
-
@
|
33614
|
+
@nat_subnets = args[:nat_subnets] if args.key?(:nat_subnets)
|
33192
33615
|
@producer_forwarding_rule = args[:producer_forwarding_rule] if args.key?(:producer_forwarding_rule)
|
33193
33616
|
@region = args[:region] if args.key?(:region)
|
33194
33617
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -33610,7 +34033,12 @@ module Google
|
|
33610
34033
|
attr_accessor :auto_created
|
33611
34034
|
alias_method :auto_created?, :auto_created
|
33612
34035
|
|
33613
|
-
#
|
34036
|
+
# Creates the new snapshot in the snapshot chain labeled with the specified name.
|
34037
|
+
# The chain name must be 1-63 characters long and comply with RFC1035. This is
|
34038
|
+
# an uncommon option only for advanced service owners who needs to create
|
34039
|
+
# separate snapshot chains, for example, for chargeback tracking. When you
|
34040
|
+
# describe your snapshot resource, this field is visible only if it has a non-
|
34041
|
+
# empty value.
|
33614
34042
|
# Corresponds to the JSON property `chainName`
|
33615
34043
|
# @return [String]
|
33616
34044
|
attr_accessor :chain_name
|
@@ -33636,6 +34064,14 @@ module Google
|
|
33636
34064
|
# @return [Fixnum]
|
33637
34065
|
attr_accessor :download_bytes
|
33638
34066
|
|
34067
|
+
# [Input Only] Whether to attempt an application consistent snapshot by
|
34068
|
+
# informing the OS to prepare for the snapshot process. Currently only supported
|
34069
|
+
# on Windows instances using the Volume Shadow Copy Service (VSS).
|
34070
|
+
# Corresponds to the JSON property `guestFlush`
|
34071
|
+
# @return [Boolean]
|
34072
|
+
attr_accessor :guest_flush
|
34073
|
+
alias_method :guest_flush?, :guest_flush
|
34074
|
+
|
33639
34075
|
# [Output Only] A list of features to enable on the guest operating system.
|
33640
34076
|
# Applicable only for bootable images. Read Enabling guest operating system
|
33641
34077
|
# features to see a list of available options.
|
@@ -33696,11 +34132,11 @@ module Google
|
|
33696
34132
|
# @return [String]
|
33697
34133
|
attr_accessor :name
|
33698
34134
|
|
33699
|
-
# [Output Only]
|
33700
|
-
# Corresponds to the JSON property `
|
34135
|
+
# [Output Only] Reserved for future use.
|
34136
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
33701
34137
|
# @return [Boolean]
|
33702
|
-
attr_accessor :
|
33703
|
-
alias_method :
|
34138
|
+
attr_accessor :satisfies_pzs
|
34139
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
33704
34140
|
|
33705
34141
|
# [Output Only] Server-defined URL for the resource.
|
33706
34142
|
# Corresponds to the JSON property `selfLink`
|
@@ -33726,7 +34162,7 @@ module Google
|
|
33726
34162
|
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
33727
34163
|
attr_accessor :snapshot_encryption_key
|
33728
34164
|
|
33729
|
-
#
|
34165
|
+
# The source disk used to create this snapshot.
|
33730
34166
|
# Corresponds to the JSON property `sourceDisk`
|
33731
34167
|
# @return [String]
|
33732
34168
|
attr_accessor :source_disk
|
@@ -33782,6 +34218,7 @@ module Google
|
|
33782
34218
|
@description = args[:description] if args.key?(:description)
|
33783
34219
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
33784
34220
|
@download_bytes = args[:download_bytes] if args.key?(:download_bytes)
|
34221
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
33785
34222
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
33786
34223
|
@id = args[:id] if args.key?(:id)
|
33787
34224
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -33790,7 +34227,7 @@ module Google
|
|
33790
34227
|
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
33791
34228
|
@licenses = args[:licenses] if args.key?(:licenses)
|
33792
34229
|
@name = args[:name] if args.key?(:name)
|
33793
|
-
@
|
34230
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
33794
34231
|
@self_link = args[:self_link] if args.key?(:self_link)
|
33795
34232
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
33796
34233
|
@snapshot_encryption_key = args[:snapshot_encryption_key] if args.key?(:snapshot_encryption_key)
|
@@ -34043,7 +34480,7 @@ module Google
|
|
34043
34480
|
# @return [Array<Google::Apis::ComputeAlpha::NetworkInterface>]
|
34044
34481
|
attr_accessor :network_interfaces
|
34045
34482
|
|
34046
|
-
# Sets the scheduling options for an Instance. NextID:
|
34483
|
+
# Sets the scheduling options for an Instance. NextID: 13
|
34047
34484
|
# Corresponds to the JSON property `scheduling`
|
34048
34485
|
# @return [Google::Apis::ComputeAlpha::Scheduling]
|
34049
34486
|
attr_accessor :scheduling
|
@@ -34101,9 +34538,9 @@ module Google
|
|
34101
34538
|
class SslCertificate
|
34102
34539
|
include Google::Apis::Core::Hashable
|
34103
34540
|
|
34104
|
-
# A
|
34105
|
-
# certificate chain must be no greater than 5 certs long. The
|
34106
|
-
# at least one intermediate cert.
|
34541
|
+
# A value read into memory from a certificate file. The certificate file must be
|
34542
|
+
# in PEM format. The certificate chain must be no greater than 5 certs long. The
|
34543
|
+
# chain must include at least one intermediate cert.
|
34107
34544
|
# Corresponds to the JSON property `certificate`
|
34108
34545
|
# @return [String]
|
34109
34546
|
attr_accessor :certificate
|
@@ -34151,7 +34588,8 @@ module Google
|
|
34151
34588
|
# @return [String]
|
34152
34589
|
attr_accessor :name
|
34153
34590
|
|
34154
|
-
# A write-only private key
|
34591
|
+
# A value read into memory from a write-only private key file. The private key
|
34592
|
+
# file must be in PEM format. For security, only insert requests include this
|
34155
34593
|
# field.
|
34156
34594
|
# Corresponds to the JSON property `privateKey`
|
34157
34595
|
# @return [String]
|
@@ -35742,6 +36180,25 @@ module Google
|
|
35742
36180
|
end
|
35743
36181
|
end
|
35744
36182
|
|
36183
|
+
# Subsetting options to make L4 ILB support any number of backend instances
|
36184
|
+
class Subsetting
|
36185
|
+
include Google::Apis::Core::Hashable
|
36186
|
+
|
36187
|
+
#
|
36188
|
+
# Corresponds to the JSON property `policy`
|
36189
|
+
# @return [String]
|
36190
|
+
attr_accessor :policy
|
36191
|
+
|
36192
|
+
def initialize(**args)
|
36193
|
+
update!(**args)
|
36194
|
+
end
|
36195
|
+
|
36196
|
+
# Update properties of this object
|
36197
|
+
def update!(**args)
|
36198
|
+
@policy = args[:policy] if args.key?(:policy)
|
36199
|
+
end
|
36200
|
+
end
|
36201
|
+
|
35745
36202
|
#
|
35746
36203
|
class TcpHealthCheck
|
35747
36204
|
include Google::Apis::Core::Hashable
|
@@ -36173,7 +36630,18 @@ module Google
|
|
36173
36630
|
# @return [String]
|
36174
36631
|
attr_accessor :description
|
36175
36632
|
|
36176
|
-
#
|
36633
|
+
# Fingerprint of this resource. A hash of the contents stored in this object.
|
36634
|
+
# This field is used in optimistic locking. This field will be ignored when
|
36635
|
+
# inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in
|
36636
|
+
# order to patch/update the TargetHttpProxy; otherwise, the request will fail
|
36637
|
+
# with error 412 conditionNotMet. To see the latest fingerprint, make a get()
|
36638
|
+
# request to retrieve the TargetHttpProxy.
|
36639
|
+
# Corresponds to the JSON property `fingerprint`
|
36640
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
36641
|
+
# @return [String]
|
36642
|
+
attr_accessor :fingerprint
|
36643
|
+
|
36644
|
+
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
|
36177
36645
|
# this configuration. For example, https://networkservices.googleapis.com/
|
36178
36646
|
# v1alpha1/projects/project/locations/locationhttpFilters/httpFilter Only
|
36179
36647
|
# filters that handle outbound connection and stream events may be specified.
|
@@ -36248,6 +36716,7 @@ module Google
|
|
36248
36716
|
def update!(**args)
|
36249
36717
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36250
36718
|
@description = args[:description] if args.key?(:description)
|
36719
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
36251
36720
|
@http_filters = args[:http_filters] if args.key?(:http_filters)
|
36252
36721
|
@id = args[:id] if args.key?(:id)
|
36253
36722
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -36705,6 +37174,21 @@ module Google
|
|
36705
37174
|
# @return [String]
|
36706
37175
|
attr_accessor :description
|
36707
37176
|
|
37177
|
+
# URLs to networkservices.HttpFilter resources enabled for xDS clients using
|
37178
|
+
# this configuration. For example, https://networkservices.googleapis.com/beta/
|
37179
|
+
# projects/project/locations/locationhttpFilters/httpFilter Only filters that
|
37180
|
+
# handle outbound connection and stream events may be specified. These filters
|
37181
|
+
# work in conjunction with a default set of HTTP filters that may already be
|
37182
|
+
# configured by Traffic Director. Traffic Director will determine the final
|
37183
|
+
# location of these filters within xDS configuration based on the name of the
|
37184
|
+
# HTTP filter. If Traffic Director positions multiple filters at the same
|
37185
|
+
# location, those filters will be in the same order as specified in this list.
|
37186
|
+
# httpFilters only applies for loadbalancers with loadBalancingScheme set to
|
37187
|
+
# INTERNAL_SELF_MANAGED. See ForwardingRule for more details.
|
37188
|
+
# Corresponds to the JSON property `httpFilters`
|
37189
|
+
# @return [Array<String>]
|
37190
|
+
attr_accessor :http_filters
|
37191
|
+
|
36708
37192
|
# [Output Only] The unique identifier for the resource. This identifier is
|
36709
37193
|
# defined by the server.
|
36710
37194
|
# Corresponds to the JSON property `id`
|
@@ -36811,6 +37295,7 @@ module Google
|
|
36811
37295
|
@certificate_map = args[:certificate_map] if args.key?(:certificate_map)
|
36812
37296
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
36813
37297
|
@description = args[:description] if args.key?(:description)
|
37298
|
+
@http_filters = args[:http_filters] if args.key?(:http_filters)
|
36814
37299
|
@id = args[:id] if args.key?(:id)
|
36815
37300
|
@kind = args[:kind] if args.key?(:kind)
|
36816
37301
|
@name = args[:name] if args.key?(:name)
|
@@ -39077,22 +39562,23 @@ module Google
|
|
39077
39562
|
class TestFailure
|
39078
39563
|
include Google::Apis::Core::Hashable
|
39079
39564
|
|
39080
|
-
#
|
39565
|
+
# BackendService or BackendBucket returned by load balancer.
|
39081
39566
|
# Corresponds to the JSON property `actualService`
|
39082
39567
|
# @return [String]
|
39083
39568
|
attr_accessor :actual_service
|
39084
39569
|
|
39085
|
-
#
|
39570
|
+
# Expected BackendService or BackendBucket resource the given URL should be
|
39571
|
+
# mapped to.
|
39086
39572
|
# Corresponds to the JSON property `expectedService`
|
39087
39573
|
# @return [String]
|
39088
39574
|
attr_accessor :expected_service
|
39089
39575
|
|
39090
|
-
#
|
39576
|
+
# Host portion of the URL.
|
39091
39577
|
# Corresponds to the JSON property `host`
|
39092
39578
|
# @return [String]
|
39093
39579
|
attr_accessor :host
|
39094
39580
|
|
39095
|
-
#
|
39581
|
+
# Path portion including query parameters in the URL.
|
39096
39582
|
# Corresponds to the JSON property `path`
|
39097
39583
|
# @return [String]
|
39098
39584
|
attr_accessor :path
|
@@ -39382,9 +39868,8 @@ module Google
|
|
39382
39868
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
39383
39869
|
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
39384
39870
|
# within defaultRouteAction.
|
39385
|
-
# defaultRouteAction has no effect when the
|
39386
|
-
#
|
39387
|
-
# set to true.
|
39871
|
+
# defaultRouteAction has no effect when the URL map is bound to target gRPC
|
39872
|
+
# proxy that has validateForProxyless field set to true.
|
39388
39873
|
# Corresponds to the JSON property `defaultRouteAction`
|
39389
39874
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
39390
39875
|
attr_accessor :default_route_action
|
@@ -39398,9 +39883,8 @@ module Google
|
|
39398
39883
|
# specified.
|
39399
39884
|
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
39400
39885
|
# weightedBackendService must be set.
|
39401
|
-
# defaultService has no effect when the
|
39402
|
-
#
|
39403
|
-
# to true.
|
39886
|
+
# defaultService has no effect when the URL map is bound to target gRPC proxy
|
39887
|
+
# that has validateForProxyless field set to true.
|
39404
39888
|
# Corresponds to the JSON property `defaultService`
|
39405
39889
|
# @return [String]
|
39406
39890
|
attr_accessor :default_service
|
@@ -39479,8 +39963,8 @@ module Google
|
|
39479
39963
|
# The list of expected URL mapping tests. Request to update this UrlMap will
|
39480
39964
|
# succeed only if all of the test cases pass. You can specify a maximum of 100
|
39481
39965
|
# tests per UrlMap.
|
39482
|
-
# Not supported when the
|
39483
|
-
#
|
39966
|
+
# Not supported when the URL map is bound to target gRPC proxy that has
|
39967
|
+
# validateForProxyless field set to true.
|
39484
39968
|
# Corresponds to the JSON property `tests`
|
39485
39969
|
# @return [Array<Google::Apis::ComputeAlpha::UrlMapTest>]
|
39486
39970
|
attr_accessor :tests
|
@@ -39661,12 +40145,13 @@ module Google
|
|
39661
40145
|
attr_accessor :description
|
39662
40146
|
|
39663
40147
|
# The expected URL that should be redirected to for the host and path being
|
39664
|
-
# tested.
|
40148
|
+
# tested. [Deprecated] This field is deprecated. Use expected_output_url instead.
|
39665
40149
|
# Corresponds to the JSON property `expectedUrlRedirect`
|
39666
40150
|
# @return [String]
|
39667
40151
|
attr_accessor :expected_url_redirect
|
39668
40152
|
|
39669
|
-
# Host portion of the URL.
|
40153
|
+
# Host portion of the URL. If headers contains a host header, then host must
|
40154
|
+
# also match the header value.
|
39670
40155
|
# Corresponds to the JSON property `host`
|
39671
40156
|
# @return [String]
|
39672
40157
|
attr_accessor :host
|
@@ -39676,7 +40161,9 @@ module Google
|
|
39676
40161
|
# @return [String]
|
39677
40162
|
attr_accessor :path
|
39678
40163
|
|
39679
|
-
# Expected BackendService resource the given URL should be
|
40164
|
+
# Expected BackendService or BackendBucket resource the given URL should be
|
40165
|
+
# mapped to.
|
40166
|
+
# service cannot be set if expectedRedirectResponseCode is set.
|
39680
40167
|
# Corresponds to the JSON property `service`
|
39681
40168
|
# @return [String]
|
39682
40169
|
attr_accessor :service
|
@@ -41968,11 +42455,11 @@ module Google
|
|
41968
42455
|
# @return [String]
|
41969
42456
|
attr_accessor :status
|
41970
42457
|
|
41971
|
-
# [Output Only]
|
41972
|
-
# Corresponds to the JSON property `
|
42458
|
+
# [Output Only] Reserved for future use.
|
42459
|
+
# Corresponds to the JSON property `supportsPzs`
|
41973
42460
|
# @return [Boolean]
|
41974
|
-
attr_accessor :
|
41975
|
-
alias_method :
|
42461
|
+
attr_accessor :supports_pzs
|
42462
|
+
alias_method :supports_pzs?, :supports_pzs
|
41976
42463
|
|
41977
42464
|
def initialize(**args)
|
41978
42465
|
update!(**args)
|
@@ -41990,7 +42477,7 @@ module Google
|
|
41990
42477
|
@region = args[:region] if args.key?(:region)
|
41991
42478
|
@self_link = args[:self_link] if args.key?(:self_link)
|
41992
42479
|
@status = args[:status] if args.key?(:status)
|
41993
|
-
@
|
42480
|
+
@supports_pzs = args[:supports_pzs] if args.key?(:supports_pzs)
|
41994
42481
|
end
|
41995
42482
|
end
|
41996
42483
|
|