google-apis-container_v1beta1 0.43.0 → 0.78.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.
@@ -31,8 +31,10 @@ 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/container-engine/
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('https://container.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-container_v1beta1',
49
51
  client_version: Google::Apis::ContainerV1beta1::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -169,6 +171,38 @@ module Google
169
171
  execute_or_queue_command(command, &block)
170
172
  end
171
173
 
174
+ # Checks the cluster compatibility with Autopilot mode, and returns a list of
175
+ # compatibility issues.
176
+ # @param [String] name
177
+ # The name (project, location, cluster) of the cluster to retrieve. Specified in
178
+ # the format `projects/*/locations/*/clusters/*`.
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def check_project_location_cluster_autopilot_compatibility(name, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:get, 'v1beta1/{+name}:checkAutopilotCompatibility', options)
198
+ command.response_representation = Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse::Representation
199
+ command.response_class = Google::Apis::ContainerV1beta1::CheckAutopilotCompatibilityResponse
200
+ command.params['name'] = name unless name.nil?
201
+ command.query['fields'] = fields unless fields.nil?
202
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
203
+ execute_or_queue_command(command, &block)
204
+ end
205
+
172
206
  # Completes master IP rotation.
173
207
  # @param [String] name
174
208
  # The name (project, location, cluster name) of the cluster to complete IP
@@ -293,6 +327,41 @@ module Google
293
327
  execute_or_queue_command(command, &block)
294
328
  end
295
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
+
296
365
  # Gets the details for a specific cluster.
297
366
  # @param [String] name
298
367
  # The name (project, location, cluster) of the cluster to retrieve. Specified in
@@ -339,8 +408,6 @@ module Google
339
408
  end
340
409
 
341
410
  # Gets the public component of the cluster signing keys in JSON Web Key format.
342
- # This API is not yet intended for general use, and is not available for all
343
- # clusters.
344
411
  # @param [String] parent
345
412
  # The cluster (project, location, cluster name) to get keys for. Specified in
346
413
  # the format `projects/*/locations/*/clusters/*`.
@@ -945,6 +1012,41 @@ module Google
945
1012
  execute_or_queue_command(command, &block)
946
1013
  end
947
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
+
948
1050
  # Retrieves the requested node pool.
949
1051
  # @param [String] name
950
1052
  # The name (project, location, cluster, node pool id) of the node pool to get.
@@ -1217,8 +1319,7 @@ module Google
1217
1319
 
1218
1320
  # Gets the OIDC discovery document for the cluster. See the [OpenID Connect
1219
1321
  # Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-
1220
- # 1_0.html) for details. This API is not yet intended for general use, and is
1221
- # not available for all clusters.
1322
+ # 1_0.html) for details.
1222
1323
  # @param [String] parent
1223
1324
  # The cluster (project, location, cluster name) to get the discovery document
1224
1325
  # for. Specified in the format `projects/*/locations/*/clusters/*`.
@@ -1596,6 +1697,41 @@ module Google
1596
1697
  execute_or_queue_command(command, &block)
1597
1698
  end
1598
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
+
1599
1735
  # Gets the details for a specific cluster.
1600
1736
  # @param [String] project_id
1601
1737
  # Required. Deprecated. The Google Developers Console [project ID or project
@@ -2311,6 +2447,41 @@ module Google
2311
2447
  execute_or_queue_command(command, &block)
2312
2448
  end
2313
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
+
2314
2485
  # Retrieves the requested node pool.
2315
2486
  # @param [String] project_id
2316
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/container-engine/
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,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-01-08 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.9.1
18
+ version: 0.15.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.9.1
28
+ version: 0.15.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.78.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
66
  requirements:
69
67
  - - ">="
70
68
  - !ruby/object:Gem::Version
71
- version: '2.5'
69
+ version: '2.7'
72
70
  required_rubygems_version: !ruby/object:Gem::Requirement
73
71
  requirements:
74
72
  - - ">="
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.4.2
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Kubernetes Engine API V1beta1
82
79
  test_files: []