google-api-client 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +171 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4/service.rb +36 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +31 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
- data/generated/google/apis/appsactivity_v1.rb +2 -2
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +103 -61
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +44 -12
- data/generated/google/apis/calendar_v3/service.rb +7 -7
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +25 -0
- data/generated/google/apis/classroom_v1/representations.rb +15 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
- data/generated/google/apis/cloudbuild_v1.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
- data/generated/google/apis/cloudiot_v1/service.rb +355 -0
- data/generated/google/apis/cloudkms_v1.rb +6 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
- data/generated/google/apis/cloudkms_v1/service.rb +126 -6
- data/generated/google/apis/cloudprofiler_v2.rb +3 -3
- data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
- data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
- data/generated/google/apis/composer_v1/classes.rb +640 -0
- data/generated/google/apis/composer_v1/representations.rb +195 -0
- data/generated/google/apis/composer_v1/service.rb +462 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
- data/generated/google/apis/composer_v1beta1/service.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
- data/generated/google/apis/compute_alpha/representations.rb +644 -216
- data/generated/google/apis/compute_alpha/service.rb +2308 -1655
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -62
- data/generated/google/apis/compute_beta/representations.rb +435 -0
- data/generated/google/apis/compute_beta/service.rb +1758 -321
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1984 -210
- data/generated/google/apis/compute_v1/representations.rb +754 -9
- data/generated/google/apis/compute_v1/service.rb +1299 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +193 -231
- data/generated/google/apis/container_v1beta1/representations.rb +72 -82
- data/generated/google/apis/container_v1beta1/service.rb +0 -112
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +199 -29
- data/generated/google/apis/content_v2/representations.rb +59 -0
- data/generated/google/apis/content_v2/service.rb +8 -3
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/content_v2sandbox/service.rb +8 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +140 -0
- data/generated/google/apis/datastore_v1/representations.rb +65 -0
- data/generated/google/apis/datastore_v1/service.rb +74 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +40 -0
- data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
- data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
- data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
- data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
- data/generated/google/apis/discovery_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +357 -6
- data/generated/google/apis/dlp_v2/representations.rb +161 -0
- data/generated/google/apis/dlp_v2/service.rb +366 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +0 -7
- data/generated/google/apis/dns_v1/representations.rb +0 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +37 -0
- data/generated/google/apis/firestore_v1/classes.rb +324 -0
- data/generated/google/apis/firestore_v1/representations.rb +130 -0
- data/generated/google/apis/firestore_v1/service.rb +282 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
- data/generated/google/apis/firestore_v1beta2.rb +37 -0
- data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +113 -36
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
- data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
- data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +258 -3
- data/generated/google/apis/iam_v1/representations.rb +73 -0
- data/generated/google/apis/iam_v1/service.rb +50 -2
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +34 -0
- data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
- data/generated/google/apis/iap_v1beta1/service.rb +398 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +3 -3
- data/generated/google/apis/jobs_v2/classes.rb +61 -5
- data/generated/google/apis/jobs_v2/representations.rb +18 -0
- data/generated/google/apis/jobs_v2/service.rb +3 -3
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +64 -58
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +39 -40
- data/generated/google/apis/logging_v2beta1.rb +2 -2
- data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1/service.rb +15 -16
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +87 -0
- data/generated/google/apis/ml_v1/representations.rb +34 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -15
- data/generated/google/apis/monitoring_v3/representations.rb +26 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +4 -3
- data/generated/google/apis/poly_v1/classes.rb +28 -0
- data/generated/google/apis/poly_v1/representations.rb +15 -0
- data/generated/google/apis/poly_v1/service.rb +3 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -8
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
- data/generated/google/apis/redis_v1beta1.rb +2 -2
- data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
- data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
- data/generated/google/apis/redis_v1beta1/service.rb +73 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +1 -57
- data/generated/google/apis/script_v1/representations.rb +0 -32
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
- data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +22 -22
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +34 -0
- data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1/service.rb +127 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
- data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1/service.rb +0 -33
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +803 -0
- data/generated/google/apis/vault_v1/representations.rb +384 -0
- data/generated/google/apis/vault_v1/service.rb +211 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +3342 -227
- data/generated/google/apis/vision_v1/representations.rb +1696 -365
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
- data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -6
- data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
- data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
- data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180730'
|
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'
|
@@ -1208,11 +1208,11 @@ module Google
|
|
1208
1208
|
# The source image to create this disk. When creating a new instance, one of
|
1209
1209
|
# initializeParams.sourceImage or disks.source is required except for local SSD.
|
1210
1210
|
# To create a disk with one of the public operating system images, specify the
|
1211
|
-
# image by its family name. For example, specify family/debian-
|
1212
|
-
# latest Debian
|
1213
|
-
# projects/debian-cloud/global/images/family/debian-
|
1211
|
+
# image by its family name. For example, specify family/debian-9 to use the
|
1212
|
+
# latest Debian 9 image:
|
1213
|
+
# projects/debian-cloud/global/images/family/debian-9
|
1214
1214
|
# Alternatively, use a specific version of a public operating system image:
|
1215
|
-
# projects/debian-cloud/global/images/debian-
|
1215
|
+
# projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
|
1216
1216
|
# To create a disk with a custom image that you created, specify the image name
|
1217
1217
|
# in the following format:
|
1218
1218
|
# global/images/my-custom-image
|
@@ -2190,18 +2190,18 @@ module Google
|
|
2190
2190
|
class BackendBucketCdnPolicy
|
2191
2191
|
include Google::Apis::Core::Hashable
|
2192
2192
|
|
2193
|
-
#
|
2194
|
-
#
|
2195
|
-
# before being served. Defaults to 1hr (3600s).
|
2196
|
-
# will internally
|
2197
|
-
# Control: public, max-age=[TTL]? header, regardless
|
2198
|
-
# Control header. The actual headers served in responses
|
2193
|
+
# Maximum number of seconds the response to a signed URL request will be
|
2194
|
+
# considered fresh. After this time period, the response will be revalidated
|
2195
|
+
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
2196
|
+
# URL requests, Cloud CDN will internally behave as though all responses from
|
2197
|
+
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
|
2198
|
+
# of any existing Cache-Control header. The actual headers served in responses
|
2199
|
+
# will not be altered.
|
2199
2200
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
2200
2201
|
# @return [Fixnum]
|
2201
2202
|
attr_accessor :signed_url_cache_max_age_sec
|
2202
2203
|
|
2203
|
-
# [Output Only] Names of the keys
|
2204
|
-
# on this backend bucket.
|
2204
|
+
# [Output Only] Names of the keys for signing request URLs.
|
2205
2205
|
# Corresponds to the JSON property `signedUrlKeyNames`
|
2206
2206
|
# @return [Array<String>]
|
2207
2207
|
attr_accessor :signed_url_key_names
|
@@ -2659,18 +2659,18 @@ module Google
|
|
2659
2659
|
# @return [Google::Apis::ComputeBeta::CacheKeyPolicy]
|
2660
2660
|
attr_accessor :cache_key_policy
|
2661
2661
|
|
2662
|
-
#
|
2663
|
-
#
|
2664
|
-
# before being served. Defaults to 1hr (3600s).
|
2665
|
-
# will internally
|
2666
|
-
# Control: public, max-age=[TTL]? header, regardless
|
2667
|
-
# Control header. The actual headers served in responses
|
2662
|
+
# Maximum number of seconds the response to a signed URL request will be
|
2663
|
+
# considered fresh. After this time period, the response will be revalidated
|
2664
|
+
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
2665
|
+
# URL requests, Cloud CDN will internally behave as though all responses from
|
2666
|
+
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
|
2667
|
+
# of any existing Cache-Control header. The actual headers served in responses
|
2668
|
+
# will not be altered.
|
2668
2669
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
2669
2670
|
# @return [Fixnum]
|
2670
2671
|
attr_accessor :signed_url_cache_max_age_sec
|
2671
2672
|
|
2672
|
-
# [Output Only] Names of the keys
|
2673
|
-
# on this backend service.
|
2673
|
+
# [Output Only] Names of the keys for signing request URLs.
|
2674
2674
|
# Corresponds to the JSON property `signedUrlKeyNames`
|
2675
2675
|
# @return [Array<String>]
|
2676
2676
|
attr_accessor :signed_url_key_names
|
@@ -3814,7 +3814,7 @@ module Google
|
|
3814
3814
|
# @return [Array<Fixnum>]
|
3815
3815
|
attr_accessor :license_codes
|
3816
3816
|
|
3817
|
-
#
|
3817
|
+
# A list of publicly visible licenses. Reserved for Google's use.
|
3818
3818
|
# Corresponds to the JSON property `licenses`
|
3819
3819
|
# @return [Array<String>]
|
3820
3820
|
attr_accessor :licenses
|
@@ -3847,6 +3847,11 @@ module Google
|
|
3847
3847
|
# @return [Array<String>]
|
3848
3848
|
attr_accessor :replica_zones
|
3849
3849
|
|
3850
|
+
# Resource policies applied to this disk for automatic snapshot creations.
|
3851
|
+
# Corresponds to the JSON property `resourcePolicies`
|
3852
|
+
# @return [Array<String>]
|
3853
|
+
attr_accessor :resource_policies
|
3854
|
+
|
3850
3855
|
# [Output Only] Server-defined fully-qualified URL for this resource.
|
3851
3856
|
# Corresponds to the JSON property `selfLink`
|
3852
3857
|
# @return [String]
|
@@ -3865,11 +3870,11 @@ module Google
|
|
3865
3870
|
# The source image used to create this disk. If the source image is deleted,
|
3866
3871
|
# this field will not be set.
|
3867
3872
|
# To create a disk with one of the public operating system images, specify the
|
3868
|
-
# image by its family name. For example, specify family/debian-
|
3869
|
-
# latest Debian
|
3870
|
-
# projects/debian-cloud/global/images/family/debian-
|
3873
|
+
# image by its family name. For example, specify family/debian-9 to use the
|
3874
|
+
# latest Debian 9 image:
|
3875
|
+
# projects/debian-cloud/global/images/family/debian-9
|
3871
3876
|
# Alternatively, use a specific version of a public operating system image:
|
3872
|
-
# projects/debian-cloud/global/images/debian-
|
3877
|
+
# projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
|
3873
3878
|
# To create a disk with a custom image that you created, specify the image name
|
3874
3879
|
# in the following format:
|
3875
3880
|
# global/images/my-custom-image
|
@@ -3972,6 +3977,7 @@ module Google
|
|
3972
3977
|
@options = args[:options] if args.key?(:options)
|
3973
3978
|
@region = args[:region] if args.key?(:region)
|
3974
3979
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
3980
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
3975
3981
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3976
3982
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
3977
3983
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -4720,6 +4726,44 @@ module Google
|
|
4720
4726
|
end
|
4721
4727
|
end
|
4722
4728
|
|
4729
|
+
#
|
4730
|
+
class DisksAddResourcePoliciesRequest
|
4731
|
+
include Google::Apis::Core::Hashable
|
4732
|
+
|
4733
|
+
# Resource policies to be added to this disk.
|
4734
|
+
# Corresponds to the JSON property `resourcePolicies`
|
4735
|
+
# @return [Array<String>]
|
4736
|
+
attr_accessor :resource_policies
|
4737
|
+
|
4738
|
+
def initialize(**args)
|
4739
|
+
update!(**args)
|
4740
|
+
end
|
4741
|
+
|
4742
|
+
# Update properties of this object
|
4743
|
+
def update!(**args)
|
4744
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
4745
|
+
end
|
4746
|
+
end
|
4747
|
+
|
4748
|
+
#
|
4749
|
+
class DisksRemoveResourcePoliciesRequest
|
4750
|
+
include Google::Apis::Core::Hashable
|
4751
|
+
|
4752
|
+
# Resource policies to be removed from this disk.
|
4753
|
+
# Corresponds to the JSON property `resourcePolicies`
|
4754
|
+
# @return [Array<String>]
|
4755
|
+
attr_accessor :resource_policies
|
4756
|
+
|
4757
|
+
def initialize(**args)
|
4758
|
+
update!(**args)
|
4759
|
+
end
|
4760
|
+
|
4761
|
+
# Update properties of this object
|
4762
|
+
def update!(**args)
|
4763
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
4764
|
+
end
|
4765
|
+
end
|
4766
|
+
|
4723
4767
|
#
|
4724
4768
|
class DisksResizeRequest
|
4725
4769
|
include Google::Apis::Core::Hashable
|
@@ -5957,6 +6001,56 @@ module Google
|
|
5957
6001
|
end
|
5958
6002
|
end
|
5959
6003
|
|
6004
|
+
#
|
6005
|
+
class GlobalSetPolicyRequest
|
6006
|
+
include Google::Apis::Core::Hashable
|
6007
|
+
|
6008
|
+
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
6009
|
+
# policy' to specify bindings.
|
6010
|
+
# Corresponds to the JSON property `bindings`
|
6011
|
+
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
6012
|
+
attr_accessor :bindings
|
6013
|
+
|
6014
|
+
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
6015
|
+
# policy' to specify the etag.
|
6016
|
+
# Corresponds to the JSON property `etag`
|
6017
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6018
|
+
# @return [String]
|
6019
|
+
attr_accessor :etag
|
6020
|
+
|
6021
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
6022
|
+
# access control policies for Cloud Platform resources.
|
6023
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
6024
|
+
# members` to a `role`, where the members can be user accounts, Google groups,
|
6025
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
6026
|
+
# defined by IAM.
|
6027
|
+
# **JSON Example**
|
6028
|
+
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
6029
|
+
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
6030
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
6031
|
+
# sean@example.com"] ` ] `
|
6032
|
+
# **YAML Example**
|
6033
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
6034
|
+
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
6035
|
+
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
6036
|
+
# For a description of IAM and its features, see the [IAM developer's guide](
|
6037
|
+
# https://cloud.google.com/iam/docs).
|
6038
|
+
# Corresponds to the JSON property `policy`
|
6039
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
6040
|
+
attr_accessor :policy
|
6041
|
+
|
6042
|
+
def initialize(**args)
|
6043
|
+
update!(**args)
|
6044
|
+
end
|
6045
|
+
|
6046
|
+
# Update properties of this object
|
6047
|
+
def update!(**args)
|
6048
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
6049
|
+
@etag = args[:etag] if args.key?(:etag)
|
6050
|
+
@policy = args[:policy] if args.key?(:policy)
|
6051
|
+
end
|
6052
|
+
end
|
6053
|
+
|
5960
6054
|
# Guest OS features.
|
5961
6055
|
class GuestOsFeature
|
5962
6056
|
include Google::Apis::Core::Hashable
|
@@ -7566,7 +7660,8 @@ module Google
|
|
7566
7660
|
# @return [Google::Apis::ComputeBeta::ShieldedVmConfig]
|
7567
7661
|
attr_accessor :shielded_vm_config
|
7568
7662
|
|
7569
|
-
# The policy describes
|
7663
|
+
# The policy describes the baseline against which VM instance boot integrity is
|
7664
|
+
# measured.
|
7570
7665
|
# Corresponds to the JSON property `shieldedVmIntegrityPolicy`
|
7571
7666
|
# @return [Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy]
|
7572
7667
|
attr_accessor :shielded_vm_integrity_policy
|
@@ -8708,10 +8803,10 @@ module Google
|
|
8708
8803
|
|
8709
8804
|
# Minimal action to be taken on an instance. You can specify either RESTART to
|
8710
8805
|
# restart existing instances or REPLACE to delete and create new instances from
|
8711
|
-
# the target template. If you specify a
|
8712
|
-
#
|
8713
|
-
#
|
8714
|
-
#
|
8806
|
+
# the target template. If you specify a RESTART, the Updater will attempt to
|
8807
|
+
# perform that action only. However, if the Updater determines that the minimal
|
8808
|
+
# action you specify is not enough to perform the update, it might perform a
|
8809
|
+
# more disruptive action.
|
8715
8810
|
# Corresponds to the JSON property `minimalAction`
|
8716
8811
|
# @return [String]
|
8717
8812
|
attr_accessor :minimal_action
|
@@ -13809,7 +13904,8 @@ module Google
|
|
13809
13904
|
# @return [String]
|
13810
13905
|
attr_accessor :node_template
|
13811
13906
|
|
13812
|
-
# [Output Only] A list of nodes
|
13907
|
+
# [Deprecated] Use nodeGroups.listNodes instead. [Output Only] A list of nodes
|
13908
|
+
# in this node group.
|
13813
13909
|
# Corresponds to the JSON property `nodes`
|
13814
13910
|
# @return [Array<Google::Apis::ComputeBeta::NodeGroupNode>]
|
13815
13911
|
attr_accessor :nodes
|
@@ -13819,6 +13915,11 @@ module Google
|
|
13819
13915
|
# @return [String]
|
13820
13916
|
attr_accessor :self_link
|
13821
13917
|
|
13918
|
+
# [Output Only] The total number of nodes in the node group.
|
13919
|
+
# Corresponds to the JSON property `size`
|
13920
|
+
# @return [Fixnum]
|
13921
|
+
attr_accessor :size
|
13922
|
+
|
13822
13923
|
#
|
13823
13924
|
# Corresponds to the JSON property `status`
|
13824
13925
|
# @return [String]
|
@@ -13844,6 +13945,7 @@ module Google
|
|
13844
13945
|
@node_template = args[:node_template] if args.key?(:node_template)
|
13845
13946
|
@nodes = args[:nodes] if args.key?(:nodes)
|
13846
13947
|
@self_link = args[:self_link] if args.key?(:self_link)
|
13948
|
+
@size = args[:size] if args.key?(:size)
|
13847
13949
|
@status = args[:status] if args.key?(:status)
|
13848
13950
|
@zone = args[:zone] if args.key?(:zone)
|
13849
13951
|
end
|
@@ -14160,6 +14262,124 @@ module Google
|
|
14160
14262
|
end
|
14161
14263
|
end
|
14162
14264
|
|
14265
|
+
#
|
14266
|
+
class NodeGroupsListNodes
|
14267
|
+
include Google::Apis::Core::Hashable
|
14268
|
+
|
14269
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
14270
|
+
# Corresponds to the JSON property `id`
|
14271
|
+
# @return [String]
|
14272
|
+
attr_accessor :id
|
14273
|
+
|
14274
|
+
# A list of Node resources.
|
14275
|
+
# Corresponds to the JSON property `items`
|
14276
|
+
# @return [Array<Google::Apis::ComputeBeta::NodeGroupNode>]
|
14277
|
+
attr_accessor :items
|
14278
|
+
|
14279
|
+
# [Output Only] The resource type, which is always compute.nodeGroupsListNodes
|
14280
|
+
# for the list of nodes in the specified node group.
|
14281
|
+
# Corresponds to the JSON property `kind`
|
14282
|
+
# @return [String]
|
14283
|
+
attr_accessor :kind
|
14284
|
+
|
14285
|
+
# [Output Only] This token allows you to get the next page of results for list
|
14286
|
+
# requests. If the number of results is larger than maxResults, use the
|
14287
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
14288
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
14289
|
+
# continue paging through the results.
|
14290
|
+
# Corresponds to the JSON property `nextPageToken`
|
14291
|
+
# @return [String]
|
14292
|
+
attr_accessor :next_page_token
|
14293
|
+
|
14294
|
+
# [Output Only] Server-defined URL for this resource.
|
14295
|
+
# Corresponds to the JSON property `selfLink`
|
14296
|
+
# @return [String]
|
14297
|
+
attr_accessor :self_link
|
14298
|
+
|
14299
|
+
# [Output Only] Informational warning message.
|
14300
|
+
# Corresponds to the JSON property `warning`
|
14301
|
+
# @return [Google::Apis::ComputeBeta::NodeGroupsListNodes::Warning]
|
14302
|
+
attr_accessor :warning
|
14303
|
+
|
14304
|
+
def initialize(**args)
|
14305
|
+
update!(**args)
|
14306
|
+
end
|
14307
|
+
|
14308
|
+
# Update properties of this object
|
14309
|
+
def update!(**args)
|
14310
|
+
@id = args[:id] if args.key?(:id)
|
14311
|
+
@items = args[:items] if args.key?(:items)
|
14312
|
+
@kind = args[:kind] if args.key?(:kind)
|
14313
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14314
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
14315
|
+
@warning = args[:warning] if args.key?(:warning)
|
14316
|
+
end
|
14317
|
+
|
14318
|
+
# [Output Only] Informational warning message.
|
14319
|
+
class Warning
|
14320
|
+
include Google::Apis::Core::Hashable
|
14321
|
+
|
14322
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
14323
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
14324
|
+
# Corresponds to the JSON property `code`
|
14325
|
+
# @return [String]
|
14326
|
+
attr_accessor :code
|
14327
|
+
|
14328
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
14329
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
14330
|
+
# Corresponds to the JSON property `data`
|
14331
|
+
# @return [Array<Google::Apis::ComputeBeta::NodeGroupsListNodes::Warning::Datum>]
|
14332
|
+
attr_accessor :data
|
14333
|
+
|
14334
|
+
# [Output Only] A human-readable description of the warning code.
|
14335
|
+
# Corresponds to the JSON property `message`
|
14336
|
+
# @return [String]
|
14337
|
+
attr_accessor :message
|
14338
|
+
|
14339
|
+
def initialize(**args)
|
14340
|
+
update!(**args)
|
14341
|
+
end
|
14342
|
+
|
14343
|
+
# Update properties of this object
|
14344
|
+
def update!(**args)
|
14345
|
+
@code = args[:code] if args.key?(:code)
|
14346
|
+
@data = args[:data] if args.key?(:data)
|
14347
|
+
@message = args[:message] if args.key?(:message)
|
14348
|
+
end
|
14349
|
+
|
14350
|
+
#
|
14351
|
+
class Datum
|
14352
|
+
include Google::Apis::Core::Hashable
|
14353
|
+
|
14354
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
14355
|
+
# For example, for warnings where there are no results in a list request for a
|
14356
|
+
# particular zone, this key might be scope and the key value might be the zone
|
14357
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
14358
|
+
# suggested replacement, or a warning about invalid network settings (for
|
14359
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
14360
|
+
# for IP forwarding).
|
14361
|
+
# Corresponds to the JSON property `key`
|
14362
|
+
# @return [String]
|
14363
|
+
attr_accessor :key
|
14364
|
+
|
14365
|
+
# [Output Only] A warning data value corresponding to the key.
|
14366
|
+
# Corresponds to the JSON property `value`
|
14367
|
+
# @return [String]
|
14368
|
+
attr_accessor :value
|
14369
|
+
|
14370
|
+
def initialize(**args)
|
14371
|
+
update!(**args)
|
14372
|
+
end
|
14373
|
+
|
14374
|
+
# Update properties of this object
|
14375
|
+
def update!(**args)
|
14376
|
+
@key = args[:key] if args.key?(:key)
|
14377
|
+
@value = args[:value] if args.key?(:value)
|
14378
|
+
end
|
14379
|
+
end
|
14380
|
+
end
|
14381
|
+
end
|
14382
|
+
|
14163
14383
|
#
|
14164
14384
|
class NodeGroupsScopedList
|
14165
14385
|
include Google::Apis::Core::Hashable
|
@@ -16541,6 +16761,44 @@ module Google
|
|
16541
16761
|
end
|
16542
16762
|
end
|
16543
16763
|
|
16764
|
+
#
|
16765
|
+
class RegionDisksAddResourcePoliciesRequest
|
16766
|
+
include Google::Apis::Core::Hashable
|
16767
|
+
|
16768
|
+
# Resource policies to be added to this disk.
|
16769
|
+
# Corresponds to the JSON property `resourcePolicies`
|
16770
|
+
# @return [Array<String>]
|
16771
|
+
attr_accessor :resource_policies
|
16772
|
+
|
16773
|
+
def initialize(**args)
|
16774
|
+
update!(**args)
|
16775
|
+
end
|
16776
|
+
|
16777
|
+
# Update properties of this object
|
16778
|
+
def update!(**args)
|
16779
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
16780
|
+
end
|
16781
|
+
end
|
16782
|
+
|
16783
|
+
#
|
16784
|
+
class RegionDisksRemoveResourcePoliciesRequest
|
16785
|
+
include Google::Apis::Core::Hashable
|
16786
|
+
|
16787
|
+
# Resource policies to be removed from this disk.
|
16788
|
+
# Corresponds to the JSON property `resourcePolicies`
|
16789
|
+
# @return [Array<String>]
|
16790
|
+
attr_accessor :resource_policies
|
16791
|
+
|
16792
|
+
def initialize(**args)
|
16793
|
+
update!(**args)
|
16794
|
+
end
|
16795
|
+
|
16796
|
+
# Update properties of this object
|
16797
|
+
def update!(**args)
|
16798
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
16799
|
+
end
|
16800
|
+
end
|
16801
|
+
|
16544
16802
|
#
|
16545
16803
|
class RegionDisksResizeRequest
|
16546
16804
|
include Google::Apis::Core::Hashable
|
@@ -17376,36 +17634,680 @@ module Google
|
|
17376
17634
|
end
|
17377
17635
|
end
|
17378
17636
|
|
17379
|
-
#
|
17380
|
-
|
17381
|
-
# set of routes for a particular instance is called its routing table.
|
17382
|
-
# For each packet leaving an instance, the system searches that instance's
|
17383
|
-
# routing table for a single best matching route. Routes match packets by
|
17384
|
-
# destination IP address, preferring smaller or more specific ranges over larger
|
17385
|
-
# ones. If there is a tie, the system selects the route with the smallest
|
17386
|
-
# priority value. If there is still a tie, it uses the layer three and four
|
17387
|
-
# packet headers to select just one of the remaining matching routes. The packet
|
17388
|
-
# is then forwarded as specified by the nextHop field of the winning route -
|
17389
|
-
# either to another instance destination, an instance gateway, or a Google
|
17390
|
-
# Compute Engine-operated gateway.
|
17391
|
-
# Packets that do not match any route in the sending instance's routing table
|
17392
|
-
# are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
|
17393
|
-
class Route
|
17637
|
+
#
|
17638
|
+
class ResourcePoliciesList
|
17394
17639
|
include Google::Apis::Core::Hashable
|
17395
17640
|
|
17396
|
-
#
|
17397
|
-
# Corresponds to the JSON property `
|
17641
|
+
#
|
17642
|
+
# Corresponds to the JSON property `etag`
|
17398
17643
|
# @return [String]
|
17399
|
-
attr_accessor :
|
17644
|
+
attr_accessor :etag
|
17400
17645
|
|
17401
|
-
#
|
17402
|
-
#
|
17403
|
-
# Corresponds to the JSON property `
|
17646
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
17647
|
+
# defined by the server.
|
17648
|
+
# Corresponds to the JSON property `id`
|
17404
17649
|
# @return [String]
|
17405
|
-
attr_accessor :
|
17650
|
+
attr_accessor :id
|
17406
17651
|
|
17407
|
-
#
|
17408
|
-
#
|
17652
|
+
# [Output Only] A list of ResourcePolicy resources.
|
17653
|
+
# Corresponds to the JSON property `items`
|
17654
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
|
17655
|
+
attr_accessor :items
|
17656
|
+
|
17657
|
+
# [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof
|
17658
|
+
# resourcePolicies
|
17659
|
+
# Corresponds to the JSON property `kind`
|
17660
|
+
# @return [String]
|
17661
|
+
attr_accessor :kind
|
17662
|
+
|
17663
|
+
# [Output Only] This token allows you to get the next page of results for list
|
17664
|
+
# requests. If the number of results is larger than maxResults, use the
|
17665
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
17666
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
17667
|
+
# continue paging through the results.
|
17668
|
+
# Corresponds to the JSON property `nextPageToken`
|
17669
|
+
# @return [String]
|
17670
|
+
attr_accessor :next_page_token
|
17671
|
+
|
17672
|
+
# [Output Only] Server-defined URL for this resource.
|
17673
|
+
# Corresponds to the JSON property `selfLink`
|
17674
|
+
# @return [String]
|
17675
|
+
attr_accessor :self_link
|
17676
|
+
|
17677
|
+
# [Output Only] Informational warning message.
|
17678
|
+
# Corresponds to the JSON property `warning`
|
17679
|
+
# @return [Google::Apis::ComputeBeta::ResourcePoliciesList::Warning]
|
17680
|
+
attr_accessor :warning
|
17681
|
+
|
17682
|
+
def initialize(**args)
|
17683
|
+
update!(**args)
|
17684
|
+
end
|
17685
|
+
|
17686
|
+
# Update properties of this object
|
17687
|
+
def update!(**args)
|
17688
|
+
@etag = args[:etag] if args.key?(:etag)
|
17689
|
+
@id = args[:id] if args.key?(:id)
|
17690
|
+
@items = args[:items] if args.key?(:items)
|
17691
|
+
@kind = args[:kind] if args.key?(:kind)
|
17692
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
17693
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
17694
|
+
@warning = args[:warning] if args.key?(:warning)
|
17695
|
+
end
|
17696
|
+
|
17697
|
+
# [Output Only] Informational warning message.
|
17698
|
+
class Warning
|
17699
|
+
include Google::Apis::Core::Hashable
|
17700
|
+
|
17701
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
17702
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
17703
|
+
# Corresponds to the JSON property `code`
|
17704
|
+
# @return [String]
|
17705
|
+
attr_accessor :code
|
17706
|
+
|
17707
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
17708
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
17709
|
+
# Corresponds to the JSON property `data`
|
17710
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePoliciesList::Warning::Datum>]
|
17711
|
+
attr_accessor :data
|
17712
|
+
|
17713
|
+
# [Output Only] A human-readable description of the warning code.
|
17714
|
+
# Corresponds to the JSON property `message`
|
17715
|
+
# @return [String]
|
17716
|
+
attr_accessor :message
|
17717
|
+
|
17718
|
+
def initialize(**args)
|
17719
|
+
update!(**args)
|
17720
|
+
end
|
17721
|
+
|
17722
|
+
# Update properties of this object
|
17723
|
+
def update!(**args)
|
17724
|
+
@code = args[:code] if args.key?(:code)
|
17725
|
+
@data = args[:data] if args.key?(:data)
|
17726
|
+
@message = args[:message] if args.key?(:message)
|
17727
|
+
end
|
17728
|
+
|
17729
|
+
#
|
17730
|
+
class Datum
|
17731
|
+
include Google::Apis::Core::Hashable
|
17732
|
+
|
17733
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
17734
|
+
# For example, for warnings where there are no results in a list request for a
|
17735
|
+
# particular zone, this key might be scope and the key value might be the zone
|
17736
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
17737
|
+
# suggested replacement, or a warning about invalid network settings (for
|
17738
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
17739
|
+
# for IP forwarding).
|
17740
|
+
# Corresponds to the JSON property `key`
|
17741
|
+
# @return [String]
|
17742
|
+
attr_accessor :key
|
17743
|
+
|
17744
|
+
# [Output Only] A warning data value corresponding to the key.
|
17745
|
+
# Corresponds to the JSON property `value`
|
17746
|
+
# @return [String]
|
17747
|
+
attr_accessor :value
|
17748
|
+
|
17749
|
+
def initialize(**args)
|
17750
|
+
update!(**args)
|
17751
|
+
end
|
17752
|
+
|
17753
|
+
# Update properties of this object
|
17754
|
+
def update!(**args)
|
17755
|
+
@key = args[:key] if args.key?(:key)
|
17756
|
+
@value = args[:value] if args.key?(:value)
|
17757
|
+
end
|
17758
|
+
end
|
17759
|
+
end
|
17760
|
+
end
|
17761
|
+
|
17762
|
+
#
|
17763
|
+
class ResourcePoliciesScopedList
|
17764
|
+
include Google::Apis::Core::Hashable
|
17765
|
+
|
17766
|
+
# A list of resourcePolicies contained in this scope.
|
17767
|
+
# Corresponds to the JSON property `resourcePolicies`
|
17768
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicy>]
|
17769
|
+
attr_accessor :resource_policies
|
17770
|
+
|
17771
|
+
# Informational warning which replaces the list of resourcePolicies when the
|
17772
|
+
# list is empty.
|
17773
|
+
# Corresponds to the JSON property `warning`
|
17774
|
+
# @return [Google::Apis::ComputeBeta::ResourcePoliciesScopedList::Warning]
|
17775
|
+
attr_accessor :warning
|
17776
|
+
|
17777
|
+
def initialize(**args)
|
17778
|
+
update!(**args)
|
17779
|
+
end
|
17780
|
+
|
17781
|
+
# Update properties of this object
|
17782
|
+
def update!(**args)
|
17783
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
17784
|
+
@warning = args[:warning] if args.key?(:warning)
|
17785
|
+
end
|
17786
|
+
|
17787
|
+
# Informational warning which replaces the list of resourcePolicies when the
|
17788
|
+
# list is empty.
|
17789
|
+
class Warning
|
17790
|
+
include Google::Apis::Core::Hashable
|
17791
|
+
|
17792
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
17793
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
17794
|
+
# Corresponds to the JSON property `code`
|
17795
|
+
# @return [String]
|
17796
|
+
attr_accessor :code
|
17797
|
+
|
17798
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
17799
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
17800
|
+
# Corresponds to the JSON property `data`
|
17801
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePoliciesScopedList::Warning::Datum>]
|
17802
|
+
attr_accessor :data
|
17803
|
+
|
17804
|
+
# [Output Only] A human-readable description of the warning code.
|
17805
|
+
# Corresponds to the JSON property `message`
|
17806
|
+
# @return [String]
|
17807
|
+
attr_accessor :message
|
17808
|
+
|
17809
|
+
def initialize(**args)
|
17810
|
+
update!(**args)
|
17811
|
+
end
|
17812
|
+
|
17813
|
+
# Update properties of this object
|
17814
|
+
def update!(**args)
|
17815
|
+
@code = args[:code] if args.key?(:code)
|
17816
|
+
@data = args[:data] if args.key?(:data)
|
17817
|
+
@message = args[:message] if args.key?(:message)
|
17818
|
+
end
|
17819
|
+
|
17820
|
+
#
|
17821
|
+
class Datum
|
17822
|
+
include Google::Apis::Core::Hashable
|
17823
|
+
|
17824
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
17825
|
+
# For example, for warnings where there are no results in a list request for a
|
17826
|
+
# particular zone, this key might be scope and the key value might be the zone
|
17827
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
17828
|
+
# suggested replacement, or a warning about invalid network settings (for
|
17829
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
17830
|
+
# for IP forwarding).
|
17831
|
+
# Corresponds to the JSON property `key`
|
17832
|
+
# @return [String]
|
17833
|
+
attr_accessor :key
|
17834
|
+
|
17835
|
+
# [Output Only] A warning data value corresponding to the key.
|
17836
|
+
# Corresponds to the JSON property `value`
|
17837
|
+
# @return [String]
|
17838
|
+
attr_accessor :value
|
17839
|
+
|
17840
|
+
def initialize(**args)
|
17841
|
+
update!(**args)
|
17842
|
+
end
|
17843
|
+
|
17844
|
+
# Update properties of this object
|
17845
|
+
def update!(**args)
|
17846
|
+
@key = args[:key] if args.key?(:key)
|
17847
|
+
@value = args[:value] if args.key?(:value)
|
17848
|
+
end
|
17849
|
+
end
|
17850
|
+
end
|
17851
|
+
end
|
17852
|
+
|
17853
|
+
#
|
17854
|
+
class ResourcePolicy
|
17855
|
+
include Google::Apis::Core::Hashable
|
17856
|
+
|
17857
|
+
# A backup schedule policy specifies when and how frequently snapshots are to be
|
17858
|
+
# created for the target disk. Also specifies how many and how long these
|
17859
|
+
# automatically created snapshot should be retained.
|
17860
|
+
# Corresponds to the JSON property `backupSchedulePolicy`
|
17861
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicy]
|
17862
|
+
attr_accessor :backup_schedule_policy
|
17863
|
+
|
17864
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
17865
|
+
# Corresponds to the JSON property `creationTimestamp`
|
17866
|
+
# @return [String]
|
17867
|
+
attr_accessor :creation_timestamp
|
17868
|
+
|
17869
|
+
#
|
17870
|
+
# Corresponds to the JSON property `description`
|
17871
|
+
# @return [String]
|
17872
|
+
attr_accessor :description
|
17873
|
+
|
17874
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
17875
|
+
# defined by the server.
|
17876
|
+
# Corresponds to the JSON property `id`
|
17877
|
+
# @return [Fixnum]
|
17878
|
+
attr_accessor :id
|
17879
|
+
|
17880
|
+
# [Output Only] Type of the resource. Always compute#resource_policies for
|
17881
|
+
# resource policies.
|
17882
|
+
# Corresponds to the JSON property `kind`
|
17883
|
+
# @return [String]
|
17884
|
+
attr_accessor :kind
|
17885
|
+
|
17886
|
+
# The name of the resource, provided by the client when initially creating the
|
17887
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
17888
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
17889
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
17890
|
+
# character must be a lowercase letter, and all following characters must be a
|
17891
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
17892
|
+
# dash.
|
17893
|
+
# Corresponds to the JSON property `name`
|
17894
|
+
# @return [String]
|
17895
|
+
attr_accessor :name
|
17896
|
+
|
17897
|
+
#
|
17898
|
+
# Corresponds to the JSON property `region`
|
17899
|
+
# @return [String]
|
17900
|
+
attr_accessor :region
|
17901
|
+
|
17902
|
+
# [Output Only] Server-defined fully-qualified URL for this resource.
|
17903
|
+
# Corresponds to the JSON property `selfLink`
|
17904
|
+
# @return [String]
|
17905
|
+
attr_accessor :self_link
|
17906
|
+
|
17907
|
+
def initialize(**args)
|
17908
|
+
update!(**args)
|
17909
|
+
end
|
17910
|
+
|
17911
|
+
# Update properties of this object
|
17912
|
+
def update!(**args)
|
17913
|
+
@backup_schedule_policy = args[:backup_schedule_policy] if args.key?(:backup_schedule_policy)
|
17914
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
17915
|
+
@description = args[:description] if args.key?(:description)
|
17916
|
+
@id = args[:id] if args.key?(:id)
|
17917
|
+
@kind = args[:kind] if args.key?(:kind)
|
17918
|
+
@name = args[:name] if args.key?(:name)
|
17919
|
+
@region = args[:region] if args.key?(:region)
|
17920
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
17921
|
+
end
|
17922
|
+
end
|
17923
|
+
|
17924
|
+
# Contains a list of resourcePolicies.
|
17925
|
+
class ResourcePolicyAggregatedList
|
17926
|
+
include Google::Apis::Core::Hashable
|
17927
|
+
|
17928
|
+
#
|
17929
|
+
# Corresponds to the JSON property `etag`
|
17930
|
+
# @return [String]
|
17931
|
+
attr_accessor :etag
|
17932
|
+
|
17933
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
17934
|
+
# Corresponds to the JSON property `id`
|
17935
|
+
# @return [String]
|
17936
|
+
attr_accessor :id
|
17937
|
+
|
17938
|
+
# A list of ResourcePolicy resources.
|
17939
|
+
# Corresponds to the JSON property `items`
|
17940
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::ResourcePoliciesScopedList>]
|
17941
|
+
attr_accessor :items
|
17942
|
+
|
17943
|
+
# Type of resource.
|
17944
|
+
# Corresponds to the JSON property `kind`
|
17945
|
+
# @return [String]
|
17946
|
+
attr_accessor :kind
|
17947
|
+
|
17948
|
+
# [Output Only] This token allows you to get the next page of results for list
|
17949
|
+
# requests. If the number of results is larger than maxResults, use the
|
17950
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
17951
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
17952
|
+
# continue paging through the results.
|
17953
|
+
# Corresponds to the JSON property `nextPageToken`
|
17954
|
+
# @return [String]
|
17955
|
+
attr_accessor :next_page_token
|
17956
|
+
|
17957
|
+
# [Output Only] Server-defined URL for this resource.
|
17958
|
+
# Corresponds to the JSON property `selfLink`
|
17959
|
+
# @return [String]
|
17960
|
+
attr_accessor :self_link
|
17961
|
+
|
17962
|
+
# [Output Only] Informational warning message.
|
17963
|
+
# Corresponds to the JSON property `warning`
|
17964
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Warning]
|
17965
|
+
attr_accessor :warning
|
17966
|
+
|
17967
|
+
def initialize(**args)
|
17968
|
+
update!(**args)
|
17969
|
+
end
|
17970
|
+
|
17971
|
+
# Update properties of this object
|
17972
|
+
def update!(**args)
|
17973
|
+
@etag = args[:etag] if args.key?(:etag)
|
17974
|
+
@id = args[:id] if args.key?(:id)
|
17975
|
+
@items = args[:items] if args.key?(:items)
|
17976
|
+
@kind = args[:kind] if args.key?(:kind)
|
17977
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
17978
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
17979
|
+
@warning = args[:warning] if args.key?(:warning)
|
17980
|
+
end
|
17981
|
+
|
17982
|
+
# [Output Only] Informational warning message.
|
17983
|
+
class Warning
|
17984
|
+
include Google::Apis::Core::Hashable
|
17985
|
+
|
17986
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
17987
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
17988
|
+
# Corresponds to the JSON property `code`
|
17989
|
+
# @return [String]
|
17990
|
+
attr_accessor :code
|
17991
|
+
|
17992
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
17993
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
17994
|
+
# Corresponds to the JSON property `data`
|
17995
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Warning::Datum>]
|
17996
|
+
attr_accessor :data
|
17997
|
+
|
17998
|
+
# [Output Only] A human-readable description of the warning code.
|
17999
|
+
# Corresponds to the JSON property `message`
|
18000
|
+
# @return [String]
|
18001
|
+
attr_accessor :message
|
18002
|
+
|
18003
|
+
def initialize(**args)
|
18004
|
+
update!(**args)
|
18005
|
+
end
|
18006
|
+
|
18007
|
+
# Update properties of this object
|
18008
|
+
def update!(**args)
|
18009
|
+
@code = args[:code] if args.key?(:code)
|
18010
|
+
@data = args[:data] if args.key?(:data)
|
18011
|
+
@message = args[:message] if args.key?(:message)
|
18012
|
+
end
|
18013
|
+
|
18014
|
+
#
|
18015
|
+
class Datum
|
18016
|
+
include Google::Apis::Core::Hashable
|
18017
|
+
|
18018
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
18019
|
+
# For example, for warnings where there are no results in a list request for a
|
18020
|
+
# particular zone, this key might be scope and the key value might be the zone
|
18021
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
18022
|
+
# suggested replacement, or a warning about invalid network settings (for
|
18023
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
18024
|
+
# for IP forwarding).
|
18025
|
+
# Corresponds to the JSON property `key`
|
18026
|
+
# @return [String]
|
18027
|
+
attr_accessor :key
|
18028
|
+
|
18029
|
+
# [Output Only] A warning data value corresponding to the key.
|
18030
|
+
# Corresponds to the JSON property `value`
|
18031
|
+
# @return [String]
|
18032
|
+
attr_accessor :value
|
18033
|
+
|
18034
|
+
def initialize(**args)
|
18035
|
+
update!(**args)
|
18036
|
+
end
|
18037
|
+
|
18038
|
+
# Update properties of this object
|
18039
|
+
def update!(**args)
|
18040
|
+
@key = args[:key] if args.key?(:key)
|
18041
|
+
@value = args[:value] if args.key?(:value)
|
18042
|
+
end
|
18043
|
+
end
|
18044
|
+
end
|
18045
|
+
end
|
18046
|
+
|
18047
|
+
# A backup schedule policy specifies when and how frequently snapshots are to be
|
18048
|
+
# created for the target disk. Also specifies how many and how long these
|
18049
|
+
# automatically created snapshot should be retained.
|
18050
|
+
class ResourcePolicyBackupSchedulePolicy
|
18051
|
+
include Google::Apis::Core::Hashable
|
18052
|
+
|
18053
|
+
# Policy for retention of automatically created snapshots.
|
18054
|
+
# Corresponds to the JSON property `retentionPolicy`
|
18055
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicyRetentionPolicy]
|
18056
|
+
attr_accessor :retention_policy
|
18057
|
+
|
18058
|
+
# A schedule for disks where the schedueled operations are performed.
|
18059
|
+
# Corresponds to the JSON property `schedule`
|
18060
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySchedule]
|
18061
|
+
attr_accessor :schedule
|
18062
|
+
|
18063
|
+
# Specified snapshot properties for automatic snapshots created by this policy.
|
18064
|
+
# Corresponds to the JSON property `snapshotProperties`
|
18065
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyBackupSchedulePolicySnapshotProperties]
|
18066
|
+
attr_accessor :snapshot_properties
|
18067
|
+
|
18068
|
+
def initialize(**args)
|
18069
|
+
update!(**args)
|
18070
|
+
end
|
18071
|
+
|
18072
|
+
# Update properties of this object
|
18073
|
+
def update!(**args)
|
18074
|
+
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
18075
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
18076
|
+
@snapshot_properties = args[:snapshot_properties] if args.key?(:snapshot_properties)
|
18077
|
+
end
|
18078
|
+
end
|
18079
|
+
|
18080
|
+
# Policy for retention of automatically created snapshots.
|
18081
|
+
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
18082
|
+
include Google::Apis::Core::Hashable
|
18083
|
+
|
18084
|
+
# Maximum age of the snapshot that is allowed to be kept.
|
18085
|
+
# Corresponds to the JSON property `maxRetentionDays`
|
18086
|
+
# @return [Fixnum]
|
18087
|
+
attr_accessor :max_retention_days
|
18088
|
+
|
18089
|
+
def initialize(**args)
|
18090
|
+
update!(**args)
|
18091
|
+
end
|
18092
|
+
|
18093
|
+
# Update properties of this object
|
18094
|
+
def update!(**args)
|
18095
|
+
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
18096
|
+
end
|
18097
|
+
end
|
18098
|
+
|
18099
|
+
# A schedule for disks where the schedueled operations are performed.
|
18100
|
+
class ResourcePolicyBackupSchedulePolicySchedule
|
18101
|
+
include Google::Apis::Core::Hashable
|
18102
|
+
|
18103
|
+
# Time window specified for daily operations.
|
18104
|
+
# Corresponds to the JSON property `dailySchedule`
|
18105
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyDailyCycle]
|
18106
|
+
attr_accessor :daily_schedule
|
18107
|
+
|
18108
|
+
# Time window specified for hourly operations.
|
18109
|
+
# Corresponds to the JSON property `hourlySchedule`
|
18110
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyHourlyCycle]
|
18111
|
+
attr_accessor :hourly_schedule
|
18112
|
+
|
18113
|
+
# Time window specified for weekly operations.
|
18114
|
+
# Corresponds to the JSON property `weeklySchedule`
|
18115
|
+
# @return [Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycle]
|
18116
|
+
attr_accessor :weekly_schedule
|
18117
|
+
|
18118
|
+
def initialize(**args)
|
18119
|
+
update!(**args)
|
18120
|
+
end
|
18121
|
+
|
18122
|
+
# Update properties of this object
|
18123
|
+
def update!(**args)
|
18124
|
+
@daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
|
18125
|
+
@hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
|
18126
|
+
@weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
|
18127
|
+
end
|
18128
|
+
end
|
18129
|
+
|
18130
|
+
# Specified snapshot properties for automatic snapshots created by this policy.
|
18131
|
+
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
18132
|
+
include Google::Apis::Core::Hashable
|
18133
|
+
|
18134
|
+
# Indication to perform a ?guest aware? snapshot.
|
18135
|
+
# Corresponds to the JSON property `guestFlush`
|
18136
|
+
# @return [Boolean]
|
18137
|
+
attr_accessor :guest_flush
|
18138
|
+
alias_method :guest_flush?, :guest_flush
|
18139
|
+
|
18140
|
+
# Labels to apply to automatic snapshots. These can be later modified by the
|
18141
|
+
# setLabels method. Label values may be empty.
|
18142
|
+
# Corresponds to the JSON property `labels`
|
18143
|
+
# @return [Hash<String,String>]
|
18144
|
+
attr_accessor :labels
|
18145
|
+
|
18146
|
+
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
18147
|
+
# Corresponds to the JSON property `storageLocations`
|
18148
|
+
# @return [Array<String>]
|
18149
|
+
attr_accessor :storage_locations
|
18150
|
+
|
18151
|
+
def initialize(**args)
|
18152
|
+
update!(**args)
|
18153
|
+
end
|
18154
|
+
|
18155
|
+
# Update properties of this object
|
18156
|
+
def update!(**args)
|
18157
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
18158
|
+
@labels = args[:labels] if args.key?(:labels)
|
18159
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
18160
|
+
end
|
18161
|
+
end
|
18162
|
+
|
18163
|
+
# Time window specified for daily operations.
|
18164
|
+
class ResourcePolicyDailyCycle
|
18165
|
+
include Google::Apis::Core::Hashable
|
18166
|
+
|
18167
|
+
# Allows to define schedule that runs every nth day of the month.
|
18168
|
+
# Corresponds to the JSON property `daysInCycle`
|
18169
|
+
# @return [Fixnum]
|
18170
|
+
attr_accessor :days_in_cycle
|
18171
|
+
|
18172
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
18173
|
+
# possible in the given scenario.
|
18174
|
+
# Corresponds to the JSON property `duration`
|
18175
|
+
# @return [String]
|
18176
|
+
attr_accessor :duration
|
18177
|
+
|
18178
|
+
# Time within the window to start the operations. It must be in format "HH:MM?,
|
18179
|
+
# where HH : [00-23] and MM : [00-59] GMT.
|
18180
|
+
# Corresponds to the JSON property `startTime`
|
18181
|
+
# @return [String]
|
18182
|
+
attr_accessor :start_time
|
18183
|
+
|
18184
|
+
def initialize(**args)
|
18185
|
+
update!(**args)
|
18186
|
+
end
|
18187
|
+
|
18188
|
+
# Update properties of this object
|
18189
|
+
def update!(**args)
|
18190
|
+
@days_in_cycle = args[:days_in_cycle] if args.key?(:days_in_cycle)
|
18191
|
+
@duration = args[:duration] if args.key?(:duration)
|
18192
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
18193
|
+
end
|
18194
|
+
end
|
18195
|
+
|
18196
|
+
# Time window specified for hourly operations.
|
18197
|
+
class ResourcePolicyHourlyCycle
|
18198
|
+
include Google::Apis::Core::Hashable
|
18199
|
+
|
18200
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
18201
|
+
# possible in the given scenario.
|
18202
|
+
# Corresponds to the JSON property `duration`
|
18203
|
+
# @return [String]
|
18204
|
+
attr_accessor :duration
|
18205
|
+
|
18206
|
+
# Allows to define schedule that runs every nth hour.
|
18207
|
+
# Corresponds to the JSON property `hoursInCycle`
|
18208
|
+
# @return [Fixnum]
|
18209
|
+
attr_accessor :hours_in_cycle
|
18210
|
+
|
18211
|
+
# Time within the window to start the operations. It must be in format "HH:MM?,
|
18212
|
+
# where HH : [00-23] and MM : [00-59] GMT.
|
18213
|
+
# Corresponds to the JSON property `startTime`
|
18214
|
+
# @return [String]
|
18215
|
+
attr_accessor :start_time
|
18216
|
+
|
18217
|
+
def initialize(**args)
|
18218
|
+
update!(**args)
|
18219
|
+
end
|
18220
|
+
|
18221
|
+
# Update properties of this object
|
18222
|
+
def update!(**args)
|
18223
|
+
@duration = args[:duration] if args.key?(:duration)
|
18224
|
+
@hours_in_cycle = args[:hours_in_cycle] if args.key?(:hours_in_cycle)
|
18225
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
18226
|
+
end
|
18227
|
+
end
|
18228
|
+
|
18229
|
+
# Time window specified for weekly operations.
|
18230
|
+
class ResourcePolicyWeeklyCycle
|
18231
|
+
include Google::Apis::Core::Hashable
|
18232
|
+
|
18233
|
+
# Up to 7 intervals/windows, one for each day of the week.
|
18234
|
+
# Corresponds to the JSON property `dayOfWeeks`
|
18235
|
+
# @return [Array<Google::Apis::ComputeBeta::ResourcePolicyWeeklyCycleDayOfWeek>]
|
18236
|
+
attr_accessor :day_of_weeks
|
18237
|
+
|
18238
|
+
def initialize(**args)
|
18239
|
+
update!(**args)
|
18240
|
+
end
|
18241
|
+
|
18242
|
+
# Update properties of this object
|
18243
|
+
def update!(**args)
|
18244
|
+
@day_of_weeks = args[:day_of_weeks] if args.key?(:day_of_weeks)
|
18245
|
+
end
|
18246
|
+
end
|
18247
|
+
|
18248
|
+
#
|
18249
|
+
class ResourcePolicyWeeklyCycleDayOfWeek
|
18250
|
+
include Google::Apis::Core::Hashable
|
18251
|
+
|
18252
|
+
# Allows to define schedule that runs specified day of the week.
|
18253
|
+
# Corresponds to the JSON property `day`
|
18254
|
+
# @return [String]
|
18255
|
+
attr_accessor :day
|
18256
|
+
|
18257
|
+
# [Output only] Duration of the time window, automatically chosen to be smallest
|
18258
|
+
# possible in the given scenario.
|
18259
|
+
# Corresponds to the JSON property `duration`
|
18260
|
+
# @return [String]
|
18261
|
+
attr_accessor :duration
|
18262
|
+
|
18263
|
+
# Time within the window to start the operations. It must be in format "HH:MM?,
|
18264
|
+
# where HH : [00-23] and MM : [00-59] GMT.
|
18265
|
+
# Corresponds to the JSON property `startTime`
|
18266
|
+
# @return [String]
|
18267
|
+
attr_accessor :start_time
|
18268
|
+
|
18269
|
+
def initialize(**args)
|
18270
|
+
update!(**args)
|
18271
|
+
end
|
18272
|
+
|
18273
|
+
# Update properties of this object
|
18274
|
+
def update!(**args)
|
18275
|
+
@day = args[:day] if args.key?(:day)
|
18276
|
+
@duration = args[:duration] if args.key?(:duration)
|
18277
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
18278
|
+
end
|
18279
|
+
end
|
18280
|
+
|
18281
|
+
# Represents a Route resource. A route specifies how certain packets should be
|
18282
|
+
# handled by the network. Routes are associated with instances by tags and the
|
18283
|
+
# set of routes for a particular instance is called its routing table.
|
18284
|
+
# For each packet leaving an instance, the system searches that instance's
|
18285
|
+
# routing table for a single best matching route. Routes match packets by
|
18286
|
+
# destination IP address, preferring smaller or more specific ranges over larger
|
18287
|
+
# ones. If there is a tie, the system selects the route with the smallest
|
18288
|
+
# priority value. If there is still a tie, it uses the layer three and four
|
18289
|
+
# packet headers to select just one of the remaining matching routes. The packet
|
18290
|
+
# is then forwarded as specified by the nextHop field of the winning route -
|
18291
|
+
# either to another instance destination, an instance gateway, or a Google
|
18292
|
+
# Compute Engine-operated gateway.
|
18293
|
+
# Packets that do not match any route in the sending instance's routing table
|
18294
|
+
# are dropped. (== resource_for beta.routes ==) (== resource_for v1.routes ==)
|
18295
|
+
class Route
|
18296
|
+
include Google::Apis::Core::Hashable
|
18297
|
+
|
18298
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
18299
|
+
# Corresponds to the JSON property `creationTimestamp`
|
18300
|
+
# @return [String]
|
18301
|
+
attr_accessor :creation_timestamp
|
18302
|
+
|
18303
|
+
# An optional description of this resource. Provide this property when you
|
18304
|
+
# create the resource.
|
18305
|
+
# Corresponds to the JSON property `description`
|
18306
|
+
# @return [String]
|
18307
|
+
attr_accessor :description
|
18308
|
+
|
18309
|
+
# The destination range of outgoing packets that this route applies to. Only
|
18310
|
+
# IPv4 is supported.
|
17409
18311
|
# Corresponds to the JSON property `destRange`
|
17410
18312
|
# @return [String]
|
17411
18313
|
attr_accessor :dest_range
|
@@ -18743,7 +19645,7 @@ module Google
|
|
18743
19645
|
end
|
18744
19646
|
|
18745
19647
|
# A security policy is comprised of one or more rules. It can also be associated
|
18746
|
-
# with one or more 'targets'.
|
19648
|
+
# with one or more 'targets'. (== resource_for beta.securityPolicies ==)
|
18747
19649
|
class SecurityPolicy
|
18748
19650
|
include Google::Apis::Core::Hashable
|
18749
19651
|
|
@@ -18781,6 +19683,24 @@ module Google
|
|
18781
19683
|
# @return [String]
|
18782
19684
|
attr_accessor :kind
|
18783
19685
|
|
19686
|
+
# A fingerprint for the labels being applied to this security policy, which is
|
19687
|
+
# essentially a hash of the labels set used for optimistic locking. The
|
19688
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
19689
|
+
# request to modify or update labels. You must always provide an up-to-date
|
19690
|
+
# fingerprint hash in order to update or change labels.
|
19691
|
+
# To see the latest fingerprint, make get() request to the security policy.
|
19692
|
+
# Corresponds to the JSON property `labelFingerprint`
|
19693
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
19694
|
+
# @return [String]
|
19695
|
+
attr_accessor :label_fingerprint
|
19696
|
+
|
19697
|
+
# Labels to apply to this security policy resource. These can be later modified
|
19698
|
+
# by the setLabels method. Each label key/value must comply with RFC1035. Label
|
19699
|
+
# values may be empty.
|
19700
|
+
# Corresponds to the JSON property `labels`
|
19701
|
+
# @return [Hash<String,String>]
|
19702
|
+
attr_accessor :labels
|
19703
|
+
|
18784
19704
|
# Name of the resource. Provided by the client when the resource is created. The
|
18785
19705
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
18786
19706
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -18815,6 +19735,8 @@ module Google
|
|
18815
19735
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
18816
19736
|
@id = args[:id] if args.key?(:id)
|
18817
19737
|
@kind = args[:kind] if args.key?(:kind)
|
19738
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
19739
|
+
@labels = args[:labels] if args.key?(:labels)
|
18818
19740
|
@name = args[:name] if args.key?(:name)
|
18819
19741
|
@rules = args[:rules] if args.key?(:rules)
|
18820
19742
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -19151,19 +20073,19 @@ module Google
|
|
19151
20073
|
class ShieldedVmConfig
|
19152
20074
|
include Google::Apis::Core::Hashable
|
19153
20075
|
|
19154
|
-
# Defines whether the instance
|
20076
|
+
# Defines whether the instance has integrity monitoring enabled.
|
19155
20077
|
# Corresponds to the JSON property `enableIntegrityMonitoring`
|
19156
20078
|
# @return [Boolean]
|
19157
20079
|
attr_accessor :enable_integrity_monitoring
|
19158
20080
|
alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring
|
19159
20081
|
|
19160
|
-
# Defines whether the instance
|
20082
|
+
# Defines whether the instance has Secure Boot enabled.
|
19161
20083
|
# Corresponds to the JSON property `enableSecureBoot`
|
19162
20084
|
# @return [Boolean]
|
19163
20085
|
attr_accessor :enable_secure_boot
|
19164
20086
|
alias_method :enable_secure_boot?, :enable_secure_boot
|
19165
20087
|
|
19166
|
-
# Defines whether the instance
|
20088
|
+
# Defines whether the instance has the vTPM enabled.
|
19167
20089
|
# Corresponds to the JSON property `enableVtpm`
|
19168
20090
|
# @return [Boolean]
|
19169
20091
|
attr_accessor :enable_vtpm
|
@@ -19181,12 +20103,13 @@ module Google
|
|
19181
20103
|
end
|
19182
20104
|
end
|
19183
20105
|
|
19184
|
-
# The policy describes
|
20106
|
+
# The policy describes the baseline against which VM instance boot integrity is
|
20107
|
+
# measured.
|
19185
20108
|
class ShieldedVmIntegrityPolicy
|
19186
20109
|
include Google::Apis::Core::Hashable
|
19187
20110
|
|
19188
|
-
#
|
19189
|
-
#
|
20111
|
+
# Updates the integrity policy baseline using the measurements from the VM
|
20112
|
+
# instance's most recent boot.
|
19190
20113
|
# Corresponds to the JSON property `updateAutoLearnPolicy`
|
19191
20114
|
# @return [Boolean]
|
19192
20115
|
attr_accessor :update_auto_learn_policy
|
@@ -19238,6 +20161,13 @@ module Google
|
|
19238
20161
|
class Snapshot
|
19239
20162
|
include Google::Apis::Core::Hashable
|
19240
20163
|
|
20164
|
+
# [Output Only] Set to true if snapshots are autoamtically by applying resource
|
20165
|
+
# policy on the target disk.
|
20166
|
+
# Corresponds to the JSON property `autoCreated`
|
20167
|
+
# @return [Boolean]
|
20168
|
+
attr_accessor :auto_created
|
20169
|
+
alias_method :auto_created?, :auto_created
|
20170
|
+
|
19241
20171
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
19242
20172
|
# Corresponds to the JSON property `creationTimestamp`
|
19243
20173
|
# @return [String]
|
@@ -19353,12 +20283,18 @@ module Google
|
|
19353
20283
|
# @return [String]
|
19354
20284
|
attr_accessor :storage_bytes_status
|
19355
20285
|
|
20286
|
+
# GCS bucket storage location of the snapshot (regional or multi-regional).
|
20287
|
+
# Corresponds to the JSON property `storageLocations`
|
20288
|
+
# @return [Array<String>]
|
20289
|
+
attr_accessor :storage_locations
|
20290
|
+
|
19356
20291
|
def initialize(**args)
|
19357
20292
|
update!(**args)
|
19358
20293
|
end
|
19359
20294
|
|
19360
20295
|
# Update properties of this object
|
19361
20296
|
def update!(**args)
|
20297
|
+
@auto_created = args[:auto_created] if args.key?(:auto_created)
|
19362
20298
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19363
20299
|
@description = args[:description] if args.key?(:description)
|
19364
20300
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@@ -19377,6 +20313,7 @@ module Google
|
|
19377
20313
|
@status = args[:status] if args.key?(:status)
|
19378
20314
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
19379
20315
|
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
20316
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
19380
20317
|
end
|
19381
20318
|
end
|
19382
20319
|
|
@@ -20597,6 +21534,26 @@ module Google
|
|
20597
21534
|
# @return [String]
|
20598
21535
|
attr_accessor :port_name
|
20599
21536
|
|
21537
|
+
# Specifies how port is selected for health checking, can be one of following
|
21538
|
+
# values:
|
21539
|
+
# USE_FIXED_PORT: The port number in
|
21540
|
+
# port
|
21541
|
+
# is used for health checking.
|
21542
|
+
# USE_NAMED_PORT: The
|
21543
|
+
# portName
|
21544
|
+
# is used for health checking.
|
21545
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
21546
|
+
# network endpoint is used for health checking. For other backends, the port or
|
21547
|
+
# named port specified in the Backend Service is used for health checking.
|
21548
|
+
# If not specified, TCP health check follows behavior specified in
|
21549
|
+
# port
|
21550
|
+
# and
|
21551
|
+
# portName
|
21552
|
+
# fields.
|
21553
|
+
# Corresponds to the JSON property `portSpecification`
|
21554
|
+
# @return [String]
|
21555
|
+
attr_accessor :port_specification
|
21556
|
+
|
20600
21557
|
# Specifies the type of proxy header to append before sending data to the
|
20601
21558
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
20602
21559
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -20626,6 +21583,7 @@ module Google
|
|
20626
21583
|
def update!(**args)
|
20627
21584
|
@port = args[:port] if args.key?(:port)
|
20628
21585
|
@port_name = args[:port_name] if args.key?(:port_name)
|
21586
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
20629
21587
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
20630
21588
|
@request = args[:request] if args.key?(:request)
|
20631
21589
|
@response = args[:response] if args.key?(:response)
|
@@ -24609,6 +25567,56 @@ module Google
|
|
24609
25567
|
@labels = args[:labels] if args.key?(:labels)
|
24610
25568
|
end
|
24611
25569
|
end
|
25570
|
+
|
25571
|
+
#
|
25572
|
+
class ZoneSetPolicyRequest
|
25573
|
+
include Google::Apis::Core::Hashable
|
25574
|
+
|
25575
|
+
# Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use '
|
25576
|
+
# policy' to specify bindings.
|
25577
|
+
# Corresponds to the JSON property `bindings`
|
25578
|
+
# @return [Array<Google::Apis::ComputeBeta::Binding>]
|
25579
|
+
attr_accessor :bindings
|
25580
|
+
|
25581
|
+
# Flatten Policy to create a backward compatible wire-format. Deprecated. Use '
|
25582
|
+
# policy' to specify the etag.
|
25583
|
+
# Corresponds to the JSON property `etag`
|
25584
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
25585
|
+
# @return [String]
|
25586
|
+
attr_accessor :etag
|
25587
|
+
|
25588
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to specify
|
25589
|
+
# access control policies for Cloud Platform resources.
|
25590
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of `
|
25591
|
+
# members` to a `role`, where the members can be user accounts, Google groups,
|
25592
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
25593
|
+
# defined by IAM.
|
25594
|
+
# **JSON Example**
|
25595
|
+
# ` "bindings": [ ` "role": "roles/owner", "members": [ "user:mike@example.com",
|
25596
|
+
# "group:admins@example.com", "domain:google.com", "serviceAccount:my-other-app@
|
25597
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/viewer", "members": ["user:
|
25598
|
+
# sean@example.com"] ` ] `
|
25599
|
+
# **YAML Example**
|
25600
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
25601
|
+
# domain:google.com - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
25602
|
+
# role: roles/owner - members: - user:sean@example.com role: roles/viewer
|
25603
|
+
# For a description of IAM and its features, see the [IAM developer's guide](
|
25604
|
+
# https://cloud.google.com/iam/docs).
|
25605
|
+
# Corresponds to the JSON property `policy`
|
25606
|
+
# @return [Google::Apis::ComputeBeta::Policy]
|
25607
|
+
attr_accessor :policy
|
25608
|
+
|
25609
|
+
def initialize(**args)
|
25610
|
+
update!(**args)
|
25611
|
+
end
|
25612
|
+
|
25613
|
+
# Update properties of this object
|
25614
|
+
def update!(**args)
|
25615
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
25616
|
+
@etag = args[:etag] if args.key?(:etag)
|
25617
|
+
@policy = args[:policy] if args.key?(:policy)
|
25618
|
+
end
|
25619
|
+
end
|
24612
25620
|
end
|
24613
25621
|
end
|
24614
25622
|
end
|