google-cloud-container-v1 0.12.0 → 0.14.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 +3 -1
- 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/container/v1/cluster_service.rb +22 -3
- data/proto_docs/google/rpc/code.rb +6 -6
- data/proto_docs/google/rpc/status.rb +4 -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: 5ae995acf44ae5a846f5ad51746d1edd7b63ae179ab12292ddb5ee3411cedb07
|
4
|
+
data.tar.gz: c34af62ee3f8c28f227a56dc7f0b6d72c2760c60959af771fafa9dc2915f80f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6648c52455f95866f6ec6439f7559558139e966ec888dc93144c3f01e58e788ced6defd090eaa63679a8b5eed7745ec787c9868fbb6e80c5fda6db426d1a76b
|
7
|
+
data.tar.gz: 810a9a0f63f81daf197138f9a7708a915cfae47371015cdbd03af1a7b775d1e4e15510064e1286e61b906a6e329dcd140800b3c121b26a409cce847727dbb4fb
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
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
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
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
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/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.
|
@@ -650,7 +650,7 @@ module Google
|
|
650
650
|
# @param options [::Gapic::CallOptions, ::Hash]
|
651
651
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
652
652
|
#
|
653
|
-
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, logging_config: nil, resource_labels: nil)
|
653
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, name: nil, locations: nil, workload_metadata_config: nil, upgrade_settings: nil, tags: nil, taints: nil, labels: nil, linux_node_config: nil, kubelet_config: nil, node_network_config: nil, gcfs_config: nil, confidential_nodes: nil, gvnic: nil, fast_socket: nil, logging_config: nil, resource_labels: nil)
|
654
654
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
655
655
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
656
656
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -723,6 +723,8 @@ module Google
|
|
723
723
|
# All the nodes in the node pool will be Confidential VM once enabled.
|
724
724
|
# @param gvnic [::Google::Cloud::Container::V1::VirtualNIC, ::Hash]
|
725
725
|
# Enable or disable gvnic on the node pool.
|
726
|
+
# @param fast_socket [::Google::Cloud::Container::V1::FastSocket, ::Hash]
|
727
|
+
# Enable or disable NCCL fast socket for the node pool.
|
726
728
|
# @param logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
|
727
729
|
# Logging configuration.
|
728
730
|
# @param resource_labels [::Google::Cloud::Container::V1::ResourceLabels, ::Hash]
|
@@ -59,6 +59,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
59
59
|
optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
|
60
60
|
optional :spot, :bool, 32
|
61
61
|
optional :confidential_nodes, :message, 35, "google.container.v1.ConfidentialNodes"
|
62
|
+
proto3_optional :fast_socket, :message, 36, "google.container.v1.FastSocket"
|
62
63
|
map :resource_labels, :string, :string, 37
|
63
64
|
optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
|
64
65
|
end
|
@@ -371,6 +372,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
371
372
|
optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
|
372
373
|
optional :desired_gateway_api_config, :message, 114, "google.container.v1.GatewayAPIConfig"
|
373
374
|
optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
|
375
|
+
optional :desired_stack_type, :enum, 119, "google.container.v1.StackType"
|
374
376
|
end
|
375
377
|
add_message "google.container.v1.Operation" do
|
376
378
|
optional :name, :string, 1
|
@@ -468,6 +470,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
468
470
|
optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
|
469
471
|
optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
|
470
472
|
optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
|
473
|
+
optional :fast_socket, :message, 31, "google.container.v1.FastSocket"
|
471
474
|
optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
|
472
475
|
optional :resource_labels, :message, 33, "google.container.v1.ResourceLabels"
|
473
476
|
end
|
@@ -1036,6 +1039,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1036
1039
|
add_message "google.container.v1.VirtualNIC" do
|
1037
1040
|
optional :enabled, :bool, 1
|
1038
1041
|
end
|
1042
|
+
add_message "google.container.v1.FastSocket" do
|
1043
|
+
optional :enabled, :bool, 1
|
1044
|
+
end
|
1039
1045
|
add_message "google.container.v1.NotificationConfig" do
|
1040
1046
|
optional :pubsub, :message, 1, "google.container.v1.NotificationConfig.PubSub"
|
1041
1047
|
end
|
@@ -1325,6 +1331,7 @@ module Google
|
|
1325
1331
|
DefaultSnatStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.DefaultSnatStatus").msgclass
|
1326
1332
|
ShieldedNodes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ShieldedNodes").msgclass
|
1327
1333
|
VirtualNIC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.VirtualNIC").msgclass
|
1334
|
+
FastSocket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.FastSocket").msgclass
|
1328
1335
|
NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig").msgclass
|
1329
1336
|
NotificationConfig::PubSub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.PubSub").msgclass
|
1330
1337
|
NotificationConfig::Filter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NotificationConfig.Filter").msgclass
|
@@ -302,6 +302,9 @@ module Google
|
|
302
302
|
# @return [::Google::Cloud::Container::V1::ConfidentialNodes]
|
303
303
|
# Confidential nodes config.
|
304
304
|
# All the nodes in the node pool will be Confidential VM once enabled.
|
305
|
+
# @!attribute [rw] fast_socket
|
306
|
+
# @return [::Google::Cloud::Container::V1::FastSocket]
|
307
|
+
# Enable or disable NCCL fast socket for the node pool.
|
305
308
|
# @!attribute [rw] resource_labels
|
306
309
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
307
310
|
# The resource labels for the node pool to use to annotate any related
|
@@ -953,9 +956,8 @@ module Google
|
|
953
956
|
# anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
|
954
957
|
# @!attribute [rw] evaluation_mode
|
955
958
|
# @return [::Google::Cloud::Container::V1::BinaryAuthorization::EvaluationMode]
|
956
|
-
# Mode of operation for binauthz policy evaluation.
|
957
|
-
#
|
958
|
-
# DISABLED.
|
959
|
+
# Mode of operation for binauthz policy evaluation. If unspecified, defaults
|
960
|
+
# to DISABLED.
|
959
961
|
class BinaryAuthorization
|
960
962
|
include ::Google::Protobuf::MessageExts
|
961
963
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1664,6 +1666,11 @@ module Google
|
|
1664
1666
|
# @!attribute [rw] desired_node_pool_logging_config
|
1665
1667
|
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
1666
1668
|
# The desired node pool logging configuration defaults for the cluster.
|
1669
|
+
# @!attribute [rw] desired_stack_type
|
1670
|
+
# @return [::Google::Cloud::Container::V1::StackType]
|
1671
|
+
# The desired stack type of the cluster.
|
1672
|
+
# If a stack type is provided and does not match the current stack type of
|
1673
|
+
# the cluster, update will attempt to change the stack type to the new type.
|
1667
1674
|
class ClusterUpdate
|
1668
1675
|
include ::Google::Protobuf::MessageExts
|
1669
1676
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2013,6 +2020,9 @@ module Google
|
|
2013
2020
|
# @!attribute [rw] gvnic
|
2014
2021
|
# @return [::Google::Cloud::Container::V1::VirtualNIC]
|
2015
2022
|
# Enable or disable gvnic on the node pool.
|
2023
|
+
# @!attribute [rw] fast_socket
|
2024
|
+
# @return [::Google::Cloud::Container::V1::FastSocket]
|
2025
|
+
# Enable or disable NCCL fast socket for the node pool.
|
2016
2026
|
# @!attribute [rw] logging_config
|
2017
2027
|
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
2018
2028
|
# Logging configuration.
|
@@ -4209,6 +4219,15 @@ module Google
|
|
4209
4219
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4210
4220
|
end
|
4211
4221
|
|
4222
|
+
# Configuration of Fast Socket feature.
|
4223
|
+
# @!attribute [rw] enabled
|
4224
|
+
# @return [::Boolean]
|
4225
|
+
# Whether Fast Socket features are enabled in the node pool.
|
4226
|
+
class FastSocket
|
4227
|
+
include ::Google::Protobuf::MessageExts
|
4228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4229
|
+
end
|
4230
|
+
|
4212
4231
|
# NotificationConfig is the configuration of notifications.
|
4213
4232
|
# @!attribute [rw] pubsub
|
4214
4233
|
# @return [::Google::Cloud::Container::V1::NotificationConfig::PubSub]
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply.
|
28
28
|
# Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.
|
29
29
|
module Code
|
30
|
-
# Not an error; returned on success
|
30
|
+
# Not an error; returned on success.
|
31
31
|
#
|
32
32
|
# HTTP Mapping: 200 OK
|
33
33
|
OK = 0
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
# Some requested entity (e.g., file or directory) was not found.
|
67
67
|
#
|
68
68
|
# Note to server developers: if a request is denied for an entire class
|
69
|
-
# of users, such as gradual feature rollout or undocumented
|
69
|
+
# of users, such as gradual feature rollout or undocumented allowlist,
|
70
70
|
# `NOT_FOUND` may be used. If a request is denied for some users within
|
71
71
|
# a class of users, such as user-based access control, `PERMISSION_DENIED`
|
72
72
|
# must be used.
|
@@ -112,11 +112,11 @@ module Google
|
|
112
112
|
# Service implementors can use the following guidelines to decide
|
113
113
|
# between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
|
114
114
|
# (a) Use `UNAVAILABLE` if the client can retry just the failing call.
|
115
|
-
# (b) Use `ABORTED` if the client should retry at a higher level
|
116
|
-
#
|
117
|
-
# client should restart a read-modify-write sequence
|
115
|
+
# (b) Use `ABORTED` if the client should retry at a higher level. For
|
116
|
+
# example, when a client-specified test-and-set fails, indicating the
|
117
|
+
# client should restart a read-modify-write sequence.
|
118
118
|
# (c) Use `FAILED_PRECONDITION` if the client should not retry until
|
119
|
-
# the system state has been explicitly fixed.
|
119
|
+
# the system state has been explicitly fixed. For example, if an "rmdir"
|
120
120
|
# fails because the directory is non-empty, `FAILED_PRECONDITION`
|
121
121
|
# should be returned since the client should not retry unless
|
122
122
|
# the files are deleted from the directory.
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# {::Google::Rpc::Code google.rpc.Code}.
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
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.14.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: 2022-
|
11
|
+
date: 2022-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|