google-cloud-container-v1 0.16.3 → 0.17.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/README.md +1 -1
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +2 -2
- 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 +26 -2
- metadata +2 -2
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
@@ -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
|
|
@@ -3687,9 +3687,9 @@ module Google
|
|
3687
3687
|
# * (`String`) The path to a service account key file in JSON format
|
3688
3688
|
# * (`Hash`) A service account key as a Hash
|
3689
3689
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
3690
|
-
# (see the [googleauth docs](https://
|
3690
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
3691
3691
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
3692
|
-
# (see the [signet docs](https://
|
3692
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
3693
3693
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
3694
3694
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
3695
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
|
@@ -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
|
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-03-
|
11
|
+
date: 2023-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|