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 ComputeV1
|
27
27
|
VERSION = 'V1'
|
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'
|
@@ -476,6 +476,17 @@ module Google
|
|
476
476
|
# @return [String]
|
477
477
|
attr_accessor :nat_ip
|
478
478
|
|
479
|
+
# This signifies the networking tier used for configuring this access
|
480
|
+
# configuration and can only take the following values: PREMIUM, STANDARD.
|
481
|
+
# If an AccessConfig is specified without a valid external IP address, an
|
482
|
+
# ephemeral IP will be created with this networkTier.
|
483
|
+
# If an AccessConfig with a valid external IP address is specified, it must
|
484
|
+
# match that of the networkTier associated with the Address resource owning that
|
485
|
+
# IP.
|
486
|
+
# Corresponds to the JSON property `networkTier`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :network_tier
|
489
|
+
|
479
490
|
# The DNS domain name for the public PTR record. This field can only be set when
|
480
491
|
# the set_public_ptr field is enabled.
|
481
492
|
# Corresponds to the JSON property `publicPtrDomainName`
|
@@ -503,6 +514,7 @@ module Google
|
|
503
514
|
@kind = args[:kind] if args.key?(:kind)
|
504
515
|
@name = args[:name] if args.key?(:name)
|
505
516
|
@nat_ip = args[:nat_ip] if args.key?(:nat_ip)
|
517
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
506
518
|
@public_ptr_domain_name = args[:public_ptr_domain_name] if args.key?(:public_ptr_domain_name)
|
507
519
|
@set_public_ptr = args[:set_public_ptr] if args.key?(:set_public_ptr)
|
508
520
|
@type = args[:type] if args.key?(:type)
|
@@ -564,6 +576,13 @@ module Google
|
|
564
576
|
# @return [String]
|
565
577
|
attr_accessor :name
|
566
578
|
|
579
|
+
# This signifies the networking tier used for configuring this Address and can
|
580
|
+
# only take the following values: PREMIUM , STANDARD.
|
581
|
+
# If this field is not specified, it is assumed to be PREMIUM.
|
582
|
+
# Corresponds to the JSON property `networkTier`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :network_tier
|
585
|
+
|
567
586
|
# [Output Only] URL of the region where the regional address resides. This field
|
568
587
|
# is not applicable to global addresses. You must specify this field as part of
|
569
588
|
# the HTTP request URL. You cannot set this field in the request body.
|
@@ -611,6 +630,7 @@ module Google
|
|
611
630
|
@ip_version = args[:ip_version] if args.key?(:ip_version)
|
612
631
|
@kind = args[:kind] if args.key?(:kind)
|
613
632
|
@name = args[:name] if args.key?(:name)
|
633
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
614
634
|
@region = args[:region] if args.key?(:region)
|
615
635
|
@self_link = args[:self_link] if args.key?(:self_link)
|
616
636
|
@status = args[:status] if args.key?(:status)
|
@@ -1144,11 +1164,11 @@ module Google
|
|
1144
1164
|
# The source image to create this disk. When creating a new instance, one of
|
1145
1165
|
# initializeParams.sourceImage or disks.source is required except for local SSD.
|
1146
1166
|
# To create a disk with one of the public operating system images, specify the
|
1147
|
-
# image by its family name. For example, specify family/debian-
|
1148
|
-
# latest Debian
|
1149
|
-
# projects/debian-cloud/global/images/family/debian-
|
1167
|
+
# image by its family name. For example, specify family/debian-9 to use the
|
1168
|
+
# latest Debian 9 image:
|
1169
|
+
# projects/debian-cloud/global/images/family/debian-9
|
1150
1170
|
# Alternatively, use a specific version of a public operating system image:
|
1151
|
-
# projects/debian-cloud/global/images/debian-
|
1171
|
+
# projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
|
1152
1172
|
# To create a disk with a custom image that you created, specify the image name
|
1153
1173
|
# in the following format:
|
1154
1174
|
# global/images/my-custom-image
|
@@ -1960,18 +1980,18 @@ module Google
|
|
1960
1980
|
class BackendBucketCdnPolicy
|
1961
1981
|
include Google::Apis::Core::Hashable
|
1962
1982
|
|
1963
|
-
#
|
1964
|
-
#
|
1965
|
-
# before being served. Defaults to 1hr (3600s).
|
1966
|
-
# will internally
|
1967
|
-
# Control: public, max-age=[TTL]? header, regardless
|
1968
|
-
# Control header. The actual headers served in responses
|
1983
|
+
# Maximum number of seconds the response to a signed URL request will be
|
1984
|
+
# considered fresh. After this time period, the response will be revalidated
|
1985
|
+
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
1986
|
+
# URL requests, Cloud CDN will internally behave as though all responses from
|
1987
|
+
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
|
1988
|
+
# of any existing Cache-Control header. The actual headers served in responses
|
1989
|
+
# will not be altered.
|
1969
1990
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
1970
1991
|
# @return [Fixnum]
|
1971
1992
|
attr_accessor :signed_url_cache_max_age_sec
|
1972
1993
|
|
1973
|
-
# [Output Only] Names of the keys
|
1974
|
-
# on this backend bucket.
|
1994
|
+
# [Output Only] Names of the keys for signing request URLs.
|
1975
1995
|
# Corresponds to the JSON property `signedUrlKeyNames`
|
1976
1996
|
# @return [Array<String>]
|
1977
1997
|
attr_accessor :signed_url_key_names
|
@@ -2416,18 +2436,18 @@ module Google
|
|
2416
2436
|
# @return [Google::Apis::ComputeV1::CacheKeyPolicy]
|
2417
2437
|
attr_accessor :cache_key_policy
|
2418
2438
|
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
# before being served. Defaults to 1hr (3600s).
|
2422
|
-
# will internally
|
2423
|
-
# Control: public, max-age=[TTL]? header, regardless
|
2424
|
-
# Control header. The actual headers served in responses
|
2439
|
+
# Maximum number of seconds the response to a signed URL request will be
|
2440
|
+
# considered fresh. After this time period, the response will be revalidated
|
2441
|
+
# before being served. Defaults to 1hr (3600s). When serving responses to signed
|
2442
|
+
# URL requests, Cloud CDN will internally behave as though all responses from
|
2443
|
+
# this backend had a ?Cache-Control: public, max-age=[TTL]? header, regardless
|
2444
|
+
# of any existing Cache-Control header. The actual headers served in responses
|
2445
|
+
# will not be altered.
|
2425
2446
|
# Corresponds to the JSON property `signedUrlCacheMaxAgeSec`
|
2426
2447
|
# @return [Fixnum]
|
2427
2448
|
attr_accessor :signed_url_cache_max_age_sec
|
2428
2449
|
|
2429
|
-
# [Output Only] Names of the keys
|
2430
|
-
# on this backend service.
|
2450
|
+
# [Output Only] Names of the keys for signing request URLs.
|
2431
2451
|
# Corresponds to the JSON property `signedUrlKeyNames`
|
2432
2452
|
# @return [Array<String>]
|
2433
2453
|
attr_accessor :signed_url_key_names
|
@@ -3436,7 +3456,7 @@ module Google
|
|
3436
3456
|
# @return [Array<Fixnum>]
|
3437
3457
|
attr_accessor :license_codes
|
3438
3458
|
|
3439
|
-
#
|
3459
|
+
# A list of publicly visible licenses. Reserved for Google's use.
|
3440
3460
|
# Corresponds to the JSON property `licenses`
|
3441
3461
|
# @return [Array<String>]
|
3442
3462
|
attr_accessor :licenses
|
@@ -3487,11 +3507,11 @@ module Google
|
|
3487
3507
|
# The source image used to create this disk. If the source image is deleted,
|
3488
3508
|
# this field will not be set.
|
3489
3509
|
# To create a disk with one of the public operating system images, specify the
|
3490
|
-
# image by its family name. For example, specify family/debian-
|
3491
|
-
# latest Debian
|
3492
|
-
# projects/debian-cloud/global/images/family/debian-
|
3510
|
+
# image by its family name. For example, specify family/debian-9 to use the
|
3511
|
+
# latest Debian 9 image:
|
3512
|
+
# projects/debian-cloud/global/images/family/debian-9
|
3493
3513
|
# Alternatively, use a specific version of a public operating system image:
|
3494
|
-
# projects/debian-cloud/global/images/debian-
|
3514
|
+
# projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD
|
3495
3515
|
# To create a disk with a custom image that you created, specify the image name
|
3496
3516
|
# in the following format:
|
3497
3517
|
# global/images/my-custom-image
|
@@ -4951,6 +4971,16 @@ module Google
|
|
4951
4971
|
# @return [String]
|
4952
4972
|
attr_accessor :network
|
4953
4973
|
|
4974
|
+
# This signifies the networking tier used for configuring this load balancer and
|
4975
|
+
# can only take the following values: PREMIUM , STANDARD.
|
4976
|
+
# For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For
|
4977
|
+
# GlobalForwardingRule, the valid value is PREMIUM.
|
4978
|
+
# If this field is not specified, it is assumed to be PREMIUM. If IPAddress is
|
4979
|
+
# specified, this value must be equal to the networkTier of the Address.
|
4980
|
+
# Corresponds to the JSON property `networkTier`
|
4981
|
+
# @return [String]
|
4982
|
+
attr_accessor :network_tier
|
4983
|
+
|
4954
4984
|
# This field is used along with the target field for TargetHttpProxy,
|
4955
4985
|
# TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
|
4956
4986
|
# TargetInstance.
|
@@ -5029,6 +5059,7 @@ module Google
|
|
5029
5059
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
5030
5060
|
@name = args[:name] if args.key?(:name)
|
5031
5061
|
@network = args[:network] if args.key?(:network)
|
5062
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
5032
5063
|
@port_range = args[:port_range] if args.key?(:port_range)
|
5033
5064
|
@ports = args[:ports] if args.key?(:ports)
|
5034
5065
|
@region = args[:region] if args.key?(:region)
|
@@ -11866,151 +11897,66 @@ module Google
|
|
11866
11897
|
end
|
11867
11898
|
end
|
11868
11899
|
|
11869
|
-
#
|
11870
|
-
|
11871
|
-
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
11872
|
-
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
11873
|
-
# beta.zoneOperations ==)
|
11874
|
-
class Operation
|
11900
|
+
# A NodeGroup resource.
|
11901
|
+
class NodeGroup
|
11875
11902
|
include Google::Apis::Core::Hashable
|
11876
11903
|
|
11877
|
-
# [Output Only]
|
11878
|
-
# present otherwise.
|
11879
|
-
# Corresponds to the JSON property `clientOperationId`
|
11880
|
-
# @return [String]
|
11881
|
-
attr_accessor :client_operation_id
|
11882
|
-
|
11883
|
-
# [Deprecated] This field is deprecated.
|
11904
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
11884
11905
|
# Corresponds to the JSON property `creationTimestamp`
|
11885
11906
|
# @return [String]
|
11886
11907
|
attr_accessor :creation_timestamp
|
11887
11908
|
|
11888
|
-
#
|
11889
|
-
#
|
11909
|
+
# An optional description of this resource. Provide this property when you
|
11910
|
+
# create the resource.
|
11890
11911
|
# Corresponds to the JSON property `description`
|
11891
11912
|
# @return [String]
|
11892
11913
|
attr_accessor :description
|
11893
11914
|
|
11894
|
-
# [Output Only] The time that this operation was completed. This value is in
|
11895
|
-
# RFC3339 text format.
|
11896
|
-
# Corresponds to the JSON property `endTime`
|
11897
|
-
# @return [String]
|
11898
|
-
attr_accessor :end_time
|
11899
|
-
|
11900
|
-
# [Output Only] If errors are generated during processing of the operation, this
|
11901
|
-
# field will be populated.
|
11902
|
-
# Corresponds to the JSON property `error`
|
11903
|
-
# @return [Google::Apis::ComputeV1::Operation::Error]
|
11904
|
-
attr_accessor :error
|
11905
|
-
|
11906
|
-
# [Output Only] If the operation fails, this field contains the HTTP error
|
11907
|
-
# message that was returned, such as NOT FOUND.
|
11908
|
-
# Corresponds to the JSON property `httpErrorMessage`
|
11909
|
-
# @return [String]
|
11910
|
-
attr_accessor :http_error_message
|
11911
|
-
|
11912
|
-
# [Output Only] If the operation fails, this field contains the HTTP error
|
11913
|
-
# status code that was returned. For example, a 404 means the resource was not
|
11914
|
-
# found.
|
11915
|
-
# Corresponds to the JSON property `httpErrorStatusCode`
|
11916
|
-
# @return [Fixnum]
|
11917
|
-
attr_accessor :http_error_status_code
|
11918
|
-
|
11919
11915
|
# [Output Only] The unique identifier for the resource. This identifier is
|
11920
11916
|
# defined by the server.
|
11921
11917
|
# Corresponds to the JSON property `id`
|
11922
11918
|
# @return [Fixnum]
|
11923
11919
|
attr_accessor :id
|
11924
11920
|
|
11925
|
-
# [Output Only] The
|
11926
|
-
#
|
11927
|
-
# Corresponds to the JSON property `insertTime`
|
11928
|
-
# @return [String]
|
11929
|
-
attr_accessor :insert_time
|
11930
|
-
|
11931
|
-
# [Output Only] Type of the resource. Always compute#operation for Operation
|
11932
|
-
# resources.
|
11921
|
+
# [Output Only] The type of the resource. Always compute#nodeGroup for node
|
11922
|
+
# group.
|
11933
11923
|
# Corresponds to the JSON property `kind`
|
11934
11924
|
# @return [String]
|
11935
11925
|
attr_accessor :kind
|
11936
11926
|
|
11937
|
-
#
|
11927
|
+
# The name of the resource, provided by the client when initially creating the
|
11928
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
11929
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
11930
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
11931
|
+
# character must be a lowercase letter, and all following characters must be a
|
11932
|
+
# dash, lowercase letter, or digit, except the last character, which cannot be a
|
11933
|
+
# dash.
|
11938
11934
|
# Corresponds to the JSON property `name`
|
11939
11935
|
# @return [String]
|
11940
11936
|
attr_accessor :name
|
11941
11937
|
|
11942
|
-
#
|
11943
|
-
#
|
11944
|
-
# Corresponds to the JSON property `operationType`
|
11945
|
-
# @return [String]
|
11946
|
-
attr_accessor :operation_type
|
11947
|
-
|
11948
|
-
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
11949
|
-
# is no requirement that this be linear or support any granularity of operations.
|
11950
|
-
# This should not be used to guess when the operation will be complete. This
|
11951
|
-
# number should monotonically increase as the operation progresses.
|
11952
|
-
# Corresponds to the JSON property `progress`
|
11953
|
-
# @return [Fixnum]
|
11954
|
-
attr_accessor :progress
|
11955
|
-
|
11956
|
-
# [Output Only] The URL of the region where the operation resides. Only
|
11957
|
-
# available when performing regional operations. You must specify this field as
|
11958
|
-
# part of the HTTP request URL. It is not settable as a field in the request
|
11959
|
-
# body.
|
11960
|
-
# Corresponds to the JSON property `region`
|
11938
|
+
# The URL of the node template to which this node group belongs.
|
11939
|
+
# Corresponds to the JSON property `nodeTemplate`
|
11961
11940
|
# @return [String]
|
11962
|
-
attr_accessor :
|
11941
|
+
attr_accessor :node_template
|
11963
11942
|
|
11964
11943
|
# [Output Only] Server-defined URL for the resource.
|
11965
11944
|
# Corresponds to the JSON property `selfLink`
|
11966
11945
|
# @return [String]
|
11967
11946
|
attr_accessor :self_link
|
11968
11947
|
|
11969
|
-
# [Output Only] The
|
11970
|
-
#
|
11971
|
-
#
|
11972
|
-
|
11973
|
-
attr_accessor :start_time
|
11948
|
+
# [Output Only] The total number of nodes in the node group.
|
11949
|
+
# Corresponds to the JSON property `size`
|
11950
|
+
# @return [Fixnum]
|
11951
|
+
attr_accessor :size
|
11974
11952
|
|
11975
|
-
#
|
11976
|
-
# PENDING, RUNNING, or DONE.
|
11953
|
+
#
|
11977
11954
|
# Corresponds to the JSON property `status`
|
11978
11955
|
# @return [String]
|
11979
11956
|
attr_accessor :status
|
11980
11957
|
|
11981
|
-
# [Output Only]
|
11982
|
-
#
|
11983
|
-
# Corresponds to the JSON property `statusMessage`
|
11984
|
-
# @return [String]
|
11985
|
-
attr_accessor :status_message
|
11986
|
-
|
11987
|
-
# [Output Only] The unique target ID, which identifies a specific incarnation of
|
11988
|
-
# the target resource.
|
11989
|
-
# Corresponds to the JSON property `targetId`
|
11990
|
-
# @return [Fixnum]
|
11991
|
-
attr_accessor :target_id
|
11992
|
-
|
11993
|
-
# [Output Only] The URL of the resource that the operation modifies. For
|
11994
|
-
# operations related to creating a snapshot, this points to the persistent disk
|
11995
|
-
# that the snapshot was created from.
|
11996
|
-
# Corresponds to the JSON property `targetLink`
|
11997
|
-
# @return [String]
|
11998
|
-
attr_accessor :target_link
|
11999
|
-
|
12000
|
-
# [Output Only] User who requested the operation, for example: user@example.com.
|
12001
|
-
# Corresponds to the JSON property `user`
|
12002
|
-
# @return [String]
|
12003
|
-
attr_accessor :user
|
12004
|
-
|
12005
|
-
# [Output Only] If warning messages are generated during processing of the
|
12006
|
-
# operation, this field will be populated.
|
12007
|
-
# Corresponds to the JSON property `warnings`
|
12008
|
-
# @return [Array<Google::Apis::ComputeV1::Operation::Warning>]
|
12009
|
-
attr_accessor :warnings
|
12010
|
-
|
12011
|
-
# [Output Only] The URL of the zone where the operation resides. Only available
|
12012
|
-
# when performing per-zone operations. You must specify this field as part of
|
12013
|
-
# the HTTP request URL. It is not settable as a field in the request body.
|
11958
|
+
# [Output Only] The name of the zone where the node group resides, such as us-
|
11959
|
+
# central1-a.
|
12014
11960
|
# Corresponds to the JSON property `zone`
|
12015
11961
|
# @return [String]
|
12016
11962
|
attr_accessor :zone
|
@@ -12021,84 +11967,73 @@ module Google
|
|
12021
11967
|
|
12022
11968
|
# Update properties of this object
|
12023
11969
|
def update!(**args)
|
12024
|
-
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
12025
11970
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
12026
11971
|
@description = args[:description] if args.key?(:description)
|
12027
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
12028
|
-
@error = args[:error] if args.key?(:error)
|
12029
|
-
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
|
12030
|
-
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
12031
11972
|
@id = args[:id] if args.key?(:id)
|
12032
|
-
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
12033
11973
|
@kind = args[:kind] if args.key?(:kind)
|
12034
11974
|
@name = args[:name] if args.key?(:name)
|
12035
|
-
@
|
12036
|
-
@progress = args[:progress] if args.key?(:progress)
|
12037
|
-
@region = args[:region] if args.key?(:region)
|
11975
|
+
@node_template = args[:node_template] if args.key?(:node_template)
|
12038
11976
|
@self_link = args[:self_link] if args.key?(:self_link)
|
12039
|
-
@
|
11977
|
+
@size = args[:size] if args.key?(:size)
|
12040
11978
|
@status = args[:status] if args.key?(:status)
|
12041
|
-
@status_message = args[:status_message] if args.key?(:status_message)
|
12042
|
-
@target_id = args[:target_id] if args.key?(:target_id)
|
12043
|
-
@target_link = args[:target_link] if args.key?(:target_link)
|
12044
|
-
@user = args[:user] if args.key?(:user)
|
12045
|
-
@warnings = args[:warnings] if args.key?(:warnings)
|
12046
11979
|
@zone = args[:zone] if args.key?(:zone)
|
12047
11980
|
end
|
12048
|
-
|
12049
|
-
|
12050
|
-
|
12051
|
-
|
12052
|
-
|
12053
|
-
|
12054
|
-
|
12055
|
-
|
12056
|
-
|
12057
|
-
|
12058
|
-
|
12059
|
-
|
12060
|
-
|
12061
|
-
|
12062
|
-
|
12063
|
-
|
12064
|
-
|
12065
|
-
|
12066
|
-
|
12067
|
-
|
12068
|
-
|
12069
|
-
|
12070
|
-
|
12071
|
-
|
12072
|
-
|
12073
|
-
|
12074
|
-
|
12075
|
-
|
12076
|
-
|
12077
|
-
|
12078
|
-
|
12079
|
-
|
12080
|
-
|
12081
|
-
|
12082
|
-
|
12083
|
-
|
12084
|
-
|
12085
|
-
|
12086
|
-
|
12087
|
-
|
12088
|
-
|
12089
|
-
|
12090
|
-
|
12091
|
-
|
12092
|
-
|
12093
|
-
|
12094
|
-
|
12095
|
-
|
12096
|
-
|
12097
|
-
|
12098
|
-
|
11981
|
+
end
|
11982
|
+
|
11983
|
+
#
|
11984
|
+
class NodeGroupAggregatedList
|
11985
|
+
include Google::Apis::Core::Hashable
|
11986
|
+
|
11987
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
11988
|
+
# Corresponds to the JSON property `id`
|
11989
|
+
# @return [String]
|
11990
|
+
attr_accessor :id
|
11991
|
+
|
11992
|
+
# A list of NodeGroupsScopedList resources.
|
11993
|
+
# Corresponds to the JSON property `items`
|
11994
|
+
# @return [Hash<String,Google::Apis::ComputeV1::NodeGroupsScopedList>]
|
11995
|
+
attr_accessor :items
|
11996
|
+
|
11997
|
+
# [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for
|
11998
|
+
# aggregated lists of node groups.
|
11999
|
+
# Corresponds to the JSON property `kind`
|
12000
|
+
# @return [String]
|
12001
|
+
attr_accessor :kind
|
12002
|
+
|
12003
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12004
|
+
# requests. If the number of results is larger than maxResults, use the
|
12005
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12006
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12007
|
+
# continue paging through the results.
|
12008
|
+
# Corresponds to the JSON property `nextPageToken`
|
12009
|
+
# @return [String]
|
12010
|
+
attr_accessor :next_page_token
|
12011
|
+
|
12012
|
+
# [Output Only] Server-defined URL for this resource.
|
12013
|
+
# Corresponds to the JSON property `selfLink`
|
12014
|
+
# @return [String]
|
12015
|
+
attr_accessor :self_link
|
12016
|
+
|
12017
|
+
# [Output Only] Informational warning message.
|
12018
|
+
# Corresponds to the JSON property `warning`
|
12019
|
+
# @return [Google::Apis::ComputeV1::NodeGroupAggregatedList::Warning]
|
12020
|
+
attr_accessor :warning
|
12021
|
+
|
12022
|
+
def initialize(**args)
|
12023
|
+
update!(**args)
|
12024
|
+
end
|
12025
|
+
|
12026
|
+
# Update properties of this object
|
12027
|
+
def update!(**args)
|
12028
|
+
@id = args[:id] if args.key?(:id)
|
12029
|
+
@items = args[:items] if args.key?(:items)
|
12030
|
+
@kind = args[:kind] if args.key?(:kind)
|
12031
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12032
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12033
|
+
@warning = args[:warning] if args.key?(:warning)
|
12099
12034
|
end
|
12100
12035
|
|
12101
|
-
#
|
12036
|
+
# [Output Only] Informational warning message.
|
12102
12037
|
class Warning
|
12103
12038
|
include Google::Apis::Core::Hashable
|
12104
12039
|
|
@@ -12111,7 +12046,7 @@ module Google
|
|
12111
12046
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
12112
12047
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12113
12048
|
# Corresponds to the JSON property `data`
|
12114
|
-
# @return [Array<Google::Apis::ComputeV1::
|
12049
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroupAggregatedList::Warning::Datum>]
|
12115
12050
|
attr_accessor :data
|
12116
12051
|
|
12117
12052
|
# [Output Only] A human-readable description of the warning code.
|
@@ -12163,23 +12098,1614 @@ module Google
|
|
12163
12098
|
end
|
12164
12099
|
end
|
12165
12100
|
|
12166
|
-
#
|
12167
|
-
class
|
12101
|
+
# Contains a list of nodeGroups.
|
12102
|
+
class NodeGroupList
|
12168
12103
|
include Google::Apis::Core::Hashable
|
12169
12104
|
|
12170
|
-
# [Output Only]
|
12171
|
-
# defined by the server.
|
12105
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
12172
12106
|
# Corresponds to the JSON property `id`
|
12173
12107
|
# @return [String]
|
12174
12108
|
attr_accessor :id
|
12175
12109
|
|
12176
|
-
#
|
12110
|
+
# A list of NodeGroup resources.
|
12177
12111
|
# Corresponds to the JSON property `items`
|
12178
|
-
# @return [
|
12112
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroup>]
|
12179
12113
|
attr_accessor :items
|
12180
12114
|
|
12181
|
-
# [Output Only] Type of resource.
|
12182
|
-
#
|
12115
|
+
# [Output Only] Type of resource.Always compute#nodeGroupList for lists of node
|
12116
|
+
# groups.
|
12117
|
+
# Corresponds to the JSON property `kind`
|
12118
|
+
# @return [String]
|
12119
|
+
attr_accessor :kind
|
12120
|
+
|
12121
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12122
|
+
# requests. If the number of results is larger than maxResults, use the
|
12123
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12124
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12125
|
+
# continue paging through the results.
|
12126
|
+
# Corresponds to the JSON property `nextPageToken`
|
12127
|
+
# @return [String]
|
12128
|
+
attr_accessor :next_page_token
|
12129
|
+
|
12130
|
+
# [Output Only] Server-defined URL for this resource.
|
12131
|
+
# Corresponds to the JSON property `selfLink`
|
12132
|
+
# @return [String]
|
12133
|
+
attr_accessor :self_link
|
12134
|
+
|
12135
|
+
# [Output Only] Informational warning message.
|
12136
|
+
# Corresponds to the JSON property `warning`
|
12137
|
+
# @return [Google::Apis::ComputeV1::NodeGroupList::Warning]
|
12138
|
+
attr_accessor :warning
|
12139
|
+
|
12140
|
+
def initialize(**args)
|
12141
|
+
update!(**args)
|
12142
|
+
end
|
12143
|
+
|
12144
|
+
# Update properties of this object
|
12145
|
+
def update!(**args)
|
12146
|
+
@id = args[:id] if args.key?(:id)
|
12147
|
+
@items = args[:items] if args.key?(:items)
|
12148
|
+
@kind = args[:kind] if args.key?(:kind)
|
12149
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12150
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12151
|
+
@warning = args[:warning] if args.key?(:warning)
|
12152
|
+
end
|
12153
|
+
|
12154
|
+
# [Output Only] Informational warning message.
|
12155
|
+
class Warning
|
12156
|
+
include Google::Apis::Core::Hashable
|
12157
|
+
|
12158
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12159
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12160
|
+
# Corresponds to the JSON property `code`
|
12161
|
+
# @return [String]
|
12162
|
+
attr_accessor :code
|
12163
|
+
|
12164
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12165
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12166
|
+
# Corresponds to the JSON property `data`
|
12167
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroupList::Warning::Datum>]
|
12168
|
+
attr_accessor :data
|
12169
|
+
|
12170
|
+
# [Output Only] A human-readable description of the warning code.
|
12171
|
+
# Corresponds to the JSON property `message`
|
12172
|
+
# @return [String]
|
12173
|
+
attr_accessor :message
|
12174
|
+
|
12175
|
+
def initialize(**args)
|
12176
|
+
update!(**args)
|
12177
|
+
end
|
12178
|
+
|
12179
|
+
# Update properties of this object
|
12180
|
+
def update!(**args)
|
12181
|
+
@code = args[:code] if args.key?(:code)
|
12182
|
+
@data = args[:data] if args.key?(:data)
|
12183
|
+
@message = args[:message] if args.key?(:message)
|
12184
|
+
end
|
12185
|
+
|
12186
|
+
#
|
12187
|
+
class Datum
|
12188
|
+
include Google::Apis::Core::Hashable
|
12189
|
+
|
12190
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12191
|
+
# For example, for warnings where there are no results in a list request for a
|
12192
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12193
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12194
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12195
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12196
|
+
# for IP forwarding).
|
12197
|
+
# Corresponds to the JSON property `key`
|
12198
|
+
# @return [String]
|
12199
|
+
attr_accessor :key
|
12200
|
+
|
12201
|
+
# [Output Only] A warning data value corresponding to the key.
|
12202
|
+
# Corresponds to the JSON property `value`
|
12203
|
+
# @return [String]
|
12204
|
+
attr_accessor :value
|
12205
|
+
|
12206
|
+
def initialize(**args)
|
12207
|
+
update!(**args)
|
12208
|
+
end
|
12209
|
+
|
12210
|
+
# Update properties of this object
|
12211
|
+
def update!(**args)
|
12212
|
+
@key = args[:key] if args.key?(:key)
|
12213
|
+
@value = args[:value] if args.key?(:value)
|
12214
|
+
end
|
12215
|
+
end
|
12216
|
+
end
|
12217
|
+
end
|
12218
|
+
|
12219
|
+
#
|
12220
|
+
class NodeGroupNode
|
12221
|
+
include Google::Apis::Core::Hashable
|
12222
|
+
|
12223
|
+
# Instances scheduled on this node.
|
12224
|
+
# Corresponds to the JSON property `instances`
|
12225
|
+
# @return [Array<String>]
|
12226
|
+
attr_accessor :instances
|
12227
|
+
|
12228
|
+
# The name of the node.
|
12229
|
+
# Corresponds to the JSON property `name`
|
12230
|
+
# @return [String]
|
12231
|
+
attr_accessor :name
|
12232
|
+
|
12233
|
+
# The type of this node.
|
12234
|
+
# Corresponds to the JSON property `nodeType`
|
12235
|
+
# @return [String]
|
12236
|
+
attr_accessor :node_type
|
12237
|
+
|
12238
|
+
#
|
12239
|
+
# Corresponds to the JSON property `status`
|
12240
|
+
# @return [String]
|
12241
|
+
attr_accessor :status
|
12242
|
+
|
12243
|
+
def initialize(**args)
|
12244
|
+
update!(**args)
|
12245
|
+
end
|
12246
|
+
|
12247
|
+
# Update properties of this object
|
12248
|
+
def update!(**args)
|
12249
|
+
@instances = args[:instances] if args.key?(:instances)
|
12250
|
+
@name = args[:name] if args.key?(:name)
|
12251
|
+
@node_type = args[:node_type] if args.key?(:node_type)
|
12252
|
+
@status = args[:status] if args.key?(:status)
|
12253
|
+
end
|
12254
|
+
end
|
12255
|
+
|
12256
|
+
#
|
12257
|
+
class NodeGroupsAddNodesRequest
|
12258
|
+
include Google::Apis::Core::Hashable
|
12259
|
+
|
12260
|
+
# Count of additional nodes to be added to the node group.
|
12261
|
+
# Corresponds to the JSON property `additionalNodeCount`
|
12262
|
+
# @return [Fixnum]
|
12263
|
+
attr_accessor :additional_node_count
|
12264
|
+
|
12265
|
+
def initialize(**args)
|
12266
|
+
update!(**args)
|
12267
|
+
end
|
12268
|
+
|
12269
|
+
# Update properties of this object
|
12270
|
+
def update!(**args)
|
12271
|
+
@additional_node_count = args[:additional_node_count] if args.key?(:additional_node_count)
|
12272
|
+
end
|
12273
|
+
end
|
12274
|
+
|
12275
|
+
#
|
12276
|
+
class NodeGroupsDeleteNodesRequest
|
12277
|
+
include Google::Apis::Core::Hashable
|
12278
|
+
|
12279
|
+
#
|
12280
|
+
# Corresponds to the JSON property `nodes`
|
12281
|
+
# @return [Array<String>]
|
12282
|
+
attr_accessor :nodes
|
12283
|
+
|
12284
|
+
def initialize(**args)
|
12285
|
+
update!(**args)
|
12286
|
+
end
|
12287
|
+
|
12288
|
+
# Update properties of this object
|
12289
|
+
def update!(**args)
|
12290
|
+
@nodes = args[:nodes] if args.key?(:nodes)
|
12291
|
+
end
|
12292
|
+
end
|
12293
|
+
|
12294
|
+
#
|
12295
|
+
class NodeGroupsListNodes
|
12296
|
+
include Google::Apis::Core::Hashable
|
12297
|
+
|
12298
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
12299
|
+
# Corresponds to the JSON property `id`
|
12300
|
+
# @return [String]
|
12301
|
+
attr_accessor :id
|
12302
|
+
|
12303
|
+
# A list of Node resources.
|
12304
|
+
# Corresponds to the JSON property `items`
|
12305
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroupNode>]
|
12306
|
+
attr_accessor :items
|
12307
|
+
|
12308
|
+
# [Output Only] The resource type, which is always compute.nodeGroupsListNodes
|
12309
|
+
# for the list of nodes in the specified node group.
|
12310
|
+
# Corresponds to the JSON property `kind`
|
12311
|
+
# @return [String]
|
12312
|
+
attr_accessor :kind
|
12313
|
+
|
12314
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12315
|
+
# requests. If the number of results is larger than maxResults, use the
|
12316
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12317
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12318
|
+
# continue paging through the results.
|
12319
|
+
# Corresponds to the JSON property `nextPageToken`
|
12320
|
+
# @return [String]
|
12321
|
+
attr_accessor :next_page_token
|
12322
|
+
|
12323
|
+
# [Output Only] Server-defined URL for this resource.
|
12324
|
+
# Corresponds to the JSON property `selfLink`
|
12325
|
+
# @return [String]
|
12326
|
+
attr_accessor :self_link
|
12327
|
+
|
12328
|
+
# [Output Only] Informational warning message.
|
12329
|
+
# Corresponds to the JSON property `warning`
|
12330
|
+
# @return [Google::Apis::ComputeV1::NodeGroupsListNodes::Warning]
|
12331
|
+
attr_accessor :warning
|
12332
|
+
|
12333
|
+
def initialize(**args)
|
12334
|
+
update!(**args)
|
12335
|
+
end
|
12336
|
+
|
12337
|
+
# Update properties of this object
|
12338
|
+
def update!(**args)
|
12339
|
+
@id = args[:id] if args.key?(:id)
|
12340
|
+
@items = args[:items] if args.key?(:items)
|
12341
|
+
@kind = args[:kind] if args.key?(:kind)
|
12342
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12343
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12344
|
+
@warning = args[:warning] if args.key?(:warning)
|
12345
|
+
end
|
12346
|
+
|
12347
|
+
# [Output Only] Informational warning message.
|
12348
|
+
class Warning
|
12349
|
+
include Google::Apis::Core::Hashable
|
12350
|
+
|
12351
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12352
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12353
|
+
# Corresponds to the JSON property `code`
|
12354
|
+
# @return [String]
|
12355
|
+
attr_accessor :code
|
12356
|
+
|
12357
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12358
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12359
|
+
# Corresponds to the JSON property `data`
|
12360
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroupsListNodes::Warning::Datum>]
|
12361
|
+
attr_accessor :data
|
12362
|
+
|
12363
|
+
# [Output Only] A human-readable description of the warning code.
|
12364
|
+
# Corresponds to the JSON property `message`
|
12365
|
+
# @return [String]
|
12366
|
+
attr_accessor :message
|
12367
|
+
|
12368
|
+
def initialize(**args)
|
12369
|
+
update!(**args)
|
12370
|
+
end
|
12371
|
+
|
12372
|
+
# Update properties of this object
|
12373
|
+
def update!(**args)
|
12374
|
+
@code = args[:code] if args.key?(:code)
|
12375
|
+
@data = args[:data] if args.key?(:data)
|
12376
|
+
@message = args[:message] if args.key?(:message)
|
12377
|
+
end
|
12378
|
+
|
12379
|
+
#
|
12380
|
+
class Datum
|
12381
|
+
include Google::Apis::Core::Hashable
|
12382
|
+
|
12383
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12384
|
+
# For example, for warnings where there are no results in a list request for a
|
12385
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12386
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12387
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12388
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12389
|
+
# for IP forwarding).
|
12390
|
+
# Corresponds to the JSON property `key`
|
12391
|
+
# @return [String]
|
12392
|
+
attr_accessor :key
|
12393
|
+
|
12394
|
+
# [Output Only] A warning data value corresponding to the key.
|
12395
|
+
# Corresponds to the JSON property `value`
|
12396
|
+
# @return [String]
|
12397
|
+
attr_accessor :value
|
12398
|
+
|
12399
|
+
def initialize(**args)
|
12400
|
+
update!(**args)
|
12401
|
+
end
|
12402
|
+
|
12403
|
+
# Update properties of this object
|
12404
|
+
def update!(**args)
|
12405
|
+
@key = args[:key] if args.key?(:key)
|
12406
|
+
@value = args[:value] if args.key?(:value)
|
12407
|
+
end
|
12408
|
+
end
|
12409
|
+
end
|
12410
|
+
end
|
12411
|
+
|
12412
|
+
#
|
12413
|
+
class NodeGroupsScopedList
|
12414
|
+
include Google::Apis::Core::Hashable
|
12415
|
+
|
12416
|
+
# [Output Only] A list of node groups contained in this scope.
|
12417
|
+
# Corresponds to the JSON property `nodeGroups`
|
12418
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroup>]
|
12419
|
+
attr_accessor :node_groups
|
12420
|
+
|
12421
|
+
# [Output Only] An informational warning that appears when the nodeGroup list is
|
12422
|
+
# empty.
|
12423
|
+
# Corresponds to the JSON property `warning`
|
12424
|
+
# @return [Google::Apis::ComputeV1::NodeGroupsScopedList::Warning]
|
12425
|
+
attr_accessor :warning
|
12426
|
+
|
12427
|
+
def initialize(**args)
|
12428
|
+
update!(**args)
|
12429
|
+
end
|
12430
|
+
|
12431
|
+
# Update properties of this object
|
12432
|
+
def update!(**args)
|
12433
|
+
@node_groups = args[:node_groups] if args.key?(:node_groups)
|
12434
|
+
@warning = args[:warning] if args.key?(:warning)
|
12435
|
+
end
|
12436
|
+
|
12437
|
+
# [Output Only] An informational warning that appears when the nodeGroup list is
|
12438
|
+
# empty.
|
12439
|
+
class Warning
|
12440
|
+
include Google::Apis::Core::Hashable
|
12441
|
+
|
12442
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12443
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12444
|
+
# Corresponds to the JSON property `code`
|
12445
|
+
# @return [String]
|
12446
|
+
attr_accessor :code
|
12447
|
+
|
12448
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12449
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12450
|
+
# Corresponds to the JSON property `data`
|
12451
|
+
# @return [Array<Google::Apis::ComputeV1::NodeGroupsScopedList::Warning::Datum>]
|
12452
|
+
attr_accessor :data
|
12453
|
+
|
12454
|
+
# [Output Only] A human-readable description of the warning code.
|
12455
|
+
# Corresponds to the JSON property `message`
|
12456
|
+
# @return [String]
|
12457
|
+
attr_accessor :message
|
12458
|
+
|
12459
|
+
def initialize(**args)
|
12460
|
+
update!(**args)
|
12461
|
+
end
|
12462
|
+
|
12463
|
+
# Update properties of this object
|
12464
|
+
def update!(**args)
|
12465
|
+
@code = args[:code] if args.key?(:code)
|
12466
|
+
@data = args[:data] if args.key?(:data)
|
12467
|
+
@message = args[:message] if args.key?(:message)
|
12468
|
+
end
|
12469
|
+
|
12470
|
+
#
|
12471
|
+
class Datum
|
12472
|
+
include Google::Apis::Core::Hashable
|
12473
|
+
|
12474
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12475
|
+
# For example, for warnings where there are no results in a list request for a
|
12476
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12477
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12478
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12479
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12480
|
+
# for IP forwarding).
|
12481
|
+
# Corresponds to the JSON property `key`
|
12482
|
+
# @return [String]
|
12483
|
+
attr_accessor :key
|
12484
|
+
|
12485
|
+
# [Output Only] A warning data value corresponding to the key.
|
12486
|
+
# Corresponds to the JSON property `value`
|
12487
|
+
# @return [String]
|
12488
|
+
attr_accessor :value
|
12489
|
+
|
12490
|
+
def initialize(**args)
|
12491
|
+
update!(**args)
|
12492
|
+
end
|
12493
|
+
|
12494
|
+
# Update properties of this object
|
12495
|
+
def update!(**args)
|
12496
|
+
@key = args[:key] if args.key?(:key)
|
12497
|
+
@value = args[:value] if args.key?(:value)
|
12498
|
+
end
|
12499
|
+
end
|
12500
|
+
end
|
12501
|
+
end
|
12502
|
+
|
12503
|
+
#
|
12504
|
+
class NodeGroupsSetNodeTemplateRequest
|
12505
|
+
include Google::Apis::Core::Hashable
|
12506
|
+
|
12507
|
+
# Full or partial URL of the node template resource to be updated for this node
|
12508
|
+
# group.
|
12509
|
+
# Corresponds to the JSON property `nodeTemplate`
|
12510
|
+
# @return [String]
|
12511
|
+
attr_accessor :node_template
|
12512
|
+
|
12513
|
+
def initialize(**args)
|
12514
|
+
update!(**args)
|
12515
|
+
end
|
12516
|
+
|
12517
|
+
# Update properties of this object
|
12518
|
+
def update!(**args)
|
12519
|
+
@node_template = args[:node_template] if args.key?(:node_template)
|
12520
|
+
end
|
12521
|
+
end
|
12522
|
+
|
12523
|
+
# A Node Template resource.
|
12524
|
+
class NodeTemplate
|
12525
|
+
include Google::Apis::Core::Hashable
|
12526
|
+
|
12527
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
12528
|
+
# Corresponds to the JSON property `creationTimestamp`
|
12529
|
+
# @return [String]
|
12530
|
+
attr_accessor :creation_timestamp
|
12531
|
+
|
12532
|
+
# An optional description of this resource. Provide this property when you
|
12533
|
+
# create the resource.
|
12534
|
+
# Corresponds to the JSON property `description`
|
12535
|
+
# @return [String]
|
12536
|
+
attr_accessor :description
|
12537
|
+
|
12538
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
12539
|
+
# defined by the server.
|
12540
|
+
# Corresponds to the JSON property `id`
|
12541
|
+
# @return [Fixnum]
|
12542
|
+
attr_accessor :id
|
12543
|
+
|
12544
|
+
# [Output Only] The type of the resource. Always compute#nodeTemplate for node
|
12545
|
+
# templates.
|
12546
|
+
# Corresponds to the JSON property `kind`
|
12547
|
+
# @return [String]
|
12548
|
+
attr_accessor :kind
|
12549
|
+
|
12550
|
+
# The name of the resource, provided by the client when initially creating the
|
12551
|
+
# resource. The resource name must be 1-63 characters long, and comply with
|
12552
|
+
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
12553
|
+
# regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
|
12554
|
+
# character must be a lowercase letter, and all following characters must be a
|
12555
|
+
# dash, lowercase letter, or digit, except the last charaicter, which cannot be
|
12556
|
+
# a dash.
|
12557
|
+
# Corresponds to the JSON property `name`
|
12558
|
+
# @return [String]
|
12559
|
+
attr_accessor :name
|
12560
|
+
|
12561
|
+
# Labels to use for node affinity, which will be used in instance scheduling.
|
12562
|
+
# Corresponds to the JSON property `nodeAffinityLabels`
|
12563
|
+
# @return [Hash<String,String>]
|
12564
|
+
attr_accessor :node_affinity_labels
|
12565
|
+
|
12566
|
+
# The node type to use for nodes group that are created from this template.
|
12567
|
+
# Corresponds to the JSON property `nodeType`
|
12568
|
+
# @return [String]
|
12569
|
+
attr_accessor :node_type
|
12570
|
+
|
12571
|
+
# The flexible properties of the desired node type. Node groups that use this
|
12572
|
+
# node template will create nodes of a type that matches these properties.
|
12573
|
+
# This field is mutually exclusive with the node_type property; you can only
|
12574
|
+
# define one or the other, but not both.
|
12575
|
+
# Corresponds to the JSON property `nodeTypeFlexibility`
|
12576
|
+
# @return [Google::Apis::ComputeV1::NodeTemplateNodeTypeFlexibility]
|
12577
|
+
attr_accessor :node_type_flexibility
|
12578
|
+
|
12579
|
+
# [Output Only] The name of the region where the node template resides, such as
|
12580
|
+
# us-central1.
|
12581
|
+
# Corresponds to the JSON property `region`
|
12582
|
+
# @return [String]
|
12583
|
+
attr_accessor :region
|
12584
|
+
|
12585
|
+
# [Output Only] Server-defined URL for the resource.
|
12586
|
+
# Corresponds to the JSON property `selfLink`
|
12587
|
+
# @return [String]
|
12588
|
+
attr_accessor :self_link
|
12589
|
+
|
12590
|
+
# [Output Only] The status of the node template. One of the following values:
|
12591
|
+
# CREATING, READY, and DELETING.
|
12592
|
+
# Corresponds to the JSON property `status`
|
12593
|
+
# @return [String]
|
12594
|
+
attr_accessor :status
|
12595
|
+
|
12596
|
+
# [Output Only] An optional, human-readable explanation of the status.
|
12597
|
+
# Corresponds to the JSON property `statusMessage`
|
12598
|
+
# @return [String]
|
12599
|
+
attr_accessor :status_message
|
12600
|
+
|
12601
|
+
def initialize(**args)
|
12602
|
+
update!(**args)
|
12603
|
+
end
|
12604
|
+
|
12605
|
+
# Update properties of this object
|
12606
|
+
def update!(**args)
|
12607
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
12608
|
+
@description = args[:description] if args.key?(:description)
|
12609
|
+
@id = args[:id] if args.key?(:id)
|
12610
|
+
@kind = args[:kind] if args.key?(:kind)
|
12611
|
+
@name = args[:name] if args.key?(:name)
|
12612
|
+
@node_affinity_labels = args[:node_affinity_labels] if args.key?(:node_affinity_labels)
|
12613
|
+
@node_type = args[:node_type] if args.key?(:node_type)
|
12614
|
+
@node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility)
|
12615
|
+
@region = args[:region] if args.key?(:region)
|
12616
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12617
|
+
@status = args[:status] if args.key?(:status)
|
12618
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
12619
|
+
end
|
12620
|
+
end
|
12621
|
+
|
12622
|
+
#
|
12623
|
+
class NodeTemplateAggregatedList
|
12624
|
+
include Google::Apis::Core::Hashable
|
12625
|
+
|
12626
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
12627
|
+
# Corresponds to the JSON property `id`
|
12628
|
+
# @return [String]
|
12629
|
+
attr_accessor :id
|
12630
|
+
|
12631
|
+
# A list of NodeTemplatesScopedList resources.
|
12632
|
+
# Corresponds to the JSON property `items`
|
12633
|
+
# @return [Hash<String,Google::Apis::ComputeV1::NodeTemplatesScopedList>]
|
12634
|
+
attr_accessor :items
|
12635
|
+
|
12636
|
+
# [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for
|
12637
|
+
# aggregated lists of node templates.
|
12638
|
+
# Corresponds to the JSON property `kind`
|
12639
|
+
# @return [String]
|
12640
|
+
attr_accessor :kind
|
12641
|
+
|
12642
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12643
|
+
# requests. If the number of results is larger than maxResults, use the
|
12644
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12645
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12646
|
+
# continue paging through the results.
|
12647
|
+
# Corresponds to the JSON property `nextPageToken`
|
12648
|
+
# @return [String]
|
12649
|
+
attr_accessor :next_page_token
|
12650
|
+
|
12651
|
+
# [Output Only] Server-defined URL for this resource.
|
12652
|
+
# Corresponds to the JSON property `selfLink`
|
12653
|
+
# @return [String]
|
12654
|
+
attr_accessor :self_link
|
12655
|
+
|
12656
|
+
# [Output Only] Informational warning message.
|
12657
|
+
# Corresponds to the JSON property `warning`
|
12658
|
+
# @return [Google::Apis::ComputeV1::NodeTemplateAggregatedList::Warning]
|
12659
|
+
attr_accessor :warning
|
12660
|
+
|
12661
|
+
def initialize(**args)
|
12662
|
+
update!(**args)
|
12663
|
+
end
|
12664
|
+
|
12665
|
+
# Update properties of this object
|
12666
|
+
def update!(**args)
|
12667
|
+
@id = args[:id] if args.key?(:id)
|
12668
|
+
@items = args[:items] if args.key?(:items)
|
12669
|
+
@kind = args[:kind] if args.key?(:kind)
|
12670
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12671
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12672
|
+
@warning = args[:warning] if args.key?(:warning)
|
12673
|
+
end
|
12674
|
+
|
12675
|
+
# [Output Only] Informational warning message.
|
12676
|
+
class Warning
|
12677
|
+
include Google::Apis::Core::Hashable
|
12678
|
+
|
12679
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12680
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12681
|
+
# Corresponds to the JSON property `code`
|
12682
|
+
# @return [String]
|
12683
|
+
attr_accessor :code
|
12684
|
+
|
12685
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12686
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12687
|
+
# Corresponds to the JSON property `data`
|
12688
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTemplateAggregatedList::Warning::Datum>]
|
12689
|
+
attr_accessor :data
|
12690
|
+
|
12691
|
+
# [Output Only] A human-readable description of the warning code.
|
12692
|
+
# Corresponds to the JSON property `message`
|
12693
|
+
# @return [String]
|
12694
|
+
attr_accessor :message
|
12695
|
+
|
12696
|
+
def initialize(**args)
|
12697
|
+
update!(**args)
|
12698
|
+
end
|
12699
|
+
|
12700
|
+
# Update properties of this object
|
12701
|
+
def update!(**args)
|
12702
|
+
@code = args[:code] if args.key?(:code)
|
12703
|
+
@data = args[:data] if args.key?(:data)
|
12704
|
+
@message = args[:message] if args.key?(:message)
|
12705
|
+
end
|
12706
|
+
|
12707
|
+
#
|
12708
|
+
class Datum
|
12709
|
+
include Google::Apis::Core::Hashable
|
12710
|
+
|
12711
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12712
|
+
# For example, for warnings where there are no results in a list request for a
|
12713
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12714
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12715
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12716
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12717
|
+
# for IP forwarding).
|
12718
|
+
# Corresponds to the JSON property `key`
|
12719
|
+
# @return [String]
|
12720
|
+
attr_accessor :key
|
12721
|
+
|
12722
|
+
# [Output Only] A warning data value corresponding to the key.
|
12723
|
+
# Corresponds to the JSON property `value`
|
12724
|
+
# @return [String]
|
12725
|
+
attr_accessor :value
|
12726
|
+
|
12727
|
+
def initialize(**args)
|
12728
|
+
update!(**args)
|
12729
|
+
end
|
12730
|
+
|
12731
|
+
# Update properties of this object
|
12732
|
+
def update!(**args)
|
12733
|
+
@key = args[:key] if args.key?(:key)
|
12734
|
+
@value = args[:value] if args.key?(:value)
|
12735
|
+
end
|
12736
|
+
end
|
12737
|
+
end
|
12738
|
+
end
|
12739
|
+
|
12740
|
+
# Contains a list of node templates.
|
12741
|
+
class NodeTemplateList
|
12742
|
+
include Google::Apis::Core::Hashable
|
12743
|
+
|
12744
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
12745
|
+
# Corresponds to the JSON property `id`
|
12746
|
+
# @return [String]
|
12747
|
+
attr_accessor :id
|
12748
|
+
|
12749
|
+
# A list of NodeTemplate resources.
|
12750
|
+
# Corresponds to the JSON property `items`
|
12751
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTemplate>]
|
12752
|
+
attr_accessor :items
|
12753
|
+
|
12754
|
+
# [Output Only] Type of resource.Always compute#nodeTemplateList for lists of
|
12755
|
+
# node templates.
|
12756
|
+
# Corresponds to the JSON property `kind`
|
12757
|
+
# @return [String]
|
12758
|
+
attr_accessor :kind
|
12759
|
+
|
12760
|
+
# [Output Only] This token allows you to get the next page of results for list
|
12761
|
+
# requests. If the number of results is larger than maxResults, use the
|
12762
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
12763
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
12764
|
+
# continue paging through the results.
|
12765
|
+
# Corresponds to the JSON property `nextPageToken`
|
12766
|
+
# @return [String]
|
12767
|
+
attr_accessor :next_page_token
|
12768
|
+
|
12769
|
+
# [Output Only] Server-defined URL for this resource.
|
12770
|
+
# Corresponds to the JSON property `selfLink`
|
12771
|
+
# @return [String]
|
12772
|
+
attr_accessor :self_link
|
12773
|
+
|
12774
|
+
# [Output Only] Informational warning message.
|
12775
|
+
# Corresponds to the JSON property `warning`
|
12776
|
+
# @return [Google::Apis::ComputeV1::NodeTemplateList::Warning]
|
12777
|
+
attr_accessor :warning
|
12778
|
+
|
12779
|
+
def initialize(**args)
|
12780
|
+
update!(**args)
|
12781
|
+
end
|
12782
|
+
|
12783
|
+
# Update properties of this object
|
12784
|
+
def update!(**args)
|
12785
|
+
@id = args[:id] if args.key?(:id)
|
12786
|
+
@items = args[:items] if args.key?(:items)
|
12787
|
+
@kind = args[:kind] if args.key?(:kind)
|
12788
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
12789
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12790
|
+
@warning = args[:warning] if args.key?(:warning)
|
12791
|
+
end
|
12792
|
+
|
12793
|
+
# [Output Only] Informational warning message.
|
12794
|
+
class Warning
|
12795
|
+
include Google::Apis::Core::Hashable
|
12796
|
+
|
12797
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12798
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12799
|
+
# Corresponds to the JSON property `code`
|
12800
|
+
# @return [String]
|
12801
|
+
attr_accessor :code
|
12802
|
+
|
12803
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12804
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12805
|
+
# Corresponds to the JSON property `data`
|
12806
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTemplateList::Warning::Datum>]
|
12807
|
+
attr_accessor :data
|
12808
|
+
|
12809
|
+
# [Output Only] A human-readable description of the warning code.
|
12810
|
+
# Corresponds to the JSON property `message`
|
12811
|
+
# @return [String]
|
12812
|
+
attr_accessor :message
|
12813
|
+
|
12814
|
+
def initialize(**args)
|
12815
|
+
update!(**args)
|
12816
|
+
end
|
12817
|
+
|
12818
|
+
# Update properties of this object
|
12819
|
+
def update!(**args)
|
12820
|
+
@code = args[:code] if args.key?(:code)
|
12821
|
+
@data = args[:data] if args.key?(:data)
|
12822
|
+
@message = args[:message] if args.key?(:message)
|
12823
|
+
end
|
12824
|
+
|
12825
|
+
#
|
12826
|
+
class Datum
|
12827
|
+
include Google::Apis::Core::Hashable
|
12828
|
+
|
12829
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12830
|
+
# For example, for warnings where there are no results in a list request for a
|
12831
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12832
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12833
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12834
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12835
|
+
# for IP forwarding).
|
12836
|
+
# Corresponds to the JSON property `key`
|
12837
|
+
# @return [String]
|
12838
|
+
attr_accessor :key
|
12839
|
+
|
12840
|
+
# [Output Only] A warning data value corresponding to the key.
|
12841
|
+
# Corresponds to the JSON property `value`
|
12842
|
+
# @return [String]
|
12843
|
+
attr_accessor :value
|
12844
|
+
|
12845
|
+
def initialize(**args)
|
12846
|
+
update!(**args)
|
12847
|
+
end
|
12848
|
+
|
12849
|
+
# Update properties of this object
|
12850
|
+
def update!(**args)
|
12851
|
+
@key = args[:key] if args.key?(:key)
|
12852
|
+
@value = args[:value] if args.key?(:value)
|
12853
|
+
end
|
12854
|
+
end
|
12855
|
+
end
|
12856
|
+
end
|
12857
|
+
|
12858
|
+
#
|
12859
|
+
class NodeTemplateNodeTypeFlexibility
|
12860
|
+
include Google::Apis::Core::Hashable
|
12861
|
+
|
12862
|
+
#
|
12863
|
+
# Corresponds to the JSON property `cpus`
|
12864
|
+
# @return [String]
|
12865
|
+
attr_accessor :cpus
|
12866
|
+
|
12867
|
+
#
|
12868
|
+
# Corresponds to the JSON property `localSsd`
|
12869
|
+
# @return [String]
|
12870
|
+
attr_accessor :local_ssd
|
12871
|
+
|
12872
|
+
#
|
12873
|
+
# Corresponds to the JSON property `memory`
|
12874
|
+
# @return [String]
|
12875
|
+
attr_accessor :memory
|
12876
|
+
|
12877
|
+
def initialize(**args)
|
12878
|
+
update!(**args)
|
12879
|
+
end
|
12880
|
+
|
12881
|
+
# Update properties of this object
|
12882
|
+
def update!(**args)
|
12883
|
+
@cpus = args[:cpus] if args.key?(:cpus)
|
12884
|
+
@local_ssd = args[:local_ssd] if args.key?(:local_ssd)
|
12885
|
+
@memory = args[:memory] if args.key?(:memory)
|
12886
|
+
end
|
12887
|
+
end
|
12888
|
+
|
12889
|
+
#
|
12890
|
+
class NodeTemplatesScopedList
|
12891
|
+
include Google::Apis::Core::Hashable
|
12892
|
+
|
12893
|
+
# [Output Only] A list of node templates contained in this scope.
|
12894
|
+
# Corresponds to the JSON property `nodeTemplates`
|
12895
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTemplate>]
|
12896
|
+
attr_accessor :node_templates
|
12897
|
+
|
12898
|
+
# [Output Only] An informational warning that appears when the node templates
|
12899
|
+
# list is empty.
|
12900
|
+
# Corresponds to the JSON property `warning`
|
12901
|
+
# @return [Google::Apis::ComputeV1::NodeTemplatesScopedList::Warning]
|
12902
|
+
attr_accessor :warning
|
12903
|
+
|
12904
|
+
def initialize(**args)
|
12905
|
+
update!(**args)
|
12906
|
+
end
|
12907
|
+
|
12908
|
+
# Update properties of this object
|
12909
|
+
def update!(**args)
|
12910
|
+
@node_templates = args[:node_templates] if args.key?(:node_templates)
|
12911
|
+
@warning = args[:warning] if args.key?(:warning)
|
12912
|
+
end
|
12913
|
+
|
12914
|
+
# [Output Only] An informational warning that appears when the node templates
|
12915
|
+
# list is empty.
|
12916
|
+
class Warning
|
12917
|
+
include Google::Apis::Core::Hashable
|
12918
|
+
|
12919
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
12920
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
12921
|
+
# Corresponds to the JSON property `code`
|
12922
|
+
# @return [String]
|
12923
|
+
attr_accessor :code
|
12924
|
+
|
12925
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
12926
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12927
|
+
# Corresponds to the JSON property `data`
|
12928
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTemplatesScopedList::Warning::Datum>]
|
12929
|
+
attr_accessor :data
|
12930
|
+
|
12931
|
+
# [Output Only] A human-readable description of the warning code.
|
12932
|
+
# Corresponds to the JSON property `message`
|
12933
|
+
# @return [String]
|
12934
|
+
attr_accessor :message
|
12935
|
+
|
12936
|
+
def initialize(**args)
|
12937
|
+
update!(**args)
|
12938
|
+
end
|
12939
|
+
|
12940
|
+
# Update properties of this object
|
12941
|
+
def update!(**args)
|
12942
|
+
@code = args[:code] if args.key?(:code)
|
12943
|
+
@data = args[:data] if args.key?(:data)
|
12944
|
+
@message = args[:message] if args.key?(:message)
|
12945
|
+
end
|
12946
|
+
|
12947
|
+
#
|
12948
|
+
class Datum
|
12949
|
+
include Google::Apis::Core::Hashable
|
12950
|
+
|
12951
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
12952
|
+
# For example, for warnings where there are no results in a list request for a
|
12953
|
+
# particular zone, this key might be scope and the key value might be the zone
|
12954
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
12955
|
+
# suggested replacement, or a warning about invalid network settings (for
|
12956
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
12957
|
+
# for IP forwarding).
|
12958
|
+
# Corresponds to the JSON property `key`
|
12959
|
+
# @return [String]
|
12960
|
+
attr_accessor :key
|
12961
|
+
|
12962
|
+
# [Output Only] A warning data value corresponding to the key.
|
12963
|
+
# Corresponds to the JSON property `value`
|
12964
|
+
# @return [String]
|
12965
|
+
attr_accessor :value
|
12966
|
+
|
12967
|
+
def initialize(**args)
|
12968
|
+
update!(**args)
|
12969
|
+
end
|
12970
|
+
|
12971
|
+
# Update properties of this object
|
12972
|
+
def update!(**args)
|
12973
|
+
@key = args[:key] if args.key?(:key)
|
12974
|
+
@value = args[:value] if args.key?(:value)
|
12975
|
+
end
|
12976
|
+
end
|
12977
|
+
end
|
12978
|
+
end
|
12979
|
+
|
12980
|
+
# A Node Type resource.
|
12981
|
+
class NodeType
|
12982
|
+
include Google::Apis::Core::Hashable
|
12983
|
+
|
12984
|
+
# [Output Only] The CPU platform used by this node type.
|
12985
|
+
# Corresponds to the JSON property `cpuPlatform`
|
12986
|
+
# @return [String]
|
12987
|
+
attr_accessor :cpu_platform
|
12988
|
+
|
12989
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
12990
|
+
# Corresponds to the JSON property `creationTimestamp`
|
12991
|
+
# @return [String]
|
12992
|
+
attr_accessor :creation_timestamp
|
12993
|
+
|
12994
|
+
# Deprecation status for a public resource.
|
12995
|
+
# Corresponds to the JSON property `deprecated`
|
12996
|
+
# @return [Google::Apis::ComputeV1::DeprecationStatus]
|
12997
|
+
attr_accessor :deprecated
|
12998
|
+
|
12999
|
+
# [Output Only] An optional textual description of the resource.
|
13000
|
+
# Corresponds to the JSON property `description`
|
13001
|
+
# @return [String]
|
13002
|
+
attr_accessor :description
|
13003
|
+
|
13004
|
+
# [Output Only] The number of virtual CPUs that are available to the node type.
|
13005
|
+
# Corresponds to the JSON property `guestCpus`
|
13006
|
+
# @return [Fixnum]
|
13007
|
+
attr_accessor :guest_cpus
|
13008
|
+
|
13009
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
13010
|
+
# defined by the server.
|
13011
|
+
# Corresponds to the JSON property `id`
|
13012
|
+
# @return [Fixnum]
|
13013
|
+
attr_accessor :id
|
13014
|
+
|
13015
|
+
# [Output Only] The type of the resource. Always compute#nodeType for node types.
|
13016
|
+
# Corresponds to the JSON property `kind`
|
13017
|
+
# @return [String]
|
13018
|
+
attr_accessor :kind
|
13019
|
+
|
13020
|
+
# [Output Only] Local SSD available to the node type, defined in GB.
|
13021
|
+
# Corresponds to the JSON property `localSsdGb`
|
13022
|
+
# @return [Fixnum]
|
13023
|
+
attr_accessor :local_ssd_gb
|
13024
|
+
|
13025
|
+
# [Output Only] The amount of physical memory available to the node type,
|
13026
|
+
# defined in MB.
|
13027
|
+
# Corresponds to the JSON property `memoryMb`
|
13028
|
+
# @return [Fixnum]
|
13029
|
+
attr_accessor :memory_mb
|
13030
|
+
|
13031
|
+
# [Output Only] Name of the resource.
|
13032
|
+
# Corresponds to the JSON property `name`
|
13033
|
+
# @return [String]
|
13034
|
+
attr_accessor :name
|
13035
|
+
|
13036
|
+
# [Output Only] Server-defined URL for the resource.
|
13037
|
+
# Corresponds to the JSON property `selfLink`
|
13038
|
+
# @return [String]
|
13039
|
+
attr_accessor :self_link
|
13040
|
+
|
13041
|
+
# [Output Only] The name of the zone where the node type resides, such as us-
|
13042
|
+
# central1-a.
|
13043
|
+
# Corresponds to the JSON property `zone`
|
13044
|
+
# @return [String]
|
13045
|
+
attr_accessor :zone
|
13046
|
+
|
13047
|
+
def initialize(**args)
|
13048
|
+
update!(**args)
|
13049
|
+
end
|
13050
|
+
|
13051
|
+
# Update properties of this object
|
13052
|
+
def update!(**args)
|
13053
|
+
@cpu_platform = args[:cpu_platform] if args.key?(:cpu_platform)
|
13054
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
13055
|
+
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
13056
|
+
@description = args[:description] if args.key?(:description)
|
13057
|
+
@guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus)
|
13058
|
+
@id = args[:id] if args.key?(:id)
|
13059
|
+
@kind = args[:kind] if args.key?(:kind)
|
13060
|
+
@local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb)
|
13061
|
+
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
13062
|
+
@name = args[:name] if args.key?(:name)
|
13063
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13064
|
+
@zone = args[:zone] if args.key?(:zone)
|
13065
|
+
end
|
13066
|
+
end
|
13067
|
+
|
13068
|
+
#
|
13069
|
+
class NodeTypeAggregatedList
|
13070
|
+
include Google::Apis::Core::Hashable
|
13071
|
+
|
13072
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13073
|
+
# Corresponds to the JSON property `id`
|
13074
|
+
# @return [String]
|
13075
|
+
attr_accessor :id
|
13076
|
+
|
13077
|
+
# A list of NodeTypesScopedList resources.
|
13078
|
+
# Corresponds to the JSON property `items`
|
13079
|
+
# @return [Hash<String,Google::Apis::ComputeV1::NodeTypesScopedList>]
|
13080
|
+
attr_accessor :items
|
13081
|
+
|
13082
|
+
# [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for
|
13083
|
+
# aggregated lists of node types.
|
13084
|
+
# Corresponds to the JSON property `kind`
|
13085
|
+
# @return [String]
|
13086
|
+
attr_accessor :kind
|
13087
|
+
|
13088
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13089
|
+
# requests. If the number of results is larger than maxResults, use the
|
13090
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13091
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13092
|
+
# continue paging through the results.
|
13093
|
+
# Corresponds to the JSON property `nextPageToken`
|
13094
|
+
# @return [String]
|
13095
|
+
attr_accessor :next_page_token
|
13096
|
+
|
13097
|
+
# [Output Only] Server-defined URL for this resource.
|
13098
|
+
# Corresponds to the JSON property `selfLink`
|
13099
|
+
# @return [String]
|
13100
|
+
attr_accessor :self_link
|
13101
|
+
|
13102
|
+
# [Output Only] Informational warning message.
|
13103
|
+
# Corresponds to the JSON property `warning`
|
13104
|
+
# @return [Google::Apis::ComputeV1::NodeTypeAggregatedList::Warning]
|
13105
|
+
attr_accessor :warning
|
13106
|
+
|
13107
|
+
def initialize(**args)
|
13108
|
+
update!(**args)
|
13109
|
+
end
|
13110
|
+
|
13111
|
+
# Update properties of this object
|
13112
|
+
def update!(**args)
|
13113
|
+
@id = args[:id] if args.key?(:id)
|
13114
|
+
@items = args[:items] if args.key?(:items)
|
13115
|
+
@kind = args[:kind] if args.key?(:kind)
|
13116
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13117
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13118
|
+
@warning = args[:warning] if args.key?(:warning)
|
13119
|
+
end
|
13120
|
+
|
13121
|
+
# [Output Only] Informational warning message.
|
13122
|
+
class Warning
|
13123
|
+
include Google::Apis::Core::Hashable
|
13124
|
+
|
13125
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13126
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13127
|
+
# Corresponds to the JSON property `code`
|
13128
|
+
# @return [String]
|
13129
|
+
attr_accessor :code
|
13130
|
+
|
13131
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13132
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13133
|
+
# Corresponds to the JSON property `data`
|
13134
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTypeAggregatedList::Warning::Datum>]
|
13135
|
+
attr_accessor :data
|
13136
|
+
|
13137
|
+
# [Output Only] A human-readable description of the warning code.
|
13138
|
+
# Corresponds to the JSON property `message`
|
13139
|
+
# @return [String]
|
13140
|
+
attr_accessor :message
|
13141
|
+
|
13142
|
+
def initialize(**args)
|
13143
|
+
update!(**args)
|
13144
|
+
end
|
13145
|
+
|
13146
|
+
# Update properties of this object
|
13147
|
+
def update!(**args)
|
13148
|
+
@code = args[:code] if args.key?(:code)
|
13149
|
+
@data = args[:data] if args.key?(:data)
|
13150
|
+
@message = args[:message] if args.key?(:message)
|
13151
|
+
end
|
13152
|
+
|
13153
|
+
#
|
13154
|
+
class Datum
|
13155
|
+
include Google::Apis::Core::Hashable
|
13156
|
+
|
13157
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13158
|
+
# For example, for warnings where there are no results in a list request for a
|
13159
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13160
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13161
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13162
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13163
|
+
# for IP forwarding).
|
13164
|
+
# Corresponds to the JSON property `key`
|
13165
|
+
# @return [String]
|
13166
|
+
attr_accessor :key
|
13167
|
+
|
13168
|
+
# [Output Only] A warning data value corresponding to the key.
|
13169
|
+
# Corresponds to the JSON property `value`
|
13170
|
+
# @return [String]
|
13171
|
+
attr_accessor :value
|
13172
|
+
|
13173
|
+
def initialize(**args)
|
13174
|
+
update!(**args)
|
13175
|
+
end
|
13176
|
+
|
13177
|
+
# Update properties of this object
|
13178
|
+
def update!(**args)
|
13179
|
+
@key = args[:key] if args.key?(:key)
|
13180
|
+
@value = args[:value] if args.key?(:value)
|
13181
|
+
end
|
13182
|
+
end
|
13183
|
+
end
|
13184
|
+
end
|
13185
|
+
|
13186
|
+
# Contains a list of node types.
|
13187
|
+
class NodeTypeList
|
13188
|
+
include Google::Apis::Core::Hashable
|
13189
|
+
|
13190
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13191
|
+
# Corresponds to the JSON property `id`
|
13192
|
+
# @return [String]
|
13193
|
+
attr_accessor :id
|
13194
|
+
|
13195
|
+
# A list of NodeType resources.
|
13196
|
+
# Corresponds to the JSON property `items`
|
13197
|
+
# @return [Array<Google::Apis::ComputeV1::NodeType>]
|
13198
|
+
attr_accessor :items
|
13199
|
+
|
13200
|
+
# [Output Only] Type of resource.Always compute#nodeTypeList for lists of node
|
13201
|
+
# types.
|
13202
|
+
# Corresponds to the JSON property `kind`
|
13203
|
+
# @return [String]
|
13204
|
+
attr_accessor :kind
|
13205
|
+
|
13206
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13207
|
+
# requests. If the number of results is larger than maxResults, use the
|
13208
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13209
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13210
|
+
# continue paging through the results.
|
13211
|
+
# Corresponds to the JSON property `nextPageToken`
|
13212
|
+
# @return [String]
|
13213
|
+
attr_accessor :next_page_token
|
13214
|
+
|
13215
|
+
# [Output Only] Server-defined URL for this resource.
|
13216
|
+
# Corresponds to the JSON property `selfLink`
|
13217
|
+
# @return [String]
|
13218
|
+
attr_accessor :self_link
|
13219
|
+
|
13220
|
+
# [Output Only] Informational warning message.
|
13221
|
+
# Corresponds to the JSON property `warning`
|
13222
|
+
# @return [Google::Apis::ComputeV1::NodeTypeList::Warning]
|
13223
|
+
attr_accessor :warning
|
13224
|
+
|
13225
|
+
def initialize(**args)
|
13226
|
+
update!(**args)
|
13227
|
+
end
|
13228
|
+
|
13229
|
+
# Update properties of this object
|
13230
|
+
def update!(**args)
|
13231
|
+
@id = args[:id] if args.key?(:id)
|
13232
|
+
@items = args[:items] if args.key?(:items)
|
13233
|
+
@kind = args[:kind] if args.key?(:kind)
|
13234
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13235
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13236
|
+
@warning = args[:warning] if args.key?(:warning)
|
13237
|
+
end
|
13238
|
+
|
13239
|
+
# [Output Only] Informational warning message.
|
13240
|
+
class Warning
|
13241
|
+
include Google::Apis::Core::Hashable
|
13242
|
+
|
13243
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13244
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13245
|
+
# Corresponds to the JSON property `code`
|
13246
|
+
# @return [String]
|
13247
|
+
attr_accessor :code
|
13248
|
+
|
13249
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13250
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13251
|
+
# Corresponds to the JSON property `data`
|
13252
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTypeList::Warning::Datum>]
|
13253
|
+
attr_accessor :data
|
13254
|
+
|
13255
|
+
# [Output Only] A human-readable description of the warning code.
|
13256
|
+
# Corresponds to the JSON property `message`
|
13257
|
+
# @return [String]
|
13258
|
+
attr_accessor :message
|
13259
|
+
|
13260
|
+
def initialize(**args)
|
13261
|
+
update!(**args)
|
13262
|
+
end
|
13263
|
+
|
13264
|
+
# Update properties of this object
|
13265
|
+
def update!(**args)
|
13266
|
+
@code = args[:code] if args.key?(:code)
|
13267
|
+
@data = args[:data] if args.key?(:data)
|
13268
|
+
@message = args[:message] if args.key?(:message)
|
13269
|
+
end
|
13270
|
+
|
13271
|
+
#
|
13272
|
+
class Datum
|
13273
|
+
include Google::Apis::Core::Hashable
|
13274
|
+
|
13275
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13276
|
+
# For example, for warnings where there are no results in a list request for a
|
13277
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13278
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13279
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13280
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13281
|
+
# for IP forwarding).
|
13282
|
+
# Corresponds to the JSON property `key`
|
13283
|
+
# @return [String]
|
13284
|
+
attr_accessor :key
|
13285
|
+
|
13286
|
+
# [Output Only] A warning data value corresponding to the key.
|
13287
|
+
# Corresponds to the JSON property `value`
|
13288
|
+
# @return [String]
|
13289
|
+
attr_accessor :value
|
13290
|
+
|
13291
|
+
def initialize(**args)
|
13292
|
+
update!(**args)
|
13293
|
+
end
|
13294
|
+
|
13295
|
+
# Update properties of this object
|
13296
|
+
def update!(**args)
|
13297
|
+
@key = args[:key] if args.key?(:key)
|
13298
|
+
@value = args[:value] if args.key?(:value)
|
13299
|
+
end
|
13300
|
+
end
|
13301
|
+
end
|
13302
|
+
end
|
13303
|
+
|
13304
|
+
#
|
13305
|
+
class NodeTypesScopedList
|
13306
|
+
include Google::Apis::Core::Hashable
|
13307
|
+
|
13308
|
+
# [Output Only] A list of node types contained in this scope.
|
13309
|
+
# Corresponds to the JSON property `nodeTypes`
|
13310
|
+
# @return [Array<Google::Apis::ComputeV1::NodeType>]
|
13311
|
+
attr_accessor :node_types
|
13312
|
+
|
13313
|
+
# [Output Only] An informational warning that appears when the node types list
|
13314
|
+
# is empty.
|
13315
|
+
# Corresponds to the JSON property `warning`
|
13316
|
+
# @return [Google::Apis::ComputeV1::NodeTypesScopedList::Warning]
|
13317
|
+
attr_accessor :warning
|
13318
|
+
|
13319
|
+
def initialize(**args)
|
13320
|
+
update!(**args)
|
13321
|
+
end
|
13322
|
+
|
13323
|
+
# Update properties of this object
|
13324
|
+
def update!(**args)
|
13325
|
+
@node_types = args[:node_types] if args.key?(:node_types)
|
13326
|
+
@warning = args[:warning] if args.key?(:warning)
|
13327
|
+
end
|
13328
|
+
|
13329
|
+
# [Output Only] An informational warning that appears when the node types list
|
13330
|
+
# is empty.
|
13331
|
+
class Warning
|
13332
|
+
include Google::Apis::Core::Hashable
|
13333
|
+
|
13334
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13335
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13336
|
+
# Corresponds to the JSON property `code`
|
13337
|
+
# @return [String]
|
13338
|
+
attr_accessor :code
|
13339
|
+
|
13340
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13341
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13342
|
+
# Corresponds to the JSON property `data`
|
13343
|
+
# @return [Array<Google::Apis::ComputeV1::NodeTypesScopedList::Warning::Datum>]
|
13344
|
+
attr_accessor :data
|
13345
|
+
|
13346
|
+
# [Output Only] A human-readable description of the warning code.
|
13347
|
+
# Corresponds to the JSON property `message`
|
13348
|
+
# @return [String]
|
13349
|
+
attr_accessor :message
|
13350
|
+
|
13351
|
+
def initialize(**args)
|
13352
|
+
update!(**args)
|
13353
|
+
end
|
13354
|
+
|
13355
|
+
# Update properties of this object
|
13356
|
+
def update!(**args)
|
13357
|
+
@code = args[:code] if args.key?(:code)
|
13358
|
+
@data = args[:data] if args.key?(:data)
|
13359
|
+
@message = args[:message] if args.key?(:message)
|
13360
|
+
end
|
13361
|
+
|
13362
|
+
#
|
13363
|
+
class Datum
|
13364
|
+
include Google::Apis::Core::Hashable
|
13365
|
+
|
13366
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13367
|
+
# For example, for warnings where there are no results in a list request for a
|
13368
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13369
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13370
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13371
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13372
|
+
# for IP forwarding).
|
13373
|
+
# Corresponds to the JSON property `key`
|
13374
|
+
# @return [String]
|
13375
|
+
attr_accessor :key
|
13376
|
+
|
13377
|
+
# [Output Only] A warning data value corresponding to the key.
|
13378
|
+
# Corresponds to the JSON property `value`
|
13379
|
+
# @return [String]
|
13380
|
+
attr_accessor :value
|
13381
|
+
|
13382
|
+
def initialize(**args)
|
13383
|
+
update!(**args)
|
13384
|
+
end
|
13385
|
+
|
13386
|
+
# Update properties of this object
|
13387
|
+
def update!(**args)
|
13388
|
+
@key = args[:key] if args.key?(:key)
|
13389
|
+
@value = args[:value] if args.key?(:value)
|
13390
|
+
end
|
13391
|
+
end
|
13392
|
+
end
|
13393
|
+
end
|
13394
|
+
|
13395
|
+
# An Operation resource, used to manage asynchronous API requests. (==
|
13396
|
+
# resource_for v1.globalOperations ==) (== resource_for beta.globalOperations ==)
|
13397
|
+
# (== resource_for v1.regionOperations ==) (== resource_for beta.
|
13398
|
+
# regionOperations ==) (== resource_for v1.zoneOperations ==) (== resource_for
|
13399
|
+
# beta.zoneOperations ==)
|
13400
|
+
class Operation
|
13401
|
+
include Google::Apis::Core::Hashable
|
13402
|
+
|
13403
|
+
# [Output Only] The value of `requestId` if you provided it in the request. Not
|
13404
|
+
# present otherwise.
|
13405
|
+
# Corresponds to the JSON property `clientOperationId`
|
13406
|
+
# @return [String]
|
13407
|
+
attr_accessor :client_operation_id
|
13408
|
+
|
13409
|
+
# [Deprecated] This field is deprecated.
|
13410
|
+
# Corresponds to the JSON property `creationTimestamp`
|
13411
|
+
# @return [String]
|
13412
|
+
attr_accessor :creation_timestamp
|
13413
|
+
|
13414
|
+
# [Output Only] A textual description of the operation, which is set when the
|
13415
|
+
# operation is created.
|
13416
|
+
# Corresponds to the JSON property `description`
|
13417
|
+
# @return [String]
|
13418
|
+
attr_accessor :description
|
13419
|
+
|
13420
|
+
# [Output Only] The time that this operation was completed. This value is in
|
13421
|
+
# RFC3339 text format.
|
13422
|
+
# Corresponds to the JSON property `endTime`
|
13423
|
+
# @return [String]
|
13424
|
+
attr_accessor :end_time
|
13425
|
+
|
13426
|
+
# [Output Only] If errors are generated during processing of the operation, this
|
13427
|
+
# field will be populated.
|
13428
|
+
# Corresponds to the JSON property `error`
|
13429
|
+
# @return [Google::Apis::ComputeV1::Operation::Error]
|
13430
|
+
attr_accessor :error
|
13431
|
+
|
13432
|
+
# [Output Only] If the operation fails, this field contains the HTTP error
|
13433
|
+
# message that was returned, such as NOT FOUND.
|
13434
|
+
# Corresponds to the JSON property `httpErrorMessage`
|
13435
|
+
# @return [String]
|
13436
|
+
attr_accessor :http_error_message
|
13437
|
+
|
13438
|
+
# [Output Only] If the operation fails, this field contains the HTTP error
|
13439
|
+
# status code that was returned. For example, a 404 means the resource was not
|
13440
|
+
# found.
|
13441
|
+
# Corresponds to the JSON property `httpErrorStatusCode`
|
13442
|
+
# @return [Fixnum]
|
13443
|
+
attr_accessor :http_error_status_code
|
13444
|
+
|
13445
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
13446
|
+
# defined by the server.
|
13447
|
+
# Corresponds to the JSON property `id`
|
13448
|
+
# @return [Fixnum]
|
13449
|
+
attr_accessor :id
|
13450
|
+
|
13451
|
+
# [Output Only] The time that this operation was requested. This value is in
|
13452
|
+
# RFC3339 text format.
|
13453
|
+
# Corresponds to the JSON property `insertTime`
|
13454
|
+
# @return [String]
|
13455
|
+
attr_accessor :insert_time
|
13456
|
+
|
13457
|
+
# [Output Only] Type of the resource. Always compute#operation for Operation
|
13458
|
+
# resources.
|
13459
|
+
# Corresponds to the JSON property `kind`
|
13460
|
+
# @return [String]
|
13461
|
+
attr_accessor :kind
|
13462
|
+
|
13463
|
+
# [Output Only] Name of the resource.
|
13464
|
+
# Corresponds to the JSON property `name`
|
13465
|
+
# @return [String]
|
13466
|
+
attr_accessor :name
|
13467
|
+
|
13468
|
+
# [Output Only] The type of operation, such as insert, update, or delete, and so
|
13469
|
+
# on.
|
13470
|
+
# Corresponds to the JSON property `operationType`
|
13471
|
+
# @return [String]
|
13472
|
+
attr_accessor :operation_type
|
13473
|
+
|
13474
|
+
# [Output Only] An optional progress indicator that ranges from 0 to 100. There
|
13475
|
+
# is no requirement that this be linear or support any granularity of operations.
|
13476
|
+
# This should not be used to guess when the operation will be complete. This
|
13477
|
+
# number should monotonically increase as the operation progresses.
|
13478
|
+
# Corresponds to the JSON property `progress`
|
13479
|
+
# @return [Fixnum]
|
13480
|
+
attr_accessor :progress
|
13481
|
+
|
13482
|
+
# [Output Only] The URL of the region where the operation resides. Only
|
13483
|
+
# available when performing regional operations. You must specify this field as
|
13484
|
+
# part of the HTTP request URL. It is not settable as a field in the request
|
13485
|
+
# body.
|
13486
|
+
# Corresponds to the JSON property `region`
|
13487
|
+
# @return [String]
|
13488
|
+
attr_accessor :region
|
13489
|
+
|
13490
|
+
# [Output Only] Server-defined URL for the resource.
|
13491
|
+
# Corresponds to the JSON property `selfLink`
|
13492
|
+
# @return [String]
|
13493
|
+
attr_accessor :self_link
|
13494
|
+
|
13495
|
+
# [Output Only] The time that this operation was started by the server. This
|
13496
|
+
# value is in RFC3339 text format.
|
13497
|
+
# Corresponds to the JSON property `startTime`
|
13498
|
+
# @return [String]
|
13499
|
+
attr_accessor :start_time
|
13500
|
+
|
13501
|
+
# [Output Only] The status of the operation, which can be one of the following:
|
13502
|
+
# PENDING, RUNNING, or DONE.
|
13503
|
+
# Corresponds to the JSON property `status`
|
13504
|
+
# @return [String]
|
13505
|
+
attr_accessor :status
|
13506
|
+
|
13507
|
+
# [Output Only] An optional textual description of the current status of the
|
13508
|
+
# operation.
|
13509
|
+
# Corresponds to the JSON property `statusMessage`
|
13510
|
+
# @return [String]
|
13511
|
+
attr_accessor :status_message
|
13512
|
+
|
13513
|
+
# [Output Only] The unique target ID, which identifies a specific incarnation of
|
13514
|
+
# the target resource.
|
13515
|
+
# Corresponds to the JSON property `targetId`
|
13516
|
+
# @return [Fixnum]
|
13517
|
+
attr_accessor :target_id
|
13518
|
+
|
13519
|
+
# [Output Only] The URL of the resource that the operation modifies. For
|
13520
|
+
# operations related to creating a snapshot, this points to the persistent disk
|
13521
|
+
# that the snapshot was created from.
|
13522
|
+
# Corresponds to the JSON property `targetLink`
|
13523
|
+
# @return [String]
|
13524
|
+
attr_accessor :target_link
|
13525
|
+
|
13526
|
+
# [Output Only] User who requested the operation, for example: user@example.com.
|
13527
|
+
# Corresponds to the JSON property `user`
|
13528
|
+
# @return [String]
|
13529
|
+
attr_accessor :user
|
13530
|
+
|
13531
|
+
# [Output Only] If warning messages are generated during processing of the
|
13532
|
+
# operation, this field will be populated.
|
13533
|
+
# Corresponds to the JSON property `warnings`
|
13534
|
+
# @return [Array<Google::Apis::ComputeV1::Operation::Warning>]
|
13535
|
+
attr_accessor :warnings
|
13536
|
+
|
13537
|
+
# [Output Only] The URL of the zone where the operation resides. Only available
|
13538
|
+
# when performing per-zone operations. You must specify this field as part of
|
13539
|
+
# the HTTP request URL. It is not settable as a field in the request body.
|
13540
|
+
# Corresponds to the JSON property `zone`
|
13541
|
+
# @return [String]
|
13542
|
+
attr_accessor :zone
|
13543
|
+
|
13544
|
+
def initialize(**args)
|
13545
|
+
update!(**args)
|
13546
|
+
end
|
13547
|
+
|
13548
|
+
# Update properties of this object
|
13549
|
+
def update!(**args)
|
13550
|
+
@client_operation_id = args[:client_operation_id] if args.key?(:client_operation_id)
|
13551
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
13552
|
+
@description = args[:description] if args.key?(:description)
|
13553
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
13554
|
+
@error = args[:error] if args.key?(:error)
|
13555
|
+
@http_error_message = args[:http_error_message] if args.key?(:http_error_message)
|
13556
|
+
@http_error_status_code = args[:http_error_status_code] if args.key?(:http_error_status_code)
|
13557
|
+
@id = args[:id] if args.key?(:id)
|
13558
|
+
@insert_time = args[:insert_time] if args.key?(:insert_time)
|
13559
|
+
@kind = args[:kind] if args.key?(:kind)
|
13560
|
+
@name = args[:name] if args.key?(:name)
|
13561
|
+
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
13562
|
+
@progress = args[:progress] if args.key?(:progress)
|
13563
|
+
@region = args[:region] if args.key?(:region)
|
13564
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13565
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
13566
|
+
@status = args[:status] if args.key?(:status)
|
13567
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
13568
|
+
@target_id = args[:target_id] if args.key?(:target_id)
|
13569
|
+
@target_link = args[:target_link] if args.key?(:target_link)
|
13570
|
+
@user = args[:user] if args.key?(:user)
|
13571
|
+
@warnings = args[:warnings] if args.key?(:warnings)
|
13572
|
+
@zone = args[:zone] if args.key?(:zone)
|
13573
|
+
end
|
13574
|
+
|
13575
|
+
# [Output Only] If errors are generated during processing of the operation, this
|
13576
|
+
# field will be populated.
|
13577
|
+
class Error
|
13578
|
+
include Google::Apis::Core::Hashable
|
13579
|
+
|
13580
|
+
# [Output Only] The array of errors encountered while processing this operation.
|
13581
|
+
# Corresponds to the JSON property `errors`
|
13582
|
+
# @return [Array<Google::Apis::ComputeV1::Operation::Error::Error>]
|
13583
|
+
attr_accessor :errors
|
13584
|
+
|
13585
|
+
def initialize(**args)
|
13586
|
+
update!(**args)
|
13587
|
+
end
|
13588
|
+
|
13589
|
+
# Update properties of this object
|
13590
|
+
def update!(**args)
|
13591
|
+
@errors = args[:errors] if args.key?(:errors)
|
13592
|
+
end
|
13593
|
+
|
13594
|
+
#
|
13595
|
+
class Error
|
13596
|
+
include Google::Apis::Core::Hashable
|
13597
|
+
|
13598
|
+
# [Output Only] The error type identifier for this error.
|
13599
|
+
# Corresponds to the JSON property `code`
|
13600
|
+
# @return [String]
|
13601
|
+
attr_accessor :code
|
13602
|
+
|
13603
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
13604
|
+
# property is optional.
|
13605
|
+
# Corresponds to the JSON property `location`
|
13606
|
+
# @return [String]
|
13607
|
+
attr_accessor :location
|
13608
|
+
|
13609
|
+
# [Output Only] An optional, human-readable error message.
|
13610
|
+
# Corresponds to the JSON property `message`
|
13611
|
+
# @return [String]
|
13612
|
+
attr_accessor :message
|
13613
|
+
|
13614
|
+
def initialize(**args)
|
13615
|
+
update!(**args)
|
13616
|
+
end
|
13617
|
+
|
13618
|
+
# Update properties of this object
|
13619
|
+
def update!(**args)
|
13620
|
+
@code = args[:code] if args.key?(:code)
|
13621
|
+
@location = args[:location] if args.key?(:location)
|
13622
|
+
@message = args[:message] if args.key?(:message)
|
13623
|
+
end
|
13624
|
+
end
|
13625
|
+
end
|
13626
|
+
|
13627
|
+
#
|
13628
|
+
class Warning
|
13629
|
+
include Google::Apis::Core::Hashable
|
13630
|
+
|
13631
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13632
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13633
|
+
# Corresponds to the JSON property `code`
|
13634
|
+
# @return [String]
|
13635
|
+
attr_accessor :code
|
13636
|
+
|
13637
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13638
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13639
|
+
# Corresponds to the JSON property `data`
|
13640
|
+
# @return [Array<Google::Apis::ComputeV1::Operation::Warning::Datum>]
|
13641
|
+
attr_accessor :data
|
13642
|
+
|
13643
|
+
# [Output Only] A human-readable description of the warning code.
|
13644
|
+
# Corresponds to the JSON property `message`
|
13645
|
+
# @return [String]
|
13646
|
+
attr_accessor :message
|
13647
|
+
|
13648
|
+
def initialize(**args)
|
13649
|
+
update!(**args)
|
13650
|
+
end
|
13651
|
+
|
13652
|
+
# Update properties of this object
|
13653
|
+
def update!(**args)
|
13654
|
+
@code = args[:code] if args.key?(:code)
|
13655
|
+
@data = args[:data] if args.key?(:data)
|
13656
|
+
@message = args[:message] if args.key?(:message)
|
13657
|
+
end
|
13658
|
+
|
13659
|
+
#
|
13660
|
+
class Datum
|
13661
|
+
include Google::Apis::Core::Hashable
|
13662
|
+
|
13663
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13664
|
+
# For example, for warnings where there are no results in a list request for a
|
13665
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13666
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13667
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13668
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13669
|
+
# for IP forwarding).
|
13670
|
+
# Corresponds to the JSON property `key`
|
13671
|
+
# @return [String]
|
13672
|
+
attr_accessor :key
|
13673
|
+
|
13674
|
+
# [Output Only] A warning data value corresponding to the key.
|
13675
|
+
# Corresponds to the JSON property `value`
|
13676
|
+
# @return [String]
|
13677
|
+
attr_accessor :value
|
13678
|
+
|
13679
|
+
def initialize(**args)
|
13680
|
+
update!(**args)
|
13681
|
+
end
|
13682
|
+
|
13683
|
+
# Update properties of this object
|
13684
|
+
def update!(**args)
|
13685
|
+
@key = args[:key] if args.key?(:key)
|
13686
|
+
@value = args[:value] if args.key?(:value)
|
13687
|
+
end
|
13688
|
+
end
|
13689
|
+
end
|
13690
|
+
end
|
13691
|
+
|
13692
|
+
#
|
13693
|
+
class OperationAggregatedList
|
13694
|
+
include Google::Apis::Core::Hashable
|
13695
|
+
|
13696
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
13697
|
+
# defined by the server.
|
13698
|
+
# Corresponds to the JSON property `id`
|
13699
|
+
# @return [String]
|
13700
|
+
attr_accessor :id
|
13701
|
+
|
13702
|
+
# [Output Only] A map of scoped operation lists.
|
13703
|
+
# Corresponds to the JSON property `items`
|
13704
|
+
# @return [Hash<String,Google::Apis::ComputeV1::OperationsScopedList>]
|
13705
|
+
attr_accessor :items
|
13706
|
+
|
13707
|
+
# [Output Only] Type of resource. Always compute#operationAggregatedList for
|
13708
|
+
# aggregated lists of operations.
|
12183
13709
|
# Corresponds to the JSON property `kind`
|
12184
13710
|
# @return [String]
|
12185
13711
|
attr_accessor :kind
|
@@ -12583,6 +14109,13 @@ module Google
|
|
12583
14109
|
# @return [String]
|
12584
14110
|
attr_accessor :creation_timestamp
|
12585
14111
|
|
14112
|
+
# This signifies the default network tier used for configuring resources of the
|
14113
|
+
# project and can only take the following values: PREMIUM, STANDARD. Initially
|
14114
|
+
# the default network tier is PREMIUM.
|
14115
|
+
# Corresponds to the JSON property `defaultNetworkTier`
|
14116
|
+
# @return [String]
|
14117
|
+
attr_accessor :default_network_tier
|
14118
|
+
|
12586
14119
|
# [Output Only] Default service account used by VMs running in this project.
|
12587
14120
|
# Corresponds to the JSON property `defaultServiceAccount`
|
12588
14121
|
# @return [String]
|
@@ -12646,6 +14179,7 @@ module Google
|
|
12646
14179
|
def update!(**args)
|
12647
14180
|
@common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
|
12648
14181
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
14182
|
+
@default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier)
|
12649
14183
|
@default_service_account = args[:default_service_account] if args.key?(:default_service_account)
|
12650
14184
|
@description = args[:description] if args.key?(:description)
|
12651
14185
|
@enabled_features = args[:enabled_features] if args.key?(:enabled_features)
|
@@ -12755,6 +14289,25 @@ module Google
|
|
12755
14289
|
end
|
12756
14290
|
end
|
12757
14291
|
|
14292
|
+
#
|
14293
|
+
class ProjectsSetDefaultNetworkTierRequest
|
14294
|
+
include Google::Apis::Core::Hashable
|
14295
|
+
|
14296
|
+
# Default network tier to be set.
|
14297
|
+
# Corresponds to the JSON property `networkTier`
|
14298
|
+
# @return [String]
|
14299
|
+
attr_accessor :network_tier
|
14300
|
+
|
14301
|
+
def initialize(**args)
|
14302
|
+
update!(**args)
|
14303
|
+
end
|
14304
|
+
|
14305
|
+
# Update properties of this object
|
14306
|
+
def update!(**args)
|
14307
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
14308
|
+
end
|
14309
|
+
end
|
14310
|
+
|
12758
14311
|
# A quotas entry.
|
12759
14312
|
class Quota
|
12760
14313
|
include Google::Apis::Core::Hashable
|
@@ -15072,6 +16625,11 @@ module Google
|
|
15072
16625
|
attr_accessor :automatic_restart
|
15073
16626
|
alias_method :automatic_restart?, :automatic_restart
|
15074
16627
|
|
16628
|
+
# A set of node affinity and anti-affinity.
|
16629
|
+
# Corresponds to the JSON property `nodeAffinities`
|
16630
|
+
# @return [Array<Google::Apis::ComputeV1::SchedulingNodeAffinity>]
|
16631
|
+
attr_accessor :node_affinities
|
16632
|
+
|
15075
16633
|
# Defines the maintenance behavior for this instance. For standard instances,
|
15076
16634
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
15077
16635
|
# only possible behavior is TERMINATE. For more information, see Setting
|
@@ -15095,11 +16653,44 @@ module Google
|
|
15095
16653
|
# Update properties of this object
|
15096
16654
|
def update!(**args)
|
15097
16655
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
16656
|
+
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
15098
16657
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
15099
16658
|
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
15100
16659
|
end
|
15101
16660
|
end
|
15102
16661
|
|
16662
|
+
# Node Affinity: the configuration of desired nodes onto which this Instance
|
16663
|
+
# could be scheduled.
|
16664
|
+
class SchedulingNodeAffinity
|
16665
|
+
include Google::Apis::Core::Hashable
|
16666
|
+
|
16667
|
+
# Corresponds to the label key of Node resource.
|
16668
|
+
# Corresponds to the JSON property `key`
|
16669
|
+
# @return [String]
|
16670
|
+
attr_accessor :key
|
16671
|
+
|
16672
|
+
# Defines the operation of node selection.
|
16673
|
+
# Corresponds to the JSON property `operator`
|
16674
|
+
# @return [String]
|
16675
|
+
attr_accessor :operator
|
16676
|
+
|
16677
|
+
# Corresponds to the label values of Node resource.
|
16678
|
+
# Corresponds to the JSON property `values`
|
16679
|
+
# @return [Array<String>]
|
16680
|
+
attr_accessor :values
|
16681
|
+
|
16682
|
+
def initialize(**args)
|
16683
|
+
update!(**args)
|
16684
|
+
end
|
16685
|
+
|
16686
|
+
# Update properties of this object
|
16687
|
+
def update!(**args)
|
16688
|
+
@key = args[:key] if args.key?(:key)
|
16689
|
+
@operator = args[:operator] if args.key?(:operator)
|
16690
|
+
@values = args[:values] if args.key?(:values)
|
16691
|
+
end
|
16692
|
+
end
|
16693
|
+
|
15103
16694
|
# An instance's serial console output.
|
15104
16695
|
class SerialPortOutput
|
15105
16696
|
include Google::Apis::Core::Hashable
|
@@ -19386,6 +20977,189 @@ module Google
|
|
19386
20977
|
end
|
19387
20978
|
end
|
19388
20979
|
|
20980
|
+
# Subnetwork which the current user has compute.subnetworks.use permission on.
|
20981
|
+
class UsableSubnetwork
|
20982
|
+
include Google::Apis::Core::Hashable
|
20983
|
+
|
20984
|
+
# The range of internal addresses that are owned by this subnetwork.
|
20985
|
+
# Corresponds to the JSON property `ipCidrRange`
|
20986
|
+
# @return [String]
|
20987
|
+
attr_accessor :ip_cidr_range
|
20988
|
+
|
20989
|
+
# Network URL.
|
20990
|
+
# Corresponds to the JSON property `network`
|
20991
|
+
# @return [String]
|
20992
|
+
attr_accessor :network
|
20993
|
+
|
20994
|
+
# Secondary IP ranges.
|
20995
|
+
# Corresponds to the JSON property `secondaryIpRanges`
|
20996
|
+
# @return [Array<Google::Apis::ComputeV1::UsableSubnetworkSecondaryRange>]
|
20997
|
+
attr_accessor :secondary_ip_ranges
|
20998
|
+
|
20999
|
+
# Subnetwork URL.
|
21000
|
+
# Corresponds to the JSON property `subnetwork`
|
21001
|
+
# @return [String]
|
21002
|
+
attr_accessor :subnetwork
|
21003
|
+
|
21004
|
+
def initialize(**args)
|
21005
|
+
update!(**args)
|
21006
|
+
end
|
21007
|
+
|
21008
|
+
# Update properties of this object
|
21009
|
+
def update!(**args)
|
21010
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
21011
|
+
@network = args[:network] if args.key?(:network)
|
21012
|
+
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
21013
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
21014
|
+
end
|
21015
|
+
end
|
21016
|
+
|
21017
|
+
# Secondary IP range of a usable subnetwork.
|
21018
|
+
class UsableSubnetworkSecondaryRange
|
21019
|
+
include Google::Apis::Core::Hashable
|
21020
|
+
|
21021
|
+
# The range of IP addresses belonging to this subnetwork secondary range.
|
21022
|
+
# Corresponds to the JSON property `ipCidrRange`
|
21023
|
+
# @return [String]
|
21024
|
+
attr_accessor :ip_cidr_range
|
21025
|
+
|
21026
|
+
# The name associated with this subnetwork secondary range, used when adding an
|
21027
|
+
# alias IP range to a VM instance. The name must be 1-63 characters long, and
|
21028
|
+
# comply with RFC1035. The name must be unique within the subnetwork.
|
21029
|
+
# Corresponds to the JSON property `rangeName`
|
21030
|
+
# @return [String]
|
21031
|
+
attr_accessor :range_name
|
21032
|
+
|
21033
|
+
def initialize(**args)
|
21034
|
+
update!(**args)
|
21035
|
+
end
|
21036
|
+
|
21037
|
+
# Update properties of this object
|
21038
|
+
def update!(**args)
|
21039
|
+
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
21040
|
+
@range_name = args[:range_name] if args.key?(:range_name)
|
21041
|
+
end
|
21042
|
+
end
|
21043
|
+
|
21044
|
+
#
|
21045
|
+
class UsableSubnetworksAggregatedList
|
21046
|
+
include Google::Apis::Core::Hashable
|
21047
|
+
|
21048
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
21049
|
+
# defined by the server.
|
21050
|
+
# Corresponds to the JSON property `id`
|
21051
|
+
# @return [String]
|
21052
|
+
attr_accessor :id
|
21053
|
+
|
21054
|
+
# [Output] A list of usable subnetwork URLs.
|
21055
|
+
# Corresponds to the JSON property `items`
|
21056
|
+
# @return [Array<Google::Apis::ComputeV1::UsableSubnetwork>]
|
21057
|
+
attr_accessor :items
|
21058
|
+
|
21059
|
+
# [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList
|
21060
|
+
# for aggregated lists of usable subnetworks.
|
21061
|
+
# Corresponds to the JSON property `kind`
|
21062
|
+
# @return [String]
|
21063
|
+
attr_accessor :kind
|
21064
|
+
|
21065
|
+
# [Output Only] This token allows you to get the next page of results for list
|
21066
|
+
# requests. If the number of results is larger than maxResults, use the
|
21067
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
21068
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
21069
|
+
# continue paging through the results.
|
21070
|
+
# Corresponds to the JSON property `nextPageToken`
|
21071
|
+
# @return [String]
|
21072
|
+
attr_accessor :next_page_token
|
21073
|
+
|
21074
|
+
# [Output Only] Server-defined URL for this resource.
|
21075
|
+
# Corresponds to the JSON property `selfLink`
|
21076
|
+
# @return [String]
|
21077
|
+
attr_accessor :self_link
|
21078
|
+
|
21079
|
+
# [Output Only] Informational warning message.
|
21080
|
+
# Corresponds to the JSON property `warning`
|
21081
|
+
# @return [Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Warning]
|
21082
|
+
attr_accessor :warning
|
21083
|
+
|
21084
|
+
def initialize(**args)
|
21085
|
+
update!(**args)
|
21086
|
+
end
|
21087
|
+
|
21088
|
+
# Update properties of this object
|
21089
|
+
def update!(**args)
|
21090
|
+
@id = args[:id] if args.key?(:id)
|
21091
|
+
@items = args[:items] if args.key?(:items)
|
21092
|
+
@kind = args[:kind] if args.key?(:kind)
|
21093
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
21094
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
21095
|
+
@warning = args[:warning] if args.key?(:warning)
|
21096
|
+
end
|
21097
|
+
|
21098
|
+
# [Output Only] Informational warning message.
|
21099
|
+
class Warning
|
21100
|
+
include Google::Apis::Core::Hashable
|
21101
|
+
|
21102
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
21103
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
21104
|
+
# Corresponds to the JSON property `code`
|
21105
|
+
# @return [String]
|
21106
|
+
attr_accessor :code
|
21107
|
+
|
21108
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
21109
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
21110
|
+
# Corresponds to the JSON property `data`
|
21111
|
+
# @return [Array<Google::Apis::ComputeV1::UsableSubnetworksAggregatedList::Warning::Datum>]
|
21112
|
+
attr_accessor :data
|
21113
|
+
|
21114
|
+
# [Output Only] A human-readable description of the warning code.
|
21115
|
+
# Corresponds to the JSON property `message`
|
21116
|
+
# @return [String]
|
21117
|
+
attr_accessor :message
|
21118
|
+
|
21119
|
+
def initialize(**args)
|
21120
|
+
update!(**args)
|
21121
|
+
end
|
21122
|
+
|
21123
|
+
# Update properties of this object
|
21124
|
+
def update!(**args)
|
21125
|
+
@code = args[:code] if args.key?(:code)
|
21126
|
+
@data = args[:data] if args.key?(:data)
|
21127
|
+
@message = args[:message] if args.key?(:message)
|
21128
|
+
end
|
21129
|
+
|
21130
|
+
#
|
21131
|
+
class Datum
|
21132
|
+
include Google::Apis::Core::Hashable
|
21133
|
+
|
21134
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
21135
|
+
# For example, for warnings where there are no results in a list request for a
|
21136
|
+
# particular zone, this key might be scope and the key value might be the zone
|
21137
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
21138
|
+
# suggested replacement, or a warning about invalid network settings (for
|
21139
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
21140
|
+
# for IP forwarding).
|
21141
|
+
# Corresponds to the JSON property `key`
|
21142
|
+
# @return [String]
|
21143
|
+
attr_accessor :key
|
21144
|
+
|
21145
|
+
# [Output Only] A warning data value corresponding to the key.
|
21146
|
+
# Corresponds to the JSON property `value`
|
21147
|
+
# @return [String]
|
21148
|
+
attr_accessor :value
|
21149
|
+
|
21150
|
+
def initialize(**args)
|
21151
|
+
update!(**args)
|
21152
|
+
end
|
21153
|
+
|
21154
|
+
# Update properties of this object
|
21155
|
+
def update!(**args)
|
21156
|
+
@key = args[:key] if args.key?(:key)
|
21157
|
+
@value = args[:value] if args.key?(:value)
|
21158
|
+
end
|
21159
|
+
end
|
21160
|
+
end
|
21161
|
+
end
|
21162
|
+
|
19389
21163
|
# The location in Cloud Storage and naming method of the daily usage report.
|
19390
21164
|
# Contains bucket_name and report_name prefix.
|
19391
21165
|
class UsageExportLocation
|