google-cloud-container-v1 0.16.2 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +6 -8
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +7 -0
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/container/v1/cluster_service.rb +28 -4
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 356d7d5be8ca22637504ee625e885f0a664d7f13c42d72a2b71e5e198eccbd88
|
4
|
+
data.tar.gz: f27dcc0dae7ca73b615e5ffadfe8784485c1d547825d56e937948bb70ce07e6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31302ff6515cac9f76fbcf31952aa6c193f96b4ea12658bb3c1da8b9854207bd005cee2840c6bdb77ef2400c975a73c3394dff9912cfcb2b56831d794caf79a5
|
7
|
+
data.tar.gz: 1fe0723c36364d4995a1c94cfceaf110cf28abf9b796c2c3a36432582669db59f58bf5b03537d5f68dab40c3f2da17f53d72150149b00e737be3449ad31e0a18
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Kubernetes Engine V1 API
|
2
2
|
|
3
|
-
|
3
|
+
Builds and manages container-based applications, powered by the open source Kubernetes technology.
|
4
4
|
|
5
5
|
Builds and manages container-based applications, powered by the open source Kubernetes technology.
|
6
6
|
|
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -3600,13 +3600,11 @@ module Google
|
|
3600
3600
|
# # Call the list_usable_subnetworks method.
|
3601
3601
|
# result = client.list_usable_subnetworks request
|
3602
3602
|
#
|
3603
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
3604
|
-
# #
|
3605
|
-
#
|
3606
|
-
# # methods are also available for managing paging directly.
|
3607
|
-
# result.each do |response|
|
3603
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3604
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3605
|
+
# result.each do |item|
|
3608
3606
|
# # Each element is of type ::Google::Cloud::Container::V1::UsableSubnetwork.
|
3609
|
-
# p
|
3607
|
+
# p item
|
3610
3608
|
# end
|
3611
3609
|
#
|
3612
3610
|
def list_usable_subnetworks request, options = nil
|
@@ -3689,9 +3687,9 @@ module Google
|
|
3689
3687
|
# * (`String`) The path to a service account key file in JSON format
|
3690
3688
|
# * (`Hash`) A service account key as a Hash
|
3691
3689
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
3692
|
-
# (see the [googleauth docs](https://
|
3690
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
3693
3691
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3694
|
-
# (see the [signet docs](https://
|
3692
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3695
3693
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
3696
3694
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
3697
3695
|
# * (`nil`) indicating no credentials
|
@@ -327,6 +327,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
327
327
|
optional :monitoring_config, :message, 133, "google.container.v1.MonitoringConfig"
|
328
328
|
optional :node_pool_auto_config, :message, 136, "google.container.v1.NodePoolAutoConfig"
|
329
329
|
optional :etag, :string, 139
|
330
|
+
optional :fleet, :message, 140, "google.container.v1.Fleet"
|
330
331
|
end
|
331
332
|
add_enum "google.container.v1.Cluster.Status" do
|
332
333
|
value :STATUS_UNSPECIFIED, 0
|
@@ -1152,6 +1153,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1152
1153
|
add_message "google.container.v1.ManagedPrometheusConfig" do
|
1153
1154
|
optional :enabled, :bool, 1
|
1154
1155
|
end
|
1156
|
+
add_message "google.container.v1.Fleet" do
|
1157
|
+
optional :project, :string, 1
|
1158
|
+
optional :membership, :string, 2
|
1159
|
+
optional :pre_registered, :bool, 3
|
1160
|
+
end
|
1155
1161
|
add_message "google.container.v1.LocalNvmeSsdBlockConfig" do
|
1156
1162
|
optional :local_ssd_count, :int32, 1
|
1157
1163
|
end
|
@@ -1378,6 +1384,7 @@ module Google
|
|
1378
1384
|
MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
|
1379
1385
|
MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
|
1380
1386
|
ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
|
1387
|
+
Fleet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.Fleet").msgclass
|
1381
1388
|
LocalNvmeSsdBlockConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LocalNvmeSsdBlockConfig").msgclass
|
1382
1389
|
EphemeralStorageLocalSsdConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.EphemeralStorageLocalSsdConfig").msgclass
|
1383
1390
|
PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.PrivateIPv6GoogleAccess").enummodule
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -548,7 +548,7 @@ module Google
|
|
548
548
|
end
|
549
549
|
end
|
550
550
|
|
551
|
-
# Kubernetes taint is
|
551
|
+
# Kubernetes taint is composed of three fields: key, value, and effect. Effect
|
552
552
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
|
553
553
|
#
|
554
554
|
# See
|
@@ -1463,6 +1463,9 @@ module Google
|
|
1463
1463
|
# This checksum is computed by the server based on the value of cluster
|
1464
1464
|
# fields, and may be sent on update requests to ensure the client has an
|
1465
1465
|
# up-to-date value before proceeding.
|
1466
|
+
# @!attribute [rw] fleet
|
1467
|
+
# @return [::Google::Cloud::Container::V1::Fleet]
|
1468
|
+
# Fleet information for the cluster.
|
1466
1469
|
class Cluster
|
1467
1470
|
include ::Google::Protobuf::MessageExts
|
1468
1471
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4175,8 +4178,9 @@ module Google
|
|
4175
4178
|
# UNUSED denotes that this range is unclaimed by any cluster.
|
4176
4179
|
UNUSED = 1
|
4177
4180
|
|
4178
|
-
# IN_USE_SERVICE denotes that this range is claimed by
|
4179
|
-
# services.
|
4181
|
+
# IN_USE_SERVICE denotes that this range is claimed by cluster(s) for
|
4182
|
+
# services. User-managed services range can be shared between clusters
|
4183
|
+
# within the same subnetwork.
|
4180
4184
|
IN_USE_SERVICE = 2
|
4181
4185
|
|
4182
4186
|
# IN_USE_SHAREABLE_POD denotes this range was created by the network admin
|
@@ -4587,6 +4591,26 @@ module Google
|
|
4587
4591
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4588
4592
|
end
|
4589
4593
|
|
4594
|
+
# Fleet is the fleet configuration for the cluster.
|
4595
|
+
# @!attribute [rw] project
|
4596
|
+
# @return [::String]
|
4597
|
+
# The Fleet host project(project ID or project number) where this cluster
|
4598
|
+
# will be registered to. This field cannot be changed after the cluster has
|
4599
|
+
# been registered.
|
4600
|
+
# @!attribute [rw] membership
|
4601
|
+
# @return [::String]
|
4602
|
+
# [Output only] The full resource name of the registered fleet membership of
|
4603
|
+
# the cluster, in the format
|
4604
|
+
# `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.
|
4605
|
+
# @!attribute [rw] pre_registered
|
4606
|
+
# @return [::Boolean]
|
4607
|
+
# [Output only] Whether the cluster has been registered through the fleet
|
4608
|
+
# API.
|
4609
|
+
class Fleet
|
4610
|
+
include ::Google::Protobuf::MessageExts
|
4611
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4612
|
+
end
|
4613
|
+
|
4590
4614
|
# LocalNvmeSsdBlockConfig contains configuration for using raw-block local
|
4591
4615
|
# NVMe SSD.
|
4592
4616
|
# @!attribute [rw] local_ssd_count
|
@@ -4631,7 +4655,7 @@ module Google
|
|
4631
4655
|
# Enables private IPv6 access to Google Services from GKE
|
4632
4656
|
PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE = 2
|
4633
4657
|
|
4634
|
-
# Enables
|
4658
|
+
# Enables private IPv6 access to and from Google Services
|
4635
4659
|
PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL = 3
|
4636
4660
|
end
|
4637
4661
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2023-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.18.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.
|
53
|
+
version: 1.26.3
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.
|
60
|
+
version: 1.26.3
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: minitest
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,5 +213,6 @@ requirements: []
|
|
213
213
|
rubygems_version: 3.4.2
|
214
214
|
signing_key:
|
215
215
|
specification_version: 4
|
216
|
-
summary:
|
216
|
+
summary: Builds and manages container-based applications, powered by the open source
|
217
|
+
Kubernetes technology.
|
217
218
|
test_files: []
|