google-apis-container_v1 0.43.0 → 0.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +233 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/container_v1/classes.rb +3463 -335
- data/lib/google/apis/container_v1/gem_version.rb +3 -3
- data/lib/google/apis/container_v1/representations.rb +1209 -41
- data/lib/google/apis/container_v1/service.rb +464 -215
- data/lib/google/apis/container_v1.rb +1 -1
- metadata +7 -10
@@ -31,8 +31,10 @@ module Google
|
|
31
31
|
# Container = Google::Apis::ContainerV1 # Alias the module
|
32
32
|
# service = Container::ContainerService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/
|
34
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/
|
35
35
|
class ContainerService < Google::Apis::Core::BaseService
|
36
|
+
DEFAULT_ENDPOINT_TEMPLATE = "https://container.$UNIVERSE_DOMAIN$/"
|
37
|
+
|
36
38
|
# @return [String]
|
37
39
|
# API key. Your API key identifies your project and provides you with API access,
|
38
40
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
@@ -44,7 +46,7 @@ module Google
|
|
44
46
|
attr_accessor :quota_user
|
45
47
|
|
46
48
|
def initialize
|
47
|
-
super(
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
48
50
|
client_name: 'google-apis-container_v1',
|
49
51
|
client_version: Google::Apis::ContainerV1::GEM_VERSION)
|
50
52
|
@batch_path = 'batch'
|
@@ -103,12 +105,13 @@ module Google
|
|
103
105
|
# format `projects/*/locations/*`.
|
104
106
|
# @param [String] project_id
|
105
107
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
106
|
-
#
|
107
|
-
# field has been deprecated and replaced by
|
108
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
109
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
110
|
+
# the name field.
|
108
111
|
# @param [String] zone
|
109
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
110
|
-
#
|
111
|
-
# been deprecated and replaced by the name field.
|
112
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
113
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) to return
|
114
|
+
# operations for. This field has been deprecated and replaced by the name field.
|
112
115
|
# @param [String] fields
|
113
116
|
# Selector specifying which fields to include in a partial response.
|
114
117
|
# @param [String] quota_user
|
@@ -138,6 +141,38 @@ module Google
|
|
138
141
|
execute_or_queue_command(command, &block)
|
139
142
|
end
|
140
143
|
|
144
|
+
# Checks the cluster compatibility with Autopilot mode, and returns a list of
|
145
|
+
# compatibility issues.
|
146
|
+
# @param [String] name
|
147
|
+
# The name (project, location, cluster) of the cluster to retrieve. Specified in
|
148
|
+
# the format `projects/*/locations/*/clusters/*`.
|
149
|
+
# @param [String] fields
|
150
|
+
# Selector specifying which fields to include in a partial response.
|
151
|
+
# @param [String] quota_user
|
152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
154
|
+
# @param [Google::Apis::RequestOptions] options
|
155
|
+
# Request-specific options
|
156
|
+
#
|
157
|
+
# @yield [result, err] Result & error if block supplied
|
158
|
+
# @yieldparam result [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse] parsed result object
|
159
|
+
# @yieldparam err [StandardError] error object if request failed
|
160
|
+
#
|
161
|
+
# @return [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse]
|
162
|
+
#
|
163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
166
|
+
def check_project_location_cluster_autopilot_compatibility(name, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
+
command = make_simple_command(:get, 'v1/{+name}:checkAutopilotCompatibility', options)
|
168
|
+
command.response_representation = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse::Representation
|
169
|
+
command.response_class = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse
|
170
|
+
command.params['name'] = name unless name.nil?
|
171
|
+
command.query['fields'] = fields unless fields.nil?
|
172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
+
execute_or_queue_command(command, &block)
|
174
|
+
end
|
175
|
+
|
141
176
|
# Completes master IP rotation.
|
142
177
|
# @param [String] name
|
143
178
|
# The name (project, location, cluster name) of the cluster to complete IP
|
@@ -174,12 +209,12 @@ module Google
|
|
174
209
|
|
175
210
|
# Creates a cluster, consisting of the specified number and type of Google
|
176
211
|
# Compute Engine instances. By default, the cluster is created in the project's [
|
177
|
-
# default network](https
|
178
|
-
# networks). One firewall is added for the
|
179
|
-
# Kubelet creates routes for each node to
|
180
|
-
# communicate with all other instances in
|
181
|
-
# added to the project's global metadata
|
182
|
-
# is using.
|
212
|
+
# default network](https://`$universe.dns_names.final_documentation_domain`/
|
213
|
+
# compute/docs/networks-and-firewalls#networks). One firewall is added for the
|
214
|
+
# cluster. After cluster creation, the Kubelet creates routes for each node to
|
215
|
+
# allow the containers on that node to communicate with all other instances in
|
216
|
+
# the cluster. Finally, an entry is added to the project's global metadata
|
217
|
+
# indicating which CIDR range the cluster is using.
|
183
218
|
# @param [String] parent
|
184
219
|
# The parent (project and location) where the cluster will be created. Specified
|
185
220
|
# in the format `projects/*/locations/*`.
|
@@ -226,12 +261,14 @@ module Google
|
|
226
261
|
# and replaced by the name field.
|
227
262
|
# @param [String] project_id
|
228
263
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
229
|
-
#
|
230
|
-
# field has been deprecated and replaced by
|
264
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
265
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
266
|
+
# the name field.
|
231
267
|
# @param [String] zone
|
232
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
233
|
-
#
|
234
|
-
# been deprecated and replaced by the name
|
268
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
269
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
270
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
271
|
+
# field.
|
235
272
|
# @param [String] fields
|
236
273
|
# Selector specifying which fields to include in a partial response.
|
237
274
|
# @param [String] quota_user
|
@@ -262,6 +299,41 @@ module Google
|
|
262
299
|
execute_or_queue_command(command, &block)
|
263
300
|
end
|
264
301
|
|
302
|
+
# Fetch upgrade information of a specific cluster.
|
303
|
+
# @param [String] name
|
304
|
+
# Required. The name (project, location, cluster) of the cluster to get.
|
305
|
+
# Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
|
306
|
+
# zones/*/clusters/*`.
|
307
|
+
# @param [String] version
|
308
|
+
# API request version that initiates this operation.
|
309
|
+
# @param [String] fields
|
310
|
+
# Selector specifying which fields to include in a partial response.
|
311
|
+
# @param [String] quota_user
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
314
|
+
# @param [Google::Apis::RequestOptions] options
|
315
|
+
# Request-specific options
|
316
|
+
#
|
317
|
+
# @yield [result, err] Result & error if block supplied
|
318
|
+
# @yieldparam result [Google::Apis::ContainerV1::ClusterUpgradeInfo] parsed result object
|
319
|
+
# @yieldparam err [StandardError] error object if request failed
|
320
|
+
#
|
321
|
+
# @return [Google::Apis::ContainerV1::ClusterUpgradeInfo]
|
322
|
+
#
|
323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
+
def fetch_project_location_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchClusterUpgradeInfo', options)
|
328
|
+
command.response_representation = Google::Apis::ContainerV1::ClusterUpgradeInfo::Representation
|
329
|
+
command.response_class = Google::Apis::ContainerV1::ClusterUpgradeInfo
|
330
|
+
command.params['name'] = name unless name.nil?
|
331
|
+
command.query['version'] = version unless version.nil?
|
332
|
+
command.query['fields'] = fields unless fields.nil?
|
333
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
334
|
+
execute_or_queue_command(command, &block)
|
335
|
+
end
|
336
|
+
|
265
337
|
# Gets the details of a specific cluster.
|
266
338
|
# @param [String] name
|
267
339
|
# The name (project, location, cluster) of the cluster to retrieve. Specified in
|
@@ -271,12 +343,14 @@ module Google
|
|
271
343
|
# deprecated and replaced by the name field.
|
272
344
|
# @param [String] project_id
|
273
345
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
274
|
-
#
|
275
|
-
# field has been deprecated and replaced by
|
346
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
347
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
348
|
+
# the name field.
|
276
349
|
# @param [String] zone
|
277
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
278
|
-
#
|
279
|
-
# been deprecated and replaced by the name
|
350
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
351
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
352
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
353
|
+
# field.
|
280
354
|
# @param [String] fields
|
281
355
|
# Selector specifying which fields to include in a partial response.
|
282
356
|
# @param [String] quota_user
|
@@ -308,8 +382,6 @@ module Google
|
|
308
382
|
end
|
309
383
|
|
310
384
|
# Gets the public component of the cluster signing keys in JSON Web Key format.
|
311
|
-
# This API is not yet intended for general use, and is not available for all
|
312
|
-
# clusters.
|
313
385
|
# @param [String] parent
|
314
386
|
# The cluster (project, location, cluster name) to get keys for. Specified in
|
315
387
|
# the format `projects/*/locations/*/clusters/*`.
|
@@ -348,12 +420,14 @@ module Google
|
|
348
420
|
# regions.
|
349
421
|
# @param [String] project_id
|
350
422
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
351
|
-
#
|
352
|
-
# field has been deprecated and replaced by
|
423
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
424
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
425
|
+
# the parent field.
|
353
426
|
# @param [String] zone
|
354
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
355
|
-
#
|
356
|
-
# zones. This field has been deprecated and
|
427
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
428
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
429
|
+
# the cluster resides, or "-" for all zones. This field has been deprecated and
|
430
|
+
# replaced by the parent field.
|
357
431
|
# @param [String] fields
|
358
432
|
# Selector specifying which fields to include in a partial response.
|
359
433
|
# @param [String] quota_user
|
@@ -452,8 +526,9 @@ module Google
|
|
452
526
|
end
|
453
527
|
|
454
528
|
# Sets the locations for a specific cluster. Deprecated. Use [projects.locations.
|
455
|
-
# clusters.update](https
|
456
|
-
# rest/v1/projects.locations.clusters/update)
|
529
|
+
# clusters.update](https://`$universe.dns_names.final_documentation_domain`/
|
530
|
+
# kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
|
531
|
+
# instead.
|
457
532
|
# @param [String] name
|
458
533
|
# The name (project, location, cluster) of the cluster to set locations.
|
459
534
|
# Specified in the format `projects/*/locations/*/clusters/*`.
|
@@ -876,12 +951,14 @@ module Google
|
|
876
951
|
# deprecated and replaced by the name field.
|
877
952
|
# @param [String] project_id
|
878
953
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
879
|
-
#
|
880
|
-
# field has been deprecated and replaced by
|
954
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
955
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
956
|
+
# the name field.
|
881
957
|
# @param [String] zone
|
882
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
883
|
-
#
|
884
|
-
# been deprecated and replaced by the name
|
958
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
959
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
960
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
961
|
+
# field.
|
885
962
|
# @param [String] fields
|
886
963
|
# Selector specifying which fields to include in a partial response.
|
887
964
|
# @param [String] quota_user
|
@@ -913,6 +990,41 @@ module Google
|
|
913
990
|
execute_or_queue_command(command, &block)
|
914
991
|
end
|
915
992
|
|
993
|
+
# Fetch upgrade information of a specific nodepool.
|
994
|
+
# @param [String] name
|
995
|
+
# Required. The name (project, location, cluster, nodepool) of the nodepool to
|
996
|
+
# get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
|
997
|
+
# or `projects/*/zones/*/clusters/*/nodePools/*`.
|
998
|
+
# @param [String] version
|
999
|
+
# API request version that initiates this operation.
|
1000
|
+
# @param [String] fields
|
1001
|
+
# Selector specifying which fields to include in a partial response.
|
1002
|
+
# @param [String] quota_user
|
1003
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1004
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1005
|
+
# @param [Google::Apis::RequestOptions] options
|
1006
|
+
# Request-specific options
|
1007
|
+
#
|
1008
|
+
# @yield [result, err] Result & error if block supplied
|
1009
|
+
# @yieldparam result [Google::Apis::ContainerV1::NodePoolUpgradeInfo] parsed result object
|
1010
|
+
# @yieldparam err [StandardError] error object if request failed
|
1011
|
+
#
|
1012
|
+
# @return [Google::Apis::ContainerV1::NodePoolUpgradeInfo]
|
1013
|
+
#
|
1014
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1015
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1016
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1017
|
+
def fetch_project_location_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1018
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchNodePoolUpgradeInfo', options)
|
1019
|
+
command.response_representation = Google::Apis::ContainerV1::NodePoolUpgradeInfo::Representation
|
1020
|
+
command.response_class = Google::Apis::ContainerV1::NodePoolUpgradeInfo
|
1021
|
+
command.params['name'] = name unless name.nil?
|
1022
|
+
command.query['version'] = version unless version.nil?
|
1023
|
+
command.query['fields'] = fields unless fields.nil?
|
1024
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1025
|
+
execute_or_queue_command(command, &block)
|
1026
|
+
end
|
1027
|
+
|
916
1028
|
# Retrieves the requested node pool.
|
917
1029
|
# @param [String] name
|
918
1030
|
# The name (project, location, cluster, node pool id) of the node pool to get.
|
@@ -925,12 +1037,14 @@ module Google
|
|
925
1037
|
# replaced by the name field.
|
926
1038
|
# @param [String] project_id
|
927
1039
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
928
|
-
#
|
929
|
-
# field has been deprecated and replaced by
|
1040
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1041
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1042
|
+
# the name field.
|
930
1043
|
# @param [String] zone
|
931
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
932
|
-
#
|
933
|
-
# been deprecated and replaced by the name
|
1044
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1045
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1046
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1047
|
+
# field.
|
934
1048
|
# @param [String] fields
|
935
1049
|
# Selector specifying which fields to include in a partial response.
|
936
1050
|
# @param [String] quota_user
|
@@ -971,12 +1085,14 @@ module Google
|
|
971
1085
|
# replaced by the parent field.
|
972
1086
|
# @param [String] project_id
|
973
1087
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
974
|
-
#
|
975
|
-
# field has been deprecated and replaced by
|
1088
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1089
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1090
|
+
# the parent field.
|
976
1091
|
# @param [String] zone
|
977
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
978
|
-
#
|
979
|
-
# been deprecated and replaced by the parent
|
1092
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1093
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1094
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
1095
|
+
# field.
|
980
1096
|
# @param [String] fields
|
981
1097
|
# Selector specifying which fields to include in a partial response.
|
982
1098
|
# @param [String] quota_user
|
@@ -1184,8 +1300,7 @@ module Google
|
|
1184
1300
|
|
1185
1301
|
# Gets the OIDC discovery document for the cluster. See the [OpenID Connect
|
1186
1302
|
# Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-
|
1187
|
-
# 1_0.html) for details.
|
1188
|
-
# not available for all clusters.
|
1303
|
+
# 1_0.html) for details.
|
1189
1304
|
# @param [String] parent
|
1190
1305
|
# The cluster (project, location, cluster name) to get the discovery document
|
1191
1306
|
# for. Specified in the format `projects/*/locations/*/clusters/*`.
|
@@ -1259,12 +1374,14 @@ module Google
|
|
1259
1374
|
# deprecated and replaced by the name field.
|
1260
1375
|
# @param [String] project_id
|
1261
1376
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1262
|
-
#
|
1263
|
-
# field has been deprecated and replaced by
|
1377
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1378
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1379
|
+
# the name field.
|
1264
1380
|
# @param [String] zone
|
1265
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1266
|
-
#
|
1267
|
-
# been deprecated and replaced by the name
|
1381
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1382
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1383
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1384
|
+
# field.
|
1268
1385
|
# @param [String] fields
|
1269
1386
|
# Selector specifying which fields to include in a partial response.
|
1270
1387
|
# @param [String] quota_user
|
@@ -1302,12 +1419,14 @@ module Google
|
|
1302
1419
|
# zones and all regions.
|
1303
1420
|
# @param [String] project_id
|
1304
1421
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1305
|
-
#
|
1306
|
-
# field has been deprecated and replaced by
|
1422
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1423
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1424
|
+
# the parent field.
|
1307
1425
|
# @param [String] zone
|
1308
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1309
|
-
#
|
1310
|
-
# zones. This field has been deprecated and
|
1426
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1427
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) to return
|
1428
|
+
# operations for, or `-` for all zones. This field has been deprecated and
|
1429
|
+
# replaced by the parent field.
|
1311
1430
|
# @param [String] fields
|
1312
1431
|
# Selector specifying which fields to include in a partial response.
|
1313
1432
|
# @param [String] quota_user
|
@@ -1340,12 +1459,13 @@ module Google
|
|
1340
1459
|
# Returns configuration info about the Google Kubernetes Engine service.
|
1341
1460
|
# @param [String] project_id
|
1342
1461
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1343
|
-
#
|
1344
|
-
# field has been deprecated and replaced by
|
1462
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1463
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1464
|
+
# the name field.
|
1345
1465
|
# @param [String] zone
|
1346
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1347
|
-
#
|
1348
|
-
# been deprecated and replaced by the name field.
|
1466
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1467
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) to return
|
1468
|
+
# operations for. This field has been deprecated and replaced by the name field.
|
1349
1469
|
# @param [String] name
|
1350
1470
|
# The name (project and location) of the server config to get, specified in the
|
1351
1471
|
# format `projects/*/locations/*`.
|
@@ -1381,12 +1501,14 @@ module Google
|
|
1381
1501
|
# Sets the addons for a specific cluster.
|
1382
1502
|
# @param [String] project_id
|
1383
1503
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1384
|
-
#
|
1385
|
-
# field has been deprecated and replaced by
|
1504
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1505
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1506
|
+
# the name field.
|
1386
1507
|
# @param [String] zone
|
1387
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1388
|
-
#
|
1389
|
-
# been deprecated and replaced by the name
|
1508
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1509
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1510
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1511
|
+
# field.
|
1390
1512
|
# @param [String] cluster_id
|
1391
1513
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1392
1514
|
# and replaced by the name field.
|
@@ -1425,12 +1547,14 @@ module Google
|
|
1425
1547
|
# Completes master IP rotation.
|
1426
1548
|
# @param [String] project_id
|
1427
1549
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1428
|
-
#
|
1429
|
-
# field has been deprecated and replaced by
|
1550
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1551
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1552
|
+
# the name field.
|
1430
1553
|
# @param [String] zone
|
1431
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1432
|
-
#
|
1433
|
-
# been deprecated and replaced by the name
|
1554
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1555
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1556
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1557
|
+
# field.
|
1434
1558
|
# @param [String] cluster_id
|
1435
1559
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
1436
1560
|
# replaced by the name field.
|
@@ -1468,20 +1592,22 @@ module Google
|
|
1468
1592
|
|
1469
1593
|
# Creates a cluster, consisting of the specified number and type of Google
|
1470
1594
|
# Compute Engine instances. By default, the cluster is created in the project's [
|
1471
|
-
# default network](https
|
1472
|
-
# networks). One firewall is added for the
|
1473
|
-
# Kubelet creates routes for each node to
|
1474
|
-
# communicate with all other instances in
|
1475
|
-
# added to the project's global metadata
|
1476
|
-
# is using.
|
1595
|
+
# default network](https://`$universe.dns_names.final_documentation_domain`/
|
1596
|
+
# compute/docs/networks-and-firewalls#networks). One firewall is added for the
|
1597
|
+
# cluster. After cluster creation, the Kubelet creates routes for each node to
|
1598
|
+
# allow the containers on that node to communicate with all other instances in
|
1599
|
+
# the cluster. Finally, an entry is added to the project's global metadata
|
1600
|
+
# indicating which CIDR range the cluster is using.
|
1477
1601
|
# @param [String] project_id
|
1478
1602
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1479
|
-
#
|
1480
|
-
# field has been deprecated and replaced by
|
1603
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1604
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1605
|
+
# the parent field.
|
1481
1606
|
# @param [String] zone
|
1482
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1483
|
-
#
|
1484
|
-
# been deprecated and replaced by the parent
|
1607
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1608
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1609
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
1610
|
+
# field.
|
1485
1611
|
# @param [Google::Apis::ContainerV1::CreateClusterRequest] create_cluster_request_object
|
1486
1612
|
# @param [String] fields
|
1487
1613
|
# Selector specifying which fields to include in a partial response.
|
@@ -1520,12 +1646,14 @@ module Google
|
|
1520
1646
|
# present when the cluster was initially created.
|
1521
1647
|
# @param [String] project_id
|
1522
1648
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1523
|
-
#
|
1524
|
-
# field has been deprecated and replaced by
|
1649
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1650
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1651
|
+
# the name field.
|
1525
1652
|
# @param [String] zone
|
1526
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1527
|
-
#
|
1528
|
-
# been deprecated and replaced by the name
|
1653
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1654
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1655
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1656
|
+
# field.
|
1529
1657
|
# @param [String] cluster_id
|
1530
1658
|
# Deprecated. The name of the cluster to delete. This field has been deprecated
|
1531
1659
|
# and replaced by the name field.
|
@@ -1562,15 +1690,52 @@ module Google
|
|
1562
1690
|
execute_or_queue_command(command, &block)
|
1563
1691
|
end
|
1564
1692
|
|
1693
|
+
# Fetch upgrade information of a specific cluster.
|
1694
|
+
# @param [String] name
|
1695
|
+
# Required. The name (project, location, cluster) of the cluster to get.
|
1696
|
+
# Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
|
1697
|
+
# zones/*/clusters/*`.
|
1698
|
+
# @param [String] version
|
1699
|
+
# API request version that initiates this operation.
|
1700
|
+
# @param [String] fields
|
1701
|
+
# Selector specifying which fields to include in a partial response.
|
1702
|
+
# @param [String] quota_user
|
1703
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1704
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1705
|
+
# @param [Google::Apis::RequestOptions] options
|
1706
|
+
# Request-specific options
|
1707
|
+
#
|
1708
|
+
# @yield [result, err] Result & error if block supplied
|
1709
|
+
# @yieldparam result [Google::Apis::ContainerV1::ClusterUpgradeInfo] parsed result object
|
1710
|
+
# @yieldparam err [StandardError] error object if request failed
|
1711
|
+
#
|
1712
|
+
# @return [Google::Apis::ContainerV1::ClusterUpgradeInfo]
|
1713
|
+
#
|
1714
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1715
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1716
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1717
|
+
def fetch_project_zone_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1718
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchClusterUpgradeInfo', options)
|
1719
|
+
command.response_representation = Google::Apis::ContainerV1::ClusterUpgradeInfo::Representation
|
1720
|
+
command.response_class = Google::Apis::ContainerV1::ClusterUpgradeInfo
|
1721
|
+
command.params['name'] = name unless name.nil?
|
1722
|
+
command.query['version'] = version unless version.nil?
|
1723
|
+
command.query['fields'] = fields unless fields.nil?
|
1724
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1725
|
+
execute_or_queue_command(command, &block)
|
1726
|
+
end
|
1727
|
+
|
1565
1728
|
# Gets the details of a specific cluster.
|
1566
1729
|
# @param [String] project_id
|
1567
1730
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1568
|
-
#
|
1569
|
-
# field has been deprecated and replaced by
|
1731
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1732
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1733
|
+
# the name field.
|
1570
1734
|
# @param [String] zone
|
1571
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1572
|
-
#
|
1573
|
-
# been deprecated and replaced by the name
|
1735
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1736
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1737
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1738
|
+
# field.
|
1574
1739
|
# @param [String] cluster_id
|
1575
1740
|
# Deprecated. The name of the cluster to retrieve. This field has been
|
1576
1741
|
# deprecated and replaced by the name field.
|
@@ -1610,12 +1775,14 @@ module Google
|
|
1610
1775
|
# Enables or disables the ABAC authorization mechanism on a cluster.
|
1611
1776
|
# @param [String] project_id
|
1612
1777
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1613
|
-
#
|
1614
|
-
# field has been deprecated and replaced by
|
1778
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1779
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1780
|
+
# the name field.
|
1615
1781
|
# @param [String] zone
|
1616
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1617
|
-
#
|
1618
|
-
# been deprecated and replaced by the name
|
1782
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1783
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1784
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1785
|
+
# field.
|
1619
1786
|
# @param [String] cluster_id
|
1620
1787
|
# Deprecated. The name of the cluster to update. This field has been deprecated
|
1621
1788
|
# and replaced by the name field.
|
@@ -1655,12 +1822,14 @@ module Google
|
|
1655
1822
|
# zones.
|
1656
1823
|
# @param [String] project_id
|
1657
1824
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1658
|
-
#
|
1659
|
-
# field has been deprecated and replaced by
|
1825
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1826
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1827
|
+
# the parent field.
|
1660
1828
|
# @param [String] zone
|
1661
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1662
|
-
#
|
1663
|
-
# zones. This field has been deprecated and
|
1829
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1830
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1831
|
+
# the cluster resides, or "-" for all zones. This field has been deprecated and
|
1832
|
+
# replaced by the parent field.
|
1664
1833
|
# @param [String] parent
|
1665
1834
|
# The parent (project and location) where the clusters will be listed. Specified
|
1666
1835
|
# in the format `projects/*/locations/*`. Location "-" matches all zones and all
|
@@ -1695,16 +1864,19 @@ module Google
|
|
1695
1864
|
end
|
1696
1865
|
|
1697
1866
|
# Sets the locations for a specific cluster. Deprecated. Use [projects.locations.
|
1698
|
-
# clusters.update](https
|
1699
|
-
# rest/v1/projects.locations.clusters/update)
|
1867
|
+
# clusters.update](https://`$universe.dns_names.final_documentation_domain`/
|
1868
|
+
# kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/update)
|
1869
|
+
# instead.
|
1700
1870
|
# @param [String] project_id
|
1701
1871
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1702
|
-
#
|
1703
|
-
# field has been deprecated and replaced by
|
1872
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1873
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1874
|
+
# the name field.
|
1704
1875
|
# @param [String] zone
|
1705
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1706
|
-
#
|
1707
|
-
# been deprecated and replaced by the name
|
1876
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1877
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1878
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1879
|
+
# field.
|
1708
1880
|
# @param [String] cluster_id
|
1709
1881
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1710
1882
|
# and replaced by the name field.
|
@@ -1743,12 +1915,14 @@ module Google
|
|
1743
1915
|
# Sets the logging service for a specific cluster.
|
1744
1916
|
# @param [String] project_id
|
1745
1917
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1746
|
-
#
|
1747
|
-
# field has been deprecated and replaced by
|
1918
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1919
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1920
|
+
# the name field.
|
1748
1921
|
# @param [String] zone
|
1749
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1750
|
-
#
|
1751
|
-
# been deprecated and replaced by the name
|
1922
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1923
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1924
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1925
|
+
# field.
|
1752
1926
|
# @param [String] cluster_id
|
1753
1927
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1754
1928
|
# and replaced by the name field.
|
@@ -1787,12 +1961,14 @@ module Google
|
|
1787
1961
|
# Updates the master for a specific cluster.
|
1788
1962
|
# @param [String] project_id
|
1789
1963
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1790
|
-
#
|
1791
|
-
# field has been deprecated and replaced by
|
1964
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
1965
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
1966
|
+
# the name field.
|
1792
1967
|
# @param [String] zone
|
1793
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1794
|
-
#
|
1795
|
-
# been deprecated and replaced by the name
|
1968
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
1969
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1970
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
1971
|
+
# field.
|
1796
1972
|
# @param [String] cluster_id
|
1797
1973
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1798
1974
|
# and replaced by the name field.
|
@@ -1831,12 +2007,14 @@ module Google
|
|
1831
2007
|
# Sets the monitoring service for a specific cluster.
|
1832
2008
|
# @param [String] project_id
|
1833
2009
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1834
|
-
#
|
1835
|
-
# field has been deprecated and replaced by
|
2010
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2011
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2012
|
+
# the name field.
|
1836
2013
|
# @param [String] zone
|
1837
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1838
|
-
#
|
1839
|
-
# been deprecated and replaced by the name
|
2014
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2015
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2016
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2017
|
+
# field.
|
1840
2018
|
# @param [String] cluster_id
|
1841
2019
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1842
2020
|
# and replaced by the name field.
|
@@ -1875,12 +2053,14 @@ module Google
|
|
1875
2053
|
# Sets labels on a cluster.
|
1876
2054
|
# @param [String] project_id
|
1877
2055
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1878
|
-
#
|
1879
|
-
# field has been deprecated and replaced by
|
2056
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2057
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2058
|
+
# the name field.
|
1880
2059
|
# @param [String] zone
|
1881
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1882
|
-
#
|
1883
|
-
# been deprecated and replaced by the name
|
2060
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2061
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2062
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2063
|
+
# field.
|
1884
2064
|
# @param [String] cluster_id
|
1885
2065
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
1886
2066
|
# replaced by the name field.
|
@@ -1919,10 +2099,12 @@ module Google
|
|
1919
2099
|
# Sets the maintenance policy for a cluster.
|
1920
2100
|
# @param [String] project_id
|
1921
2101
|
# Required. The Google Developers Console [project ID or project number](https://
|
1922
|
-
#
|
2102
|
+
# `$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2103
|
+
# creating-managing-projects).
|
1923
2104
|
# @param [String] zone
|
1924
|
-
# Required. The name of the Google Compute Engine [zone](https
|
1925
|
-
#
|
2105
|
+
# Required. The name of the Google Compute Engine [zone](https://`$universe.
|
2106
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2107
|
+
# the cluster resides.
|
1926
2108
|
# @param [String] cluster_id
|
1927
2109
|
# Required. The name of the cluster to update.
|
1928
2110
|
# @param [Google::Apis::ContainerV1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
|
@@ -1962,12 +2144,14 @@ module Google
|
|
1962
2144
|
# password.
|
1963
2145
|
# @param [String] project_id
|
1964
2146
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
1965
|
-
#
|
1966
|
-
# field has been deprecated and replaced by
|
2147
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2148
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2149
|
+
# the name field.
|
1967
2150
|
# @param [String] zone
|
1968
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
1969
|
-
#
|
1970
|
-
# been deprecated and replaced by the name
|
2151
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2152
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2153
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2154
|
+
# field.
|
1971
2155
|
# @param [String] cluster_id
|
1972
2156
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
1973
2157
|
# and replaced by the name field.
|
@@ -2006,12 +2190,14 @@ module Google
|
|
2006
2190
|
# Enables or disables Network Policy for a cluster.
|
2007
2191
|
# @param [String] project_id
|
2008
2192
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2009
|
-
#
|
2010
|
-
# field has been deprecated and replaced by
|
2193
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2194
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2195
|
+
# the name field.
|
2011
2196
|
# @param [String] zone
|
2012
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2013
|
-
#
|
2014
|
-
# been deprecated and replaced by the name
|
2197
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2198
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2199
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2200
|
+
# field.
|
2015
2201
|
# @param [String] cluster_id
|
2016
2202
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2017
2203
|
# replaced by the name field.
|
@@ -2050,12 +2236,14 @@ module Google
|
|
2050
2236
|
# Starts master IP rotation.
|
2051
2237
|
# @param [String] project_id
|
2052
2238
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2053
|
-
#
|
2054
|
-
# field has been deprecated and replaced by
|
2239
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2240
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2241
|
+
# the name field.
|
2055
2242
|
# @param [String] zone
|
2056
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2057
|
-
#
|
2058
|
-
# been deprecated and replaced by the name
|
2243
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2244
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2245
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2246
|
+
# field.
|
2059
2247
|
# @param [String] cluster_id
|
2060
2248
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2061
2249
|
# replaced by the name field.
|
@@ -2094,12 +2282,14 @@ module Google
|
|
2094
2282
|
# Updates the settings of a specific cluster.
|
2095
2283
|
# @param [String] project_id
|
2096
2284
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2097
|
-
#
|
2098
|
-
# field has been deprecated and replaced by
|
2285
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2286
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2287
|
+
# the name field.
|
2099
2288
|
# @param [String] zone
|
2100
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2101
|
-
#
|
2102
|
-
# been deprecated and replaced by the name
|
2289
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2290
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2291
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2292
|
+
# field.
|
2103
2293
|
# @param [String] cluster_id
|
2104
2294
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
2105
2295
|
# and replaced by the name field.
|
@@ -2138,12 +2328,14 @@ module Google
|
|
2138
2328
|
# Sets the autoscaling settings for the specified node pool.
|
2139
2329
|
# @param [String] project_id
|
2140
2330
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2141
|
-
#
|
2142
|
-
# field has been deprecated and replaced by
|
2331
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2332
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2333
|
+
# the name field.
|
2143
2334
|
# @param [String] zone
|
2144
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2145
|
-
#
|
2146
|
-
# been deprecated and replaced by the name
|
2335
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2336
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2337
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2338
|
+
# field.
|
2147
2339
|
# @param [String] cluster_id
|
2148
2340
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
2149
2341
|
# and replaced by the name field.
|
@@ -2186,12 +2378,14 @@ module Google
|
|
2186
2378
|
# Creates a node pool for a cluster.
|
2187
2379
|
# @param [String] project_id
|
2188
2380
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2189
|
-
#
|
2190
|
-
# field has been deprecated and replaced by
|
2381
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2382
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2383
|
+
# the parent field.
|
2191
2384
|
# @param [String] zone
|
2192
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2193
|
-
#
|
2194
|
-
# been deprecated and replaced by the parent
|
2385
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2386
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2387
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
2388
|
+
# field.
|
2195
2389
|
# @param [String] cluster_id
|
2196
2390
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2197
2391
|
# replaced by the parent field.
|
@@ -2230,12 +2424,14 @@ module Google
|
|
2230
2424
|
# Deletes a node pool from a cluster.
|
2231
2425
|
# @param [String] project_id
|
2232
2426
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2233
|
-
#
|
2234
|
-
# field has been deprecated and replaced by
|
2427
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2428
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2429
|
+
# the name field.
|
2235
2430
|
# @param [String] zone
|
2236
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2237
|
-
#
|
2238
|
-
# been deprecated and replaced by the name
|
2431
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2432
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2433
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2434
|
+
# field.
|
2239
2435
|
# @param [String] cluster_id
|
2240
2436
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2241
2437
|
# replaced by the name field.
|
@@ -2276,15 +2472,52 @@ module Google
|
|
2276
2472
|
execute_or_queue_command(command, &block)
|
2277
2473
|
end
|
2278
2474
|
|
2475
|
+
# Fetch upgrade information of a specific nodepool.
|
2476
|
+
# @param [String] name
|
2477
|
+
# Required. The name (project, location, cluster, nodepool) of the nodepool to
|
2478
|
+
# get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
|
2479
|
+
# or `projects/*/zones/*/clusters/*/nodePools/*`.
|
2480
|
+
# @param [String] version
|
2481
|
+
# API request version that initiates this operation.
|
2482
|
+
# @param [String] fields
|
2483
|
+
# Selector specifying which fields to include in a partial response.
|
2484
|
+
# @param [String] quota_user
|
2485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2487
|
+
# @param [Google::Apis::RequestOptions] options
|
2488
|
+
# Request-specific options
|
2489
|
+
#
|
2490
|
+
# @yield [result, err] Result & error if block supplied
|
2491
|
+
# @yieldparam result [Google::Apis::ContainerV1::NodePoolUpgradeInfo] parsed result object
|
2492
|
+
# @yieldparam err [StandardError] error object if request failed
|
2493
|
+
#
|
2494
|
+
# @return [Google::Apis::ContainerV1::NodePoolUpgradeInfo]
|
2495
|
+
#
|
2496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2499
|
+
def fetch_project_zone_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2500
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchNodePoolUpgradeInfo', options)
|
2501
|
+
command.response_representation = Google::Apis::ContainerV1::NodePoolUpgradeInfo::Representation
|
2502
|
+
command.response_class = Google::Apis::ContainerV1::NodePoolUpgradeInfo
|
2503
|
+
command.params['name'] = name unless name.nil?
|
2504
|
+
command.query['version'] = version unless version.nil?
|
2505
|
+
command.query['fields'] = fields unless fields.nil?
|
2506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2507
|
+
execute_or_queue_command(command, &block)
|
2508
|
+
end
|
2509
|
+
|
2279
2510
|
# Retrieves the requested node pool.
|
2280
2511
|
# @param [String] project_id
|
2281
2512
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2282
|
-
#
|
2283
|
-
# field has been deprecated and replaced by
|
2513
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2514
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2515
|
+
# the name field.
|
2284
2516
|
# @param [String] zone
|
2285
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2286
|
-
#
|
2287
|
-
# been deprecated and replaced by the name
|
2517
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2518
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2519
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2520
|
+
# field.
|
2288
2521
|
# @param [String] cluster_id
|
2289
2522
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2290
2523
|
# replaced by the name field.
|
@@ -2328,12 +2561,14 @@ module Google
|
|
2328
2561
|
# Lists the node pools for a cluster.
|
2329
2562
|
# @param [String] project_id
|
2330
2563
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2331
|
-
#
|
2332
|
-
# field has been deprecated and replaced by
|
2564
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2565
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2566
|
+
# the parent field.
|
2333
2567
|
# @param [String] zone
|
2334
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2335
|
-
#
|
2336
|
-
# been deprecated and replaced by the parent
|
2568
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2569
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2570
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
2571
|
+
# field.
|
2337
2572
|
# @param [String] cluster_id
|
2338
2573
|
# Deprecated. The name of the cluster. This field has been deprecated and
|
2339
2574
|
# replaced by the parent field.
|
@@ -2374,12 +2609,14 @@ module Google
|
|
2374
2609
|
# changes if the last upgrade successfully completed.
|
2375
2610
|
# @param [String] project_id
|
2376
2611
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2377
|
-
#
|
2378
|
-
# field has been deprecated and replaced by
|
2612
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2613
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2614
|
+
# the name field.
|
2379
2615
|
# @param [String] zone
|
2380
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2381
|
-
#
|
2382
|
-
# been deprecated and replaced by the name
|
2616
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2617
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2618
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2619
|
+
# field.
|
2383
2620
|
# @param [String] cluster_id
|
2384
2621
|
# Deprecated. The name of the cluster to rollback. This field has been
|
2385
2622
|
# deprecated and replaced by the name field.
|
@@ -2422,12 +2659,14 @@ module Google
|
|
2422
2659
|
# Sets the NodeManagement options for a node pool.
|
2423
2660
|
# @param [String] project_id
|
2424
2661
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2425
|
-
#
|
2426
|
-
# field has been deprecated and replaced by
|
2662
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2663
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2664
|
+
# the name field.
|
2427
2665
|
# @param [String] zone
|
2428
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2429
|
-
#
|
2430
|
-
# been deprecated and replaced by the name
|
2666
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2667
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2668
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2669
|
+
# field.
|
2431
2670
|
# @param [String] cluster_id
|
2432
2671
|
# Deprecated. The name of the cluster to update. This field has been deprecated
|
2433
2672
|
# and replaced by the name field.
|
@@ -2471,12 +2710,14 @@ module Google
|
|
2471
2710
|
# replicas, including future replicas created by modifying NodePool.locations.
|
2472
2711
|
# @param [String] project_id
|
2473
2712
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2474
|
-
#
|
2475
|
-
# field has been deprecated and replaced by
|
2713
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2714
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2715
|
+
# the name field.
|
2476
2716
|
# @param [String] zone
|
2477
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2478
|
-
#
|
2479
|
-
# been deprecated and replaced by the name
|
2717
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2718
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2719
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2720
|
+
# field.
|
2480
2721
|
# @param [String] cluster_id
|
2481
2722
|
# Deprecated. The name of the cluster to update. This field has been deprecated
|
2482
2723
|
# and replaced by the name field.
|
@@ -2519,12 +2760,14 @@ module Google
|
|
2519
2760
|
# Updates the version and/or image type for the specified node pool.
|
2520
2761
|
# @param [String] project_id
|
2521
2762
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2522
|
-
#
|
2523
|
-
# field has been deprecated and replaced by
|
2763
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2764
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2765
|
+
# the name field.
|
2524
2766
|
# @param [String] zone
|
2525
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2526
|
-
#
|
2527
|
-
# been deprecated and replaced by the name
|
2767
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2768
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2769
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2770
|
+
# field.
|
2528
2771
|
# @param [String] cluster_id
|
2529
2772
|
# Deprecated. The name of the cluster to upgrade. This field has been deprecated
|
2530
2773
|
# and replaced by the name field.
|
@@ -2567,12 +2810,14 @@ module Google
|
|
2567
2810
|
# Cancels the specified operation.
|
2568
2811
|
# @param [String] project_id
|
2569
2812
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2570
|
-
#
|
2571
|
-
# field has been deprecated and replaced by
|
2813
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2814
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2815
|
+
# the name field.
|
2572
2816
|
# @param [String] zone
|
2573
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2574
|
-
#
|
2575
|
-
# has been deprecated and replaced by the name
|
2817
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2818
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2819
|
+
# the operation resides. This field has been deprecated and replaced by the name
|
2820
|
+
# field.
|
2576
2821
|
# @param [String] operation_id
|
2577
2822
|
# Deprecated. The server-assigned `name` of the operation. This field has been
|
2578
2823
|
# deprecated and replaced by the name field.
|
@@ -2611,12 +2856,14 @@ module Google
|
|
2611
2856
|
# Gets the specified operation.
|
2612
2857
|
# @param [String] project_id
|
2613
2858
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2614
|
-
#
|
2615
|
-
# field has been deprecated and replaced by
|
2859
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2860
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2861
|
+
# the name field.
|
2616
2862
|
# @param [String] zone
|
2617
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2618
|
-
#
|
2619
|
-
# been deprecated and replaced by the name
|
2863
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2864
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2865
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2866
|
+
# field.
|
2620
2867
|
# @param [String] operation_id
|
2621
2868
|
# Deprecated. The server-assigned `name` of the operation. This field has been
|
2622
2869
|
# deprecated and replaced by the name field.
|
@@ -2656,12 +2903,14 @@ module Google
|
|
2656
2903
|
# Lists all operations in a project in a specific zone or all zones.
|
2657
2904
|
# @param [String] project_id
|
2658
2905
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2659
|
-
#
|
2660
|
-
# field has been deprecated and replaced by
|
2906
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2907
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2908
|
+
# the parent field.
|
2661
2909
|
# @param [String] zone
|
2662
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2663
|
-
#
|
2664
|
-
# zones. This field has been deprecated and
|
2910
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2911
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) to return
|
2912
|
+
# operations for, or `-` for all zones. This field has been deprecated and
|
2913
|
+
# replaced by the parent field.
|
2665
2914
|
# @param [String] parent
|
2666
2915
|
# The parent (project and location) where the operations will be listed.
|
2667
2916
|
# Specified in the format `projects/*/locations/*`. Location "-" matches all
|