google-apis-container_v1beta1 0.75.0 → 0.76.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/container_v1beta1/classes.rb +724 -17
- data/lib/google/apis/container_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/container_v1beta1/representations.rb +252 -0
- data/lib/google/apis/container_v1beta1/service.rb +141 -1
- data/lib/google/apis/container_v1beta1.rb +1 -1
- metadata +4 -4
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Container = Google::Apis::ContainerV1beta1 # 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
36
|
DEFAULT_ENDPOINT_TEMPLATE = "https://container.$UNIVERSE_DOMAIN$/"
|
37
37
|
|
@@ -327,6 +327,41 @@ module Google
|
|
327
327
|
execute_or_queue_command(command, &block)
|
328
328
|
end
|
329
329
|
|
330
|
+
# Fetch upgrade information of a specific cluster.
|
331
|
+
# @param [String] name
|
332
|
+
# Required. The name (project, location, cluster) of the cluster to get.
|
333
|
+
# Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
|
334
|
+
# zones/*/clusters/*`.
|
335
|
+
# @param [String] version
|
336
|
+
# API request version that initiates this operation.
|
337
|
+
# @param [String] fields
|
338
|
+
# Selector specifying which fields to include in a partial response.
|
339
|
+
# @param [String] quota_user
|
340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
342
|
+
# @param [Google::Apis::RequestOptions] options
|
343
|
+
# Request-specific options
|
344
|
+
#
|
345
|
+
# @yield [result, err] Result & error if block supplied
|
346
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo] parsed result object
|
347
|
+
# @yieldparam err [StandardError] error object if request failed
|
348
|
+
#
|
349
|
+
# @return [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo]
|
350
|
+
#
|
351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
+
def fetch_project_location_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
355
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchClusterUpgradeInfo', options)
|
356
|
+
command.response_representation = Google::Apis::ContainerV1beta1::ClusterUpgradeInfo::Representation
|
357
|
+
command.response_class = Google::Apis::ContainerV1beta1::ClusterUpgradeInfo
|
358
|
+
command.params['name'] = name unless name.nil?
|
359
|
+
command.query['version'] = version unless version.nil?
|
360
|
+
command.query['fields'] = fields unless fields.nil?
|
361
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
362
|
+
execute_or_queue_command(command, &block)
|
363
|
+
end
|
364
|
+
|
330
365
|
# Gets the details for a specific cluster.
|
331
366
|
# @param [String] name
|
332
367
|
# The name (project, location, cluster) of the cluster to retrieve. Specified in
|
@@ -977,6 +1012,41 @@ module Google
|
|
977
1012
|
execute_or_queue_command(command, &block)
|
978
1013
|
end
|
979
1014
|
|
1015
|
+
# Fetch upgrade information of a specific nodepool.
|
1016
|
+
# @param [String] name
|
1017
|
+
# Required. The name (project, location, cluster, nodepool) of the nodepool to
|
1018
|
+
# get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
|
1019
|
+
# or `projects/*/zones/*/clusters/*/nodePools/*`.
|
1020
|
+
# @param [String] version
|
1021
|
+
# API request version that initiates this operation.
|
1022
|
+
# @param [String] fields
|
1023
|
+
# Selector specifying which fields to include in a partial response.
|
1024
|
+
# @param [String] quota_user
|
1025
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1026
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1027
|
+
# @param [Google::Apis::RequestOptions] options
|
1028
|
+
# Request-specific options
|
1029
|
+
#
|
1030
|
+
# @yield [result, err] Result & error if block supplied
|
1031
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo] parsed result object
|
1032
|
+
# @yieldparam err [StandardError] error object if request failed
|
1033
|
+
#
|
1034
|
+
# @return [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo]
|
1035
|
+
#
|
1036
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1037
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1038
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1039
|
+
def fetch_project_location_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1040
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchNodePoolUpgradeInfo', options)
|
1041
|
+
command.response_representation = Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo::Representation
|
1042
|
+
command.response_class = Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo
|
1043
|
+
command.params['name'] = name unless name.nil?
|
1044
|
+
command.query['version'] = version unless version.nil?
|
1045
|
+
command.query['fields'] = fields unless fields.nil?
|
1046
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1047
|
+
execute_or_queue_command(command, &block)
|
1048
|
+
end
|
1049
|
+
|
980
1050
|
# Retrieves the requested node pool.
|
981
1051
|
# @param [String] name
|
982
1052
|
# The name (project, location, cluster, node pool id) of the node pool to get.
|
@@ -1627,6 +1697,41 @@ module Google
|
|
1627
1697
|
execute_or_queue_command(command, &block)
|
1628
1698
|
end
|
1629
1699
|
|
1700
|
+
# Fetch upgrade information of a specific cluster.
|
1701
|
+
# @param [String] name
|
1702
|
+
# Required. The name (project, location, cluster) of the cluster to get.
|
1703
|
+
# Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/
|
1704
|
+
# zones/*/clusters/*`.
|
1705
|
+
# @param [String] version
|
1706
|
+
# API request version that initiates this operation.
|
1707
|
+
# @param [String] fields
|
1708
|
+
# Selector specifying which fields to include in a partial response.
|
1709
|
+
# @param [String] quota_user
|
1710
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1711
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1712
|
+
# @param [Google::Apis::RequestOptions] options
|
1713
|
+
# Request-specific options
|
1714
|
+
#
|
1715
|
+
# @yield [result, err] Result & error if block supplied
|
1716
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo] parsed result object
|
1717
|
+
# @yieldparam err [StandardError] error object if request failed
|
1718
|
+
#
|
1719
|
+
# @return [Google::Apis::ContainerV1beta1::ClusterUpgradeInfo]
|
1720
|
+
#
|
1721
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1722
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1723
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1724
|
+
def fetch_project_zone_cluster_cluster_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1725
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchClusterUpgradeInfo', options)
|
1726
|
+
command.response_representation = Google::Apis::ContainerV1beta1::ClusterUpgradeInfo::Representation
|
1727
|
+
command.response_class = Google::Apis::ContainerV1beta1::ClusterUpgradeInfo
|
1728
|
+
command.params['name'] = name unless name.nil?
|
1729
|
+
command.query['version'] = version unless version.nil?
|
1730
|
+
command.query['fields'] = fields unless fields.nil?
|
1731
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1732
|
+
execute_or_queue_command(command, &block)
|
1733
|
+
end
|
1734
|
+
|
1630
1735
|
# Gets the details for a specific cluster.
|
1631
1736
|
# @param [String] project_id
|
1632
1737
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
@@ -2342,6 +2447,41 @@ module Google
|
|
2342
2447
|
execute_or_queue_command(command, &block)
|
2343
2448
|
end
|
2344
2449
|
|
2450
|
+
# Fetch upgrade information of a specific nodepool.
|
2451
|
+
# @param [String] name
|
2452
|
+
# Required. The name (project, location, cluster, nodepool) of the nodepool to
|
2453
|
+
# get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`
|
2454
|
+
# or `projects/*/zones/*/clusters/*/nodePools/*`.
|
2455
|
+
# @param [String] version
|
2456
|
+
# API request version that initiates this operation.
|
2457
|
+
# @param [String] fields
|
2458
|
+
# Selector specifying which fields to include in a partial response.
|
2459
|
+
# @param [String] quota_user
|
2460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2462
|
+
# @param [Google::Apis::RequestOptions] options
|
2463
|
+
# Request-specific options
|
2464
|
+
#
|
2465
|
+
# @yield [result, err] Result & error if block supplied
|
2466
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo] parsed result object
|
2467
|
+
# @yieldparam err [StandardError] error object if request failed
|
2468
|
+
#
|
2469
|
+
# @return [Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo]
|
2470
|
+
#
|
2471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2474
|
+
def fetch_project_zone_cluster_node_pool_node_pool_upgrade_info(name, version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2475
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetchNodePoolUpgradeInfo', options)
|
2476
|
+
command.response_representation = Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo::Representation
|
2477
|
+
command.response_class = Google::Apis::ContainerV1beta1::NodePoolUpgradeInfo
|
2478
|
+
command.params['name'] = name unless name.nil?
|
2479
|
+
command.query['version'] = version unless version.nil?
|
2480
|
+
command.query['fields'] = fields unless fields.nil?
|
2481
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2482
|
+
execute_or_queue_command(command, &block)
|
2483
|
+
end
|
2484
|
+
|
2345
2485
|
# Retrieves the requested node pool.
|
2346
2486
|
# @param [String] project_id
|
2347
2487
|
# Required. Deprecated. The Google Developers Console [project ID or project
|
@@ -24,7 +24,7 @@ module Google
|
|
24
24
|
# Builds and manages container-based applications, powered by the open source
|
25
25
|
# Kubernetes technology.
|
26
26
|
#
|
27
|
-
# @see https://cloud.google.com/
|
27
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/
|
28
28
|
module ContainerV1beta1
|
29
29
|
# Version of the Kubernetes Engine API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-container_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.76.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.76.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Kubernetes Engine API V1beta1
|