google-api-client 0.9.pre3 → 0.9.pre4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
@@ -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 = '20151208'
|
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'
|
@@ -78,13 +78,14 @@ module Google
|
|
78
78
|
# @return [String]
|
79
79
|
attr_accessor :creation_timestamp
|
80
80
|
|
81
|
-
# An optional
|
82
|
-
# the resource
|
81
|
+
# An optional description of this resource. Provide this property when you
|
82
|
+
# create the resource.
|
83
83
|
# Corresponds to the JSON property `description`
|
84
84
|
# @return [String]
|
85
85
|
attr_accessor :description
|
86
86
|
|
87
|
-
# [Output Only]
|
87
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
88
|
+
# defined by the server.
|
88
89
|
# Corresponds to the JSON property `id`
|
89
90
|
# @return [String]
|
90
91
|
attr_accessor :id
|
@@ -110,7 +111,7 @@ module Google
|
|
110
111
|
# @return [String]
|
111
112
|
attr_accessor :region
|
112
113
|
|
113
|
-
# [Output Only] Server
|
114
|
+
# [Output Only] Server-defined URL for the resource.
|
114
115
|
# Corresponds to the JSON property `selfLink`
|
115
116
|
# @return [String]
|
116
117
|
attr_accessor :self_link
|
@@ -167,12 +168,16 @@ module Google
|
|
167
168
|
# @return [String]
|
168
169
|
attr_accessor :kind
|
169
170
|
|
170
|
-
# [Output Only]
|
171
|
+
# [Output Only] This token allows you to get the next page of results for list
|
172
|
+
# requests. If the number of results is larger than maxResults, use the
|
173
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
174
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
175
|
+
# continue paging through the results.
|
171
176
|
# Corresponds to the JSON property `nextPageToken`
|
172
177
|
# @return [String]
|
173
178
|
attr_accessor :next_page_token
|
174
179
|
|
175
|
-
# [Output Only] Server
|
180
|
+
# [Output Only] Server-defined URL for this resource.
|
176
181
|
# Corresponds to the JSON property `selfLink`
|
177
182
|
# @return [String]
|
178
183
|
attr_accessor :self_link
|
@@ -195,7 +200,8 @@ module Google
|
|
195
200
|
class AddressList
|
196
201
|
include Google::Apis::Core::Hashable
|
197
202
|
|
198
|
-
# [Output Only]
|
203
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
204
|
+
# defined by the server.
|
199
205
|
# Corresponds to the JSON property `id`
|
200
206
|
# @return [String]
|
201
207
|
attr_accessor :id
|
@@ -211,12 +217,16 @@ module Google
|
|
211
217
|
# @return [String]
|
212
218
|
attr_accessor :kind
|
213
219
|
|
214
|
-
# [Output Only]
|
220
|
+
# [Output Only] This token allows you to get the next page of results for list
|
221
|
+
# requests. If the number of results is larger than maxResults, use the
|
222
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
223
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
224
|
+
# continue paging through the results.
|
215
225
|
# Corresponds to the JSON property `nextPageToken`
|
216
226
|
# @return [String]
|
217
227
|
attr_accessor :next_page_token
|
218
228
|
|
219
|
-
# [Output Only] Server
|
229
|
+
# [Output Only] Server-defined URL for the resource.
|
220
230
|
# Corresponds to the JSON property `selfLink`
|
221
231
|
# @return [String]
|
222
232
|
attr_accessor :self_link
|
@@ -265,17 +275,19 @@ module Google
|
|
265
275
|
class Warning
|
266
276
|
include Google::Apis::Core::Hashable
|
267
277
|
|
268
|
-
# [Output Only]
|
278
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
279
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
269
280
|
# Corresponds to the JSON property `code`
|
270
281
|
# @return [String]
|
271
282
|
attr_accessor :code
|
272
283
|
|
273
|
-
# [Output Only] Metadata
|
284
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
285
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
274
286
|
# Corresponds to the JSON property `data`
|
275
287
|
# @return [Array<Google::Apis::ComputeV1::AddressesScopedList::Warning::Datum>]
|
276
288
|
attr_accessor :data
|
277
289
|
|
278
|
-
# [Output Only]
|
290
|
+
# [Output Only] A human-readable description of the warning code.
|
279
291
|
# Corresponds to the JSON property `message`
|
280
292
|
# @return [String]
|
281
293
|
attr_accessor :message
|
@@ -295,7 +307,13 @@ module Google
|
|
295
307
|
class Datum
|
296
308
|
include Google::Apis::Core::Hashable
|
297
309
|
|
298
|
-
# [Output Only] A key
|
310
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
311
|
+
# For example, for warnings where there are no results in a list request for a
|
312
|
+
# particular zone, this key might be scope and the key value might be the zone
|
313
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
314
|
+
# suggested replacement, or a warning about invalid network settings (for
|
315
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
316
|
+
# for IP forwarding).
|
299
317
|
# Corresponds to the JSON property `key`
|
300
318
|
# @return [String]
|
301
319
|
attr_accessor :key
|
@@ -337,9 +355,9 @@ module Google
|
|
337
355
|
alias_method :boot?, :boot
|
338
356
|
|
339
357
|
# Specifies a unique device name of your choice that is reflected into the /dev/
|
340
|
-
# tree of a Linux operating system running within the
|
341
|
-
# used to reference the device for mounting, resizing,
|
342
|
-
# the instance.
|
358
|
+
# disk/by-id/google-* tree of a Linux operating system running within the
|
359
|
+
# instance. This name can be used to reference the device for mounting, resizing,
|
360
|
+
# and so on, from within the instance.
|
343
361
|
# If not specified, the server chooses a default device name to apply to this
|
344
362
|
# disk, in the form persistent-disks-x, where x is a number assigned by Google
|
345
363
|
# Compute Engine. This field is only applicable for persistent disks.
|
@@ -364,7 +382,9 @@ module Google
|
|
364
382
|
# @return [Google::Apis::ComputeV1::AttachedDiskInitializeParams]
|
365
383
|
attr_accessor :initialize_params
|
366
384
|
|
367
|
-
#
|
385
|
+
# Specifies the disk interface to use for attaching this disk, either SCSI or
|
386
|
+
# NVME. The default is SCSI. For performance characteristics of SCSI over NVMe,
|
387
|
+
# see Local SSD performance.
|
368
388
|
# Corresponds to the JSON property `interface`
|
369
389
|
# @return [String]
|
370
390
|
attr_accessor :interface
|
@@ -488,18 +508,19 @@ module Google
|
|
488
508
|
# @return [Google::Apis::ComputeV1::AutoscalingPolicy]
|
489
509
|
attr_accessor :autoscaling_policy
|
490
510
|
|
491
|
-
# Creation timestamp in RFC3339 text format
|
511
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
492
512
|
# Corresponds to the JSON property `creationTimestamp`
|
493
513
|
# @return [String]
|
494
514
|
attr_accessor :creation_timestamp
|
495
515
|
|
496
|
-
# An optional
|
497
|
-
# the resource
|
516
|
+
# An optional description of this resource. Provide this property when you
|
517
|
+
# create the resource.
|
498
518
|
# Corresponds to the JSON property `description`
|
499
519
|
# @return [String]
|
500
520
|
attr_accessor :description
|
501
521
|
|
502
|
-
#
|
522
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
523
|
+
# defined by the server.
|
503
524
|
# Corresponds to the JSON property `id`
|
504
525
|
# @return [String]
|
505
526
|
attr_accessor :id
|
@@ -509,13 +530,17 @@ module Google
|
|
509
530
|
# @return [String]
|
510
531
|
attr_accessor :kind
|
511
532
|
|
512
|
-
# Name of the resource
|
513
|
-
# name must be 1-63 characters long, and comply with RFC1035.
|
533
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
534
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
535
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
536
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
537
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
538
|
+
# except the last character, which cannot be a dash.
|
514
539
|
# Corresponds to the JSON property `name`
|
515
540
|
# @return [String]
|
516
541
|
attr_accessor :name
|
517
542
|
|
518
|
-
# Server
|
543
|
+
# [Output Only] Server-defined URL for the resource.
|
519
544
|
# Corresponds to the JSON property `selfLink`
|
520
545
|
# @return [String]
|
521
546
|
attr_accessor :self_link
|
@@ -526,7 +551,7 @@ module Google
|
|
526
551
|
# @return [String]
|
527
552
|
attr_accessor :target
|
528
553
|
|
529
|
-
# URL of the zone where the instance group resides
|
554
|
+
# [Output Only] URL of the zone where the instance group resides.
|
530
555
|
# Corresponds to the JSON property `zone`
|
531
556
|
# @return [String]
|
532
557
|
attr_accessor :zone
|
@@ -553,7 +578,8 @@ module Google
|
|
553
578
|
class AutoscalerAggregatedList
|
554
579
|
include Google::Apis::Core::Hashable
|
555
580
|
|
556
|
-
#
|
581
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
582
|
+
# defined by the server.
|
557
583
|
# Corresponds to the JSON property `id`
|
558
584
|
# @return [String]
|
559
585
|
attr_accessor :id
|
@@ -568,12 +594,16 @@ module Google
|
|
568
594
|
# @return [String]
|
569
595
|
attr_accessor :kind
|
570
596
|
|
571
|
-
#
|
597
|
+
# [Output Only] This token allows you to get the next page of results for list
|
598
|
+
# requests. If the number of results is larger than maxResults, use the
|
599
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
600
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
601
|
+
# continue paging through the results.
|
572
602
|
# Corresponds to the JSON property `nextPageToken`
|
573
603
|
# @return [String]
|
574
604
|
attr_accessor :next_page_token
|
575
605
|
|
576
|
-
# Server
|
606
|
+
# [Output Only] Server-defined URL for this resource.
|
577
607
|
# Corresponds to the JSON property `selfLink`
|
578
608
|
# @return [String]
|
579
609
|
attr_accessor :self_link
|
@@ -596,7 +626,8 @@ module Google
|
|
596
626
|
class AutoscalerList
|
597
627
|
include Google::Apis::Core::Hashable
|
598
628
|
|
599
|
-
#
|
629
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
630
|
+
# defined by the server.
|
600
631
|
# Corresponds to the JSON property `id`
|
601
632
|
# @return [String]
|
602
633
|
attr_accessor :id
|
@@ -611,12 +642,16 @@ module Google
|
|
611
642
|
# @return [String]
|
612
643
|
attr_accessor :kind
|
613
644
|
|
614
|
-
#
|
645
|
+
# [Output Only] This token allows you to get the next page of results for list
|
646
|
+
# requests. If the number of results is larger than maxResults, use the
|
647
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
648
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
649
|
+
# continue paging through the results.
|
615
650
|
# Corresponds to the JSON property `nextPageToken`
|
616
651
|
# @return [String]
|
617
652
|
attr_accessor :next_page_token
|
618
653
|
|
619
|
-
# Server
|
654
|
+
# [Output Only] Server-defined URL for this resource.
|
620
655
|
# Corresponds to the JSON property `selfLink`
|
621
656
|
# @return [String]
|
622
657
|
attr_accessor :self_link
|
@@ -665,17 +700,19 @@ module Google
|
|
665
700
|
class Warning
|
666
701
|
include Google::Apis::Core::Hashable
|
667
702
|
|
668
|
-
# [Output Only]
|
703
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
704
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
669
705
|
# Corresponds to the JSON property `code`
|
670
706
|
# @return [String]
|
671
707
|
attr_accessor :code
|
672
708
|
|
673
|
-
# [Output Only] Metadata
|
709
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
710
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
674
711
|
# Corresponds to the JSON property `data`
|
675
712
|
# @return [Array<Google::Apis::ComputeV1::AutoscalersScopedList::Warning::Datum>]
|
676
713
|
attr_accessor :data
|
677
714
|
|
678
|
-
# [Output Only]
|
715
|
+
# [Output Only] A human-readable description of the warning code.
|
679
716
|
# Corresponds to the JSON property `message`
|
680
717
|
# @return [String]
|
681
718
|
attr_accessor :message
|
@@ -695,7 +732,13 @@ module Google
|
|
695
732
|
class Datum
|
696
733
|
include Google::Apis::Core::Hashable
|
697
734
|
|
698
|
-
# [Output Only] A key
|
735
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
736
|
+
# For example, for warnings where there are no results in a list request for a
|
737
|
+
# particular zone, this key might be scope and the key value might be the zone
|
738
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
739
|
+
# suggested replacement, or a warning about invalid network settings (for
|
740
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
741
|
+
# for IP forwarding).
|
699
742
|
# Corresponds to the JSON property `key`
|
700
743
|
# @return [String]
|
701
744
|
attr_accessor :key
|
@@ -877,8 +920,8 @@ module Google
|
|
877
920
|
# @return [Float]
|
878
921
|
attr_accessor :capacity_scaler
|
879
922
|
|
880
|
-
# An optional
|
881
|
-
# the resource
|
923
|
+
# An optional description of this resource. Provide this property when you
|
924
|
+
# create the resource.
|
882
925
|
# Corresponds to the JSON property `description`
|
883
926
|
# @return [String]
|
884
927
|
attr_accessor :description
|
@@ -929,8 +972,8 @@ module Google
|
|
929
972
|
end
|
930
973
|
end
|
931
974
|
|
932
|
-
# A BackendService resource. This resource defines a group of backend
|
933
|
-
# together with their serving capacity.
|
975
|
+
# A BackendService resource. This resource defines a group of backend virtual
|
976
|
+
# machines together with their serving capacity.
|
934
977
|
class BackendService
|
935
978
|
include Google::Apis::Core::Hashable
|
936
979
|
|
@@ -944,8 +987,8 @@ module Google
|
|
944
987
|
# @return [String]
|
945
988
|
attr_accessor :creation_timestamp
|
946
989
|
|
947
|
-
# An optional
|
948
|
-
# the resource
|
990
|
+
# An optional description of this resource. Provide this property when you
|
991
|
+
# create the resource.
|
949
992
|
# Corresponds to the JSON property `description`
|
950
993
|
# @return [String]
|
951
994
|
attr_accessor :description
|
@@ -958,14 +1001,15 @@ module Google
|
|
958
1001
|
# @return [String]
|
959
1002
|
attr_accessor :fingerprint
|
960
1003
|
|
961
|
-
# The list of URLs to the HttpHealthCheck resource for
|
962
|
-
# BackendService. Currently at most one health check can be
|
963
|
-
# health check is required.
|
1004
|
+
# The list of URLs to the HttpHealthCheck or HttpsHealthCheck resource for
|
1005
|
+
# health checking this BackendService. Currently at most one health check can be
|
1006
|
+
# specified, and a health check is required.
|
964
1007
|
# Corresponds to the JSON property `healthChecks`
|
965
1008
|
# @return [Array<String>]
|
966
1009
|
attr_accessor :health_checks
|
967
1010
|
|
968
|
-
# [Output Only]
|
1011
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1012
|
+
# defined by the server.
|
969
1013
|
# Corresponds to the JSON property `id`
|
970
1014
|
# @return [String]
|
971
1015
|
attr_accessor :id
|
@@ -1003,7 +1047,7 @@ module Google
|
|
1003
1047
|
# @return [String]
|
1004
1048
|
attr_accessor :protocol
|
1005
1049
|
|
1006
|
-
# [Output Only] Server
|
1050
|
+
# [Output Only] Server-defined URL for the resource.
|
1007
1051
|
# Corresponds to the JSON property `selfLink`
|
1008
1052
|
# @return [String]
|
1009
1053
|
attr_accessor :self_link
|
@@ -1066,7 +1110,8 @@ module Google
|
|
1066
1110
|
class BackendServiceList
|
1067
1111
|
include Google::Apis::Core::Hashable
|
1068
1112
|
|
1069
|
-
# [Output Only]
|
1113
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1114
|
+
# defined by the server.
|
1070
1115
|
# Corresponds to the JSON property `id`
|
1071
1116
|
# @return [String]
|
1072
1117
|
attr_accessor :id
|
@@ -1082,7 +1127,11 @@ module Google
|
|
1082
1127
|
# @return [String]
|
1083
1128
|
attr_accessor :kind
|
1084
1129
|
|
1085
|
-
# [Output Only]
|
1130
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1131
|
+
# requests. If the number of results is larger than maxResults, use the
|
1132
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1133
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1134
|
+
# continue paging through the results.
|
1086
1135
|
# Corresponds to the JSON property `nextPageToken`
|
1087
1136
|
# @return [String]
|
1088
1137
|
attr_accessor :next_page_token
|
@@ -1167,13 +1216,14 @@ module Google
|
|
1167
1216
|
# @return [String]
|
1168
1217
|
attr_accessor :creation_timestamp
|
1169
1218
|
|
1170
|
-
# An optional
|
1171
|
-
# the resource
|
1219
|
+
# An optional description of this resource. Provide this property when you
|
1220
|
+
# create the resource.
|
1172
1221
|
# Corresponds to the JSON property `description`
|
1173
1222
|
# @return [String]
|
1174
1223
|
attr_accessor :description
|
1175
1224
|
|
1176
|
-
# [Output Only]
|
1225
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1226
|
+
# defined by the server.
|
1177
1227
|
# Corresponds to the JSON property `id`
|
1178
1228
|
# @return [String]
|
1179
1229
|
attr_accessor :id
|
@@ -1329,7 +1379,8 @@ module Google
|
|
1329
1379
|
class DiskAggregatedList
|
1330
1380
|
include Google::Apis::Core::Hashable
|
1331
1381
|
|
1332
|
-
# [Output Only]
|
1382
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1383
|
+
# defined by the server.
|
1333
1384
|
# Corresponds to the JSON property `id`
|
1334
1385
|
# @return [String]
|
1335
1386
|
attr_accessor :id
|
@@ -1345,12 +1396,16 @@ module Google
|
|
1345
1396
|
# @return [String]
|
1346
1397
|
attr_accessor :kind
|
1347
1398
|
|
1348
|
-
# [Output Only]
|
1399
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1400
|
+
# requests. If the number of results is larger than maxResults, use the
|
1401
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1402
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1403
|
+
# continue paging through the results.
|
1349
1404
|
# Corresponds to the JSON property `nextPageToken`
|
1350
1405
|
# @return [String]
|
1351
1406
|
attr_accessor :next_page_token
|
1352
1407
|
|
1353
|
-
# [Output Only] Server
|
1408
|
+
# [Output Only] Server-defined URL for this resource.
|
1354
1409
|
# Corresponds to the JSON property `selfLink`
|
1355
1410
|
# @return [String]
|
1356
1411
|
attr_accessor :self_link
|
@@ -1373,7 +1428,8 @@ module Google
|
|
1373
1428
|
class DiskList
|
1374
1429
|
include Google::Apis::Core::Hashable
|
1375
1430
|
|
1376
|
-
# [Output Only]
|
1431
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1432
|
+
# defined by the server.
|
1377
1433
|
# Corresponds to the JSON property `id`
|
1378
1434
|
# @return [String]
|
1379
1435
|
attr_accessor :id
|
@@ -1388,12 +1444,16 @@ module Google
|
|
1388
1444
|
# @return [String]
|
1389
1445
|
attr_accessor :kind
|
1390
1446
|
|
1391
|
-
# [Output Only]
|
1447
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1448
|
+
# requests. If the number of results is larger than maxResults, use the
|
1449
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1450
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1451
|
+
# continue paging through the results.
|
1392
1452
|
# Corresponds to the JSON property `nextPageToken`
|
1393
1453
|
# @return [String]
|
1394
1454
|
attr_accessor :next_page_token
|
1395
1455
|
|
1396
|
-
# [Output Only] Server
|
1456
|
+
# [Output Only] Server-defined URL for this resource.
|
1397
1457
|
# Corresponds to the JSON property `selfLink`
|
1398
1458
|
# @return [String]
|
1399
1459
|
attr_accessor :self_link
|
@@ -1454,7 +1514,7 @@ module Google
|
|
1454
1514
|
# @return [String]
|
1455
1515
|
attr_accessor :creation_timestamp
|
1456
1516
|
|
1457
|
-
# [Output Only] Server
|
1517
|
+
# [Output Only] Server-defined default disk size in GB.
|
1458
1518
|
# Corresponds to the JSON property `defaultDiskSizeGb`
|
1459
1519
|
# @return [String]
|
1460
1520
|
attr_accessor :default_disk_size_gb
|
@@ -1464,12 +1524,13 @@ module Google
|
|
1464
1524
|
# @return [Google::Apis::ComputeV1::DeprecationStatus]
|
1465
1525
|
attr_accessor :deprecated
|
1466
1526
|
|
1467
|
-
# [Output Only] An optional
|
1527
|
+
# [Output Only] An optional description of this resource.
|
1468
1528
|
# Corresponds to the JSON property `description`
|
1469
1529
|
# @return [String]
|
1470
1530
|
attr_accessor :description
|
1471
1531
|
|
1472
|
-
# [Output Only]
|
1532
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1533
|
+
# defined by the server.
|
1473
1534
|
# Corresponds to the JSON property `id`
|
1474
1535
|
# @return [String]
|
1475
1536
|
attr_accessor :id
|
@@ -1484,7 +1545,7 @@ module Google
|
|
1484
1545
|
# @return [String]
|
1485
1546
|
attr_accessor :name
|
1486
1547
|
|
1487
|
-
# [Output Only] Server
|
1548
|
+
# [Output Only] Server-defined URL for the resource.
|
1488
1549
|
# Corresponds to the JSON property `selfLink`
|
1489
1550
|
# @return [String]
|
1490
1551
|
attr_accessor :self_link
|
@@ -1523,7 +1584,8 @@ module Google
|
|
1523
1584
|
class DiskTypeAggregatedList
|
1524
1585
|
include Google::Apis::Core::Hashable
|
1525
1586
|
|
1526
|
-
# [Output Only]
|
1587
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1588
|
+
# defined by the server.
|
1527
1589
|
# Corresponds to the JSON property `id`
|
1528
1590
|
# @return [String]
|
1529
1591
|
attr_accessor :id
|
@@ -1538,12 +1600,16 @@ module Google
|
|
1538
1600
|
# @return [String]
|
1539
1601
|
attr_accessor :kind
|
1540
1602
|
|
1541
|
-
# [Output Only]
|
1603
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1604
|
+
# requests. If the number of results is larger than maxResults, use the
|
1605
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1606
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1607
|
+
# continue paging through the results.
|
1542
1608
|
# Corresponds to the JSON property `nextPageToken`
|
1543
1609
|
# @return [String]
|
1544
1610
|
attr_accessor :next_page_token
|
1545
1611
|
|
1546
|
-
# [Output Only] Server
|
1612
|
+
# [Output Only] Server-defined URL for this resource.
|
1547
1613
|
# Corresponds to the JSON property `selfLink`
|
1548
1614
|
# @return [String]
|
1549
1615
|
attr_accessor :self_link
|
@@ -1566,7 +1632,8 @@ module Google
|
|
1566
1632
|
class DiskTypeList
|
1567
1633
|
include Google::Apis::Core::Hashable
|
1568
1634
|
|
1569
|
-
# [Output Only]
|
1635
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1636
|
+
# defined by the server.
|
1570
1637
|
# Corresponds to the JSON property `id`
|
1571
1638
|
# @return [String]
|
1572
1639
|
attr_accessor :id
|
@@ -1581,12 +1648,16 @@ module Google
|
|
1581
1648
|
# @return [String]
|
1582
1649
|
attr_accessor :kind
|
1583
1650
|
|
1584
|
-
# [Output Only]
|
1651
|
+
# [Output Only] This token allows you to get the next page of results for list
|
1652
|
+
# requests. If the number of results is larger than maxResults, use the
|
1653
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
1654
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
1655
|
+
# continue paging through the results.
|
1585
1656
|
# Corresponds to the JSON property `nextPageToken`
|
1586
1657
|
# @return [String]
|
1587
1658
|
attr_accessor :next_page_token
|
1588
1659
|
|
1589
|
-
# [Output Only] Server
|
1660
|
+
# [Output Only] Server-defined URL for this resource.
|
1590
1661
|
# Corresponds to the JSON property `selfLink`
|
1591
1662
|
# @return [String]
|
1592
1663
|
attr_accessor :self_link
|
@@ -1635,17 +1706,19 @@ module Google
|
|
1635
1706
|
class Warning
|
1636
1707
|
include Google::Apis::Core::Hashable
|
1637
1708
|
|
1638
|
-
# [Output Only]
|
1709
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
1710
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
1639
1711
|
# Corresponds to the JSON property `code`
|
1640
1712
|
# @return [String]
|
1641
1713
|
attr_accessor :code
|
1642
1714
|
|
1643
|
-
# [Output Only] Metadata
|
1715
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
1716
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1644
1717
|
# Corresponds to the JSON property `data`
|
1645
1718
|
# @return [Array<Google::Apis::ComputeV1::DiskTypesScopedList::Warning::Datum>]
|
1646
1719
|
attr_accessor :data
|
1647
1720
|
|
1648
|
-
# [Output Only]
|
1721
|
+
# [Output Only] A human-readable description of the warning code.
|
1649
1722
|
# Corresponds to the JSON property `message`
|
1650
1723
|
# @return [String]
|
1651
1724
|
attr_accessor :message
|
@@ -1665,7 +1738,13 @@ module Google
|
|
1665
1738
|
class Datum
|
1666
1739
|
include Google::Apis::Core::Hashable
|
1667
1740
|
|
1668
|
-
# [Output Only] A key
|
1741
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
1742
|
+
# For example, for warnings where there are no results in a list request for a
|
1743
|
+
# particular zone, this key might be scope and the key value might be the zone
|
1744
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
1745
|
+
# suggested replacement, or a warning about invalid network settings (for
|
1746
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1747
|
+
# for IP forwarding).
|
1669
1748
|
# Corresponds to the JSON property `key`
|
1670
1749
|
# @return [String]
|
1671
1750
|
attr_accessor :key
|
@@ -1718,17 +1797,19 @@ module Google
|
|
1718
1797
|
class Warning
|
1719
1798
|
include Google::Apis::Core::Hashable
|
1720
1799
|
|
1721
|
-
# [Output Only]
|
1800
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
1801
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
1722
1802
|
# Corresponds to the JSON property `code`
|
1723
1803
|
# @return [String]
|
1724
1804
|
attr_accessor :code
|
1725
1805
|
|
1726
|
-
# [Output Only] Metadata
|
1806
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
1807
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
1727
1808
|
# Corresponds to the JSON property `data`
|
1728
1809
|
# @return [Array<Google::Apis::ComputeV1::DisksScopedList::Warning::Datum>]
|
1729
1810
|
attr_accessor :data
|
1730
1811
|
|
1731
|
-
# [Output Only]
|
1812
|
+
# [Output Only] A human-readable description of the warning code.
|
1732
1813
|
# Corresponds to the JSON property `message`
|
1733
1814
|
# @return [String]
|
1734
1815
|
attr_accessor :message
|
@@ -1748,7 +1829,13 @@ module Google
|
|
1748
1829
|
class Datum
|
1749
1830
|
include Google::Apis::Core::Hashable
|
1750
1831
|
|
1751
|
-
# [Output Only] A key
|
1832
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
1833
|
+
# For example, for warnings where there are no results in a list request for a
|
1834
|
+
# particular zone, this key might be scope and the key value might be the zone
|
1835
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
1836
|
+
# suggested replacement, or a warning about invalid network settings (for
|
1837
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
1838
|
+
# for IP forwarding).
|
1752
1839
|
# Corresponds to the JSON property `key`
|
1753
1840
|
# @return [String]
|
1754
1841
|
attr_accessor :key
|
@@ -1786,13 +1873,14 @@ module Google
|
|
1786
1873
|
# @return [String]
|
1787
1874
|
attr_accessor :creation_timestamp
|
1788
1875
|
|
1789
|
-
# An optional
|
1790
|
-
# the resource
|
1876
|
+
# An optional description of this resource. Provide this property when you
|
1877
|
+
# create the resource.
|
1791
1878
|
# Corresponds to the JSON property `description`
|
1792
1879
|
# @return [String]
|
1793
1880
|
attr_accessor :description
|
1794
1881
|
|
1795
|
-
# [Output Only]
|
1882
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
1883
|
+
# defined by the server.
|
1796
1884
|
# Corresponds to the JSON property `id`
|
1797
1885
|
# @return [String]
|
1798
1886
|
attr_accessor :id
|
@@ -1826,7 +1914,7 @@ module Google
|
|
1826
1914
|
# @return [String]
|
1827
1915
|
attr_accessor :network
|
1828
1916
|
|
1829
|
-
# [Output Only] Server
|
1917
|
+
# [Output Only] Server-defined URL for the resource.
|
1830
1918
|
# Corresponds to the JSON property `selfLink`
|
1831
1919
|
# @return [String]
|
1832
1920
|
attr_accessor :self_link
|
@@ -1912,7 +2000,8 @@ module Google
|
|
1912
2000
|
class FirewallList
|
1913
2001
|
include Google::Apis::Core::Hashable
|
1914
2002
|
|
1915
|
-
# [Output Only]
|
2003
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2004
|
+
# defined by the server.
|
1916
2005
|
# Corresponds to the JSON property `id`
|
1917
2006
|
# @return [String]
|
1918
2007
|
attr_accessor :id
|
@@ -1928,12 +2017,16 @@ module Google
|
|
1928
2017
|
# @return [String]
|
1929
2018
|
attr_accessor :kind
|
1930
2019
|
|
1931
|
-
# [Output Only]
|
2020
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2021
|
+
# requests. If the number of results is larger than maxResults, use the
|
2022
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2023
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2024
|
+
# continue paging through the results.
|
1932
2025
|
# Corresponds to the JSON property `nextPageToken`
|
1933
2026
|
# @return [String]
|
1934
2027
|
attr_accessor :next_page_token
|
1935
2028
|
|
1936
|
-
# [Output Only] Server
|
2029
|
+
# [Output Only] Server-defined URL for this resource.
|
1937
2030
|
# Corresponds to the JSON property `selfLink`
|
1938
2031
|
# @return [String]
|
1939
2032
|
attr_accessor :self_link
|
@@ -1953,8 +2046,8 @@ module Google
|
|
1953
2046
|
end
|
1954
2047
|
|
1955
2048
|
# A ForwardingRule resource. A ForwardingRule resource specifies which pool of
|
1956
|
-
# target
|
1957
|
-
# IPProtocol, portRange] tuple.
|
2049
|
+
# target virtual machines to forward a packet to if it matches the given [
|
2050
|
+
# IPAddress, IPProtocol, portRange] tuple.
|
1958
2051
|
class ForwardingRule
|
1959
2052
|
include Google::Apis::Core::Hashable
|
1960
2053
|
|
@@ -1967,7 +2060,7 @@ module Google
|
|
1967
2060
|
# @return [String]
|
1968
2061
|
attr_accessor :ip_address
|
1969
2062
|
|
1970
|
-
# The IP protocol to which this rule applies
|
2063
|
+
# The IP protocol to which this rule applies. Valid options are TCP, UDP, ESP,
|
1971
2064
|
# AH or SCTP.
|
1972
2065
|
# Corresponds to the JSON property `IPProtocol`
|
1973
2066
|
# @return [String]
|
@@ -1978,18 +2071,20 @@ module Google
|
|
1978
2071
|
# @return [String]
|
1979
2072
|
attr_accessor :creation_timestamp
|
1980
2073
|
|
1981
|
-
# An optional
|
1982
|
-
# the resource
|
2074
|
+
# An optional description of this resource. Provide this property when you
|
2075
|
+
# create the resource.
|
1983
2076
|
# Corresponds to the JSON property `description`
|
1984
2077
|
# @return [String]
|
1985
2078
|
attr_accessor :description
|
1986
2079
|
|
1987
|
-
# [Output Only]
|
2080
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2081
|
+
# defined by the server.
|
1988
2082
|
# Corresponds to the JSON property `id`
|
1989
2083
|
# @return [String]
|
1990
2084
|
attr_accessor :id
|
1991
2085
|
|
1992
|
-
# Type of the resource.
|
2086
|
+
# [Output Only] Type of the resource. Always compute#forwardingRule for
|
2087
|
+
# Forwarding Rule resources.
|
1993
2088
|
# Corresponds to the JSON property `kind`
|
1994
2089
|
# @return [String]
|
1995
2090
|
attr_accessor :kind
|
@@ -2004,10 +2099,9 @@ module Google
|
|
2004
2099
|
# @return [String]
|
2005
2100
|
attr_accessor :name
|
2006
2101
|
|
2007
|
-
# Applicable only when
|
2008
|
-
# to ports in the specified range will be forwarded to target.
|
2009
|
-
#
|
2010
|
-
# same `[IPAddress, IPProtocol]` pair must have disjoint port ranges.
|
2102
|
+
# Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
|
2103
|
+
# to ports in the specified range will be forwarded to target. Forwarding rules
|
2104
|
+
# with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
|
2011
2105
|
# Corresponds to the JSON property `portRange`
|
2012
2106
|
# @return [String]
|
2013
2107
|
attr_accessor :port_range
|
@@ -2055,7 +2149,8 @@ module Google
|
|
2055
2149
|
class ForwardingRuleAggregatedList
|
2056
2150
|
include Google::Apis::Core::Hashable
|
2057
2151
|
|
2058
|
-
# [Output Only]
|
2152
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2153
|
+
# defined by the server.
|
2059
2154
|
# Corresponds to the JSON property `id`
|
2060
2155
|
# @return [String]
|
2061
2156
|
attr_accessor :id
|
@@ -2070,12 +2165,16 @@ module Google
|
|
2070
2165
|
# @return [String]
|
2071
2166
|
attr_accessor :kind
|
2072
2167
|
|
2073
|
-
# [Output Only]
|
2168
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2169
|
+
# requests. If the number of results is larger than maxResults, use the
|
2170
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2171
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2172
|
+
# continue paging through the results.
|
2074
2173
|
# Corresponds to the JSON property `nextPageToken`
|
2075
2174
|
# @return [String]
|
2076
2175
|
attr_accessor :next_page_token
|
2077
2176
|
|
2078
|
-
# [Output Only] Server
|
2177
|
+
# [Output Only] Server-defined URL for this resource.
|
2079
2178
|
# Corresponds to the JSON property `selfLink`
|
2080
2179
|
# @return [String]
|
2081
2180
|
attr_accessor :self_link
|
@@ -2113,12 +2212,16 @@ module Google
|
|
2113
2212
|
# @return [String]
|
2114
2213
|
attr_accessor :kind
|
2115
2214
|
|
2116
|
-
# [Output Only]
|
2215
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2216
|
+
# requests. If the number of results is larger than maxResults, use the
|
2217
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2218
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2219
|
+
# continue paging through the results.
|
2117
2220
|
# Corresponds to the JSON property `nextPageToken`
|
2118
2221
|
# @return [String]
|
2119
2222
|
attr_accessor :next_page_token
|
2120
2223
|
|
2121
|
-
# [Output Only] Server
|
2224
|
+
# [Output Only] Server-defined URL for this resource.
|
2122
2225
|
# Corresponds to the JSON property `selfLink`
|
2123
2226
|
# @return [String]
|
2124
2227
|
attr_accessor :self_link
|
@@ -2167,17 +2270,19 @@ module Google
|
|
2167
2270
|
class Warning
|
2168
2271
|
include Google::Apis::Core::Hashable
|
2169
2272
|
|
2170
|
-
# [Output Only]
|
2273
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
2274
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
2171
2275
|
# Corresponds to the JSON property `code`
|
2172
2276
|
# @return [String]
|
2173
2277
|
attr_accessor :code
|
2174
2278
|
|
2175
|
-
# [Output Only] Metadata
|
2279
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
2280
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
2176
2281
|
# Corresponds to the JSON property `data`
|
2177
2282
|
# @return [Array<Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning::Datum>]
|
2178
2283
|
attr_accessor :data
|
2179
2284
|
|
2180
|
-
# [Output Only]
|
2285
|
+
# [Output Only] A human-readable description of the warning code.
|
2181
2286
|
# Corresponds to the JSON property `message`
|
2182
2287
|
# @return [String]
|
2183
2288
|
attr_accessor :message
|
@@ -2197,7 +2302,13 @@ module Google
|
|
2197
2302
|
class Datum
|
2198
2303
|
include Google::Apis::Core::Hashable
|
2199
2304
|
|
2200
|
-
# [Output Only] A key
|
2305
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
2306
|
+
# For example, for warnings where there are no results in a list request for a
|
2307
|
+
# particular zone, this key might be scope and the key value might be the zone
|
2308
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
2309
|
+
# suggested replacement, or a warning about invalid network settings (for
|
2310
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
2311
|
+
# for IP forwarding).
|
2201
2312
|
# Corresponds to the JSON property `key`
|
2202
2313
|
# @return [String]
|
2203
2314
|
attr_accessor :key
|
@@ -2281,19 +2392,20 @@ module Google
|
|
2281
2392
|
class HostRule
|
2282
2393
|
include Google::Apis::Core::Hashable
|
2283
2394
|
|
2284
|
-
# An optional
|
2395
|
+
# An optional description of this resource. Provide this property when you
|
2396
|
+
# create the resource.
|
2285
2397
|
# Corresponds to the JSON property `description`
|
2286
2398
|
# @return [String]
|
2287
2399
|
attr_accessor :description
|
2288
2400
|
|
2289
|
-
# The list of host patterns to match. They must be valid hostnames except
|
2290
|
-
#
|
2291
|
-
#
|
2401
|
+
# The list of host patterns to match. They must be valid hostnames, except *
|
2402
|
+
# will match any string of ([a-z0-9-.]*). In that case, * must be the first
|
2403
|
+
# character and must be followed in the pattern by either - or ..
|
2292
2404
|
# Corresponds to the JSON property `hosts`
|
2293
2405
|
# @return [Array<String>]
|
2294
2406
|
attr_accessor :hosts
|
2295
2407
|
|
2296
|
-
# The name of the PathMatcher to match the path portion of the URL
|
2408
|
+
# The name of the PathMatcher to use to match the path portion of the URL if the
|
2297
2409
|
# hostRule matches the URL's host portion.
|
2298
2410
|
# Corresponds to the JSON property `pathMatcher`
|
2299
2411
|
# @return [String]
|
@@ -2312,7 +2424,7 @@ module Google
|
|
2312
2424
|
end
|
2313
2425
|
|
2314
2426
|
# An HttpHealthCheck resource. This resource defines a template for how
|
2315
|
-
# individual
|
2427
|
+
# individual instances should be checked for health, via HTTP.
|
2316
2428
|
class HttpHealthCheck
|
2317
2429
|
include Google::Apis::Core::Hashable
|
2318
2430
|
|
@@ -2321,18 +2433,18 @@ module Google
|
|
2321
2433
|
# @return [Fixnum]
|
2322
2434
|
attr_accessor :check_interval_sec
|
2323
2435
|
|
2324
|
-
# Creation timestamp in RFC3339 text format
|
2436
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
2325
2437
|
# Corresponds to the JSON property `creationTimestamp`
|
2326
2438
|
# @return [String]
|
2327
2439
|
attr_accessor :creation_timestamp
|
2328
2440
|
|
2329
|
-
# An optional
|
2330
|
-
# the resource
|
2441
|
+
# An optional description of this resource. Provide this property when you
|
2442
|
+
# create the resource.
|
2331
2443
|
# Corresponds to the JSON property `description`
|
2332
2444
|
# @return [String]
|
2333
2445
|
attr_accessor :description
|
2334
2446
|
|
2335
|
-
# A so-far unhealthy
|
2447
|
+
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
2336
2448
|
# successes. The default value is 2.
|
2337
2449
|
# Corresponds to the JSON property `healthyThreshold`
|
2338
2450
|
# @return [Fixnum]
|
@@ -2345,7 +2457,8 @@ module Google
|
|
2345
2457
|
# @return [String]
|
2346
2458
|
attr_accessor :host
|
2347
2459
|
|
2348
|
-
#
|
2460
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2461
|
+
# defined by the server.
|
2349
2462
|
# Corresponds to the JSON property `id`
|
2350
2463
|
# @return [String]
|
2351
2464
|
attr_accessor :id
|
@@ -2355,8 +2468,12 @@ module Google
|
|
2355
2468
|
# @return [String]
|
2356
2469
|
attr_accessor :kind
|
2357
2470
|
|
2358
|
-
# Name of the resource
|
2359
|
-
# name must be 1-63 characters long, and comply with RFC1035.
|
2471
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
2472
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
2473
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
2474
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
2475
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
2476
|
+
# except the last character, which cannot be a dash.
|
2360
2477
|
# Corresponds to the JSON property `name`
|
2361
2478
|
# @return [String]
|
2362
2479
|
attr_accessor :name
|
@@ -2371,7 +2488,7 @@ module Google
|
|
2371
2488
|
# @return [String]
|
2372
2489
|
attr_accessor :request_path
|
2373
2490
|
|
2374
|
-
# Server
|
2491
|
+
# [Output Only] Server-defined URL for the resource.
|
2375
2492
|
# Corresponds to the JSON property `selfLink`
|
2376
2493
|
# @return [String]
|
2377
2494
|
attr_accessor :self_link
|
@@ -2383,7 +2500,7 @@ module Google
|
|
2383
2500
|
# @return [Fixnum]
|
2384
2501
|
attr_accessor :timeout_sec
|
2385
2502
|
|
2386
|
-
# A so-far healthy
|
2503
|
+
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
2387
2504
|
# failures. The default value is 2.
|
2388
2505
|
# Corresponds to the JSON property `unhealthyThreshold`
|
2389
2506
|
# @return [Fixnum]
|
@@ -2415,7 +2532,7 @@ module Google
|
|
2415
2532
|
class HttpHealthCheckList
|
2416
2533
|
include Google::Apis::Core::Hashable
|
2417
2534
|
|
2418
|
-
# Unique identifier for the resource
|
2535
|
+
# [Output Only] Unique identifier for the resource. Defined by the server.
|
2419
2536
|
# Corresponds to the JSON property `id`
|
2420
2537
|
# @return [String]
|
2421
2538
|
attr_accessor :id
|
@@ -2430,12 +2547,169 @@ module Google
|
|
2430
2547
|
# @return [String]
|
2431
2548
|
attr_accessor :kind
|
2432
2549
|
|
2433
|
-
#
|
2550
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2551
|
+
# requests. If the number of results is larger than maxResults, use the
|
2552
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2553
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2554
|
+
# continue paging through the results.
|
2555
|
+
# Corresponds to the JSON property `nextPageToken`
|
2556
|
+
# @return [String]
|
2557
|
+
attr_accessor :next_page_token
|
2558
|
+
|
2559
|
+
# [Output Only] Server-defined URL for this resource.
|
2560
|
+
# Corresponds to the JSON property `selfLink`
|
2561
|
+
# @return [String]
|
2562
|
+
attr_accessor :self_link
|
2563
|
+
|
2564
|
+
def initialize(**args)
|
2565
|
+
update!(**args)
|
2566
|
+
end
|
2567
|
+
|
2568
|
+
# Update properties of this object
|
2569
|
+
def update!(**args)
|
2570
|
+
@id = args[:id] unless args[:id].nil?
|
2571
|
+
@items = args[:items] unless args[:items].nil?
|
2572
|
+
@kind = args[:kind] unless args[:kind].nil?
|
2573
|
+
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
2574
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
2575
|
+
end
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
# An HttpsHealthCheck resource. This resource defines a template for how
|
2579
|
+
# individual instances should be checked for health, via HTTPS.
|
2580
|
+
class HttpsHealthCheck
|
2581
|
+
include Google::Apis::Core::Hashable
|
2582
|
+
|
2583
|
+
# How often (in seconds) to send a health check. The default value is 5 seconds.
|
2584
|
+
# Corresponds to the JSON property `checkIntervalSec`
|
2585
|
+
# @return [Fixnum]
|
2586
|
+
attr_accessor :check_interval_sec
|
2587
|
+
|
2588
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
2589
|
+
# Corresponds to the JSON property `creationTimestamp`
|
2590
|
+
# @return [String]
|
2591
|
+
attr_accessor :creation_timestamp
|
2592
|
+
|
2593
|
+
# An optional description of this resource. Provide this property when you
|
2594
|
+
# create the resource.
|
2595
|
+
# Corresponds to the JSON property `description`
|
2596
|
+
# @return [String]
|
2597
|
+
attr_accessor :description
|
2598
|
+
|
2599
|
+
# A so-far unhealthy instance will be marked healthy after this many consecutive
|
2600
|
+
# successes. The default value is 2.
|
2601
|
+
# Corresponds to the JSON property `healthyThreshold`
|
2602
|
+
# @return [Fixnum]
|
2603
|
+
attr_accessor :healthy_threshold
|
2604
|
+
|
2605
|
+
# The value of the host header in the HTTPS health check request. If left empty (
|
2606
|
+
# default value), the public IP on behalf of which this health check is
|
2607
|
+
# performed will be used.
|
2608
|
+
# Corresponds to the JSON property `host`
|
2609
|
+
# @return [String]
|
2610
|
+
attr_accessor :host
|
2611
|
+
|
2612
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2613
|
+
# defined by the server.
|
2614
|
+
# Corresponds to the JSON property `id`
|
2615
|
+
# @return [String]
|
2616
|
+
attr_accessor :id
|
2617
|
+
|
2618
|
+
# Type of the resource.
|
2619
|
+
# Corresponds to the JSON property `kind`
|
2620
|
+
# @return [String]
|
2621
|
+
attr_accessor :kind
|
2622
|
+
|
2623
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
2624
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
2625
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
2626
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
2627
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
2628
|
+
# except the last character, which cannot be a dash.
|
2629
|
+
# Corresponds to the JSON property `name`
|
2630
|
+
# @return [String]
|
2631
|
+
attr_accessor :name
|
2632
|
+
|
2633
|
+
# The TCP port number for the HTTPS health check request. The default value is
|
2634
|
+
# 443.
|
2635
|
+
# Corresponds to the JSON property `port`
|
2636
|
+
# @return [Fixnum]
|
2637
|
+
attr_accessor :port
|
2638
|
+
|
2639
|
+
# The request path of the HTTPS health check request. The default value is "/".
|
2640
|
+
# Corresponds to the JSON property `requestPath`
|
2641
|
+
# @return [String]
|
2642
|
+
attr_accessor :request_path
|
2643
|
+
|
2644
|
+
# [Output Only] Server-defined URL for the resource.
|
2645
|
+
# Corresponds to the JSON property `selfLink`
|
2646
|
+
# @return [String]
|
2647
|
+
attr_accessor :self_link
|
2648
|
+
|
2649
|
+
# How long (in seconds) to wait before claiming failure. The default value is 5
|
2650
|
+
# seconds. It is invalid for timeoutSec to have a greater value than
|
2651
|
+
# checkIntervalSec.
|
2652
|
+
# Corresponds to the JSON property `timeoutSec`
|
2653
|
+
# @return [Fixnum]
|
2654
|
+
attr_accessor :timeout_sec
|
2655
|
+
|
2656
|
+
# A so-far healthy instance will be marked unhealthy after this many consecutive
|
2657
|
+
# failures. The default value is 2.
|
2658
|
+
# Corresponds to the JSON property `unhealthyThreshold`
|
2659
|
+
# @return [Fixnum]
|
2660
|
+
attr_accessor :unhealthy_threshold
|
2661
|
+
|
2662
|
+
def initialize(**args)
|
2663
|
+
update!(**args)
|
2664
|
+
end
|
2665
|
+
|
2666
|
+
# Update properties of this object
|
2667
|
+
def update!(**args)
|
2668
|
+
@check_interval_sec = args[:check_interval_sec] unless args[:check_interval_sec].nil?
|
2669
|
+
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
2670
|
+
@description = args[:description] unless args[:description].nil?
|
2671
|
+
@healthy_threshold = args[:healthy_threshold] unless args[:healthy_threshold].nil?
|
2672
|
+
@host = args[:host] unless args[:host].nil?
|
2673
|
+
@id = args[:id] unless args[:id].nil?
|
2674
|
+
@kind = args[:kind] unless args[:kind].nil?
|
2675
|
+
@name = args[:name] unless args[:name].nil?
|
2676
|
+
@port = args[:port] unless args[:port].nil?
|
2677
|
+
@request_path = args[:request_path] unless args[:request_path].nil?
|
2678
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
2679
|
+
@timeout_sec = args[:timeout_sec] unless args[:timeout_sec].nil?
|
2680
|
+
@unhealthy_threshold = args[:unhealthy_threshold] unless args[:unhealthy_threshold].nil?
|
2681
|
+
end
|
2682
|
+
end
|
2683
|
+
|
2684
|
+
# Contains a list of HttpsHealthCheck resources.
|
2685
|
+
class HttpsHealthCheckList
|
2686
|
+
include Google::Apis::Core::Hashable
|
2687
|
+
|
2688
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
2689
|
+
# Corresponds to the JSON property `id`
|
2690
|
+
# @return [String]
|
2691
|
+
attr_accessor :id
|
2692
|
+
|
2693
|
+
# A list of HttpsHealthCheck resources.
|
2694
|
+
# Corresponds to the JSON property `items`
|
2695
|
+
# @return [Array<Google::Apis::ComputeV1::HttpsHealthCheck>]
|
2696
|
+
attr_accessor :items
|
2697
|
+
|
2698
|
+
# Type of resource.
|
2699
|
+
# Corresponds to the JSON property `kind`
|
2700
|
+
# @return [String]
|
2701
|
+
attr_accessor :kind
|
2702
|
+
|
2703
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2704
|
+
# requests. If the number of results is larger than maxResults, use the
|
2705
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2706
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2707
|
+
# continue paging through the results.
|
2434
2708
|
# Corresponds to the JSON property `nextPageToken`
|
2435
2709
|
# @return [String]
|
2436
2710
|
attr_accessor :next_page_token
|
2437
2711
|
|
2438
|
-
# Server
|
2712
|
+
# [Output Only] Server-defined URL for this resource.
|
2439
2713
|
# Corresponds to the JSON property `selfLink`
|
2440
2714
|
# @return [String]
|
2441
2715
|
attr_accessor :self_link
|
@@ -2473,8 +2747,8 @@ module Google
|
|
2473
2747
|
# @return [Google::Apis::ComputeV1::DeprecationStatus]
|
2474
2748
|
attr_accessor :deprecated
|
2475
2749
|
|
2476
|
-
#
|
2477
|
-
#
|
2750
|
+
# An optional description of this resource. Provide this property when you
|
2751
|
+
# create the resource.
|
2478
2752
|
# Corresponds to the JSON property `description`
|
2479
2753
|
# @return [String]
|
2480
2754
|
attr_accessor :description
|
@@ -2484,7 +2758,8 @@ module Google
|
|
2484
2758
|
# @return [String]
|
2485
2759
|
attr_accessor :disk_size_gb
|
2486
2760
|
|
2487
|
-
# [Output Only]
|
2761
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2762
|
+
# defined by the server.
|
2488
2763
|
# Corresponds to the JSON property `id`
|
2489
2764
|
# @return [String]
|
2490
2765
|
attr_accessor :id
|
@@ -2514,7 +2789,7 @@ module Google
|
|
2514
2789
|
# @return [Google::Apis::ComputeV1::Image::RawDisk]
|
2515
2790
|
attr_accessor :raw_disk
|
2516
2791
|
|
2517
|
-
# [Output Only] Server
|
2792
|
+
# [Output Only] Server-defined URL for the resource.
|
2518
2793
|
# Corresponds to the JSON property `selfLink`
|
2519
2794
|
# @return [String]
|
2520
2795
|
attr_accessor :self_link
|
@@ -2614,12 +2889,13 @@ module Google
|
|
2614
2889
|
class ImageList
|
2615
2890
|
include Google::Apis::Core::Hashable
|
2616
2891
|
|
2617
|
-
#
|
2892
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
2893
|
+
# defined by the server.
|
2618
2894
|
# Corresponds to the JSON property `id`
|
2619
2895
|
# @return [String]
|
2620
2896
|
attr_accessor :id
|
2621
2897
|
|
2622
|
-
# A list of Image resources.
|
2898
|
+
# [Output Only] A list of Image resources.
|
2623
2899
|
# Corresponds to the JSON property `items`
|
2624
2900
|
# @return [Array<Google::Apis::ComputeV1::Image>]
|
2625
2901
|
attr_accessor :items
|
@@ -2629,12 +2905,16 @@ module Google
|
|
2629
2905
|
# @return [String]
|
2630
2906
|
attr_accessor :kind
|
2631
2907
|
|
2632
|
-
#
|
2908
|
+
# [Output Only] This token allows you to get the next page of results for list
|
2909
|
+
# requests. If the number of results is larger than maxResults, use the
|
2910
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
2911
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
2912
|
+
# continue paging through the results.
|
2633
2913
|
# Corresponds to the JSON property `nextPageToken`
|
2634
2914
|
# @return [String]
|
2635
2915
|
attr_accessor :next_page_token
|
2636
2916
|
|
2637
|
-
# Server
|
2917
|
+
# [Output Only] Server-defined URL for this resource.
|
2638
2918
|
# Corresponds to the JSON property `selfLink`
|
2639
2919
|
# @return [String]
|
2640
2920
|
attr_accessor :self_link
|
@@ -2687,7 +2967,8 @@ module Google
|
|
2687
2967
|
# @return [Array<Google::Apis::ComputeV1::AttachedDisk>]
|
2688
2968
|
attr_accessor :disks
|
2689
2969
|
|
2690
|
-
# [Output Only] Unique identifier for the resource
|
2970
|
+
# [Output Only] Unique identifier for the resource. This identifier is defined
|
2971
|
+
# by the server.
|
2691
2972
|
# Corresponds to the JSON property `id`
|
2692
2973
|
# @return [String]
|
2693
2974
|
attr_accessor :id
|
@@ -2697,10 +2978,19 @@ module Google
|
|
2697
2978
|
# @return [String]
|
2698
2979
|
attr_accessor :kind
|
2699
2980
|
|
2700
|
-
# Full or partial URL of the machine type resource to use for this instance
|
2701
|
-
#
|
2702
|
-
# following is a valid
|
2703
|
-
#
|
2981
|
+
# Full or partial URL of the machine type resource to use for this instance, in
|
2982
|
+
# the format: zones/zone/machineTypes/ machine-type. This is provided by the
|
2983
|
+
# client when the instance is created. For example, the following is a valid
|
2984
|
+
# partial url to a predefined machine type:
|
2985
|
+
# zones/us-central1-f/machineTypes/n1-standard-1
|
2986
|
+
# To create a custom machine type, provide a URL to a machine type in the
|
2987
|
+
# following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24,
|
2988
|
+
# etc), and MEMORY is the total memory for this instance. Memory must be a
|
2989
|
+
# multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB):
|
2990
|
+
# zones/zone/machineTypes/custom-CPUS-MEMORY
|
2991
|
+
# For example: zones/us-central1-f/machineTypes/custom-4-5120
|
2992
|
+
# For a full list of restrictions, read the Specifications for custom machine
|
2993
|
+
# types.
|
2704
2994
|
# Corresponds to the JSON property `machineType`
|
2705
2995
|
# @return [String]
|
2706
2996
|
attr_accessor :machine_type
|
@@ -2797,7 +3087,8 @@ module Google
|
|
2797
3087
|
class InstanceAggregatedList
|
2798
3088
|
include Google::Apis::Core::Hashable
|
2799
3089
|
|
2800
|
-
# [Output Only]
|
3090
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
3091
|
+
# defined by the server.
|
2801
3092
|
# Corresponds to the JSON property `id`
|
2802
3093
|
# @return [String]
|
2803
3094
|
attr_accessor :id
|
@@ -2847,19 +3138,20 @@ module Google
|
|
2847
3138
|
# @return [String]
|
2848
3139
|
attr_accessor :creation_timestamp
|
2849
3140
|
|
2850
|
-
# An optional
|
3141
|
+
# An optional description of this resource. Provide this property when you
|
3142
|
+
# create the resource.
|
2851
3143
|
# Corresponds to the JSON property `description`
|
2852
3144
|
# @return [String]
|
2853
3145
|
attr_accessor :description
|
2854
3146
|
|
2855
|
-
# [Output Only] The fingerprint of the named ports
|
2856
|
-
#
|
2857
|
-
#
|
3147
|
+
# [Output Only] The fingerprint of the named ports. The system uses this
|
3148
|
+
# fingerprint to detect conflicts when multiple users change the named ports
|
3149
|
+
# concurrently.
|
2858
3150
|
# Corresponds to the JSON property `fingerprint`
|
2859
3151
|
# @return [String]
|
2860
3152
|
attr_accessor :fingerprint
|
2861
3153
|
|
2862
|
-
# [Output Only] A unique identifier for this
|
3154
|
+
# [Output Only] A unique identifier for this resource type. The server generates
|
2863
3155
|
# this identifier.
|
2864
3156
|
# Corresponds to the JSON property `id`
|
2865
3157
|
# @return [String]
|
@@ -2877,21 +3169,22 @@ module Google
|
|
2877
3169
|
# @return [String]
|
2878
3170
|
attr_accessor :name
|
2879
3171
|
|
2880
|
-
# Assigns a name to a port number. For example: `name:
|
2881
|
-
# allows the system to reference ports by the assigned name instead of a
|
2882
|
-
# number. Named ports can also contain multiple ports. For example: [`name:
|
2883
|
-
# http
|
2884
|
-
# instances in this instance group.
|
3172
|
+
# Assigns a name to a port number. For example: `name: "http", port: 80`
|
3173
|
+
# This allows the system to reference ports by the assigned name instead of a
|
3174
|
+
# port number. Named ports can also contain multiple ports. For example: [`name:
|
3175
|
+
# "http", port: 80`,`name: "http", port: 8080`]
|
3176
|
+
# Named ports apply to all instances in this instance group.
|
2885
3177
|
# Corresponds to the JSON property `namedPorts`
|
2886
3178
|
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
2887
3179
|
attr_accessor :named_ports
|
2888
3180
|
|
2889
|
-
# The URL of the network to which all instances in the instance
|
3181
|
+
# [Output Only] The URL of the network to which all instances in the instance
|
3182
|
+
# group belong.
|
2890
3183
|
# Corresponds to the JSON property `network`
|
2891
3184
|
# @return [String]
|
2892
3185
|
attr_accessor :network
|
2893
3186
|
|
2894
|
-
# [Output Only] The URL for this instance group. The server
|
3187
|
+
# [Output Only] The URL for this instance group. The server generates this URL.
|
2895
3188
|
# Corresponds to the JSON property `selfLink`
|
2896
3189
|
# @return [String]
|
2897
3190
|
attr_accessor :self_link
|
@@ -2901,7 +3194,7 @@ module Google
|
|
2901
3194
|
# @return [Fixnum]
|
2902
3195
|
attr_accessor :size
|
2903
3196
|
|
2904
|
-
# The URL of the zone where the instance group is located.
|
3197
|
+
# [Output Only] The URL of the zone where the instance group is located.
|
2905
3198
|
# Corresponds to the JSON property `zone`
|
2906
3199
|
# @return [String]
|
2907
3200
|
attr_accessor :zone
|
@@ -2931,7 +3224,7 @@ module Google
|
|
2931
3224
|
include Google::Apis::Core::Hashable
|
2932
3225
|
|
2933
3226
|
# [Output Only] A unique identifier for this aggregated list of instance groups.
|
2934
|
-
# The server
|
3227
|
+
# The server generates this identifier.
|
2935
3228
|
# Corresponds to the JSON property `id`
|
2936
3229
|
# @return [String]
|
2937
3230
|
attr_accessor :id
|
@@ -2947,13 +3240,16 @@ module Google
|
|
2947
3240
|
# @return [String]
|
2948
3241
|
attr_accessor :kind
|
2949
3242
|
|
2950
|
-
# [Output Only]
|
3243
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3244
|
+
# requests. If the number of results is larger than maxResults, use the
|
3245
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3246
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3247
|
+
# continue paging through the results.
|
2951
3248
|
# Corresponds to the JSON property `nextPageToken`
|
2952
3249
|
# @return [String]
|
2953
3250
|
attr_accessor :next_page_token
|
2954
3251
|
|
2955
|
-
# [Output Only]
|
2956
|
-
# The server defines this identifier.
|
3252
|
+
# [Output Only] The URL for this resource type. The server generates this URL.
|
2957
3253
|
# Corresponds to the JSON property `selfLink`
|
2958
3254
|
# @return [String]
|
2959
3255
|
attr_accessor :self_link
|
@@ -2977,12 +3273,12 @@ module Google
|
|
2977
3273
|
include Google::Apis::Core::Hashable
|
2978
3274
|
|
2979
3275
|
# [Output Only] A unique identifier for this list of instance groups. The server
|
2980
|
-
#
|
3276
|
+
# generates this identifier.
|
2981
3277
|
# Corresponds to the JSON property `id`
|
2982
3278
|
# @return [String]
|
2983
3279
|
attr_accessor :id
|
2984
3280
|
|
2985
|
-
# A list of
|
3281
|
+
# A list of instance groups.
|
2986
3282
|
# Corresponds to the JSON property `items`
|
2987
3283
|
# @return [Array<Google::Apis::ComputeV1::InstanceGroup>]
|
2988
3284
|
attr_accessor :items
|
@@ -2993,12 +3289,16 @@ module Google
|
|
2993
3289
|
# @return [String]
|
2994
3290
|
attr_accessor :kind
|
2995
3291
|
|
2996
|
-
# [Output Only]
|
3292
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3293
|
+
# requests. If the number of results is larger than maxResults, use the
|
3294
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3295
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3296
|
+
# continue paging through the results.
|
2997
3297
|
# Corresponds to the JSON property `nextPageToken`
|
2998
3298
|
# @return [String]
|
2999
3299
|
attr_accessor :next_page_token
|
3000
3300
|
|
3001
|
-
# [Output Only] The URL for this
|
3301
|
+
# [Output Only] The URL for this resource type. The server generates this URL.
|
3002
3302
|
# Corresponds to the JSON property `selfLink`
|
3003
3303
|
# @return [String]
|
3004
3304
|
attr_accessor :self_link
|
@@ -3018,16 +3318,10 @@ module Google
|
|
3018
3318
|
end
|
3019
3319
|
|
3020
3320
|
# InstanceGroupManagers
|
3021
|
-
# Next available tag:
|
3321
|
+
# Next available tag: 20
|
3022
3322
|
class InstanceGroupManager
|
3023
3323
|
include Google::Apis::Core::Hashable
|
3024
3324
|
|
3025
|
-
# The autohealing policy for this managed instance group. You can specify only
|
3026
|
-
# one value.
|
3027
|
-
# Corresponds to the JSON property `autoHealingPolicies`
|
3028
|
-
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagerAutoHealingPolicy>]
|
3029
|
-
attr_accessor :auto_healing_policies
|
3030
|
-
|
3031
3325
|
# The base instance name to use for instances in this group. The value must be 1-
|
3032
3326
|
# 58 characters long. Instances are named by appending a hyphen and a random
|
3033
3327
|
# four-character string to the base instance name. The base instance name must
|
@@ -3043,30 +3337,31 @@ module Google
|
|
3043
3337
|
attr_accessor :creation_timestamp
|
3044
3338
|
|
3045
3339
|
# [Output Only] The list of instance actions and the number of instances in this
|
3046
|
-
# managed instance group that are scheduled for those actions.
|
3340
|
+
# managed instance group that are scheduled for each of those actions.
|
3047
3341
|
# Corresponds to the JSON property `currentActions`
|
3048
3342
|
# @return [Google::Apis::ComputeV1::InstanceGroupManagerActionsSummary]
|
3049
3343
|
attr_accessor :current_actions
|
3050
3344
|
|
3051
|
-
# An optional
|
3345
|
+
# An optional description of this resource. Provide this property when you
|
3346
|
+
# create the resource.
|
3052
3347
|
# Corresponds to the JSON property `description`
|
3053
3348
|
# @return [String]
|
3054
3349
|
attr_accessor :description
|
3055
3350
|
|
3056
|
-
# [Output Only] The fingerprint of the target pools information
|
3057
|
-
#
|
3058
|
-
#
|
3351
|
+
# [Output Only] The fingerprint of the target pools information. You can use
|
3352
|
+
# this optional field for optimistic locking when you update the target pool
|
3353
|
+
# entries.
|
3059
3354
|
# Corresponds to the JSON property `fingerprint`
|
3060
3355
|
# @return [String]
|
3061
3356
|
attr_accessor :fingerprint
|
3062
3357
|
|
3063
|
-
# [Output Only] A unique identifier for this
|
3064
|
-
#
|
3358
|
+
# [Output Only] A unique identifier for this resource type. The server generates
|
3359
|
+
# this identifier.
|
3065
3360
|
# Corresponds to the JSON property `id`
|
3066
3361
|
# @return [String]
|
3067
3362
|
attr_accessor :id
|
3068
3363
|
|
3069
|
-
# [Output Only] The URL of the
|
3364
|
+
# [Output Only] The URL of the Instance Group resource.
|
3070
3365
|
# Corresponds to the JSON property `instanceGroup`
|
3071
3366
|
# @return [String]
|
3072
3367
|
attr_accessor :instance_group
|
@@ -3090,14 +3385,21 @@ module Google
|
|
3090
3385
|
# @return [String]
|
3091
3386
|
attr_accessor :name
|
3092
3387
|
|
3093
|
-
#
|
3388
|
+
# Named ports configured for the Instance Groups complementary to this Instance
|
3389
|
+
# Group Manager.
|
3390
|
+
# Corresponds to the JSON property `namedPorts`
|
3391
|
+
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
3392
|
+
attr_accessor :named_ports
|
3393
|
+
|
3394
|
+
# [Output Only] The URL for this managed instance group. The server defines this
|
3395
|
+
# URL.
|
3094
3396
|
# Corresponds to the JSON property `selfLink`
|
3095
3397
|
# @return [String]
|
3096
3398
|
attr_accessor :self_link
|
3097
3399
|
|
3098
|
-
# The URLs
|
3099
|
-
#
|
3100
|
-
#
|
3400
|
+
# The URLs for all TargetPool resources to which instances in the instanceGroup
|
3401
|
+
# field are added. The target pools automatically apply to all of the instances
|
3402
|
+
# in the managed instance group.
|
3101
3403
|
# Corresponds to the JSON property `targetPools`
|
3102
3404
|
# @return [Array<String>]
|
3103
3405
|
attr_accessor :target_pools
|
@@ -3109,7 +3411,7 @@ module Google
|
|
3109
3411
|
# @return [Fixnum]
|
3110
3412
|
attr_accessor :target_size
|
3111
3413
|
|
3112
|
-
# The
|
3414
|
+
# The name of the zone where the managed instance group is located.
|
3113
3415
|
# Corresponds to the JSON property `zone`
|
3114
3416
|
# @return [String]
|
3115
3417
|
attr_accessor :zone
|
@@ -3120,7 +3422,6 @@ module Google
|
|
3120
3422
|
|
3121
3423
|
# Update properties of this object
|
3122
3424
|
def update!(**args)
|
3123
|
-
@auto_healing_policies = args[:auto_healing_policies] unless args[:auto_healing_policies].nil?
|
3124
3425
|
@base_instance_name = args[:base_instance_name] unless args[:base_instance_name].nil?
|
3125
3426
|
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
3126
3427
|
@current_actions = args[:current_actions] unless args[:current_actions].nil?
|
@@ -3131,6 +3432,7 @@ module Google
|
|
3131
3432
|
@instance_template = args[:instance_template] unless args[:instance_template].nil?
|
3132
3433
|
@kind = args[:kind] unless args[:kind].nil?
|
3133
3434
|
@name = args[:name] unless args[:name].nil?
|
3435
|
+
@named_ports = args[:named_ports] unless args[:named_ports].nil?
|
3134
3436
|
@self_link = args[:self_link] unless args[:self_link].nil?
|
3135
3437
|
@target_pools = args[:target_pools] unless args[:target_pools].nil?
|
3136
3438
|
@target_size = args[:target_size] unless args[:target_size].nil?
|
@@ -3142,9 +3444,9 @@ module Google
|
|
3142
3444
|
class InstanceGroupManagerActionsSummary
|
3143
3445
|
include Google::Apis::Core::Hashable
|
3144
3446
|
|
3145
|
-
# [Output Only]
|
3146
|
-
# scheduled to be abandoned. Abandoning an instance removes it from the
|
3147
|
-
# instance group without deleting it.
|
3447
|
+
# [Output Only] The total number of instances in the managed instance group that
|
3448
|
+
# are scheduled to be abandoned. Abandoning an instance removes it from the
|
3449
|
+
# managed instance group without deleting it.
|
3148
3450
|
# Corresponds to the JSON property `abandoning`
|
3149
3451
|
# @return [Fixnum]
|
3150
3452
|
attr_accessor :abandoning
|
@@ -3161,8 +3463,8 @@ module Google
|
|
3161
3463
|
# @return [Fixnum]
|
3162
3464
|
attr_accessor :deleting
|
3163
3465
|
|
3164
|
-
# [Output Only] The number of instances in the managed instance group that
|
3165
|
-
#
|
3466
|
+
# [Output Only] The number of instances in the managed instance group that are
|
3467
|
+
# running and have no scheduled actions.
|
3166
3468
|
# Corresponds to the JSON property `none`
|
3167
3469
|
# @return [Fixnum]
|
3168
3470
|
attr_accessor :none
|
@@ -3209,30 +3511,33 @@ module Google
|
|
3209
3511
|
include Google::Apis::Core::Hashable
|
3210
3512
|
|
3211
3513
|
# [Output Only] A unique identifier for this aggregated list of managed instance
|
3212
|
-
# groups. The server
|
3514
|
+
# groups. The server generates this identifier.
|
3213
3515
|
# Corresponds to the JSON property `id`
|
3214
3516
|
# @return [String]
|
3215
3517
|
attr_accessor :id
|
3216
3518
|
|
3217
|
-
# A map of filtered managed instance group lists.
|
3519
|
+
# [Output Only] A map of filtered managed instance group lists.
|
3218
3520
|
# Corresponds to the JSON property `items`
|
3219
3521
|
# @return [Hash<String,Google::Apis::ComputeV1::InstanceGroupManagersScopedList>]
|
3220
3522
|
attr_accessor :items
|
3221
3523
|
|
3222
|
-
# [Output Only]
|
3524
|
+
# [Output Only] The resource type, which is always compute#
|
3223
3525
|
# instanceGroupManagerAggregatedList for an aggregated list of managed instance
|
3224
3526
|
# groups.
|
3225
3527
|
# Corresponds to the JSON property `kind`
|
3226
3528
|
# @return [String]
|
3227
3529
|
attr_accessor :kind
|
3228
3530
|
|
3229
|
-
# [Output Only]
|
3531
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3532
|
+
# requests. If the number of results is larger than maxResults, use the
|
3533
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3534
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3535
|
+
# continue paging through the results.
|
3230
3536
|
# Corresponds to the JSON property `nextPageToken`
|
3231
3537
|
# @return [String]
|
3232
3538
|
attr_accessor :next_page_token
|
3233
3539
|
|
3234
|
-
# [Output Only] The URL for this
|
3235
|
-
# server defines this URL.
|
3540
|
+
# [Output Only] The URL for this resource type. The server generates this URL.
|
3236
3541
|
# Corresponds to the JSON property `selfLink`
|
3237
3542
|
# @return [String]
|
3238
3543
|
attr_accessor :self_link
|
@@ -3251,63 +3556,37 @@ module Google
|
|
3251
3556
|
end
|
3252
3557
|
end
|
3253
3558
|
|
3254
|
-
#
|
3255
|
-
class
|
3559
|
+
# [Output Only] A list of managed instance groups.
|
3560
|
+
class InstanceGroupManagerList
|
3256
3561
|
include Google::Apis::Core::Hashable
|
3257
3562
|
|
3258
|
-
#
|
3259
|
-
#
|
3260
|
-
#
|
3261
|
-
# group. RESTART performs a soft restart on an instance. If the instance cannot
|
3262
|
-
# restart softly, the instance performs a hard restart.
|
3263
|
-
# Corresponds to the JSON property `actionType`
|
3563
|
+
# [Output Only] A unique identifier for this resource type. The server generates
|
3564
|
+
# this identifier.
|
3565
|
+
# Corresponds to the JSON property `id`
|
3264
3566
|
# @return [String]
|
3265
|
-
attr_accessor :
|
3567
|
+
attr_accessor :id
|
3266
3568
|
|
3267
|
-
#
|
3268
|
-
# Corresponds to the JSON property `
|
3569
|
+
# [Output Only] A list of managed instance groups.
|
3570
|
+
# Corresponds to the JSON property `items`
|
3571
|
+
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManager>]
|
3572
|
+
attr_accessor :items
|
3573
|
+
|
3574
|
+
# [Output Only] The resource type, which is always compute#
|
3575
|
+
# instanceGroupManagerList for a list of managed instance groups.
|
3576
|
+
# Corresponds to the JSON property `kind`
|
3269
3577
|
# @return [String]
|
3270
|
-
attr_accessor :
|
3578
|
+
attr_accessor :kind
|
3271
3579
|
|
3272
|
-
|
3273
|
-
|
3274
|
-
|
3275
|
-
|
3276
|
-
#
|
3277
|
-
def update!(**args)
|
3278
|
-
@action_type = args[:action_type] unless args[:action_type].nil?
|
3279
|
-
@health_check = args[:health_check] unless args[:health_check].nil?
|
3280
|
-
end
|
3281
|
-
end
|
3282
|
-
|
3283
|
-
# [Output Only] A list of InstanceGroupManager resources.
|
3284
|
-
class InstanceGroupManagerList
|
3285
|
-
include Google::Apis::Core::Hashable
|
3286
|
-
|
3287
|
-
# [Output Only] A unique identifier for this managed instance group. The server
|
3288
|
-
# defines this identifier.
|
3289
|
-
# Corresponds to the JSON property `id`
|
3290
|
-
# @return [String]
|
3291
|
-
attr_accessor :id
|
3292
|
-
|
3293
|
-
# [Output Only] A list of managed instance group resources.
|
3294
|
-
# Corresponds to the JSON property `items`
|
3295
|
-
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManager>]
|
3296
|
-
attr_accessor :items
|
3297
|
-
|
3298
|
-
# [Output Only] Type of the resource. Always compute#instanceGroupManagerList
|
3299
|
-
# for a list of managed instance group resources.
|
3300
|
-
# Corresponds to the JSON property `kind`
|
3301
|
-
# @return [String]
|
3302
|
-
attr_accessor :kind
|
3303
|
-
|
3304
|
-
# [Output Only] A token that is used to continue a truncated list request.
|
3580
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3581
|
+
# requests. If the number of results is larger than maxResults, use the
|
3582
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3583
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3584
|
+
# continue paging through the results.
|
3305
3585
|
# Corresponds to the JSON property `nextPageToken`
|
3306
3586
|
# @return [String]
|
3307
3587
|
attr_accessor :next_page_token
|
3308
3588
|
|
3309
|
-
# [Output Only] The URL for this
|
3310
|
-
# URL.
|
3589
|
+
# [Output Only] The URL for this resource type. The server generates this URL.
|
3311
3590
|
# Corresponds to the JSON property `selfLink`
|
3312
3591
|
# @return [String]
|
3313
3592
|
attr_accessor :self_link
|
@@ -3330,7 +3609,7 @@ module Google
|
|
3330
3609
|
class InstanceGroupManagersAbandonInstancesRequest
|
3331
3610
|
include Google::Apis::Core::Hashable
|
3332
3611
|
|
3333
|
-
# The
|
3612
|
+
# The URL for one or more instances to abandon from the managed instance group.
|
3334
3613
|
# Corresponds to the JSON property `instances`
|
3335
3614
|
# @return [Array<String>]
|
3336
3615
|
attr_accessor :instances
|
@@ -3349,7 +3628,8 @@ module Google
|
|
3349
3628
|
class InstanceGroupManagersDeleteInstancesRequest
|
3350
3629
|
include Google::Apis::Core::Hashable
|
3351
3630
|
|
3352
|
-
# The
|
3631
|
+
# The list of instances to delete from this managed instance group. Specify one
|
3632
|
+
# or more instance URLs.
|
3353
3633
|
# Corresponds to the JSON property `instances`
|
3354
3634
|
# @return [Array<String>]
|
3355
3635
|
attr_accessor :instances
|
@@ -3368,7 +3648,7 @@ module Google
|
|
3368
3648
|
class InstanceGroupManagersListManagedInstancesResponse
|
3369
3649
|
include Google::Apis::Core::Hashable
|
3370
3650
|
|
3371
|
-
#
|
3651
|
+
# [Output Only] The list of instances in the managed instance group.
|
3372
3652
|
# Corresponds to the JSON property `managedInstances`
|
3373
3653
|
# @return [Array<Google::Apis::ComputeV1::ManagedInstance>]
|
3374
3654
|
attr_accessor :managed_instances
|
@@ -3387,7 +3667,7 @@ module Google
|
|
3387
3667
|
class InstanceGroupManagersRecreateInstancesRequest
|
3388
3668
|
include Google::Apis::Core::Hashable
|
3389
3669
|
|
3390
|
-
# The
|
3670
|
+
# The URL for one or more instances to recreate.
|
3391
3671
|
# Corresponds to the JSON property `instances`
|
3392
3672
|
# @return [Array<String>]
|
3393
3673
|
attr_accessor :instances
|
@@ -3433,17 +3713,19 @@ module Google
|
|
3433
3713
|
class Warning
|
3434
3714
|
include Google::Apis::Core::Hashable
|
3435
3715
|
|
3436
|
-
# [Output Only]
|
3716
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
3717
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
3437
3718
|
# Corresponds to the JSON property `code`
|
3438
3719
|
# @return [String]
|
3439
3720
|
attr_accessor :code
|
3440
3721
|
|
3441
|
-
# [Output Only] Metadata
|
3722
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
3723
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
3442
3724
|
# Corresponds to the JSON property `data`
|
3443
3725
|
# @return [Array<Google::Apis::ComputeV1::InstanceGroupManagersScopedList::Warning::Datum>]
|
3444
3726
|
attr_accessor :data
|
3445
3727
|
|
3446
|
-
# [Output Only]
|
3728
|
+
# [Output Only] A human-readable description of the warning code.
|
3447
3729
|
# Corresponds to the JSON property `message`
|
3448
3730
|
# @return [String]
|
3449
3731
|
attr_accessor :message
|
@@ -3463,7 +3745,13 @@ module Google
|
|
3463
3745
|
class Datum
|
3464
3746
|
include Google::Apis::Core::Hashable
|
3465
3747
|
|
3466
|
-
# [Output Only] A key
|
3748
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
3749
|
+
# For example, for warnings where there are no results in a list request for a
|
3750
|
+
# particular zone, this key might be scope and the key value might be the zone
|
3751
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
3752
|
+
# suggested replacement, or a warning about invalid network settings (for
|
3753
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
3754
|
+
# for IP forwarding).
|
3467
3755
|
# Corresponds to the JSON property `key`
|
3468
3756
|
# @return [String]
|
3469
3757
|
attr_accessor :key
|
@@ -3511,18 +3799,19 @@ module Google
|
|
3511
3799
|
class InstanceGroupManagersSetTargetPoolsRequest
|
3512
3800
|
include Google::Apis::Core::Hashable
|
3513
3801
|
|
3514
|
-
# The fingerprint of the target pools information
|
3515
|
-
#
|
3516
|
-
#
|
3802
|
+
# The fingerprint of the target pools information. Use this optional property to
|
3803
|
+
# prevent conflicts when multiple users change the target pools settings
|
3804
|
+
# concurrently. Obtain the fingerprint with the instanceGroupManagers.get method.
|
3805
|
+
# Then, include the fingerprint in your request to ensure that you do not
|
3806
|
+
# overwrite changes that were applied from another concurrent request.
|
3517
3807
|
# Corresponds to the JSON property `fingerprint`
|
3518
3808
|
# @return [String]
|
3519
3809
|
attr_accessor :fingerprint
|
3520
3810
|
|
3521
3811
|
# The list of target pool URLs that instances in this managed instance group
|
3522
|
-
# belong to.
|
3523
|
-
#
|
3524
|
-
#
|
3525
|
-
# target pools of existing instances in this managed instance group.
|
3812
|
+
# belong to. The managed instance group applies these target pools to all of the
|
3813
|
+
# instances in the group. Existing instances and new instances in the group all
|
3814
|
+
# receive these target pool settings.
|
3526
3815
|
# Corresponds to the JSON property `targetPools`
|
3527
3816
|
# @return [Array<String>]
|
3528
3817
|
attr_accessor :target_pools
|
@@ -3542,7 +3831,7 @@ module Google
|
|
3542
3831
|
class InstanceGroupsAddInstancesRequest
|
3543
3832
|
include Google::Apis::Core::Hashable
|
3544
3833
|
|
3545
|
-
# The instances to add to the instance group.
|
3834
|
+
# The list of instances to add to the instance group.
|
3546
3835
|
# Corresponds to the JSON property `instances`
|
3547
3836
|
# @return [Array<Google::Apis::ComputeV1::InstanceReference>]
|
3548
3837
|
attr_accessor :instances
|
@@ -3562,13 +3851,13 @@ module Google
|
|
3562
3851
|
include Google::Apis::Core::Hashable
|
3563
3852
|
|
3564
3853
|
# [Output Only] A unique identifier for this list of instance groups. The server
|
3565
|
-
#
|
3854
|
+
# generates this identifier.
|
3566
3855
|
# Corresponds to the JSON property `id`
|
3567
3856
|
# @return [String]
|
3568
3857
|
attr_accessor :id
|
3569
3858
|
|
3570
|
-
# A list of
|
3571
|
-
#
|
3859
|
+
# [Output Only] A list of instances and any named ports that are assigned to
|
3860
|
+
# those instances.
|
3572
3861
|
# Corresponds to the JSON property `items`
|
3573
3862
|
# @return [Array<Google::Apis::ComputeV1::InstanceWithNamedPorts>]
|
3574
3863
|
attr_accessor :items
|
@@ -3579,12 +3868,16 @@ module Google
|
|
3579
3868
|
# @return [String]
|
3580
3869
|
attr_accessor :kind
|
3581
3870
|
|
3582
|
-
# [Output Only]
|
3871
|
+
# [Output Only] This token allows you to get the next page of results for list
|
3872
|
+
# requests. If the number of results is larger than maxResults, use the
|
3873
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
3874
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
3875
|
+
# continue paging through the results.
|
3583
3876
|
# Corresponds to the JSON property `nextPageToken`
|
3584
3877
|
# @return [String]
|
3585
3878
|
attr_accessor :next_page_token
|
3586
3879
|
|
3587
|
-
# [Output Only] The URL for this list of instance groups. The server
|
3880
|
+
# [Output Only] The URL for this list of instance groups. The server generates
|
3588
3881
|
# this URL.
|
3589
3882
|
# Corresponds to the JSON property `selfLink`
|
3590
3883
|
# @return [String]
|
@@ -3615,15 +3908,6 @@ module Google
|
|
3615
3908
|
# @return [String]
|
3616
3909
|
attr_accessor :instance_state
|
3617
3910
|
|
3618
|
-
# A filter for the named ports that are associated with instances in the
|
3619
|
-
# instance group. If you specify this parameter, the generated list includes
|
3620
|
-
# only instances that are associated with the specified named ports. If you do
|
3621
|
-
# not specify this parameter, the generated list includes all instances
|
3622
|
-
# regardless of their named ports.
|
3623
|
-
# Corresponds to the JSON property `portName`
|
3624
|
-
# @return [String]
|
3625
|
-
attr_accessor :port_name
|
3626
|
-
|
3627
3911
|
def initialize(**args)
|
3628
3912
|
update!(**args)
|
3629
3913
|
end
|
@@ -3631,7 +3915,6 @@ module Google
|
|
3631
3915
|
# Update properties of this object
|
3632
3916
|
def update!(**args)
|
3633
3917
|
@instance_state = args[:instance_state] unless args[:instance_state].nil?
|
3634
|
-
@port_name = args[:port_name] unless args[:port_name].nil?
|
3635
3918
|
end
|
3636
3919
|
end
|
3637
3920
|
|
@@ -3639,7 +3922,7 @@ module Google
|
|
3639
3922
|
class InstanceGroupsRemoveInstancesRequest
|
3640
3923
|
include Google::Apis::Core::Hashable
|
3641
3924
|
|
3642
|
-
# The instances to remove from the instance group.
|
3925
|
+
# The list of instances to remove from the instance group.
|
3643
3926
|
# Corresponds to the JSON property `instances`
|
3644
3927
|
# @return [Array<Google::Apis::ComputeV1::InstanceReference>]
|
3645
3928
|
attr_accessor :instances
|
@@ -3684,17 +3967,19 @@ module Google
|
|
3684
3967
|
class Warning
|
3685
3968
|
include Google::Apis::Core::Hashable
|
3686
3969
|
|
3687
|
-
# [Output Only]
|
3970
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
3971
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
3688
3972
|
# Corresponds to the JSON property `code`
|
3689
3973
|
# @return [String]
|
3690
3974
|
attr_accessor :code
|
3691
3975
|
|
3692
|
-
# [Output Only] Metadata
|
3976
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
3977
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
3693
3978
|
# Corresponds to the JSON property `data`
|
3694
3979
|
# @return [Array<Google::Apis::ComputeV1::InstanceGroupsScopedList::Warning::Datum>]
|
3695
3980
|
attr_accessor :data
|
3696
3981
|
|
3697
|
-
# [Output Only]
|
3982
|
+
# [Output Only] A human-readable description of the warning code.
|
3698
3983
|
# Corresponds to the JSON property `message`
|
3699
3984
|
# @return [String]
|
3700
3985
|
attr_accessor :message
|
@@ -3714,7 +3999,13 @@ module Google
|
|
3714
3999
|
class Datum
|
3715
4000
|
include Google::Apis::Core::Hashable
|
3716
4001
|
|
3717
|
-
# [Output Only] A key
|
4002
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
4003
|
+
# For example, for warnings where there are no results in a list request for a
|
4004
|
+
# particular zone, this key might be scope and the key value might be the zone
|
4005
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
4006
|
+
# suggested replacement, or a warning about invalid network settings (for
|
4007
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4008
|
+
# for IP forwarding).
|
3718
4009
|
# Corresponds to the JSON property `key`
|
3719
4010
|
# @return [String]
|
3720
4011
|
attr_accessor :key
|
@@ -3741,9 +4032,12 @@ module Google
|
|
3741
4032
|
class InstanceGroupsSetNamedPortsRequest
|
3742
4033
|
include Google::Apis::Core::Hashable
|
3743
4034
|
|
3744
|
-
# The fingerprint of the named ports information
|
3745
|
-
#
|
3746
|
-
# ports
|
4035
|
+
# The fingerprint of the named ports information for this instance group. Use
|
4036
|
+
# this optional property to prevent conflicts when multiple users change the
|
4037
|
+
# named ports settings concurrently. Obtain the fingerprint with the
|
4038
|
+
# instanceGroups.get method. Then, include the fingerprint in your request to
|
4039
|
+
# ensure that you do not overwrite changes that were applied from another
|
4040
|
+
# concurrent request.
|
3747
4041
|
# Corresponds to the JSON property `fingerprint`
|
3748
4042
|
# @return [String]
|
3749
4043
|
attr_accessor :fingerprint
|
@@ -3768,7 +4062,8 @@ module Google
|
|
3768
4062
|
class InstanceList
|
3769
4063
|
include Google::Apis::Core::Hashable
|
3770
4064
|
|
3771
|
-
# [Output Only]
|
4065
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
4066
|
+
# defined by the server.
|
3772
4067
|
# Corresponds to the JSON property `id`
|
3773
4068
|
# @return [String]
|
3774
4069
|
attr_accessor :id
|
@@ -3846,11 +4141,12 @@ module Google
|
|
3846
4141
|
class InstanceProperties
|
3847
4142
|
include Google::Apis::Core::Hashable
|
3848
4143
|
|
3849
|
-
#
|
3850
|
-
#
|
3851
|
-
#
|
3852
|
-
#
|
3853
|
-
#
|
4144
|
+
# Enables instances created based on this template to send packets with source
|
4145
|
+
# IP addresses other than their own and receive packets with destination IP
|
4146
|
+
# addresses other than their own. If these instances will be used as an IP
|
4147
|
+
# gateway or it will be set as the next-hop in a Route resource, specify true.
|
4148
|
+
# If unsure, leave this set to false. See the canIpForward documentation for
|
4149
|
+
# more information.
|
3854
4150
|
# Corresponds to the JSON property `canIpForward`
|
3855
4151
|
# @return [Boolean]
|
3856
4152
|
attr_accessor :can_ip_forward
|
@@ -3878,12 +4174,7 @@ module Google
|
|
3878
4174
|
# @return [Google::Apis::ComputeV1::Metadata]
|
3879
4175
|
attr_accessor :metadata
|
3880
4176
|
|
3881
|
-
# An array of network access configurations for this interface.
|
3882
|
-
# how this interface is configured to interact with other network services, such
|
3883
|
-
# as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only supported
|
3884
|
-
# access configuration. If you do not specify any access configurations, the
|
3885
|
-
# instances that are created from this template will have no external internet
|
3886
|
-
# access.
|
4177
|
+
# An array of network access configurations for this interface.
|
3887
4178
|
# Corresponds to the JSON property `networkInterfaces`
|
3888
4179
|
# @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
|
3889
4180
|
attr_accessor :network_interfaces
|
@@ -3927,7 +4218,7 @@ module Google
|
|
3927
4218
|
class InstanceReference
|
3928
4219
|
include Google::Apis::Core::Hashable
|
3929
4220
|
|
3930
|
-
#
|
4221
|
+
# The URL for a specific instance.
|
3931
4222
|
# Corresponds to the JSON property `instance`
|
3932
4223
|
# @return [String]
|
3933
4224
|
attr_accessor :instance
|
@@ -3952,7 +4243,8 @@ module Google
|
|
3952
4243
|
# @return [String]
|
3953
4244
|
attr_accessor :creation_timestamp
|
3954
4245
|
|
3955
|
-
# An optional
|
4246
|
+
# An optional description of this resource. Provide this property when you
|
4247
|
+
# create the resource.
|
3956
4248
|
# Corresponds to the JSON property `description`
|
3957
4249
|
# @return [String]
|
3958
4250
|
attr_accessor :description
|
@@ -3969,8 +4261,12 @@ module Google
|
|
3969
4261
|
# @return [String]
|
3970
4262
|
attr_accessor :kind
|
3971
4263
|
|
3972
|
-
#
|
3973
|
-
# comply with RFC1035.
|
4264
|
+
# Name of the resource; provided by the client when the resource is created. The
|
4265
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
4266
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
4267
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
4268
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
4269
|
+
# except the last character, which cannot be a dash.
|
3974
4270
|
# Corresponds to the JSON property `name`
|
3975
4271
|
# @return [String]
|
3976
4272
|
attr_accessor :name
|
@@ -4011,7 +4307,7 @@ module Google
|
|
4011
4307
|
# @return [String]
|
4012
4308
|
attr_accessor :id
|
4013
4309
|
|
4014
|
-
#
|
4310
|
+
# [Output Only] list of InstanceTemplate resources.
|
4015
4311
|
# Corresponds to the JSON property `items`
|
4016
4312
|
# @return [Array<Google::Apis::ComputeV1::InstanceTemplate>]
|
4017
4313
|
attr_accessor :items
|
@@ -4022,7 +4318,11 @@ module Google
|
|
4022
4318
|
# @return [String]
|
4023
4319
|
attr_accessor :kind
|
4024
4320
|
|
4025
|
-
# [Output Only]
|
4321
|
+
# [Output Only] This token allows you to get the next page of results for list
|
4322
|
+
# requests. If the number of results is larger than maxResults, use the
|
4323
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
4324
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
4325
|
+
# continue paging through the results.
|
4026
4326
|
# Corresponds to the JSON property `nextPageToken`
|
4027
4327
|
# @return [String]
|
4028
4328
|
attr_accessor :next_page_token
|
@@ -4051,17 +4351,17 @@ module Google
|
|
4051
4351
|
class InstanceWithNamedPorts
|
4052
4352
|
include Google::Apis::Core::Hashable
|
4053
4353
|
|
4054
|
-
# The URL of the instance.
|
4354
|
+
# [Output Only] The URL of the instance.
|
4055
4355
|
# Corresponds to the JSON property `instance`
|
4056
4356
|
# @return [String]
|
4057
4357
|
attr_accessor :instance
|
4058
4358
|
|
4059
|
-
# The named ports that belong to this instance group.
|
4359
|
+
# [Output Only] The named ports that belong to this instance group.
|
4060
4360
|
# Corresponds to the JSON property `namedPorts`
|
4061
4361
|
# @return [Array<Google::Apis::ComputeV1::NamedPort>]
|
4062
4362
|
attr_accessor :named_ports
|
4063
4363
|
|
4064
|
-
# The status of the instance.
|
4364
|
+
# [Output Only] The status of the instance.
|
4065
4365
|
# Corresponds to the JSON property `status`
|
4066
4366
|
# @return [String]
|
4067
4367
|
attr_accessor :status
|
@@ -4108,17 +4408,19 @@ module Google
|
|
4108
4408
|
class Warning
|
4109
4409
|
include Google::Apis::Core::Hashable
|
4110
4410
|
|
4111
|
-
# [Output Only]
|
4411
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
4412
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
4112
4413
|
# Corresponds to the JSON property `code`
|
4113
4414
|
# @return [String]
|
4114
4415
|
attr_accessor :code
|
4115
4416
|
|
4116
|
-
# [Output Only] Metadata
|
4417
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
4418
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
4117
4419
|
# Corresponds to the JSON property `data`
|
4118
4420
|
# @return [Array<Google::Apis::ComputeV1::InstancesScopedList::Warning::Datum>]
|
4119
4421
|
attr_accessor :data
|
4120
4422
|
|
4121
|
-
# [Output Only]
|
4423
|
+
# [Output Only] A human-readable description of the warning code.
|
4122
4424
|
# Corresponds to the JSON property `message`
|
4123
4425
|
# @return [String]
|
4124
4426
|
attr_accessor :message
|
@@ -4138,7 +4440,13 @@ module Google
|
|
4138
4440
|
class Datum
|
4139
4441
|
include Google::Apis::Core::Hashable
|
4140
4442
|
|
4141
|
-
# [Output Only] A key
|
4443
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
4444
|
+
# For example, for warnings where there are no results in a list request for a
|
4445
|
+
# particular zone, this key might be scope and the key value might be the zone
|
4446
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
4447
|
+
# suggested replacement, or a warning about invalid network settings (for
|
4448
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4449
|
+
# for IP forwarding).
|
4142
4450
|
# Corresponds to the JSON property `key`
|
4143
4451
|
# @return [String]
|
4144
4452
|
attr_accessor :key
|
@@ -4165,8 +4473,8 @@ module Google
|
|
4165
4473
|
class License
|
4166
4474
|
include Google::Apis::Core::Hashable
|
4167
4475
|
|
4168
|
-
# If true, the customer will be charged license fee for running
|
4169
|
-
# contains this license on an instance.
|
4476
|
+
# [Output Only] If true, the customer will be charged license fee for running
|
4477
|
+
# software that contains this license on an instance.
|
4170
4478
|
# Corresponds to the JSON property `chargesUseFee`
|
4171
4479
|
# @return [Boolean]
|
4172
4480
|
attr_accessor :charges_use_fee
|
@@ -4177,13 +4485,13 @@ module Google
|
|
4177
4485
|
# @return [String]
|
4178
4486
|
attr_accessor :kind
|
4179
4487
|
|
4180
|
-
# Name of the resource. The name
|
4181
|
-
#
|
4488
|
+
# [Output Only] Name of the resource. The name is 1-63 characters long and
|
4489
|
+
# complies with RFC1035.
|
4182
4490
|
# Corresponds to the JSON property `name`
|
4183
4491
|
# @return [String]
|
4184
4492
|
attr_accessor :name
|
4185
4493
|
|
4186
|
-
# [Output Only] Server
|
4494
|
+
# [Output Only] Server-defined URL for the resource.
|
4187
4495
|
# Corresponds to the JSON property `selfLink`
|
4188
4496
|
# @return [String]
|
4189
4497
|
attr_accessor :self_link
|
@@ -4220,12 +4528,13 @@ module Google
|
|
4220
4528
|
# @return [String]
|
4221
4529
|
attr_accessor :description
|
4222
4530
|
|
4223
|
-
# [Output Only] The
|
4531
|
+
# [Output Only] The number of virtual CPUs that are available to the instance.
|
4224
4532
|
# Corresponds to the JSON property `guestCpus`
|
4225
4533
|
# @return [Fixnum]
|
4226
4534
|
attr_accessor :guest_cpus
|
4227
4535
|
|
4228
|
-
# [Output Only]
|
4536
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
4537
|
+
# defined by the server.
|
4229
4538
|
# Corresponds to the JSON property `id`
|
4230
4539
|
# @return [String]
|
4231
4540
|
attr_accessor :id
|
@@ -4236,7 +4545,8 @@ module Google
|
|
4236
4545
|
# @return [Fixnum]
|
4237
4546
|
attr_accessor :image_space_gb
|
4238
4547
|
|
4239
|
-
#
|
4548
|
+
# [Output Only] The type of the resource. Always compute#machineType for machine
|
4549
|
+
# types.
|
4240
4550
|
# Corresponds to the JSON property `kind`
|
4241
4551
|
# @return [String]
|
4242
4552
|
attr_accessor :kind
|
@@ -4267,7 +4577,7 @@ module Google
|
|
4267
4577
|
# @return [Array<Google::Apis::ComputeV1::MachineType::ScratchDisk>]
|
4268
4578
|
attr_accessor :scratch_disks
|
4269
4579
|
|
4270
|
-
# [Output Only] Server
|
4580
|
+
# [Output Only] Server-defined URL for the resource.
|
4271
4581
|
# Corresponds to the JSON property `selfLink`
|
4272
4582
|
# @return [String]
|
4273
4583
|
attr_accessor :self_link
|
@@ -4324,7 +4634,8 @@ module Google
|
|
4324
4634
|
class MachineTypeAggregatedList
|
4325
4635
|
include Google::Apis::Core::Hashable
|
4326
4636
|
|
4327
|
-
# [Output Only]
|
4637
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
4638
|
+
# defined by the server.
|
4328
4639
|
# Corresponds to the JSON property `id`
|
4329
4640
|
# @return [String]
|
4330
4641
|
attr_accessor :id
|
@@ -4340,12 +4651,16 @@ module Google
|
|
4340
4651
|
# @return [String]
|
4341
4652
|
attr_accessor :kind
|
4342
4653
|
|
4343
|
-
# [Output Only]
|
4654
|
+
# [Output Only] This token allows you to get the next page of results for list
|
4655
|
+
# requests. If the number of results is larger than maxResults, use the
|
4656
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
4657
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
4658
|
+
# continue paging through the results.
|
4344
4659
|
# Corresponds to the JSON property `nextPageToken`
|
4345
4660
|
# @return [String]
|
4346
4661
|
attr_accessor :next_page_token
|
4347
4662
|
|
4348
|
-
# [Output Only] Server
|
4663
|
+
# [Output Only] Server-defined URL for this resource.
|
4349
4664
|
# Corresponds to the JSON property `selfLink`
|
4350
4665
|
# @return [String]
|
4351
4666
|
attr_accessor :self_link
|
@@ -4368,7 +4683,8 @@ module Google
|
|
4368
4683
|
class MachineTypeList
|
4369
4684
|
include Google::Apis::Core::Hashable
|
4370
4685
|
|
4371
|
-
# [Output Only]
|
4686
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
4687
|
+
# defined by the server.
|
4372
4688
|
# Corresponds to the JSON property `id`
|
4373
4689
|
# @return [String]
|
4374
4690
|
attr_accessor :id
|
@@ -4384,12 +4700,16 @@ module Google
|
|
4384
4700
|
# @return [String]
|
4385
4701
|
attr_accessor :kind
|
4386
4702
|
|
4387
|
-
# [Output Only]
|
4703
|
+
# [Output Only] This token allows you to get the next page of results for list
|
4704
|
+
# requests. If the number of results is larger than maxResults, use the
|
4705
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
4706
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
4707
|
+
# continue paging through the results.
|
4388
4708
|
# Corresponds to the JSON property `nextPageToken`
|
4389
4709
|
# @return [String]
|
4390
4710
|
attr_accessor :next_page_token
|
4391
4711
|
|
4392
|
-
# [Output Only] Server
|
4712
|
+
# [Output Only] Server-defined URL for this resource.
|
4393
4713
|
# Corresponds to the JSON property `selfLink`
|
4394
4714
|
# @return [String]
|
4395
4715
|
attr_accessor :self_link
|
@@ -4438,17 +4758,19 @@ module Google
|
|
4438
4758
|
class Warning
|
4439
4759
|
include Google::Apis::Core::Hashable
|
4440
4760
|
|
4441
|
-
# [Output Only]
|
4761
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
4762
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
4442
4763
|
# Corresponds to the JSON property `code`
|
4443
4764
|
# @return [String]
|
4444
4765
|
attr_accessor :code
|
4445
4766
|
|
4446
|
-
# [Output Only] Metadata
|
4767
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
4768
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
4447
4769
|
# Corresponds to the JSON property `data`
|
4448
4770
|
# @return [Array<Google::Apis::ComputeV1::MachineTypesScopedList::Warning::Datum>]
|
4449
4771
|
attr_accessor :data
|
4450
4772
|
|
4451
|
-
# [Output Only]
|
4773
|
+
# [Output Only] A human-readable description of the warning code.
|
4452
4774
|
# Corresponds to the JSON property `message`
|
4453
4775
|
# @return [String]
|
4454
4776
|
attr_accessor :message
|
@@ -4468,7 +4790,13 @@ module Google
|
|
4468
4790
|
class Datum
|
4469
4791
|
include Google::Apis::Core::Hashable
|
4470
4792
|
|
4471
|
-
# [Output Only] A key
|
4793
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
4794
|
+
# For example, for warnings where there are no results in a list request for a
|
4795
|
+
# particular zone, this key might be scope and the key value might be the zone
|
4796
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
4797
|
+
# suggested replacement, or a warning about invalid network settings (for
|
4798
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
4799
|
+
# for IP forwarding).
|
4472
4800
|
# Corresponds to the JSON property `key`
|
4473
4801
|
# @return [String]
|
4474
4802
|
attr_accessor :key
|
@@ -4495,28 +4823,44 @@ module Google
|
|
4495
4823
|
class ManagedInstance
|
4496
4824
|
include Google::Apis::Core::Hashable
|
4497
4825
|
|
4498
|
-
# The current action that the managed instance group has scheduled
|
4499
|
-
# instance.
|
4826
|
+
# [Output Only] The current action that the managed instance group has scheduled
|
4827
|
+
# for the instance. Possible values:
|
4828
|
+
# - NONE The instance is running, and the managed instance group does not have
|
4829
|
+
# any scheduled actions for this instance.
|
4830
|
+
# - CREATING The managed instance group is creating this instance.
|
4831
|
+
# - RECREATING The managed instance group is recreating this instance.
|
4832
|
+
# - DELETING The managed instance group is permanently deleting this instance.
|
4833
|
+
# - ABANDONING The managed instance group is abandoning this instance. The
|
4834
|
+
# instance will be removed from the instance group and from any target pools
|
4835
|
+
# that are associated with this group.
|
4836
|
+
# - RESTARTING The managed instance group is restarting the instance.
|
4837
|
+
# - REFRESHING The managed instance group is applying configuration changes to
|
4838
|
+
# the instance without stopping it. For example, the group can update the target
|
4839
|
+
# pool list for an instance without stopping that instance.
|
4500
4840
|
# Corresponds to the JSON property `currentAction`
|
4501
4841
|
# @return [String]
|
4502
4842
|
attr_accessor :current_action
|
4503
4843
|
|
4504
|
-
# The unique identifier for this resource
|
4844
|
+
# [Output only] The unique identifier for this resource. This field is empty
|
4845
|
+
# when instance does not exist.
|
4505
4846
|
# Corresponds to the JSON property `id`
|
4506
4847
|
# @return [String]
|
4507
4848
|
attr_accessor :id
|
4508
4849
|
|
4509
|
-
# The URL of the instance
|
4850
|
+
# [Output Only] The URL of the instance. The URL can exist even if the instance
|
4851
|
+
# has not yet been created.
|
4510
4852
|
# Corresponds to the JSON property `instance`
|
4511
4853
|
# @return [String]
|
4512
4854
|
attr_accessor :instance
|
4513
4855
|
|
4514
|
-
# The status of the instance
|
4856
|
+
# [Output Only] The status of the instance. This field is empty when the
|
4857
|
+
# instance does not exist.
|
4515
4858
|
# Corresponds to the JSON property `instanceStatus`
|
4516
4859
|
# @return [String]
|
4517
4860
|
attr_accessor :instance_status
|
4518
4861
|
|
4519
|
-
# Information about the last attempt to create or delete the
|
4862
|
+
# [Output Only] Information about the last attempt to create or delete the
|
4863
|
+
# instance.
|
4520
4864
|
# Corresponds to the JSON property `lastAttempt`
|
4521
4865
|
# @return [Google::Apis::ComputeV1::ManagedInstanceLastAttempt]
|
4522
4866
|
attr_accessor :last_attempt
|
@@ -4539,7 +4883,8 @@ module Google
|
|
4539
4883
|
class ManagedInstanceLastAttempt
|
4540
4884
|
include Google::Apis::Core::Hashable
|
4541
4885
|
|
4542
|
-
# Encountered errors during the last attempt to create or delete
|
4886
|
+
# [Output Only] Encountered errors during the last attempt to create or delete
|
4887
|
+
# the instance.
|
4543
4888
|
# Corresponds to the JSON property `errors`
|
4544
4889
|
# @return [Google::Apis::ComputeV1::ManagedInstanceLastAttempt::Errors]
|
4545
4890
|
attr_accessor :errors
|
@@ -4553,7 +4898,8 @@ module Google
|
|
4553
4898
|
@errors = args[:errors] unless args[:errors].nil?
|
4554
4899
|
end
|
4555
4900
|
|
4556
|
-
# Encountered errors during the last attempt to create or delete
|
4901
|
+
# [Output Only] Encountered errors during the last attempt to create or delete
|
4902
|
+
# the instance.
|
4557
4903
|
class Errors
|
4558
4904
|
include Google::Apis::Core::Hashable
|
4559
4905
|
|
@@ -4672,11 +5018,12 @@ module Google
|
|
4672
5018
|
end
|
4673
5019
|
end
|
4674
5020
|
|
4675
|
-
# The named port
|
5021
|
+
# The named port. For example: .
|
4676
5022
|
class NamedPort
|
4677
5023
|
include Google::Apis::Core::Hashable
|
4678
5024
|
|
4679
|
-
# The name for this
|
5025
|
+
# The name for this named port. The name must be 1-63 characters long, and
|
5026
|
+
# comply with RFC1035.
|
4680
5027
|
# Corresponds to the JSON property `name`
|
4681
5028
|
# @return [String]
|
4682
5029
|
attr_accessor :name
|
@@ -4713,8 +5060,8 @@ module Google
|
|
4713
5060
|
# @return [String]
|
4714
5061
|
attr_accessor :creation_timestamp
|
4715
5062
|
|
4716
|
-
# An optional
|
4717
|
-
# the resource
|
5063
|
+
# An optional description of this resource. Provide this property when you
|
5064
|
+
# create the resource.
|
4718
5065
|
# Corresponds to the JSON property `description`
|
4719
5066
|
# @return [String]
|
4720
5067
|
attr_accessor :description
|
@@ -4726,7 +5073,8 @@ module Google
|
|
4726
5073
|
# @return [String]
|
4727
5074
|
attr_accessor :gateway_i_pv4
|
4728
5075
|
|
4729
|
-
# [Output Only]
|
5076
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5077
|
+
# defined by the server.
|
4730
5078
|
# Corresponds to the JSON property `id`
|
4731
5079
|
# @return [String]
|
4732
5080
|
attr_accessor :id
|
@@ -4746,7 +5094,7 @@ module Google
|
|
4746
5094
|
# @return [String]
|
4747
5095
|
attr_accessor :name
|
4748
5096
|
|
4749
|
-
# [Output Only] Server
|
5097
|
+
# [Output Only] Server-defined URL for the resource.
|
4750
5098
|
# Corresponds to the JSON property `selfLink`
|
4751
5099
|
# @return [String]
|
4752
5100
|
attr_accessor :self_link
|
@@ -4822,7 +5170,8 @@ module Google
|
|
4822
5170
|
class NetworkList
|
4823
5171
|
include Google::Apis::Core::Hashable
|
4824
5172
|
|
4825
|
-
# [Output Only]
|
5173
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5174
|
+
# defined by the server.
|
4826
5175
|
# Corresponds to the JSON property `id`
|
4827
5176
|
# @return [String]
|
4828
5177
|
attr_accessor :id
|
@@ -4838,12 +5187,16 @@ module Google
|
|
4838
5187
|
# @return [String]
|
4839
5188
|
attr_accessor :kind
|
4840
5189
|
|
4841
|
-
# [Output Only]
|
5190
|
+
# [Output Only] This token allows you to get the next page of results for list
|
5191
|
+
# requests. If the number of results is larger than maxResults, use the
|
5192
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
5193
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
5194
|
+
# continue paging through the results.
|
4842
5195
|
# Corresponds to the JSON property `nextPageToken`
|
4843
5196
|
# @return [String]
|
4844
5197
|
attr_accessor :next_page_token
|
4845
5198
|
|
4846
|
-
# [Output Only] Server
|
5199
|
+
# [Output Only] Server-defined URL for this resource .
|
4847
5200
|
# Corresponds to the JSON property `selfLink`
|
4848
5201
|
# @return [String]
|
4849
5202
|
attr_accessor :self_link
|
@@ -4866,8 +5219,7 @@ module Google
|
|
4866
5219
|
class Operation
|
4867
5220
|
include Google::Apis::Core::Hashable
|
4868
5221
|
|
4869
|
-
# [Output Only]
|
4870
|
-
# was initiated. Must be unique for all Operation resources in the project.
|
5222
|
+
# [Output Only] A unique client ID generated by the server.
|
4871
5223
|
# Corresponds to the JSON property `clientOperationId`
|
4872
5224
|
# @return [String]
|
4873
5225
|
attr_accessor :client_operation_id
|
@@ -4877,8 +5229,14 @@ module Google
|
|
4877
5229
|
# @return [String]
|
4878
5230
|
attr_accessor :creation_timestamp
|
4879
5231
|
|
4880
|
-
# [Output Only]
|
4881
|
-
#
|
5232
|
+
# [Output Only] A textual description of the operation, which is set when the
|
5233
|
+
# operation is created.
|
5234
|
+
# Corresponds to the JSON property `description`
|
5235
|
+
# @return [String]
|
5236
|
+
attr_accessor :description
|
5237
|
+
|
5238
|
+
# [Output Only] The time that this operation was completed. This value is in
|
5239
|
+
# RFC3339 text format.
|
4882
5240
|
# Corresponds to the JSON property `endTime`
|
4883
5241
|
# @return [String]
|
4884
5242
|
attr_accessor :end_time
|
@@ -4896,23 +5254,24 @@ module Google
|
|
4896
5254
|
attr_accessor :http_error_message
|
4897
5255
|
|
4898
5256
|
# [Output Only] If the operation fails, this field contains the HTTP error
|
4899
|
-
# message that was returned,
|
5257
|
+
# message that was returned. For example, a 404 means the resource was not found.
|
4900
5258
|
# Corresponds to the JSON property `httpErrorStatusCode`
|
4901
5259
|
# @return [Fixnum]
|
4902
5260
|
attr_accessor :http_error_status_code
|
4903
5261
|
|
4904
|
-
# [Output Only]
|
5262
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5263
|
+
# defined by the server.
|
4905
5264
|
# Corresponds to the JSON property `id`
|
4906
5265
|
# @return [String]
|
4907
5266
|
attr_accessor :id
|
4908
5267
|
|
4909
|
-
# [Output Only] The time that this operation was requested. This is in
|
4910
|
-
# text format.
|
5268
|
+
# [Output Only] The time that this operation was requested. This value is in
|
5269
|
+
# RFC3339 text format.
|
4911
5270
|
# Corresponds to the JSON property `insertTime`
|
4912
5271
|
# @return [String]
|
4913
5272
|
attr_accessor :insert_time
|
4914
5273
|
|
4915
|
-
# [Output Only] Type of the resource. Always compute#
|
5274
|
+
# [Output Only] Type of the resource. Always compute#operation for Operation
|
4916
5275
|
# resources.
|
4917
5276
|
# Corresponds to the JSON property `kind`
|
4918
5277
|
# @return [String]
|
@@ -4923,7 +5282,7 @@ module Google
|
|
4923
5282
|
# @return [String]
|
4924
5283
|
attr_accessor :name
|
4925
5284
|
|
4926
|
-
# [Output Only]
|
5285
|
+
# [Output Only] The type of operation, which can be insert, update, or delete.
|
4927
5286
|
# Corresponds to the JSON property `operationType`
|
4928
5287
|
# @return [String]
|
4929
5288
|
attr_accessor :operation_type
|
@@ -4942,19 +5301,19 @@ module Google
|
|
4942
5301
|
# @return [String]
|
4943
5302
|
attr_accessor :region
|
4944
5303
|
|
4945
|
-
# [Output Only] Server
|
5304
|
+
# [Output Only] Server-defined URL for the resource.
|
4946
5305
|
# Corresponds to the JSON property `selfLink`
|
4947
5306
|
# @return [String]
|
4948
5307
|
attr_accessor :self_link
|
4949
5308
|
|
4950
|
-
# [Output Only] The time that this operation was started by the server. This
|
4951
|
-
# in RFC3339 text format.
|
5309
|
+
# [Output Only] The time that this operation was started by the server. This
|
5310
|
+
# value is in RFC3339 text format.
|
4952
5311
|
# Corresponds to the JSON property `startTime`
|
4953
5312
|
# @return [String]
|
4954
5313
|
attr_accessor :start_time
|
4955
5314
|
|
4956
|
-
# [Output Only]
|
4957
|
-
# RUNNING, or DONE.
|
5315
|
+
# [Output Only] The status of the operation, which can be one of the following:
|
5316
|
+
# PENDING, RUNNING, or DONE.
|
4958
5317
|
# Corresponds to the JSON property `status`
|
4959
5318
|
# @return [String]
|
4960
5319
|
attr_accessor :status
|
@@ -4965,13 +5324,13 @@ module Google
|
|
4965
5324
|
# @return [String]
|
4966
5325
|
attr_accessor :status_message
|
4967
5326
|
|
4968
|
-
# [Output Only]
|
4969
|
-
# the target.
|
5327
|
+
# [Output Only] The unique target ID, which identifies a specific incarnation of
|
5328
|
+
# the target resource.
|
4970
5329
|
# Corresponds to the JSON property `targetId`
|
4971
5330
|
# @return [String]
|
4972
5331
|
attr_accessor :target_id
|
4973
5332
|
|
4974
|
-
# [Output Only] URL of the resource the operation is
|
5333
|
+
# [Output Only] The URL of the resource that the operation is modifying.
|
4975
5334
|
# Corresponds to the JSON property `targetLink`
|
4976
5335
|
# @return [String]
|
4977
5336
|
attr_accessor :target_link
|
@@ -5000,6 +5359,7 @@ module Google
|
|
5000
5359
|
def update!(**args)
|
5001
5360
|
@client_operation_id = args[:client_operation_id] unless args[:client_operation_id].nil?
|
5002
5361
|
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
5362
|
+
@description = args[:description] unless args[:description].nil?
|
5003
5363
|
@end_time = args[:end_time] unless args[:end_time].nil?
|
5004
5364
|
@error = args[:error] unless args[:error].nil?
|
5005
5365
|
@http_error_message = args[:http_error_message] unless args[:http_error_message].nil?
|
@@ -5078,17 +5438,19 @@ module Google
|
|
5078
5438
|
class Warning
|
5079
5439
|
include Google::Apis::Core::Hashable
|
5080
5440
|
|
5081
|
-
# [Output Only]
|
5441
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
5442
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
5082
5443
|
# Corresponds to the JSON property `code`
|
5083
5444
|
# @return [String]
|
5084
5445
|
attr_accessor :code
|
5085
5446
|
|
5086
|
-
# [Output Only] Metadata
|
5447
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
5448
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
5087
5449
|
# Corresponds to the JSON property `data`
|
5088
5450
|
# @return [Array<Google::Apis::ComputeV1::Operation::Warning::Datum>]
|
5089
5451
|
attr_accessor :data
|
5090
5452
|
|
5091
|
-
# [Output Only]
|
5453
|
+
# [Output Only] A human-readable description of the warning code.
|
5092
5454
|
# Corresponds to the JSON property `message`
|
5093
5455
|
# @return [String]
|
5094
5456
|
attr_accessor :message
|
@@ -5108,7 +5470,13 @@ module Google
|
|
5108
5470
|
class Datum
|
5109
5471
|
include Google::Apis::Core::Hashable
|
5110
5472
|
|
5111
|
-
# [Output Only] A key
|
5473
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
5474
|
+
# For example, for warnings where there are no results in a list request for a
|
5475
|
+
# particular zone, this key might be scope and the key value might be the zone
|
5476
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
5477
|
+
# suggested replacement, or a warning about invalid network settings (for
|
5478
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
5479
|
+
# for IP forwarding).
|
5112
5480
|
# Corresponds to the JSON property `key`
|
5113
5481
|
# @return [String]
|
5114
5482
|
attr_accessor :key
|
@@ -5135,7 +5503,8 @@ module Google
|
|
5135
5503
|
class OperationAggregatedList
|
5136
5504
|
include Google::Apis::Core::Hashable
|
5137
5505
|
|
5138
|
-
# [Output Only]
|
5506
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5507
|
+
# defined by the server.
|
5139
5508
|
# Corresponds to the JSON property `id`
|
5140
5509
|
# @return [String]
|
5141
5510
|
attr_accessor :id
|
@@ -5151,12 +5520,16 @@ module Google
|
|
5151
5520
|
# @return [String]
|
5152
5521
|
attr_accessor :kind
|
5153
5522
|
|
5154
|
-
# [Output Only]
|
5523
|
+
# [Output Only] This token allows you to get the next page of results for list
|
5524
|
+
# requests. If the number of results is larger than maxResults, use the
|
5525
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
5526
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
5527
|
+
# continue paging through the results.
|
5155
5528
|
# Corresponds to the JSON property `nextPageToken`
|
5156
5529
|
# @return [String]
|
5157
5530
|
attr_accessor :next_page_token
|
5158
5531
|
|
5159
|
-
# [Output Only] Server
|
5532
|
+
# [Output Only] Server-defined URL for this resource.
|
5160
5533
|
# Corresponds to the JSON property `selfLink`
|
5161
5534
|
# @return [String]
|
5162
5535
|
attr_accessor :self_link
|
@@ -5179,7 +5552,8 @@ module Google
|
|
5179
5552
|
class OperationList
|
5180
5553
|
include Google::Apis::Core::Hashable
|
5181
5554
|
|
5182
|
-
# [Output Only]
|
5555
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5556
|
+
# defined by the server.
|
5183
5557
|
# Corresponds to the JSON property `id`
|
5184
5558
|
# @return [String]
|
5185
5559
|
attr_accessor :id
|
@@ -5195,12 +5569,16 @@ module Google
|
|
5195
5569
|
# @return [String]
|
5196
5570
|
attr_accessor :kind
|
5197
5571
|
|
5198
|
-
# [Output Only]
|
5572
|
+
# [Output Only] This token allows you to get the next page of results for list
|
5573
|
+
# requests. If the number of results is larger than maxResults, use the
|
5574
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
5575
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
5576
|
+
# continue paging through the results.
|
5199
5577
|
# Corresponds to the JSON property `nextPageToken`
|
5200
5578
|
# @return [String]
|
5201
5579
|
attr_accessor :next_page_token
|
5202
5580
|
|
5203
|
-
# [Output Only] Server
|
5581
|
+
# [Output Only] Server-defined URL for this resource.
|
5204
5582
|
# Corresponds to the JSON property `selfLink`
|
5205
5583
|
# @return [String]
|
5206
5584
|
attr_accessor :self_link
|
@@ -5249,17 +5627,19 @@ module Google
|
|
5249
5627
|
class Warning
|
5250
5628
|
include Google::Apis::Core::Hashable
|
5251
5629
|
|
5252
|
-
# [Output Only]
|
5630
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
5631
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
5253
5632
|
# Corresponds to the JSON property `code`
|
5254
5633
|
# @return [String]
|
5255
5634
|
attr_accessor :code
|
5256
5635
|
|
5257
|
-
# [Output Only] Metadata
|
5636
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
5637
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
5258
5638
|
# Corresponds to the JSON property `data`
|
5259
5639
|
# @return [Array<Google::Apis::ComputeV1::OperationsScopedList::Warning::Datum>]
|
5260
5640
|
attr_accessor :data
|
5261
5641
|
|
5262
|
-
# [Output Only]
|
5642
|
+
# [Output Only] A human-readable description of the warning code.
|
5263
5643
|
# Corresponds to the JSON property `message`
|
5264
5644
|
# @return [String]
|
5265
5645
|
attr_accessor :message
|
@@ -5279,7 +5659,13 @@ module Google
|
|
5279
5659
|
class Datum
|
5280
5660
|
include Google::Apis::Core::Hashable
|
5281
5661
|
|
5282
|
-
# [Output Only] A key
|
5662
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
5663
|
+
# For example, for warnings where there are no results in a list request for a
|
5664
|
+
# particular zone, this key might be scope and the key value might be the zone
|
5665
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
5666
|
+
# suggested replacement, or a warning about invalid network settings (for
|
5667
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
5668
|
+
# for IP forwarding).
|
5283
5669
|
# Corresponds to the JSON property `key`
|
5284
5670
|
# @return [String]
|
5285
5671
|
attr_accessor :key
|
@@ -5303,18 +5689,19 @@ module Google
|
|
5303
5689
|
end
|
5304
5690
|
|
5305
5691
|
# A matcher for the path portion of the URL. The BackendService from the longest-
|
5306
|
-
# matched rule will serve the URL. If no rule was matched, the
|
5692
|
+
# matched rule will serve the URL. If no rule was matched, the default service
|
5307
5693
|
# will be used.
|
5308
5694
|
class PathMatcher
|
5309
5695
|
include Google::Apis::Core::Hashable
|
5310
5696
|
|
5311
|
-
# The URL to the BackendService resource. This will be used if none of the
|
5312
|
-
# pathRules
|
5697
|
+
# The URL to the BackendService resource. This will be used if none of the
|
5698
|
+
# pathRules defined by this PathMatcher is met by the URL's path portion.
|
5313
5699
|
# Corresponds to the JSON property `defaultService`
|
5314
5700
|
# @return [String]
|
5315
5701
|
attr_accessor :default_service
|
5316
5702
|
|
5317
|
-
# An optional
|
5703
|
+
# An optional description of this resource. Provide this property when you
|
5704
|
+
# create the resource.
|
5318
5705
|
# Corresponds to the JSON property `description`
|
5319
5706
|
# @return [String]
|
5320
5707
|
attr_accessor :description
|
@@ -5391,7 +5778,14 @@ module Google
|
|
5391
5778
|
# @return [String]
|
5392
5779
|
attr_accessor :description
|
5393
5780
|
|
5394
|
-
#
|
5781
|
+
# Restricted features enabled for use on this project.
|
5782
|
+
# Corresponds to the JSON property `enabledFeatures`
|
5783
|
+
# @return [Array<String>]
|
5784
|
+
attr_accessor :enabled_features
|
5785
|
+
|
5786
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5787
|
+
# defined by the server. This is not the project ID, and is just a unique ID
|
5788
|
+
# used by Compute Engine to identify resources.
|
5395
5789
|
# Corresponds to the JSON property `id`
|
5396
5790
|
# @return [String]
|
5397
5791
|
attr_accessor :id
|
@@ -5401,7 +5795,8 @@ module Google
|
|
5401
5795
|
# @return [String]
|
5402
5796
|
attr_accessor :kind
|
5403
5797
|
|
5404
|
-
#
|
5798
|
+
# The project ID. For example: my-example-project. Use the project ID to make
|
5799
|
+
# requests to Compute Engine.
|
5405
5800
|
# Corresponds to the JSON property `name`
|
5406
5801
|
# @return [String]
|
5407
5802
|
attr_accessor :name
|
@@ -5411,7 +5806,7 @@ module Google
|
|
5411
5806
|
# @return [Array<Google::Apis::ComputeV1::Quota>]
|
5412
5807
|
attr_accessor :quotas
|
5413
5808
|
|
5414
|
-
# [Output Only] Server
|
5809
|
+
# [Output Only] Server-defined URL for the resource.
|
5415
5810
|
# Corresponds to the JSON property `selfLink`
|
5416
5811
|
# @return [String]
|
5417
5812
|
attr_accessor :self_link
|
@@ -5431,6 +5826,7 @@ module Google
|
|
5431
5826
|
@common_instance_metadata = args[:common_instance_metadata] unless args[:common_instance_metadata].nil?
|
5432
5827
|
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
5433
5828
|
@description = args[:description] unless args[:description].nil?
|
5829
|
+
@enabled_features = args[:enabled_features] unless args[:enabled_features].nil?
|
5434
5830
|
@id = args[:id] unless args[:id].nil?
|
5435
5831
|
@kind = args[:kind] unless args[:kind].nil?
|
5436
5832
|
@name = args[:name] unless args[:name].nil?
|
@@ -5490,7 +5886,8 @@ module Google
|
|
5490
5886
|
# @return [String]
|
5491
5887
|
attr_accessor :description
|
5492
5888
|
|
5493
|
-
# [Output Only]
|
5889
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5890
|
+
# defined by the server.
|
5494
5891
|
# Corresponds to the JSON property `id`
|
5495
5892
|
# @return [String]
|
5496
5893
|
attr_accessor :id
|
@@ -5510,7 +5907,7 @@ module Google
|
|
5510
5907
|
# @return [Array<Google::Apis::ComputeV1::Quota>]
|
5511
5908
|
attr_accessor :quotas
|
5512
5909
|
|
5513
|
-
# [Output Only] Server
|
5910
|
+
# [Output Only] Server-defined URL for the resource.
|
5514
5911
|
# Corresponds to the JSON property `selfLink`
|
5515
5912
|
# @return [String]
|
5516
5913
|
attr_accessor :self_link
|
@@ -5549,7 +5946,8 @@ module Google
|
|
5549
5946
|
class RegionList
|
5550
5947
|
include Google::Apis::Core::Hashable
|
5551
5948
|
|
5552
|
-
# [Output Only]
|
5949
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
5950
|
+
# defined by the server.
|
5553
5951
|
# Corresponds to the JSON property `id`
|
5554
5952
|
# @return [String]
|
5555
5953
|
attr_accessor :id
|
@@ -5564,12 +5962,16 @@ module Google
|
|
5564
5962
|
# @return [String]
|
5565
5963
|
attr_accessor :kind
|
5566
5964
|
|
5567
|
-
# [Output Only]
|
5965
|
+
# [Output Only] This token allows you to get the next page of results for list
|
5966
|
+
# requests. If the number of results is larger than maxResults, use the
|
5967
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
5968
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
5969
|
+
# continue paging through the results.
|
5568
5970
|
# Corresponds to the JSON property `nextPageToken`
|
5569
5971
|
# @return [String]
|
5570
5972
|
attr_accessor :next_page_token
|
5571
5973
|
|
5572
|
-
# [Output Only] Server
|
5974
|
+
# [Output Only] Server-defined URL for this resource.
|
5573
5975
|
# Corresponds to the JSON property `selfLink`
|
5574
5976
|
# @return [String]
|
5575
5977
|
attr_accessor :self_link
|
@@ -5608,17 +6010,18 @@ module Google
|
|
5608
6010
|
end
|
5609
6011
|
|
5610
6012
|
# The route resource. A Route is a rule that specifies how certain packets
|
5611
|
-
# should be handled by the virtual network. Routes are associated with
|
5612
|
-
# tag and the set of Routes for a particular
|
5613
|
-
# each packet leaving a
|
5614
|
-
# single best matching Route. Routes match packets by
|
5615
|
-
# preferring smaller or more specific ranges over larger
|
5616
|
-
# the system selects the Route with the smallest
|
5617
|
-
# still a tie, it uses the layer three and four
|
5618
|
-
# one of the remaining matching Routes. The packet
|
5619
|
-
# specified by the nextHop field of the winning Route --
|
5620
|
-
# destination, a
|
5621
|
-
# any Route in the sending
|
6013
|
+
# should be handled by the virtual network. Routes are associated with instances
|
6014
|
+
# by tag and the set of Routes for a particular instance is called its routing
|
6015
|
+
# table. For each packet leaving a instance, the system searches that instance's
|
6016
|
+
# routing table for a single best matching Route. Routes match packets by
|
6017
|
+
# destination IP address, preferring smaller or more specific ranges over larger
|
6018
|
+
# ones. If there is a tie, the system selects the Route with the smallest
|
6019
|
+
# priority value. If there is still a tie, it uses the layer three and four
|
6020
|
+
# packet headers to select just one of the remaining matching Routes. The packet
|
6021
|
+
# is then forwarded as specified by the nextHop field of the winning Route --
|
6022
|
+
# either to another instance destination, a instance gateway or a Google Compute
|
6023
|
+
# Engien-operated gateway. Packets that do not match any Route in the sending
|
6024
|
+
# instance's routing table are dropped.
|
5622
6025
|
class Route
|
5623
6026
|
include Google::Apis::Core::Hashable
|
5624
6027
|
|
@@ -5627,8 +6030,8 @@ module Google
|
|
5627
6030
|
# @return [String]
|
5628
6031
|
attr_accessor :creation_timestamp
|
5629
6032
|
|
5630
|
-
# An optional
|
5631
|
-
# the resource
|
6033
|
+
# An optional description of this resource. Provide this property when you
|
6034
|
+
# create the resource.
|
5632
6035
|
# Corresponds to the JSON property `description`
|
5633
6036
|
# @return [String]
|
5634
6037
|
attr_accessor :description
|
@@ -5638,7 +6041,8 @@ module Google
|
|
5638
6041
|
# @return [String]
|
5639
6042
|
attr_accessor :dest_range
|
5640
6043
|
|
5641
|
-
# [Output Only]
|
6044
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6045
|
+
# defined by the server.
|
5642
6046
|
# Corresponds to the JSON property `id`
|
5643
6047
|
# @return [String]
|
5644
6048
|
attr_accessor :id
|
@@ -5743,17 +6147,19 @@ module Google
|
|
5743
6147
|
class Warning
|
5744
6148
|
include Google::Apis::Core::Hashable
|
5745
6149
|
|
5746
|
-
# [Output Only]
|
6150
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
6151
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
5747
6152
|
# Corresponds to the JSON property `code`
|
5748
6153
|
# @return [String]
|
5749
6154
|
attr_accessor :code
|
5750
6155
|
|
5751
|
-
# [Output Only] Metadata
|
6156
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
6157
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
5752
6158
|
# Corresponds to the JSON property `data`
|
5753
6159
|
# @return [Array<Google::Apis::ComputeV1::Route::Warning::Datum>]
|
5754
6160
|
attr_accessor :data
|
5755
6161
|
|
5756
|
-
# [Output Only]
|
6162
|
+
# [Output Only] A human-readable description of the warning code.
|
5757
6163
|
# Corresponds to the JSON property `message`
|
5758
6164
|
# @return [String]
|
5759
6165
|
attr_accessor :message
|
@@ -5773,7 +6179,13 @@ module Google
|
|
5773
6179
|
class Datum
|
5774
6180
|
include Google::Apis::Core::Hashable
|
5775
6181
|
|
5776
|
-
# [Output Only] A key
|
6182
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
6183
|
+
# For example, for warnings where there are no results in a list request for a
|
6184
|
+
# particular zone, this key might be scope and the key value might be the zone
|
6185
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
6186
|
+
# suggested replacement, or a warning about invalid network settings (for
|
6187
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
6188
|
+
# for IP forwarding).
|
5777
6189
|
# Corresponds to the JSON property `key`
|
5778
6190
|
# @return [String]
|
5779
6191
|
attr_accessor :key
|
@@ -5815,12 +6227,16 @@ module Google
|
|
5815
6227
|
# @return [String]
|
5816
6228
|
attr_accessor :kind
|
5817
6229
|
|
5818
|
-
# [Output Only]
|
6230
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6231
|
+
# requests. If the number of results is larger than maxResults, use the
|
6232
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6233
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6234
|
+
# continue paging through the results.
|
5819
6235
|
# Corresponds to the JSON property `nextPageToken`
|
5820
6236
|
# @return [String]
|
5821
6237
|
attr_accessor :next_page_token
|
5822
6238
|
|
5823
|
-
# [Output Only] Server
|
6239
|
+
# [Output Only] Server-defined URL for this resource.
|
5824
6240
|
# Corresponds to the JSON property `selfLink`
|
5825
6241
|
# @return [String]
|
5826
6242
|
attr_accessor :self_link
|
@@ -5844,19 +6260,23 @@ module Google
|
|
5844
6260
|
include Google::Apis::Core::Hashable
|
5845
6261
|
|
5846
6262
|
# Specifies whether the instance should be automatically restarted if it is
|
5847
|
-
# terminated by Compute Engine (not terminated by a user).
|
6263
|
+
# terminated by Compute Engine (not terminated by a user). You can only set the
|
6264
|
+
# automatic restart option for standard instances. Preemptible instances cannot
|
6265
|
+
# be automatically restarted.
|
5848
6266
|
# Corresponds to the JSON property `automaticRestart`
|
5849
6267
|
# @return [Boolean]
|
5850
6268
|
attr_accessor :automatic_restart
|
5851
6269
|
alias_method :automatic_restart?, :automatic_restart
|
5852
6270
|
|
5853
|
-
# Defines the maintenance behavior for this instance.
|
5854
|
-
# MIGRATE. For
|
6271
|
+
# Defines the maintenance behavior for this instance. For standard instances,
|
6272
|
+
# the default behavior is MIGRATE. For preemptible instances, the default and
|
6273
|
+
# only possible behavior is TERMINATE. For more information, see Setting
|
6274
|
+
# maintenance behavior.
|
5855
6275
|
# Corresponds to the JSON property `onHostMaintenance`
|
5856
6276
|
# @return [String]
|
5857
6277
|
attr_accessor :on_host_maintenance
|
5858
6278
|
|
5859
|
-
# Whether the
|
6279
|
+
# Whether the instance is preemptible.
|
5860
6280
|
# Corresponds to the JSON property `preemptible`
|
5861
6281
|
# @return [Boolean]
|
5862
6282
|
attr_accessor :preemptible
|
@@ -5940,8 +6360,8 @@ module Google
|
|
5940
6360
|
# @return [String]
|
5941
6361
|
attr_accessor :creation_timestamp
|
5942
6362
|
|
5943
|
-
# An optional
|
5944
|
-
# the resource
|
6363
|
+
# An optional description of this resource. Provide this property when you
|
6364
|
+
# create the resource.
|
5945
6365
|
# Corresponds to the JSON property `description`
|
5946
6366
|
# @return [String]
|
5947
6367
|
attr_accessor :description
|
@@ -5951,7 +6371,8 @@ module Google
|
|
5951
6371
|
# @return [String]
|
5952
6372
|
attr_accessor :disk_size_gb
|
5953
6373
|
|
5954
|
-
# [Output Only]
|
6374
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6375
|
+
# defined by the server.
|
5955
6376
|
# Corresponds to the JSON property `id`
|
5956
6377
|
# @return [String]
|
5957
6378
|
attr_accessor :id
|
@@ -6038,7 +6459,8 @@ module Google
|
|
6038
6459
|
class SnapshotList
|
6039
6460
|
include Google::Apis::Core::Hashable
|
6040
6461
|
|
6041
|
-
#
|
6462
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6463
|
+
# defined by the server.
|
6042
6464
|
# Corresponds to the JSON property `id`
|
6043
6465
|
# @return [String]
|
6044
6466
|
attr_accessor :id
|
@@ -6053,12 +6475,137 @@ module Google
|
|
6053
6475
|
# @return [String]
|
6054
6476
|
attr_accessor :kind
|
6055
6477
|
|
6056
|
-
#
|
6478
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6479
|
+
# requests. If the number of results is larger than maxResults, use the
|
6480
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6481
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6482
|
+
# continue paging through the results.
|
6483
|
+
# Corresponds to the JSON property `nextPageToken`
|
6484
|
+
# @return [String]
|
6485
|
+
attr_accessor :next_page_token
|
6486
|
+
|
6487
|
+
# [Output Only] Server-defined URL for this resource.
|
6488
|
+
# Corresponds to the JSON property `selfLink`
|
6489
|
+
# @return [String]
|
6490
|
+
attr_accessor :self_link
|
6491
|
+
|
6492
|
+
def initialize(**args)
|
6493
|
+
update!(**args)
|
6494
|
+
end
|
6495
|
+
|
6496
|
+
# Update properties of this object
|
6497
|
+
def update!(**args)
|
6498
|
+
@id = args[:id] unless args[:id].nil?
|
6499
|
+
@items = args[:items] unless args[:items].nil?
|
6500
|
+
@kind = args[:kind] unless args[:kind].nil?
|
6501
|
+
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
6502
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
6503
|
+
end
|
6504
|
+
end
|
6505
|
+
|
6506
|
+
# An SslCertificate resource. This resource provides a mechanism to upload an
|
6507
|
+
# SSL key and certificate to global HTTPS loadbalancer to serve secure
|
6508
|
+
# connections.
|
6509
|
+
class SslCertificate
|
6510
|
+
include Google::Apis::Core::Hashable
|
6511
|
+
|
6512
|
+
# A local certificate file. The certificate must be in PEM format. The
|
6513
|
+
# certificate chain must be no greater than 5 certs long. The chain must include
|
6514
|
+
# at least one intermediate cert.
|
6515
|
+
# Corresponds to the JSON property `certificate`
|
6516
|
+
# @return [String]
|
6517
|
+
attr_accessor :certificate
|
6518
|
+
|
6519
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
6520
|
+
# Corresponds to the JSON property `creationTimestamp`
|
6521
|
+
# @return [String]
|
6522
|
+
attr_accessor :creation_timestamp
|
6523
|
+
|
6524
|
+
# An optional description of this resource. Provide this property when you
|
6525
|
+
# create the resource.
|
6526
|
+
# Corresponds to the JSON property `description`
|
6527
|
+
# @return [String]
|
6528
|
+
attr_accessor :description
|
6529
|
+
|
6530
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6531
|
+
# defined by the server.
|
6532
|
+
# Corresponds to the JSON property `id`
|
6533
|
+
# @return [String]
|
6534
|
+
attr_accessor :id
|
6535
|
+
|
6536
|
+
# [Output Only] Type of the resource. Always compute#sslCertificate for SSL
|
6537
|
+
# certificates.
|
6538
|
+
# Corresponds to the JSON property `kind`
|
6539
|
+
# @return [String]
|
6540
|
+
attr_accessor :kind
|
6541
|
+
|
6542
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
6543
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6544
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
6545
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
6546
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
6547
|
+
# except the last character, which cannot be a dash.
|
6548
|
+
# Corresponds to the JSON property `name`
|
6549
|
+
# @return [String]
|
6550
|
+
attr_accessor :name
|
6551
|
+
|
6552
|
+
# A write-only private key in PEM format. Only insert RPCs will include this
|
6553
|
+
# field.
|
6554
|
+
# Corresponds to the JSON property `privateKey`
|
6555
|
+
# @return [String]
|
6556
|
+
attr_accessor :private_key
|
6557
|
+
|
6558
|
+
# [Output only] Server-defined URL for the resource.
|
6559
|
+
# Corresponds to the JSON property `selfLink`
|
6560
|
+
# @return [String]
|
6561
|
+
attr_accessor :self_link
|
6562
|
+
|
6563
|
+
def initialize(**args)
|
6564
|
+
update!(**args)
|
6565
|
+
end
|
6566
|
+
|
6567
|
+
# Update properties of this object
|
6568
|
+
def update!(**args)
|
6569
|
+
@certificate = args[:certificate] unless args[:certificate].nil?
|
6570
|
+
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
6571
|
+
@description = args[:description] unless args[:description].nil?
|
6572
|
+
@id = args[:id] unless args[:id].nil?
|
6573
|
+
@kind = args[:kind] unless args[:kind].nil?
|
6574
|
+
@name = args[:name] unless args[:name].nil?
|
6575
|
+
@private_key = args[:private_key] unless args[:private_key].nil?
|
6576
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
6577
|
+
end
|
6578
|
+
end
|
6579
|
+
|
6580
|
+
# Contains a list of SslCertificate resources.
|
6581
|
+
class SslCertificateList
|
6582
|
+
include Google::Apis::Core::Hashable
|
6583
|
+
|
6584
|
+
# [Output Only] Unique identifier for the resource. Defined by the server.
|
6585
|
+
# Corresponds to the JSON property `id`
|
6586
|
+
# @return [String]
|
6587
|
+
attr_accessor :id
|
6588
|
+
|
6589
|
+
# A list of SslCertificate resources.
|
6590
|
+
# Corresponds to the JSON property `items`
|
6591
|
+
# @return [Array<Google::Apis::ComputeV1::SslCertificate>]
|
6592
|
+
attr_accessor :items
|
6593
|
+
|
6594
|
+
# Type of resource.
|
6595
|
+
# Corresponds to the JSON property `kind`
|
6596
|
+
# @return [String]
|
6597
|
+
attr_accessor :kind
|
6598
|
+
|
6599
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6600
|
+
# requests. If the number of results is larger than maxResults, use the
|
6601
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6602
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6603
|
+
# continue paging through the results.
|
6057
6604
|
# Corresponds to the JSON property `nextPageToken`
|
6058
6605
|
# @return [String]
|
6059
6606
|
attr_accessor :next_page_token
|
6060
6607
|
|
6061
|
-
# Server
|
6608
|
+
# [Output Only] Server-defined URL for this resource.
|
6062
6609
|
# Corresponds to the JSON property `selfLink`
|
6063
6610
|
# @return [String]
|
6064
6611
|
attr_accessor :self_link
|
@@ -6117,19 +6664,20 @@ module Google
|
|
6117
6664
|
# @return [String]
|
6118
6665
|
attr_accessor :creation_timestamp
|
6119
6666
|
|
6120
|
-
# An optional
|
6121
|
-
# the resource
|
6667
|
+
# An optional description of this resource. Provide this property when you
|
6668
|
+
# create the resource.
|
6122
6669
|
# Corresponds to the JSON property `description`
|
6123
6670
|
# @return [String]
|
6124
6671
|
attr_accessor :description
|
6125
6672
|
|
6126
|
-
# [Output Only]
|
6673
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6674
|
+
# defined by the server.
|
6127
6675
|
# Corresponds to the JSON property `id`
|
6128
6676
|
# @return [String]
|
6129
6677
|
attr_accessor :id
|
6130
6678
|
|
6131
|
-
# [Output Only] Type of resource. Always compute#
|
6132
|
-
#
|
6679
|
+
# [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP
|
6680
|
+
# proxies.
|
6133
6681
|
# Corresponds to the JSON property `kind`
|
6134
6682
|
# @return [String]
|
6135
6683
|
attr_accessor :kind
|
@@ -6144,7 +6692,7 @@ module Google
|
|
6144
6692
|
# @return [String]
|
6145
6693
|
attr_accessor :name
|
6146
6694
|
|
6147
|
-
# [Output Only] Server
|
6695
|
+
# [Output Only] Server-defined URL for the resource.
|
6148
6696
|
# Corresponds to the JSON property `selfLink`
|
6149
6697
|
# @return [String]
|
6150
6698
|
attr_accessor :self_link
|
@@ -6175,7 +6723,8 @@ module Google
|
|
6175
6723
|
class TargetHttpProxyList
|
6176
6724
|
include Google::Apis::Core::Hashable
|
6177
6725
|
|
6178
|
-
# [Output Only]
|
6726
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6727
|
+
# defined by the server.
|
6179
6728
|
# Corresponds to the JSON property `id`
|
6180
6729
|
# @return [String]
|
6181
6730
|
attr_accessor :id
|
@@ -6191,7 +6740,11 @@ module Google
|
|
6191
6740
|
# @return [String]
|
6192
6741
|
attr_accessor :kind
|
6193
6742
|
|
6194
|
-
# [Output Only]
|
6743
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6744
|
+
# requests. If the number of results is larger than maxResults, use the
|
6745
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6746
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6747
|
+
# continue paging through the results.
|
6195
6748
|
# Corresponds to the JSON property `nextPageToken`
|
6196
6749
|
# @return [String]
|
6197
6750
|
attr_accessor :next_page_token
|
@@ -6215,23 +6768,163 @@ module Google
|
|
6215
6768
|
end
|
6216
6769
|
end
|
6217
6770
|
|
6218
|
-
#
|
6771
|
+
#
|
6772
|
+
class TargetHttpsProxiesSetSslCertificatesRequest
|
6773
|
+
include Google::Apis::Core::Hashable
|
6774
|
+
|
6775
|
+
# New set of URLs to SslCertificate resources to associate with this
|
6776
|
+
# TargetHttpProxy. Currently exactly one ssl certificate must be specified.
|
6777
|
+
# Corresponds to the JSON property `sslCertificates`
|
6778
|
+
# @return [Array<String>]
|
6779
|
+
attr_accessor :ssl_certificates
|
6780
|
+
|
6781
|
+
def initialize(**args)
|
6782
|
+
update!(**args)
|
6783
|
+
end
|
6784
|
+
|
6785
|
+
# Update properties of this object
|
6786
|
+
def update!(**args)
|
6787
|
+
@ssl_certificates = args[:ssl_certificates] unless args[:ssl_certificates].nil?
|
6788
|
+
end
|
6789
|
+
end
|
6790
|
+
|
6791
|
+
# A TargetHttpsProxy resource. This resource defines an HTTPS proxy.
|
6792
|
+
class TargetHttpsProxy
|
6793
|
+
include Google::Apis::Core::Hashable
|
6794
|
+
|
6795
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
6796
|
+
# Corresponds to the JSON property `creationTimestamp`
|
6797
|
+
# @return [String]
|
6798
|
+
attr_accessor :creation_timestamp
|
6799
|
+
|
6800
|
+
# An optional description of this resource. Provide this property when you
|
6801
|
+
# create the resource.
|
6802
|
+
# Corresponds to the JSON property `description`
|
6803
|
+
# @return [String]
|
6804
|
+
attr_accessor :description
|
6805
|
+
|
6806
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6807
|
+
# defined by the server.
|
6808
|
+
# Corresponds to the JSON property `id`
|
6809
|
+
# @return [String]
|
6810
|
+
attr_accessor :id
|
6811
|
+
|
6812
|
+
# [Output Only] Type of the resource. Always compute#targetHttpsProxy for target
|
6813
|
+
# HTTPS proxies.
|
6814
|
+
# Corresponds to the JSON property `kind`
|
6815
|
+
# @return [String]
|
6816
|
+
attr_accessor :kind
|
6817
|
+
|
6818
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
6819
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6820
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
6821
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
6822
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
6823
|
+
# except the last character, which cannot be a dash.
|
6824
|
+
# Corresponds to the JSON property `name`
|
6825
|
+
# @return [String]
|
6826
|
+
attr_accessor :name
|
6827
|
+
|
6828
|
+
# [Output Only] Server-defined URL for the resource.
|
6829
|
+
# Corresponds to the JSON property `selfLink`
|
6830
|
+
# @return [String]
|
6831
|
+
attr_accessor :self_link
|
6832
|
+
|
6833
|
+
# URLs to SslCertificate resources that are used to authenticate connections to
|
6834
|
+
# Backends. Currently exactly one SSL certificate must be specified.
|
6835
|
+
# Corresponds to the JSON property `sslCertificates`
|
6836
|
+
# @return [Array<String>]
|
6837
|
+
attr_accessor :ssl_certificates
|
6838
|
+
|
6839
|
+
# URL to the UrlMap resource that defines the mapping from URL to the
|
6840
|
+
# BackendService.
|
6841
|
+
# Corresponds to the JSON property `urlMap`
|
6842
|
+
# @return [String]
|
6843
|
+
attr_accessor :url_map
|
6844
|
+
|
6845
|
+
def initialize(**args)
|
6846
|
+
update!(**args)
|
6847
|
+
end
|
6848
|
+
|
6849
|
+
# Update properties of this object
|
6850
|
+
def update!(**args)
|
6851
|
+
@creation_timestamp = args[:creation_timestamp] unless args[:creation_timestamp].nil?
|
6852
|
+
@description = args[:description] unless args[:description].nil?
|
6853
|
+
@id = args[:id] unless args[:id].nil?
|
6854
|
+
@kind = args[:kind] unless args[:kind].nil?
|
6855
|
+
@name = args[:name] unless args[:name].nil?
|
6856
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
6857
|
+
@ssl_certificates = args[:ssl_certificates] unless args[:ssl_certificates].nil?
|
6858
|
+
@url_map = args[:url_map] unless args[:url_map].nil?
|
6859
|
+
end
|
6860
|
+
end
|
6861
|
+
|
6862
|
+
# Contains a list of TargetHttpsProxy resources.
|
6863
|
+
class TargetHttpsProxyList
|
6864
|
+
include Google::Apis::Core::Hashable
|
6865
|
+
|
6866
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6867
|
+
# defined by the server.
|
6868
|
+
# Corresponds to the JSON property `id`
|
6869
|
+
# @return [String]
|
6870
|
+
attr_accessor :id
|
6871
|
+
|
6872
|
+
# A list of TargetHttpsProxy resources.
|
6873
|
+
# Corresponds to the JSON property `items`
|
6874
|
+
# @return [Array<Google::Apis::ComputeV1::TargetHttpsProxy>]
|
6875
|
+
attr_accessor :items
|
6876
|
+
|
6877
|
+
# Type of resource.
|
6878
|
+
# Corresponds to the JSON property `kind`
|
6879
|
+
# @return [String]
|
6880
|
+
attr_accessor :kind
|
6881
|
+
|
6882
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6883
|
+
# requests. If the number of results is larger than maxResults, use the
|
6884
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6885
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6886
|
+
# continue paging through the results.
|
6887
|
+
# Corresponds to the JSON property `nextPageToken`
|
6888
|
+
# @return [String]
|
6889
|
+
attr_accessor :next_page_token
|
6890
|
+
|
6891
|
+
# [Output Only] Server-defined URL for this resource.
|
6892
|
+
# Corresponds to the JSON property `selfLink`
|
6893
|
+
# @return [String]
|
6894
|
+
attr_accessor :self_link
|
6895
|
+
|
6896
|
+
def initialize(**args)
|
6897
|
+
update!(**args)
|
6898
|
+
end
|
6899
|
+
|
6900
|
+
# Update properties of this object
|
6901
|
+
def update!(**args)
|
6902
|
+
@id = args[:id] unless args[:id].nil?
|
6903
|
+
@items = args[:items] unless args[:items].nil?
|
6904
|
+
@kind = args[:kind] unless args[:kind].nil?
|
6905
|
+
@next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
|
6906
|
+
@self_link = args[:self_link] unless args[:self_link].nil?
|
6907
|
+
end
|
6908
|
+
end
|
6909
|
+
|
6910
|
+
# A TargetInstance resource. This resource defines an endpoint instance that
|
6219
6911
|
# terminates traffic of certain protocols.
|
6220
6912
|
class TargetInstance
|
6221
6913
|
include Google::Apis::Core::Hashable
|
6222
6914
|
|
6223
|
-
# Creation timestamp in RFC3339 text format
|
6915
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
6224
6916
|
# Corresponds to the JSON property `creationTimestamp`
|
6225
6917
|
# @return [String]
|
6226
6918
|
attr_accessor :creation_timestamp
|
6227
6919
|
|
6228
|
-
# An optional
|
6229
|
-
# the resource
|
6920
|
+
# An optional description of this resource. Provide this property when you
|
6921
|
+
# create the resource.
|
6230
6922
|
# Corresponds to the JSON property `description`
|
6231
6923
|
# @return [String]
|
6232
6924
|
attr_accessor :description
|
6233
6925
|
|
6234
|
-
#
|
6926
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6927
|
+
# defined by the server.
|
6235
6928
|
# Corresponds to the JSON property `id`
|
6236
6929
|
# @return [String]
|
6237
6930
|
attr_accessor :id
|
@@ -6241,29 +6934,34 @@ module Google
|
|
6241
6934
|
# @return [String]
|
6242
6935
|
attr_accessor :instance
|
6243
6936
|
|
6244
|
-
#
|
6937
|
+
# [Output Only] The type of the resource. Always compute#targetInstance for
|
6938
|
+
# target instances.
|
6245
6939
|
# Corresponds to the JSON property `kind`
|
6246
6940
|
# @return [String]
|
6247
6941
|
attr_accessor :kind
|
6248
6942
|
|
6249
|
-
# Name of the resource
|
6250
|
-
# name must be 1-63 characters long, and comply with RFC1035.
|
6943
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
6944
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6945
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
6946
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
6947
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
6948
|
+
# except the last character, which cannot be a dash.
|
6251
6949
|
# Corresponds to the JSON property `name`
|
6252
6950
|
# @return [String]
|
6253
6951
|
attr_accessor :name
|
6254
6952
|
|
6255
|
-
# NAT option controlling how IPs are NAT'ed to the
|
6256
|
-
# default value) is supported.
|
6953
|
+
# NAT option controlling how IPs are NAT'ed to the instance. Currently only
|
6954
|
+
# NO_NAT (default value) is supported.
|
6257
6955
|
# Corresponds to the JSON property `natPolicy`
|
6258
6956
|
# @return [String]
|
6259
6957
|
attr_accessor :nat_policy
|
6260
6958
|
|
6261
|
-
# Server
|
6959
|
+
# [Output Only] Server-defined URL for the resource.
|
6262
6960
|
# Corresponds to the JSON property `selfLink`
|
6263
6961
|
# @return [String]
|
6264
6962
|
attr_accessor :self_link
|
6265
6963
|
|
6266
|
-
# URL of the zone where the target instance resides
|
6964
|
+
# [Output Only] URL of the zone where the target instance resides.
|
6267
6965
|
# Corresponds to the JSON property `zone`
|
6268
6966
|
# @return [String]
|
6269
6967
|
attr_accessor :zone
|
@@ -6290,7 +6988,7 @@ module Google
|
|
6290
6988
|
class TargetInstanceAggregatedList
|
6291
6989
|
include Google::Apis::Core::Hashable
|
6292
6990
|
|
6293
|
-
# Unique identifier for the resource; defined by the server
|
6991
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
6294
6992
|
# Corresponds to the JSON property `id`
|
6295
6993
|
# @return [String]
|
6296
6994
|
attr_accessor :id
|
@@ -6305,12 +7003,16 @@ module Google
|
|
6305
7003
|
# @return [String]
|
6306
7004
|
attr_accessor :kind
|
6307
7005
|
|
6308
|
-
#
|
7006
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7007
|
+
# requests. If the number of results is larger than maxResults, use the
|
7008
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7009
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7010
|
+
# continue paging through the results.
|
6309
7011
|
# Corresponds to the JSON property `nextPageToken`
|
6310
7012
|
# @return [String]
|
6311
7013
|
attr_accessor :next_page_token
|
6312
7014
|
|
6313
|
-
# Server
|
7015
|
+
# [Output Only] Server-defined URL for this resource.
|
6314
7016
|
# Corresponds to the JSON property `selfLink`
|
6315
7017
|
# @return [String]
|
6316
7018
|
attr_accessor :self_link
|
@@ -6333,7 +7035,8 @@ module Google
|
|
6333
7035
|
class TargetInstanceList
|
6334
7036
|
include Google::Apis::Core::Hashable
|
6335
7037
|
|
6336
|
-
#
|
7038
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7039
|
+
# defined by the server.
|
6337
7040
|
# Corresponds to the JSON property `id`
|
6338
7041
|
# @return [String]
|
6339
7042
|
attr_accessor :id
|
@@ -6348,12 +7051,16 @@ module Google
|
|
6348
7051
|
# @return [String]
|
6349
7052
|
attr_accessor :kind
|
6350
7053
|
|
6351
|
-
#
|
7054
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7055
|
+
# requests. If the number of results is larger than maxResults, use the
|
7056
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7057
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7058
|
+
# continue paging through the results.
|
6352
7059
|
# Corresponds to the JSON property `nextPageToken`
|
6353
7060
|
# @return [String]
|
6354
7061
|
attr_accessor :next_page_token
|
6355
7062
|
|
6356
|
-
# Server
|
7063
|
+
# [Output Only] Server-defined URL for this resource.
|
6357
7064
|
# Corresponds to the JSON property `selfLink`
|
6358
7065
|
# @return [String]
|
6359
7066
|
attr_accessor :self_link
|
@@ -6402,17 +7109,19 @@ module Google
|
|
6402
7109
|
class Warning
|
6403
7110
|
include Google::Apis::Core::Hashable
|
6404
7111
|
|
6405
|
-
# [Output Only]
|
7112
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
7113
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
6406
7114
|
# Corresponds to the JSON property `code`
|
6407
7115
|
# @return [String]
|
6408
7116
|
attr_accessor :code
|
6409
7117
|
|
6410
|
-
# [Output Only] Metadata
|
7118
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
7119
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
6411
7120
|
# Corresponds to the JSON property `data`
|
6412
7121
|
# @return [Array<Google::Apis::ComputeV1::TargetInstancesScopedList::Warning::Datum>]
|
6413
7122
|
attr_accessor :data
|
6414
7123
|
|
6415
|
-
# [Output Only]
|
7124
|
+
# [Output Only] A human-readable description of the warning code.
|
6416
7125
|
# Corresponds to the JSON property `message`
|
6417
7126
|
# @return [String]
|
6418
7127
|
attr_accessor :message
|
@@ -6432,7 +7141,13 @@ module Google
|
|
6432
7141
|
class Datum
|
6433
7142
|
include Google::Apis::Core::Hashable
|
6434
7143
|
|
6435
|
-
# [Output Only] A key
|
7144
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
7145
|
+
# For example, for warnings where there are no results in a list request for a
|
7146
|
+
# particular zone, this key might be scope and the key value might be the zone
|
7147
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
7148
|
+
# suggested replacement, or a warning about invalid network settings (for
|
7149
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7150
|
+
# for IP forwarding).
|
6436
7151
|
# Corresponds to the JSON property `key`
|
6437
7152
|
# @return [String]
|
6438
7153
|
attr_accessor :key
|
@@ -6455,33 +7170,34 @@ module Google
|
|
6455
7170
|
end
|
6456
7171
|
end
|
6457
7172
|
|
6458
|
-
# A TargetPool resource. This resource defines a pool of
|
7173
|
+
# A TargetPool resource. This resource defines a pool of instances, associated
|
6459
7174
|
# HttpHealthCheck resources, and the fallback TargetPool.
|
6460
7175
|
class TargetPool
|
6461
7176
|
include Google::Apis::Core::Hashable
|
6462
7177
|
|
6463
7178
|
# This field is applicable only when the containing target pool is serving a
|
6464
|
-
# forwarding rule as the primary pool, and its
|
7179
|
+
# forwarding rule as the primary pool, and its failoverRatio field is properly
|
6465
7180
|
# set to a value between [0, 1].
|
6466
|
-
#
|
6467
|
-
# primary target pool: if the ratio of the healthy
|
6468
|
-
# or below
|
7181
|
+
# backupPool and failoverRatio together define the fallback behavior of the
|
7182
|
+
# primary target pool: if the ratio of the healthy instances in the primary pool
|
7183
|
+
# is at or below failoverRatio, traffic arriving at the load-balanced IP will be
|
6469
7184
|
# directed to the backup pool.
|
6470
|
-
# In case where
|
6471
|
-
# the backup pool are unhealthy, the traffic will be directed back to the
|
7185
|
+
# In case where failoverRatio and backupPool are not set, or all the instances
|
7186
|
+
# in the backup pool are unhealthy, the traffic will be directed back to the
|
6472
7187
|
# primary pool in the "force" mode, where traffic will be spread to the healthy
|
6473
|
-
#
|
7188
|
+
# instances with the best effort, or to all instances when no instance is
|
7189
|
+
# healthy.
|
6474
7190
|
# Corresponds to the JSON property `backupPool`
|
6475
7191
|
# @return [String]
|
6476
7192
|
attr_accessor :backup_pool
|
6477
7193
|
|
6478
|
-
# Creation timestamp in RFC3339 text format
|
7194
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
6479
7195
|
# Corresponds to the JSON property `creationTimestamp`
|
6480
7196
|
# @return [String]
|
6481
7197
|
attr_accessor :creation_timestamp
|
6482
7198
|
|
6483
|
-
# An optional
|
6484
|
-
# the resource
|
7199
|
+
# An optional description of this resource. Provide this property when you
|
7200
|
+
# create the resource.
|
6485
7201
|
# Corresponds to the JSON property `description`
|
6486
7202
|
# @return [String]
|
6487
7203
|
attr_accessor :description
|
@@ -6489,63 +7205,68 @@ module Google
|
|
6489
7205
|
# This field is applicable only when the containing target pool is serving a
|
6490
7206
|
# forwarding rule as the primary pool (i.e., not as a backup pool to some other
|
6491
7207
|
# target pool). The value of the field must be in [0, 1].
|
6492
|
-
# If set,
|
6493
|
-
# behavior of the primary target pool: if the ratio of the healthy
|
6494
|
-
# primary pool is at or below this number, traffic arriving at the load-
|
6495
|
-
# IP will be directed to the backup pool.
|
6496
|
-
# In case where
|
6497
|
-
# unhealthy, the traffic will be directed back to the primary pool in the "
|
6498
|
-
# mode, where traffic will be spread to the healthy
|
6499
|
-
# or to all
|
7208
|
+
# If set, backupPool must also be set. They together define the fallback
|
7209
|
+
# behavior of the primary target pool: if the ratio of the healthy instances in
|
7210
|
+
# the primary pool is at or below this number, traffic arriving at the load-
|
7211
|
+
# balanced IP will be directed to the backup pool.
|
7212
|
+
# In case where failoverRatio is not set or all the instances in the backup pool
|
7213
|
+
# are unhealthy, the traffic will be directed back to the primary pool in the "
|
7214
|
+
# force" mode, where traffic will be spread to the healthy instances with the
|
7215
|
+
# best effort, or to all instances when no instance is healthy.
|
6500
7216
|
# Corresponds to the JSON property `failoverRatio`
|
6501
7217
|
# @return [Float]
|
6502
7218
|
attr_accessor :failover_ratio
|
6503
7219
|
|
6504
|
-
# A list of URLs to the HttpHealthCheck resource. A member
|
6505
|
-
# considered healthy if and only if all specified health checks pass. An
|
6506
|
-
# list means all member
|
7220
|
+
# A list of URLs to the HttpHealthCheck resource. A member instance in this pool
|
7221
|
+
# is considered healthy if and only if all specified health checks pass. An
|
7222
|
+
# empty list means all member instances will be considered healthy at all times.
|
6507
7223
|
# Corresponds to the JSON property `healthChecks`
|
6508
7224
|
# @return [Array<String>]
|
6509
7225
|
attr_accessor :health_checks
|
6510
7226
|
|
6511
|
-
#
|
7227
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7228
|
+
# defined by the server.
|
6512
7229
|
# Corresponds to the JSON property `id`
|
6513
7230
|
# @return [String]
|
6514
7231
|
attr_accessor :id
|
6515
7232
|
|
6516
|
-
# A list of resource URLs to the member
|
6517
|
-
# zones contained in the same region as this pool.
|
7233
|
+
# A list of resource URLs to the member virtual machines serving this pool. They
|
7234
|
+
# must live in zones contained in the same region as this pool.
|
6518
7235
|
# Corresponds to the JSON property `instances`
|
6519
7236
|
# @return [Array<String>]
|
6520
7237
|
attr_accessor :instances
|
6521
7238
|
|
6522
|
-
# Type of the resource.
|
7239
|
+
# [Output Only] Type of the resource. Always compute#targetPool for target pools.
|
6523
7240
|
# Corresponds to the JSON property `kind`
|
6524
7241
|
# @return [String]
|
6525
7242
|
attr_accessor :kind
|
6526
7243
|
|
6527
|
-
# Name of the resource
|
6528
|
-
# name must be 1-63 characters long, and comply with RFC1035.
|
7244
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
7245
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
7246
|
+
# name must be 1-63 characters long and match the regular expression [a-z]([-a-
|
7247
|
+
# z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
|
7248
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
7249
|
+
# except the last character, which cannot be a dash.
|
6529
7250
|
# Corresponds to the JSON property `name`
|
6530
7251
|
# @return [String]
|
6531
7252
|
attr_accessor :name
|
6532
7253
|
|
6533
|
-
# URL of the region where the target pool resides
|
7254
|
+
# [Output Only] URL of the region where the target pool resides.
|
6534
7255
|
# Corresponds to the JSON property `region`
|
6535
7256
|
# @return [String]
|
6536
7257
|
attr_accessor :region
|
6537
7258
|
|
6538
|
-
# Server
|
7259
|
+
# [Output Only] Server-defined URL for the resource.
|
6539
7260
|
# Corresponds to the JSON property `selfLink`
|
6540
7261
|
# @return [String]
|
6541
7262
|
attr_accessor :self_link
|
6542
7263
|
|
6543
|
-
# Sesssion affinity option, must be one of the following values:
|
6544
|
-
# Connections from the same client IP may go to any
|
6545
|
-
# Connections from the same client IP will go to the same
|
6546
|
-
# that
|
6547
|
-
#
|
6548
|
-
# remains healthy.
|
7264
|
+
# Sesssion affinity option, must be one of the following values:
|
7265
|
+
# NONE: Connections from the same client IP may go to any instance in the pool.
|
7266
|
+
# CLIENT_IP: Connections from the same client IP will go to the same instance in
|
7267
|
+
# the pool while that instance remains healthy.
|
7268
|
+
# CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol
|
7269
|
+
# will go to the same instance in the pool while that instance remains healthy.
|
6549
7270
|
# Corresponds to the JSON property `sessionAffinity`
|
6550
7271
|
# @return [String]
|
6551
7272
|
attr_accessor :session_affinity
|
@@ -6575,7 +7296,7 @@ module Google
|
|
6575
7296
|
class TargetPoolAggregatedList
|
6576
7297
|
include Google::Apis::Core::Hashable
|
6577
7298
|
|
6578
|
-
# Unique identifier for the resource
|
7299
|
+
# [Output Only] Unique identifier for the resource. Defined by the server.
|
6579
7300
|
# Corresponds to the JSON property `id`
|
6580
7301
|
# @return [String]
|
6581
7302
|
attr_accessor :id
|
@@ -6590,12 +7311,16 @@ module Google
|
|
6590
7311
|
# @return [String]
|
6591
7312
|
attr_accessor :kind
|
6592
7313
|
|
6593
|
-
#
|
7314
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7315
|
+
# requests. If the number of results is larger than maxResults, use the
|
7316
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7317
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7318
|
+
# continue paging through the results.
|
6594
7319
|
# Corresponds to the JSON property `nextPageToken`
|
6595
7320
|
# @return [String]
|
6596
7321
|
attr_accessor :next_page_token
|
6597
7322
|
|
6598
|
-
# Server
|
7323
|
+
# [Output Only] Server-defined URL for this resource.
|
6599
7324
|
# Corresponds to the JSON property `selfLink`
|
6600
7325
|
# @return [String]
|
6601
7326
|
attr_accessor :self_link
|
@@ -6643,7 +7368,7 @@ module Google
|
|
6643
7368
|
class TargetPoolList
|
6644
7369
|
include Google::Apis::Core::Hashable
|
6645
7370
|
|
6646
|
-
# Unique identifier for the resource
|
7371
|
+
# [Output Only] Unique identifier for the resource. Defined by the server.
|
6647
7372
|
# Corresponds to the JSON property `id`
|
6648
7373
|
# @return [String]
|
6649
7374
|
attr_accessor :id
|
@@ -6658,12 +7383,16 @@ module Google
|
|
6658
7383
|
# @return [String]
|
6659
7384
|
attr_accessor :kind
|
6660
7385
|
|
6661
|
-
#
|
7386
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7387
|
+
# requests. If the number of results is larger than maxResults, use the
|
7388
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7389
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7390
|
+
# continue paging through the results.
|
6662
7391
|
# Corresponds to the JSON property `nextPageToken`
|
6663
7392
|
# @return [String]
|
6664
7393
|
attr_accessor :next_page_token
|
6665
7394
|
|
6666
|
-
# Server
|
7395
|
+
# [Output Only] Server-defined URL for this resource.
|
6667
7396
|
# Corresponds to the JSON property `selfLink`
|
6668
7397
|
# @return [String]
|
6669
7398
|
attr_accessor :self_link
|
@@ -6788,17 +7517,19 @@ module Google
|
|
6788
7517
|
class Warning
|
6789
7518
|
include Google::Apis::Core::Hashable
|
6790
7519
|
|
6791
|
-
# [Output Only]
|
7520
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
7521
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
6792
7522
|
# Corresponds to the JSON property `code`
|
6793
7523
|
# @return [String]
|
6794
7524
|
attr_accessor :code
|
6795
7525
|
|
6796
|
-
# [Output Only] Metadata
|
7526
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
7527
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
6797
7528
|
# Corresponds to the JSON property `data`
|
6798
7529
|
# @return [Array<Google::Apis::ComputeV1::TargetPoolsScopedList::Warning::Datum>]
|
6799
7530
|
attr_accessor :data
|
6800
7531
|
|
6801
|
-
# [Output Only]
|
7532
|
+
# [Output Only] A human-readable description of the warning code.
|
6802
7533
|
# Corresponds to the JSON property `message`
|
6803
7534
|
# @return [String]
|
6804
7535
|
attr_accessor :message
|
@@ -6818,7 +7549,13 @@ module Google
|
|
6818
7549
|
class Datum
|
6819
7550
|
include Google::Apis::Core::Hashable
|
6820
7551
|
|
6821
|
-
# [Output Only] A key
|
7552
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
7553
|
+
# For example, for warnings where there are no results in a list request for a
|
7554
|
+
# particular zone, this key might be scope and the key value might be the zone
|
7555
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
7556
|
+
# suggested replacement, or a warning about invalid network settings (for
|
7557
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7558
|
+
# for IP forwarding).
|
6822
7559
|
# Corresponds to the JSON property `key`
|
6823
7560
|
# @return [String]
|
6824
7561
|
attr_accessor :key
|
@@ -6869,8 +7606,8 @@ module Google
|
|
6869
7606
|
# @return [String]
|
6870
7607
|
attr_accessor :creation_timestamp
|
6871
7608
|
|
6872
|
-
# An optional
|
6873
|
-
# the resource
|
7609
|
+
# An optional description of this resource. Provide this property when you
|
7610
|
+
# create the resource.
|
6874
7611
|
# Corresponds to the JSON property `description`
|
6875
7612
|
# @return [String]
|
6876
7613
|
attr_accessor :description
|
@@ -6882,7 +7619,8 @@ module Google
|
|
6882
7619
|
# @return [Array<String>]
|
6883
7620
|
attr_accessor :forwarding_rules
|
6884
7621
|
|
6885
|
-
# [Output Only]
|
7622
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7623
|
+
# defined by the server.
|
6886
7624
|
# Corresponds to the JSON property `id`
|
6887
7625
|
# @return [String]
|
6888
7626
|
attr_accessor :id
|
@@ -6954,7 +7692,8 @@ module Google
|
|
6954
7692
|
class TargetVpnGatewayAggregatedList
|
6955
7693
|
include Google::Apis::Core::Hashable
|
6956
7694
|
|
6957
|
-
# [Output Only]
|
7695
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7696
|
+
# defined by the server.
|
6958
7697
|
# Corresponds to the JSON property `id`
|
6959
7698
|
# @return [String]
|
6960
7699
|
attr_accessor :id
|
@@ -6970,7 +7709,11 @@ module Google
|
|
6970
7709
|
# @return [String]
|
6971
7710
|
attr_accessor :kind
|
6972
7711
|
|
6973
|
-
# [Output Only]
|
7712
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7713
|
+
# requests. If the number of results is larger than maxResults, use the
|
7714
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7715
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7716
|
+
# continue paging through the results.
|
6974
7717
|
# Corresponds to the JSON property `nextPageToken`
|
6975
7718
|
# @return [String]
|
6976
7719
|
attr_accessor :next_page_token
|
@@ -6998,7 +7741,8 @@ module Google
|
|
6998
7741
|
class TargetVpnGatewayList
|
6999
7742
|
include Google::Apis::Core::Hashable
|
7000
7743
|
|
7001
|
-
# [Output Only]
|
7744
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7745
|
+
# defined by the server.
|
7002
7746
|
# Corresponds to the JSON property `id`
|
7003
7747
|
# @return [String]
|
7004
7748
|
attr_accessor :id
|
@@ -7014,7 +7758,11 @@ module Google
|
|
7014
7758
|
# @return [String]
|
7015
7759
|
attr_accessor :kind
|
7016
7760
|
|
7017
|
-
# [Output Only]
|
7761
|
+
# [Output Only] This token allows you to get the next page of results for list
|
7762
|
+
# requests. If the number of results is larger than maxResults, use the
|
7763
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
7764
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
7765
|
+
# continue paging through the results.
|
7018
7766
|
# Corresponds to the JSON property `nextPageToken`
|
7019
7767
|
# @return [String]
|
7020
7768
|
attr_accessor :next_page_token
|
@@ -7068,17 +7816,19 @@ module Google
|
|
7068
7816
|
class Warning
|
7069
7817
|
include Google::Apis::Core::Hashable
|
7070
7818
|
|
7071
|
-
# [Output Only]
|
7819
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
7820
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
7072
7821
|
# Corresponds to the JSON property `code`
|
7073
7822
|
# @return [String]
|
7074
7823
|
attr_accessor :code
|
7075
7824
|
|
7076
|
-
# [Output Only] Metadata
|
7825
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
7826
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
7077
7827
|
# Corresponds to the JSON property `data`
|
7078
7828
|
# @return [Array<Google::Apis::ComputeV1::TargetVpnGatewaysScopedList::Warning::Datum>]
|
7079
7829
|
attr_accessor :data
|
7080
7830
|
|
7081
|
-
# [Output Only]
|
7831
|
+
# [Output Only] A human-readable description of the warning code.
|
7082
7832
|
# Corresponds to the JSON property `message`
|
7083
7833
|
# @return [String]
|
7084
7834
|
attr_accessor :message
|
@@ -7098,7 +7848,13 @@ module Google
|
|
7098
7848
|
class Datum
|
7099
7849
|
include Google::Apis::Core::Hashable
|
7100
7850
|
|
7101
|
-
# [Output Only] A key
|
7851
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
7852
|
+
# For example, for warnings where there are no results in a list request for a
|
7853
|
+
# particular zone, this key might be scope and the key value might be the zone
|
7854
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
7855
|
+
# suggested replacement, or a warning about invalid network settings (for
|
7856
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
7857
|
+
# for IP forwarding).
|
7102
7858
|
# Corresponds to the JSON property `key`
|
7103
7859
|
# @return [String]
|
7104
7860
|
attr_accessor :key
|
@@ -7174,8 +7930,8 @@ module Google
|
|
7174
7930
|
# @return [String]
|
7175
7931
|
attr_accessor :default_service
|
7176
7932
|
|
7177
|
-
# An optional
|
7178
|
-
# the resource
|
7933
|
+
# An optional description of this resource. Provide this property when you
|
7934
|
+
# create the resource.
|
7179
7935
|
# Corresponds to the JSON property `description`
|
7180
7936
|
# @return [String]
|
7181
7937
|
attr_accessor :description
|
@@ -7193,12 +7949,13 @@ module Google
|
|
7193
7949
|
# @return [Array<Google::Apis::ComputeV1::HostRule>]
|
7194
7950
|
attr_accessor :host_rules
|
7195
7951
|
|
7196
|
-
# [Output Only]
|
7952
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
7953
|
+
# defined by the server.
|
7197
7954
|
# Corresponds to the JSON property `id`
|
7198
7955
|
# @return [String]
|
7199
7956
|
attr_accessor :id
|
7200
7957
|
|
7201
|
-
# Type of the resource.
|
7958
|
+
# [Output Only] Type of the resource. Always compute#urlMaps for url maps.
|
7202
7959
|
# Corresponds to the JSON property `kind`
|
7203
7960
|
# @return [String]
|
7204
7961
|
attr_accessor :kind
|
@@ -7218,7 +7975,7 @@ module Google
|
|
7218
7975
|
# @return [Array<Google::Apis::ComputeV1::PathMatcher>]
|
7219
7976
|
attr_accessor :path_matchers
|
7220
7977
|
|
7221
|
-
# [Output Only] Server
|
7978
|
+
# [Output Only] Server-defined URL for the resource.
|
7222
7979
|
# Corresponds to the JSON property `selfLink`
|
7223
7980
|
# @return [String]
|
7224
7981
|
attr_accessor :self_link
|
@@ -7268,12 +8025,16 @@ module Google
|
|
7268
8025
|
# @return [String]
|
7269
8026
|
attr_accessor :kind
|
7270
8027
|
|
7271
|
-
# [Output Only]
|
8028
|
+
# [Output Only] This token allows you to get the next page of results for list
|
8029
|
+
# requests. If the number of results is larger than maxResults, use the
|
8030
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
8031
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
8032
|
+
# continue paging through the results.
|
7272
8033
|
# Corresponds to the JSON property `nextPageToken`
|
7273
8034
|
# @return [String]
|
7274
8035
|
attr_accessor :next_page_token
|
7275
8036
|
|
7276
|
-
# [Output Only] Server
|
8037
|
+
# [Output Only] Server-defined URL for this resource.
|
7277
8038
|
# Corresponds to the JSON property `selfLink`
|
7278
8039
|
# @return [String]
|
7279
8040
|
attr_accessor :self_link
|
@@ -7471,8 +8232,8 @@ module Google
|
|
7471
8232
|
# @return [String]
|
7472
8233
|
attr_accessor :creation_timestamp
|
7473
8234
|
|
7474
|
-
# An optional
|
7475
|
-
# the resource
|
8235
|
+
# An optional description of this resource. Provide this property when you
|
8236
|
+
# create the resource.
|
7476
8237
|
# Corresponds to the JSON property `description`
|
7477
8238
|
# @return [String]
|
7478
8239
|
attr_accessor :description
|
@@ -7482,7 +8243,8 @@ module Google
|
|
7482
8243
|
# @return [String]
|
7483
8244
|
attr_accessor :detailed_status
|
7484
8245
|
|
7485
|
-
# [Output Only]
|
8246
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
8247
|
+
# defined by the server.
|
7486
8248
|
# Corresponds to the JSON property `id`
|
7487
8249
|
# @return [String]
|
7488
8250
|
attr_accessor :id
|
@@ -7518,7 +8280,7 @@ module Google
|
|
7518
8280
|
# @return [String]
|
7519
8281
|
attr_accessor :region
|
7520
8282
|
|
7521
|
-
# [Output Only] Server
|
8283
|
+
# [Output Only] Server-defined URL for the resource.
|
7522
8284
|
# Corresponds to the JSON property `selfLink`
|
7523
8285
|
# @return [String]
|
7524
8286
|
attr_accessor :self_link
|
@@ -7572,7 +8334,8 @@ module Google
|
|
7572
8334
|
class VpnTunnelAggregatedList
|
7573
8335
|
include Google::Apis::Core::Hashable
|
7574
8336
|
|
7575
|
-
# [Output Only]
|
8337
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
8338
|
+
# defined by the server.
|
7576
8339
|
# Corresponds to the JSON property `id`
|
7577
8340
|
# @return [String]
|
7578
8341
|
attr_accessor :id
|
@@ -7587,12 +8350,16 @@ module Google
|
|
7587
8350
|
# @return [String]
|
7588
8351
|
attr_accessor :kind
|
7589
8352
|
|
7590
|
-
# [Output Only]
|
8353
|
+
# [Output Only] This token allows you to get the next page of results for list
|
8354
|
+
# requests. If the number of results is larger than maxResults, use the
|
8355
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
8356
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
8357
|
+
# continue paging through the results.
|
7591
8358
|
# Corresponds to the JSON property `nextPageToken`
|
7592
8359
|
# @return [String]
|
7593
8360
|
attr_accessor :next_page_token
|
7594
8361
|
|
7595
|
-
# [Output Only] Server
|
8362
|
+
# [Output Only] Server-defined URL for this resource.
|
7596
8363
|
# Corresponds to the JSON property `selfLink`
|
7597
8364
|
# @return [String]
|
7598
8365
|
attr_accessor :self_link
|
@@ -7615,7 +8382,8 @@ module Google
|
|
7615
8382
|
class VpnTunnelList
|
7616
8383
|
include Google::Apis::Core::Hashable
|
7617
8384
|
|
7618
|
-
# [Output Only]
|
8385
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
8386
|
+
# defined by the server.
|
7619
8387
|
# Corresponds to the JSON property `id`
|
7620
8388
|
# @return [String]
|
7621
8389
|
attr_accessor :id
|
@@ -7630,7 +8398,11 @@ module Google
|
|
7630
8398
|
# @return [String]
|
7631
8399
|
attr_accessor :kind
|
7632
8400
|
|
7633
|
-
# [Output Only]
|
8401
|
+
# [Output Only] This token allows you to get the next page of results for list
|
8402
|
+
# requests. If the number of results is larger than maxResults, use the
|
8403
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
8404
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
8405
|
+
# continue paging through the results.
|
7634
8406
|
# Corresponds to the JSON property `nextPageToken`
|
7635
8407
|
# @return [String]
|
7636
8408
|
attr_accessor :next_page_token
|
@@ -7684,17 +8456,19 @@ module Google
|
|
7684
8456
|
class Warning
|
7685
8457
|
include Google::Apis::Core::Hashable
|
7686
8458
|
|
7687
|
-
# [Output Only]
|
8459
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
8460
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
7688
8461
|
# Corresponds to the JSON property `code`
|
7689
8462
|
# @return [String]
|
7690
8463
|
attr_accessor :code
|
7691
8464
|
|
7692
|
-
# [Output Only] Metadata
|
8465
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
8466
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
7693
8467
|
# Corresponds to the JSON property `data`
|
7694
8468
|
# @return [Array<Google::Apis::ComputeV1::VpnTunnelsScopedList::Warning::Datum>]
|
7695
8469
|
attr_accessor :data
|
7696
8470
|
|
7697
|
-
# [Output Only]
|
8471
|
+
# [Output Only] A human-readable description of the warning code.
|
7698
8472
|
# Corresponds to the JSON property `message`
|
7699
8473
|
# @return [String]
|
7700
8474
|
attr_accessor :message
|
@@ -7714,7 +8488,13 @@ module Google
|
|
7714
8488
|
class Datum
|
7715
8489
|
include Google::Apis::Core::Hashable
|
7716
8490
|
|
7717
|
-
# [Output Only] A key
|
8491
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
8492
|
+
# For example, for warnings where there are no results in a list request for a
|
8493
|
+
# particular zone, this key might be scope and the key value might be the zone
|
8494
|
+
# name. Other examples might be a key indicating a deprecated resource, and a
|
8495
|
+
# suggested replacement, or a warning about invalid network settings (for
|
8496
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
8497
|
+
# for IP forwarding).
|
7718
8498
|
# Corresponds to the JSON property `key`
|
7719
8499
|
# @return [String]
|
7720
8500
|
attr_accessor :key
|
@@ -7756,12 +8536,13 @@ module Google
|
|
7756
8536
|
# @return [String]
|
7757
8537
|
attr_accessor :description
|
7758
8538
|
|
7759
|
-
# [Output Only]
|
8539
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
8540
|
+
# defined by the server.
|
7760
8541
|
# Corresponds to the JSON property `id`
|
7761
8542
|
# @return [String]
|
7762
8543
|
attr_accessor :id
|
7763
8544
|
|
7764
|
-
# [Output Only] Type of the resource. Always
|
8545
|
+
# [Output Only] Type of the resource. Always compute#zone for zones.
|
7765
8546
|
# Corresponds to the JSON property `kind`
|
7766
8547
|
# @return [String]
|
7767
8548
|
attr_accessor :kind
|
@@ -7783,7 +8564,7 @@ module Google
|
|
7783
8564
|
# @return [String]
|
7784
8565
|
attr_accessor :region
|
7785
8566
|
|
7786
|
-
# [Output Only] Server
|
8567
|
+
# [Output Only] Server-defined URL for the resource.
|
7787
8568
|
# Corresponds to the JSON property `selfLink`
|
7788
8569
|
# @return [String]
|
7789
8570
|
attr_accessor :self_link
|
@@ -7868,12 +8649,16 @@ module Google
|
|
7868
8649
|
# @return [String]
|
7869
8650
|
attr_accessor :kind
|
7870
8651
|
|
7871
|
-
# [Output Only]
|
8652
|
+
# [Output Only] This token allows you to get the next page of results for list
|
8653
|
+
# requests. If the number of results is larger than maxResults, use the
|
8654
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
8655
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
8656
|
+
# continue paging through the results.
|
7872
8657
|
# Corresponds to the JSON property `nextPageToken`
|
7873
8658
|
# @return [String]
|
7874
8659
|
attr_accessor :next_page_token
|
7875
8660
|
|
7876
|
-
# Server
|
8661
|
+
# [Output Only] Server-defined URL for this resource.
|
7877
8662
|
# Corresponds to the JSON property `selfLink`
|
7878
8663
|
# @return [String]
|
7879
8664
|
attr_accessor :self_link
|