google-api-client 0.34.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +16 -3
- data/CHANGELOG.md +114 -0
- data/OVERVIEW.md +36 -0
- data/README.md +49 -1
- data/Rakefile +1 -1
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -4
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +75 -12
- data/generated/google/apis/compute_alpha/representations.rb +2 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +54 -10
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -10
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +13 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +13 -4
- data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +75 -4
- data/generated/google/apis/dataproc_v1/representations.rb +22 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
- data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4.rb +40 -0
- data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
- data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +68 -25
- data/generated/google/apis/dlp_v2/representations.rb +9 -4
- data/generated/google/apis/dlp_v2/service.rb +1925 -193
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +4 -8
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +18 -2
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +173 -97
- data/generated/google/apis/ml_v1/representations.rb +58 -0
- data/generated/google/apis/ml_v1/service.rb +37 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +780 -6
- data/generated/google/apis/monitoring_v3/representations.rb +347 -0
- data/generated/google/apis/monitoring_v3/service.rb +382 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +6 -7
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -169
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +229 -1207
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
- data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/service.rb +59 -10
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +1 -1
- metadata +33 -11
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
- data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeAlpha
|
|
27
27
|
VERSION = 'Alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191014'
|
|
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'
|
|
@@ -1166,7 +1166,7 @@ module Google
|
|
|
1166
1166
|
# @return [Fixnum]
|
|
1167
1167
|
attr_accessor :count
|
|
1168
1168
|
|
|
1169
|
-
# [
|
|
1169
|
+
# [Output Only] Indicates how many instances are in use.
|
|
1170
1170
|
# Corresponds to the JSON property `inUseCount`
|
|
1171
1171
|
# @return [Fixnum]
|
|
1172
1172
|
attr_accessor :in_use_count
|
|
@@ -1393,6 +1393,12 @@ module Google
|
|
|
1393
1393
|
# @return [Hash<String,String>]
|
|
1394
1394
|
attr_accessor :labels
|
|
1395
1395
|
|
|
1396
|
+
# Specifies which action to take on instance update with this disk. Default is
|
|
1397
|
+
# to use the existing disk.
|
|
1398
|
+
# Corresponds to the JSON property `onUpdateAction`
|
|
1399
|
+
# @return [String]
|
|
1400
|
+
attr_accessor :on_update_action
|
|
1401
|
+
|
|
1396
1402
|
# URLs of the zones where the disk should be replicated to. Only applicable for
|
|
1397
1403
|
# regional resources.
|
|
1398
1404
|
# Corresponds to the JSON property `replicaZones`
|
|
@@ -1460,6 +1466,7 @@ module Google
|
|
|
1460
1466
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
|
1461
1467
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
|
1462
1468
|
@labels = args[:labels] if args.key?(:labels)
|
|
1469
|
+
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
|
1463
1470
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
|
1464
1471
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
|
1465
1472
|
@source_image = args[:source_image] if args.key?(:source_image)
|
|
@@ -1719,7 +1726,13 @@ module Google
|
|
|
1719
1726
|
# @return [String]
|
|
1720
1727
|
attr_accessor :self_link_with_id
|
|
1721
1728
|
|
|
1722
|
-
# [Output Only] The status of the autoscaler configuration.
|
|
1729
|
+
# [Output Only] The status of the autoscaler configuration. Current set of
|
|
1730
|
+
# possible values: PENDING: Autoscaler backend hasn't read new/updated
|
|
1731
|
+
# configuration DELETING: Configuration is being deleted ACTIVE: Configuration
|
|
1732
|
+
# is acknowledged to be effective. Some warnings might or might not be present
|
|
1733
|
+
# in the status_details field. ERROR: Configuration has errors. Actionable for
|
|
1734
|
+
# users. Details are present in the status_details field. New values might be
|
|
1735
|
+
# added in the future.
|
|
1723
1736
|
# Corresponds to the JSON property `status`
|
|
1724
1737
|
# @return [String]
|
|
1725
1738
|
attr_accessor :status
|
|
@@ -2010,7 +2023,38 @@ module Google
|
|
|
2010
2023
|
# @return [String]
|
|
2011
2024
|
attr_accessor :message
|
|
2012
2025
|
|
|
2013
|
-
# The type of error returned.
|
|
2026
|
+
# The type of error, warning or notice returned. Current set of possible values:
|
|
2027
|
+
# ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
|
|
2028
|
+
# unhealthy (not in RUNNING state). BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
|
|
2029
|
+
# There is no backend service attached to the instance group.
|
|
2030
|
+
# CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends size bigger than
|
|
2031
|
+
# maxNumReplicas. CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
|
|
2032
|
+
# metric samples are not exported often enough to be a credible base for
|
|
2033
|
+
# autoscaling. CUSTOM_METRIC_INVALID (ERROR): The custom metric that was
|
|
2034
|
+
# specified does not exist or does not have the necessary labels. MIN_EQUALS_MAX
|
|
2035
|
+
# (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the
|
|
2036
|
+
# autoscaler cannot add or remove instances from the instance group.
|
|
2037
|
+
# MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
|
|
2038
|
+
# any data from the custom metric configured for autoscaling.
|
|
2039
|
+
# MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to
|
|
2040
|
+
# scale based on a load balancing signal but the instance group has not received
|
|
2041
|
+
# any requests from the load balancer. MODE_OFF (WARNING): Autoscaling is turned
|
|
2042
|
+
# off. The number of instances in the group won't change automatically. The
|
|
2043
|
+
# autoscaling configuration is preserved. MODE_ONLY_UP (WARNING): Autoscaling is
|
|
2044
|
+
# in the "Autoscale only up" mode. Instances in the group will be only added.
|
|
2045
|
+
# MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled
|
|
2046
|
+
# because it has more than one backend service attached to it.
|
|
2047
|
+
# NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): Exceeded quota for necessary resources,
|
|
2048
|
+
# such as CPU, number of instances and so on. REGION_RESOURCE_STOCKOUT (ERROR):
|
|
2049
|
+
# Showed only for regional autoscalers: there is a resource stockout in the
|
|
2050
|
+
# chosen region. SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
|
|
2051
|
+
# does not exist. UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR):
|
|
2052
|
+
# Autoscaling does not work with an HTTP/S load balancer that has been
|
|
2053
|
+
# configured for maxRate. ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers:
|
|
2054
|
+
# there is a resource stockout in the chosen zone. For regional autoscalers: in
|
|
2055
|
+
# at least one of the zones you're using there is a resource stockout. New
|
|
2056
|
+
# values might be added in the future. Some of the values might not be available
|
|
2057
|
+
# in all API versions.
|
|
2014
2058
|
# Corresponds to the JSON property `type`
|
|
2015
2059
|
# @return [String]
|
|
2016
2060
|
attr_accessor :type
|
|
@@ -11095,6 +11139,17 @@ module Google
|
|
|
11095
11139
|
attr_accessor :erase_windows_vss_signature
|
|
11096
11140
|
alias_method :erase_windows_vss_signature?, :erase_windows_vss_signature
|
|
11097
11141
|
|
|
11142
|
+
# Specifies a fingerprint for this resource, which is essentially a hash of the
|
|
11143
|
+
# instance's contents and used for optimistic locking. The fingerprint is
|
|
11144
|
+
# initially generated by Compute Engine and changes after every request to
|
|
11145
|
+
# modify or update the instance. You must always provide an up-to-date
|
|
11146
|
+
# fingerprint hash in order to update the instance.
|
|
11147
|
+
# To see the latest fingerprint, make get() request to the instance.
|
|
11148
|
+
# Corresponds to the JSON property `fingerprint`
|
|
11149
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
11150
|
+
# @return [String]
|
|
11151
|
+
attr_accessor :fingerprint
|
|
11152
|
+
|
|
11098
11153
|
# A list of the type and count of accelerator cards attached to the instance.
|
|
11099
11154
|
# Corresponds to the JSON property `guestAccelerators`
|
|
11100
11155
|
# @return [Array<Google::Apis::ComputeAlpha::AcceleratorConfig>]
|
|
@@ -11310,6 +11365,7 @@ module Google
|
|
|
11310
11365
|
@disks = args[:disks] if args.key?(:disks)
|
|
11311
11366
|
@display_device = args[:display_device] if args.key?(:display_device)
|
|
11312
11367
|
@erase_windows_vss_signature = args[:erase_windows_vss_signature] if args.key?(:erase_windows_vss_signature)
|
|
11368
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
|
11313
11369
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
|
11314
11370
|
@hostname = args[:hostname] if args.key?(:hostname)
|
|
11315
11371
|
@id = args[:id] if args.key?(:id)
|
|
@@ -18548,6 +18604,9 @@ module Google
|
|
|
18548
18604
|
end
|
|
18549
18605
|
|
|
18550
18606
|
# Represents a collection of network endpoints.
|
|
18607
|
+
# For more information read Setting up network endpoint groups in load balancing.
|
|
18608
|
+
# (== resource_for v1.networkEndpointGroups ==) (== resource_for beta.
|
|
18609
|
+
# networkEndpointGroups ==)
|
|
18551
18610
|
class NetworkEndpointGroup
|
|
18552
18611
|
include Google::Apis::Core::Hashable
|
|
18553
18612
|
|
|
@@ -19942,7 +20001,7 @@ module Google
|
|
|
19942
20001
|
# instances physically separated from instances in other projects, or to group
|
|
19943
20002
|
# your instances together on the same host hardware. For more information, read
|
|
19944
20003
|
# Sole-tenant nodes. (== resource_for beta.nodeGroups ==) (== resource_for v1.
|
|
19945
|
-
# nodeGroups ==) NextID:
|
|
20004
|
+
# nodeGroups ==) NextID: 16
|
|
19946
20005
|
class NodeGroup
|
|
19947
20006
|
include Google::Apis::Core::Hashable
|
|
19948
20007
|
|
|
@@ -21652,7 +21711,7 @@ module Google
|
|
|
21652
21711
|
# @return [String]
|
|
21653
21712
|
attr_accessor :endpoint
|
|
21654
21713
|
|
|
21655
|
-
# Optional. If specified, this field is used to populate the
|
|
21714
|
+
# Optional. If specified, this field is used to populate the "name" field in
|
|
21656
21715
|
# gRPC requests.
|
|
21657
21716
|
# Corresponds to the JSON property `payloadName`
|
|
21658
21717
|
# @return [String]
|
|
@@ -23870,7 +23929,7 @@ module Google
|
|
|
23870
23929
|
|
|
23871
23930
|
# A map of Istio attribute to expected values. Exact match, prefix match, and
|
|
23872
23931
|
# suffix match are supported for values. For example, `request.headers[version]:
|
|
23873
|
-
#
|
|
23932
|
+
# "v1"`. The properties are ANDed together.
|
|
23874
23933
|
# Corresponds to the JSON property `properties`
|
|
23875
23934
|
# @return [Hash<String,String>]
|
|
23876
23935
|
attr_accessor :properties
|
|
@@ -26515,7 +26574,7 @@ module Google
|
|
|
26515
26574
|
class Reservation
|
|
26516
26575
|
include Google::Apis::Core::Hashable
|
|
26517
26576
|
|
|
26518
|
-
# [
|
|
26577
|
+
# [Output Only] Full or partial URL to a parent commitment. This field displays
|
|
26519
26578
|
# for reservations that are tied to a commitment.
|
|
26520
26579
|
# Corresponds to the JSON property `commitment`
|
|
26521
26580
|
# @return [String]
|
|
@@ -29005,8 +29064,12 @@ module Google
|
|
|
29005
29064
|
attr_accessor :enable
|
|
29006
29065
|
alias_method :enable?, :enable
|
|
29007
29066
|
|
|
29008
|
-
#
|
|
29009
|
-
# exported for all connections handled by this NAT.
|
|
29067
|
+
# Specify the desired filtering of logs on this NAT. If unspecified, logs are
|
|
29068
|
+
# exported for all connections handled by this NAT. This option can take one of
|
|
29069
|
+
# the following values:
|
|
29070
|
+
# - ERRORS_ONLY: Export logs only for connection failures.
|
|
29071
|
+
# - TRANSLATIONS_ONLY: Export logs only for successful connections.
|
|
29072
|
+
# - ALL: Export logs for all connections, successful and unsuccessful.
|
|
29010
29073
|
# Corresponds to the JSON property `filter`
|
|
29011
29074
|
# @return [String]
|
|
29012
29075
|
attr_accessor :filter
|
|
@@ -29191,13 +29254,13 @@ module Google
|
|
|
29191
29254
|
attr_accessor :auto_allocated_nat_ips
|
|
29192
29255
|
|
|
29193
29256
|
# A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
29194
|
-
# 1",
|
|
29257
|
+
# 1", "179.12.26.133"].
|
|
29195
29258
|
# Corresponds to the JSON property `drainAutoAllocatedNatIps`
|
|
29196
29259
|
# @return [Array<String>]
|
|
29197
29260
|
attr_accessor :drain_auto_allocated_nat_ips
|
|
29198
29261
|
|
|
29199
29262
|
# A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
29200
|
-
# 1",
|
|
29263
|
+
# 1", "179.12.26.133"].
|
|
29201
29264
|
# Corresponds to the JSON property `drainUserAllocatedNatIps`
|
|
29202
29265
|
# @return [Array<String>]
|
|
29203
29266
|
attr_accessor :drain_user_allocated_nat_ips
|
|
@@ -30811,7 +30874,7 @@ module Google
|
|
|
30811
30874
|
# @return [String]
|
|
30812
30875
|
attr_accessor :description
|
|
30813
30876
|
|
|
30814
|
-
# [Output Only] Size of the
|
|
30877
|
+
# [Output Only] Size of the source disk, specified in GB.
|
|
30815
30878
|
# Corresponds to the JSON property `diskSizeGb`
|
|
30816
30879
|
# @return [Fixnum]
|
|
30817
30880
|
attr_accessor :disk_size_gb
|
|
@@ -5620,6 +5620,7 @@ module Google
|
|
|
5620
5620
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeAlpha::GuestOsFeature, decorator: Google::Apis::ComputeAlpha::GuestOsFeature::Representation
|
|
5621
5621
|
|
|
5622
5622
|
hash :labels, as: 'labels'
|
|
5623
|
+
property :on_update_action, as: 'onUpdateAction'
|
|
5623
5624
|
collection :replica_zones, as: 'replicaZones'
|
|
5624
5625
|
collection :resource_policies, as: 'resourcePolicies'
|
|
5625
5626
|
property :source_image, as: 'sourceImage'
|
|
@@ -7877,6 +7878,7 @@ module Google
|
|
|
7877
7878
|
property :display_device, as: 'displayDevice', class: Google::Apis::ComputeAlpha::DisplayDevice, decorator: Google::Apis::ComputeAlpha::DisplayDevice::Representation
|
|
7878
7879
|
|
|
7879
7880
|
property :erase_windows_vss_signature, as: 'eraseWindowsVssSignature'
|
|
7881
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
7880
7882
|
collection :guest_accelerators, as: 'guestAccelerators', class: Google::Apis::ComputeAlpha::AcceleratorConfig, decorator: Google::Apis::ComputeAlpha::AcceleratorConfig::Representation
|
|
7881
7883
|
|
|
7882
7884
|
property :hostname, as: 'hostname'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
|
26
26
|
module ComputeBeta
|
|
27
27
|
VERSION = 'Beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191014'
|
|
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'
|
|
@@ -1140,7 +1140,7 @@ module Google
|
|
|
1140
1140
|
# @return [Fixnum]
|
|
1141
1141
|
attr_accessor :count
|
|
1142
1142
|
|
|
1143
|
-
# [
|
|
1143
|
+
# [Output Only] Indicates how many instances are in use.
|
|
1144
1144
|
# Corresponds to the JSON property `inUseCount`
|
|
1145
1145
|
# @return [Fixnum]
|
|
1146
1146
|
attr_accessor :in_use_count
|
|
@@ -1587,7 +1587,13 @@ module Google
|
|
|
1587
1587
|
# @return [String]
|
|
1588
1588
|
attr_accessor :self_link
|
|
1589
1589
|
|
|
1590
|
-
# [Output Only] The status of the autoscaler configuration.
|
|
1590
|
+
# [Output Only] The status of the autoscaler configuration. Current set of
|
|
1591
|
+
# possible values: PENDING: Autoscaler backend hasn't read new/updated
|
|
1592
|
+
# configuration DELETING: Configuration is being deleted ACTIVE: Configuration
|
|
1593
|
+
# is acknowledged to be effective. Some warnings might or might not be present
|
|
1594
|
+
# in the status_details field. ERROR: Configuration has errors. Actionable for
|
|
1595
|
+
# users. Details are present in the status_details field. New values might be
|
|
1596
|
+
# added in the future.
|
|
1591
1597
|
# Corresponds to the JSON property `status`
|
|
1592
1598
|
# @return [String]
|
|
1593
1599
|
attr_accessor :status
|
|
@@ -1877,7 +1883,38 @@ module Google
|
|
|
1877
1883
|
# @return [String]
|
|
1878
1884
|
attr_accessor :message
|
|
1879
1885
|
|
|
1880
|
-
# The type of error returned.
|
|
1886
|
+
# The type of error, warning or notice returned. Current set of possible values:
|
|
1887
|
+
# ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
|
|
1888
|
+
# unhealthy (not in RUNNING state). BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
|
|
1889
|
+
# There is no backend service attached to the instance group.
|
|
1890
|
+
# CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends size bigger than
|
|
1891
|
+
# maxNumReplicas. CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
|
|
1892
|
+
# metric samples are not exported often enough to be a credible base for
|
|
1893
|
+
# autoscaling. CUSTOM_METRIC_INVALID (ERROR): The custom metric that was
|
|
1894
|
+
# specified does not exist or does not have the necessary labels. MIN_EQUALS_MAX
|
|
1895
|
+
# (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the
|
|
1896
|
+
# autoscaler cannot add or remove instances from the instance group.
|
|
1897
|
+
# MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
|
|
1898
|
+
# any data from the custom metric configured for autoscaling.
|
|
1899
|
+
# MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to
|
|
1900
|
+
# scale based on a load balancing signal but the instance group has not received
|
|
1901
|
+
# any requests from the load balancer. MODE_OFF (WARNING): Autoscaling is turned
|
|
1902
|
+
# off. The number of instances in the group won't change automatically. The
|
|
1903
|
+
# autoscaling configuration is preserved. MODE_ONLY_UP (WARNING): Autoscaling is
|
|
1904
|
+
# in the "Autoscale only up" mode. Instances in the group will be only added.
|
|
1905
|
+
# MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled
|
|
1906
|
+
# because it has more than one backend service attached to it.
|
|
1907
|
+
# NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): Exceeded quota for necessary resources,
|
|
1908
|
+
# such as CPU, number of instances and so on. REGION_RESOURCE_STOCKOUT (ERROR):
|
|
1909
|
+
# Showed only for regional autoscalers: there is a resource stockout in the
|
|
1910
|
+
# chosen region. SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
|
|
1911
|
+
# does not exist. UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR):
|
|
1912
|
+
# Autoscaling does not work with an HTTP/S load balancer that has been
|
|
1913
|
+
# configured for maxRate. ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers:
|
|
1914
|
+
# there is a resource stockout in the chosen zone. For regional autoscalers: in
|
|
1915
|
+
# at least one of the zones you're using there is a resource stockout. New
|
|
1916
|
+
# values might be added in the future. Some of the values might not be available
|
|
1917
|
+
# in all API versions.
|
|
1881
1918
|
# Corresponds to the JSON property `type`
|
|
1882
1919
|
# @return [String]
|
|
1883
1920
|
attr_accessor :type
|
|
@@ -16084,6 +16121,9 @@ module Google
|
|
|
16084
16121
|
end
|
|
16085
16122
|
|
|
16086
16123
|
# Represents a collection of network endpoints.
|
|
16124
|
+
# For more information read Setting up network endpoint groups in load balancing.
|
|
16125
|
+
# (== resource_for v1.networkEndpointGroups ==) (== resource_for beta.
|
|
16126
|
+
# networkEndpointGroups ==)
|
|
16087
16127
|
class NetworkEndpointGroup
|
|
16088
16128
|
include Google::Apis::Core::Hashable
|
|
16089
16129
|
|
|
@@ -17160,7 +17200,7 @@ module Google
|
|
|
17160
17200
|
# instances physically separated from instances in other projects, or to group
|
|
17161
17201
|
# your instances together on the same host hardware. For more information, read
|
|
17162
17202
|
# Sole-tenant nodes. (== resource_for beta.nodeGroups ==) (== resource_for v1.
|
|
17163
|
-
# nodeGroups ==) NextID:
|
|
17203
|
+
# nodeGroups ==) NextID: 16
|
|
17164
17204
|
class NodeGroup
|
|
17165
17205
|
include Google::Apis::Core::Hashable
|
|
17166
17206
|
|
|
@@ -21981,7 +22021,7 @@ module Google
|
|
|
21981
22021
|
class Reservation
|
|
21982
22022
|
include Google::Apis::Core::Hashable
|
|
21983
22023
|
|
|
21984
|
-
# [
|
|
22024
|
+
# [Output Only] Full or partial URL to a parent commitment. This field displays
|
|
21985
22025
|
# for reservations that are tied to a commitment.
|
|
21986
22026
|
# Corresponds to the JSON property `commitment`
|
|
21987
22027
|
# @return [String]
|
|
@@ -24273,8 +24313,12 @@ module Google
|
|
|
24273
24313
|
attr_accessor :enable
|
|
24274
24314
|
alias_method :enable?, :enable
|
|
24275
24315
|
|
|
24276
|
-
#
|
|
24277
|
-
# exported for all connections handled by this NAT.
|
|
24316
|
+
# Specify the desired filtering of logs on this NAT. If unspecified, logs are
|
|
24317
|
+
# exported for all connections handled by this NAT. This option can take one of
|
|
24318
|
+
# the following values:
|
|
24319
|
+
# - ERRORS_ONLY: Export logs only for connection failures.
|
|
24320
|
+
# - TRANSLATIONS_ONLY: Export logs only for successful connections.
|
|
24321
|
+
# - ALL: Export logs for all connections, successful and unsuccessful.
|
|
24278
24322
|
# Corresponds to the JSON property `filter`
|
|
24279
24323
|
# @return [String]
|
|
24280
24324
|
attr_accessor :filter
|
|
@@ -24459,13 +24503,13 @@ module Google
|
|
|
24459
24503
|
attr_accessor :auto_allocated_nat_ips
|
|
24460
24504
|
|
|
24461
24505
|
# A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
24462
|
-
# 1",
|
|
24506
|
+
# 1", "179.12.26.133"].
|
|
24463
24507
|
# Corresponds to the JSON property `drainAutoAllocatedNatIps`
|
|
24464
24508
|
# @return [Array<String>]
|
|
24465
24509
|
attr_accessor :drain_auto_allocated_nat_ips
|
|
24466
24510
|
|
|
24467
24511
|
# A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
24468
|
-
# 1",
|
|
24512
|
+
# 1", "179.12.26.133"].
|
|
24469
24513
|
# Corresponds to the JSON property `drainUserAllocatedNatIps`
|
|
24470
24514
|
# @return [Array<String>]
|
|
24471
24515
|
attr_accessor :drain_user_allocated_nat_ips
|
|
@@ -25630,7 +25674,7 @@ module Google
|
|
|
25630
25674
|
# @return [String]
|
|
25631
25675
|
attr_accessor :description
|
|
25632
25676
|
|
|
25633
|
-
# [Output Only] Size of the
|
|
25677
|
+
# [Output Only] Size of the source disk, specified in GB.
|
|
25634
25678
|
# Corresponds to the JSON property `diskSizeGb`
|
|
25635
25679
|
# @return [Fixnum]
|
|
25636
25680
|
attr_accessor :disk_size_gb
|
|
@@ -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 = '20191014'
|
|
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'
|
|
@@ -1119,7 +1119,7 @@ module Google
|
|
|
1119
1119
|
# @return [Fixnum]
|
|
1120
1120
|
attr_accessor :count
|
|
1121
1121
|
|
|
1122
|
-
# [
|
|
1122
|
+
# [Output Only] Indicates how many instances are in use.
|
|
1123
1123
|
# Corresponds to the JSON property `inUseCount`
|
|
1124
1124
|
# @return [Fixnum]
|
|
1125
1125
|
attr_accessor :in_use_count
|
|
@@ -1547,7 +1547,13 @@ module Google
|
|
|
1547
1547
|
# @return [String]
|
|
1548
1548
|
attr_accessor :self_link
|
|
1549
1549
|
|
|
1550
|
-
# [Output Only] The status of the autoscaler configuration.
|
|
1550
|
+
# [Output Only] The status of the autoscaler configuration. Current set of
|
|
1551
|
+
# possible values: PENDING: Autoscaler backend hasn't read new/updated
|
|
1552
|
+
# configuration DELETING: Configuration is being deleted ACTIVE: Configuration
|
|
1553
|
+
# is acknowledged to be effective. Some warnings might or might not be present
|
|
1554
|
+
# in the status_details field. ERROR: Configuration has errors. Actionable for
|
|
1555
|
+
# users. Details are present in the status_details field. New values might be
|
|
1556
|
+
# added in the future.
|
|
1551
1557
|
# Corresponds to the JSON property `status`
|
|
1552
1558
|
# @return [String]
|
|
1553
1559
|
attr_accessor :status
|
|
@@ -1836,7 +1842,38 @@ module Google
|
|
|
1836
1842
|
# @return [String]
|
|
1837
1843
|
attr_accessor :message
|
|
1838
1844
|
|
|
1839
|
-
# The type of error returned.
|
|
1845
|
+
# The type of error, warning or notice returned. Current set of possible values:
|
|
1846
|
+
# ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
|
|
1847
|
+
# unhealthy (not in RUNNING state). BACKEND_SERVICE_DOES_NOT_EXIST (ERROR):
|
|
1848
|
+
# There is no backend service attached to the instance group.
|
|
1849
|
+
# CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends size bigger than
|
|
1850
|
+
# maxNumReplicas. CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom
|
|
1851
|
+
# metric samples are not exported often enough to be a credible base for
|
|
1852
|
+
# autoscaling. CUSTOM_METRIC_INVALID (ERROR): The custom metric that was
|
|
1853
|
+
# specified does not exist or does not have the necessary labels. MIN_EQUALS_MAX
|
|
1854
|
+
# (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the
|
|
1855
|
+
# autoscaler cannot add or remove instances from the instance group.
|
|
1856
|
+
# MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
|
|
1857
|
+
# any data from the custom metric configured for autoscaling.
|
|
1858
|
+
# MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to
|
|
1859
|
+
# scale based on a load balancing signal but the instance group has not received
|
|
1860
|
+
# any requests from the load balancer. MODE_OFF (WARNING): Autoscaling is turned
|
|
1861
|
+
# off. The number of instances in the group won't change automatically. The
|
|
1862
|
+
# autoscaling configuration is preserved. MODE_ONLY_UP (WARNING): Autoscaling is
|
|
1863
|
+
# in the "Autoscale only up" mode. Instances in the group will be only added.
|
|
1864
|
+
# MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled
|
|
1865
|
+
# because it has more than one backend service attached to it.
|
|
1866
|
+
# NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): Exceeded quota for necessary resources,
|
|
1867
|
+
# such as CPU, number of instances and so on. REGION_RESOURCE_STOCKOUT (ERROR):
|
|
1868
|
+
# Showed only for regional autoscalers: there is a resource stockout in the
|
|
1869
|
+
# chosen region. SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled
|
|
1870
|
+
# does not exist. UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR):
|
|
1871
|
+
# Autoscaling does not work with an HTTP/S load balancer that has been
|
|
1872
|
+
# configured for maxRate. ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers:
|
|
1873
|
+
# there is a resource stockout in the chosen zone. For regional autoscalers: in
|
|
1874
|
+
# at least one of the zones you're using there is a resource stockout. New
|
|
1875
|
+
# values might be added in the future. Some of the values might not be available
|
|
1876
|
+
# in all API versions.
|
|
1840
1877
|
# Corresponds to the JSON property `type`
|
|
1841
1878
|
# @return [String]
|
|
1842
1879
|
attr_accessor :type
|
|
@@ -14998,6 +15035,9 @@ module Google
|
|
|
14998
15035
|
end
|
|
14999
15036
|
|
|
15000
15037
|
# Represents a collection of network endpoints.
|
|
15038
|
+
# For more information read Setting up network endpoint groups in load balancing.
|
|
15039
|
+
# (== resource_for v1.networkEndpointGroups ==) (== resource_for beta.
|
|
15040
|
+
# networkEndpointGroups ==)
|
|
15001
15041
|
class NetworkEndpointGroup
|
|
15002
15042
|
include Google::Apis::Core::Hashable
|
|
15003
15043
|
|
|
@@ -16027,7 +16067,7 @@ module Google
|
|
|
16027
16067
|
# instances physically separated from instances in other projects, or to group
|
|
16028
16068
|
# your instances together on the same host hardware. For more information, read
|
|
16029
16069
|
# Sole-tenant nodes. (== resource_for beta.nodeGroups ==) (== resource_for v1.
|
|
16030
|
-
# nodeGroups ==) NextID:
|
|
16070
|
+
# nodeGroups ==) NextID: 16
|
|
16031
16071
|
class NodeGroup
|
|
16032
16072
|
include Google::Apis::Core::Hashable
|
|
16033
16073
|
|
|
@@ -20025,7 +20065,7 @@ module Google
|
|
|
20025
20065
|
class Reservation
|
|
20026
20066
|
include Google::Apis::Core::Hashable
|
|
20027
20067
|
|
|
20028
|
-
# [
|
|
20068
|
+
# [Output Only] Full or partial URL to a parent commitment. This field displays
|
|
20029
20069
|
# for reservations that are tied to a commitment.
|
|
20030
20070
|
# Corresponds to the JSON property `commitment`
|
|
20031
20071
|
# @return [String]
|
|
@@ -22231,8 +22271,12 @@ module Google
|
|
|
22231
22271
|
attr_accessor :enable
|
|
22232
22272
|
alias_method :enable?, :enable
|
|
22233
22273
|
|
|
22234
|
-
#
|
|
22235
|
-
# exported for all connections handled by this NAT.
|
|
22274
|
+
# Specify the desired filtering of logs on this NAT. If unspecified, logs are
|
|
22275
|
+
# exported for all connections handled by this NAT. This option can take one of
|
|
22276
|
+
# the following values:
|
|
22277
|
+
# - ERRORS_ONLY: Export logs only for connection failures.
|
|
22278
|
+
# - TRANSLATIONS_ONLY: Export logs only for successful connections.
|
|
22279
|
+
# - ALL: Export logs for all connections, successful and unsuccessful.
|
|
22236
22280
|
# Corresponds to the JSON property `filter`
|
|
22237
22281
|
# @return [String]
|
|
22238
22282
|
attr_accessor :filter
|
|
@@ -22411,13 +22455,13 @@ module Google
|
|
|
22411
22455
|
attr_accessor :auto_allocated_nat_ips
|
|
22412
22456
|
|
|
22413
22457
|
# A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
22414
|
-
# 1",
|
|
22458
|
+
# 1", "179.12.26.133"].
|
|
22415
22459
|
# Corresponds to the JSON property `drainAutoAllocatedNatIps`
|
|
22416
22460
|
# @return [Array<String>]
|
|
22417
22461
|
attr_accessor :drain_auto_allocated_nat_ips
|
|
22418
22462
|
|
|
22419
22463
|
# A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.
|
|
22420
|
-
# 1",
|
|
22464
|
+
# 1", "179.12.26.133"].
|
|
22421
22465
|
# Corresponds to the JSON property `drainUserAllocatedNatIps`
|
|
22422
22466
|
# @return [Array<String>]
|
|
22423
22467
|
attr_accessor :drain_user_allocated_nat_ips
|
|
@@ -23403,7 +23447,7 @@ module Google
|
|
|
23403
23447
|
# @return [String]
|
|
23404
23448
|
attr_accessor :description
|
|
23405
23449
|
|
|
23406
|
-
# [Output Only] Size of the
|
|
23450
|
+
# [Output Only] Size of the source disk, specified in GB.
|
|
23407
23451
|
# Corresponds to the JSON property `diskSizeGb`
|
|
23408
23452
|
# @return [Fixnum]
|
|
23409
23453
|
attr_accessor :disk_size_gb
|