google-apis-container_v1 0.43.0 → 0.88.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 +184 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/container_v1/classes.rb +2127 -117
- data/lib/google/apis/container_v1/gem_version.rb +3 -3
- data/lib/google/apis/container_v1/representations.rb +815 -0
- data/lib/google/apis/container_v1/service.rb +37 -6
- 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'
|
@@ -138,6 +140,38 @@ module Google
|
|
138
140
|
execute_or_queue_command(command, &block)
|
139
141
|
end
|
140
142
|
|
143
|
+
# Checks the cluster compatibility with Autopilot mode, and returns a list of
|
144
|
+
# compatibility issues.
|
145
|
+
# @param [String] name
|
146
|
+
# The name (project, location, cluster) of the cluster to retrieve. Specified in
|
147
|
+
# the format `projects/*/locations/*/clusters/*`.
|
148
|
+
# @param [String] fields
|
149
|
+
# Selector specifying which fields to include in a partial response.
|
150
|
+
# @param [String] quota_user
|
151
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
152
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
153
|
+
# @param [Google::Apis::RequestOptions] options
|
154
|
+
# Request-specific options
|
155
|
+
#
|
156
|
+
# @yield [result, err] Result & error if block supplied
|
157
|
+
# @yieldparam result [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse] parsed result object
|
158
|
+
# @yieldparam err [StandardError] error object if request failed
|
159
|
+
#
|
160
|
+
# @return [Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse]
|
161
|
+
#
|
162
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
163
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
164
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
165
|
+
def check_project_location_cluster_autopilot_compatibility(name, fields: nil, quota_user: nil, options: nil, &block)
|
166
|
+
command = make_simple_command(:get, 'v1/{+name}:checkAutopilotCompatibility', options)
|
167
|
+
command.response_representation = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse::Representation
|
168
|
+
command.response_class = Google::Apis::ContainerV1::CheckAutopilotCompatibilityResponse
|
169
|
+
command.params['name'] = name unless name.nil?
|
170
|
+
command.query['fields'] = fields unless fields.nil?
|
171
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
172
|
+
execute_or_queue_command(command, &block)
|
173
|
+
end
|
174
|
+
|
141
175
|
# Completes master IP rotation.
|
142
176
|
# @param [String] name
|
143
177
|
# The name (project, location, cluster name) of the cluster to complete IP
|
@@ -308,8 +342,6 @@ module Google
|
|
308
342
|
end
|
309
343
|
|
310
344
|
# 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
345
|
# @param [String] parent
|
314
346
|
# The cluster (project, location, cluster name) to get keys for. Specified in
|
315
347
|
# the format `projects/*/locations/*/clusters/*`.
|
@@ -1184,8 +1216,7 @@ module Google
|
|
1184
1216
|
|
1185
1217
|
# Gets the OIDC discovery document for the cluster. See the [OpenID Connect
|
1186
1218
|
# Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-
|
1187
|
-
# 1_0.html) for details.
|
1188
|
-
# not available for all clusters.
|
1219
|
+
# 1_0.html) for details.
|
1189
1220
|
# @param [String] parent
|
1190
1221
|
# The cluster (project, location, cluster name) to get the discovery document
|
1191
1222
|
# for. Specified in the format `projects/*/locations/*/clusters/*`.
|
@@ -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 ContainerV1
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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.
|
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.
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.88.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
|
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.
|
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.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.2
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Kubernetes Engine API V1
|
82
79
|
test_files: []
|