google-cloud-container-v1 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.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 +18 -0
- data/proto_docs/google/container/v1/cluster_service.rb +46 -3
- 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: d5062e182955d3f0155e3385dcf40af2e8c3dd0d611e382aecd391ceca2b935e
|
4
|
+
data.tar.gz: 7e95a540b90af0633cb39ac7ddca0c082ec3151539fe1629723a05743a453278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ff9fcd5f7b51e816fad222a4fc626fd31bd7f10818a533082bc71b01c3d971a89e5ed46c5fa439f0addabbb9be245f82535ad925f0f8014ac82827067f92c49
|
7
|
+
data.tar.gz: 564fd682a6da1ca5aecced447215b196ff0fce061dca7c5ca086b30faed6ad6cdac31e4feba22638088617713a2d9cdc585b6a606ea5f5581513b2594171bf0d
|
data/AUTHENTICATION.md
CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
|
|
114
114
|
To configure your system for this, simply:
|
115
115
|
|
116
116
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
117
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
117
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
118
118
|
3. Write code as if already authenticated.
|
119
119
|
|
120
120
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
@@ -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)
|
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)
|
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 logging_config [::Google::Cloud::Container::V1::NodePoolLoggingConfig, ::Hash]
|
727
|
+
# Logging configuration.
|
726
728
|
#
|
727
729
|
# @yield [response, operation] Access the result along with the RPC operation
|
728
730
|
# @yieldparam response [::Google::Cloud::Container::V1::Operation]
|
@@ -53,6 +53,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
53
53
|
optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
|
54
54
|
optional :spot, :bool, 32
|
55
55
|
optional :confidential_nodes, :message, 35, "google.container.v1.ConfidentialNodes"
|
56
|
+
optional :logging_config, :message, 38, "google.container.v1.NodePoolLoggingConfig"
|
56
57
|
end
|
57
58
|
add_message "google.container.v1.AdvancedMachineFeatures" do
|
58
59
|
proto3_optional :threads_per_core, :int64, 1
|
@@ -309,6 +310,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
309
310
|
end
|
310
311
|
add_message "google.container.v1.NodeConfigDefaults" do
|
311
312
|
optional :gcfs_config, :message, 1, "google.container.v1.GcfsConfig"
|
313
|
+
optional :logging_config, :message, 3, "google.container.v1.NodePoolLoggingConfig"
|
312
314
|
end
|
313
315
|
add_message "google.container.v1.ClusterUpdate" do
|
314
316
|
optional :desired_node_version, :string, 4
|
@@ -345,6 +347,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
345
347
|
optional :desired_master_version, :string, 100
|
346
348
|
optional :desired_gcfs_config, :message, 109, "google.container.v1.GcfsConfig"
|
347
349
|
optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1.NetworkTags"
|
350
|
+
optional :desired_node_pool_logging_config, :message, 116, "google.container.v1.NodePoolLoggingConfig"
|
348
351
|
end
|
349
352
|
add_message "google.container.v1.Operation" do
|
350
353
|
optional :name, :string, 1
|
@@ -442,6 +445,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
442
445
|
optional :gcfs_config, :message, 22, "google.container.v1.GcfsConfig"
|
443
446
|
optional :confidential_nodes, :message, 23, "google.container.v1.ConfidentialNodes"
|
444
447
|
optional :gvnic, :message, 29, "google.container.v1.VirtualNIC"
|
448
|
+
optional :logging_config, :message, 32, "google.container.v1.NodePoolLoggingConfig"
|
445
449
|
end
|
446
450
|
add_message "google.container.v1.SetNodePoolAutoscalingRequest" do
|
447
451
|
optional :project_id, :string, 1
|
@@ -1051,6 +1055,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1051
1055
|
optional :component_config, :message, 1, "google.container.v1.MonitoringComponentConfig"
|
1052
1056
|
optional :managed_prometheus_config, :message, 2, "google.container.v1.ManagedPrometheusConfig"
|
1053
1057
|
end
|
1058
|
+
add_message "google.container.v1.NodePoolLoggingConfig" do
|
1059
|
+
optional :variant_config, :message, 1, "google.container.v1.LoggingVariantConfig"
|
1060
|
+
end
|
1061
|
+
add_message "google.container.v1.LoggingVariantConfig" do
|
1062
|
+
optional :variant, :enum, 1, "google.container.v1.LoggingVariantConfig.Variant"
|
1063
|
+
end
|
1064
|
+
add_enum "google.container.v1.LoggingVariantConfig.Variant" do
|
1065
|
+
value :VARIANT_UNSPECIFIED, 0
|
1066
|
+
value :DEFAULT, 1
|
1067
|
+
value :MAX_THROUGHPUT, 2
|
1068
|
+
end
|
1054
1069
|
add_message "google.container.v1.MonitoringComponentConfig" do
|
1055
1070
|
repeated :enable_components, :enum, 1, "google.container.v1.MonitoringComponentConfig.Component"
|
1056
1071
|
end
|
@@ -1257,6 +1272,9 @@ module Google
|
|
1257
1272
|
LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig").msgclass
|
1258
1273
|
LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingComponentConfig.Component").enummodule
|
1259
1274
|
MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringConfig").msgclass
|
1275
|
+
NodePoolLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.NodePoolLoggingConfig").msgclass
|
1276
|
+
LoggingVariantConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig").msgclass
|
1277
|
+
LoggingVariantConfig::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.LoggingVariantConfig.Variant").enummodule
|
1260
1278
|
MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig").msgclass
|
1261
1279
|
MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.MonitoringComponentConfig.Component").enummodule
|
1262
1280
|
ManagedPrometheusConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1.ManagedPrometheusConfig").msgclass
|
@@ -284,6 +284,9 @@ module Google
|
|
284
284
|
# @return [::Google::Cloud::Container::V1::ConfidentialNodes]
|
285
285
|
# Confidential nodes config.
|
286
286
|
# All the nodes in the node pool will be Confidential VM once enabled.
|
287
|
+
# @!attribute [rw] logging_config
|
288
|
+
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
289
|
+
# Logging configuration.
|
287
290
|
class NodeConfig
|
288
291
|
include ::Google::Protobuf::MessageExts
|
289
292
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -444,8 +447,9 @@ module Google
|
|
444
447
|
# @!attribute [rw] key
|
445
448
|
# @return [::String]
|
446
449
|
# Corresponds to the label key of a reservation resource. To target a
|
447
|
-
# SPECIFIC_RESERVATION by name, specify
|
448
|
-
# the key and specify the name
|
450
|
+
# SPECIFIC_RESERVATION by name, specify
|
451
|
+
# "compute.googleapis.com/reservation-name" as the key and specify the name
|
452
|
+
# of your reservation as its value.
|
449
453
|
# @!attribute [rw] values
|
450
454
|
# @return [::Array<::String>]
|
451
455
|
# Corresponds to the label value(s) of reservation resource(s).
|
@@ -1396,6 +1400,9 @@ module Google
|
|
1396
1400
|
# @!attribute [rw] gcfs_config
|
1397
1401
|
# @return [::Google::Cloud::Container::V1::GcfsConfig]
|
1398
1402
|
# GCFS (Google Container File System, also known as Riptide) options.
|
1403
|
+
# @!attribute [rw] logging_config
|
1404
|
+
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
1405
|
+
# Logging configuration for node pools.
|
1399
1406
|
class NodeConfigDefaults
|
1400
1407
|
include ::Google::Protobuf::MessageExts
|
1401
1408
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1562,6 +1569,9 @@ module Google
|
|
1562
1569
|
# @return [::Google::Cloud::Container::V1::NetworkTags]
|
1563
1570
|
# The desired network tags that apply to all auto-provisioned node pools
|
1564
1571
|
# in autopilot clusters and node auto-provisioning enabled clusters.
|
1572
|
+
# @!attribute [rw] desired_node_pool_logging_config
|
1573
|
+
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
1574
|
+
# The desired node pool logging configuration defaults for the cluster.
|
1565
1575
|
class ClusterUpdate
|
1566
1576
|
include ::Google::Protobuf::MessageExts
|
1567
1577
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1911,6 +1921,9 @@ module Google
|
|
1911
1921
|
# @!attribute [rw] gvnic
|
1912
1922
|
# @return [::Google::Cloud::Container::V1::VirtualNIC]
|
1913
1923
|
# Enable or disable gvnic on the node pool.
|
1924
|
+
# @!attribute [rw] logging_config
|
1925
|
+
# @return [::Google::Cloud::Container::V1::NodePoolLoggingConfig]
|
1926
|
+
# Logging configuration.
|
1914
1927
|
class UpdateNodePoolRequest
|
1915
1928
|
include ::Google::Protobuf::MessageExts
|
1916
1929
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3137,7 +3150,7 @@ module Google
|
|
3137
3150
|
# minCpuPlatform: Intel Haswell or
|
3138
3151
|
# minCpuPlatform: Intel Sandy Bridge. For more
|
3139
3152
|
# information, read [how to specify min CPU
|
3140
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
3153
|
+
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
|
3141
3154
|
# This field is deprecated, min_cpu_platform should be specified using
|
3142
3155
|
# https://cloud.google.com/requested-min-cpu-platform label selector on the
|
3143
3156
|
# pod.
|
@@ -4248,6 +4261,36 @@ module Google
|
|
4248
4261
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4249
4262
|
end
|
4250
4263
|
|
4264
|
+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
|
4265
|
+
# @!attribute [rw] variant_config
|
4266
|
+
# @return [::Google::Cloud::Container::V1::LoggingVariantConfig]
|
4267
|
+
# Logging variant configuration.
|
4268
|
+
class NodePoolLoggingConfig
|
4269
|
+
include ::Google::Protobuf::MessageExts
|
4270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4271
|
+
end
|
4272
|
+
|
4273
|
+
# LoggingVariantConfig specifies the behaviour of the logging component.
|
4274
|
+
# @!attribute [rw] variant
|
4275
|
+
# @return [::Google::Cloud::Container::V1::LoggingVariantConfig::Variant]
|
4276
|
+
# Logging variant deployed on nodes.
|
4277
|
+
class LoggingVariantConfig
|
4278
|
+
include ::Google::Protobuf::MessageExts
|
4279
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4280
|
+
|
4281
|
+
# Logging component variants.
|
4282
|
+
module Variant
|
4283
|
+
# Default value. This shouldn't be used.
|
4284
|
+
VARIANT_UNSPECIFIED = 0
|
4285
|
+
|
4286
|
+
# default logging variant.
|
4287
|
+
DEFAULT = 1
|
4288
|
+
|
4289
|
+
# maximum logging throughput variant.
|
4290
|
+
MAX_THROUGHPUT = 2
|
4291
|
+
end
|
4292
|
+
end
|
4293
|
+
|
4251
4294
|
# MonitoringComponentConfig is cluster monitoring component configuration.
|
4252
4295
|
# @!attribute [rw] enable_components
|
4253
4296
|
# @return [::Array<::Google::Cloud::Container::V1::MonitoringComponentConfig::Component>]
|
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.10.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-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|