google-cloud-container-v1beta1 0.10.1 → 0.11.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/AUTHENTICATION.md +1 -1
- data/lib/google/cloud/container/v1beta1/cluster_manager/client.rb +3 -1
- data/lib/google/cloud/container/v1beta1/version.rb +1 -1
- data/lib/google/container/v1beta1/cluster_service_pb.rb +18 -0
- data/proto_docs/google/container/v1beta1/cluster_service.rb +47 -4
- 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: 58ad401b4715b7698d95464fac46b0c9b1156d8e5c498a5b057aff0a1e1defb7
|
4
|
+
data.tar.gz: c0dc4a06c408d32d754102545858e5f1e9f198816de1530f03ddaf623dbf9f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bc0c5aef67216dfee9ec26bca29c19c984de4992fff7a890f5092a756cfa1dc78941add3e704c4437d8969b7380ce1bc67deec269a47f160fa9593951882368
|
7
|
+
data.tar.gz: c6554c456c4cb263d1aa7663c5096abd0990390ad4d15bf5dd2b6612e293eb0dc3dfd1086fe443ee33f8f4ac2c7ff73e02b868112bb5168ca73adf06ffc8bf6d
|
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
|
@@ -660,7 +660,7 @@ module Google
|
|
660
660
|
# @param options [::Gapic::CallOptions, ::Hash]
|
661
661
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
662
662
|
#
|
663
|
-
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: 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)
|
663
|
+
# @overload update_node_pool(project_id: nil, zone: nil, cluster_id: nil, node_pool_id: nil, node_version: nil, image_type: nil, locations: nil, workload_metadata_config: nil, name: 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)
|
664
664
|
# Pass arguments to `update_node_pool` via keyword arguments. Note that at
|
665
665
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
666
666
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -733,6 +733,8 @@ module Google
|
|
733
733
|
# All the nodes in the node pool will be Confidential VM once enabled.
|
734
734
|
# @param gvnic [::Google::Cloud::Container::V1beta1::VirtualNIC, ::Hash]
|
735
735
|
# Enable or disable gvnic on the node pool.
|
736
|
+
# @param logging_config [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig, ::Hash]
|
737
|
+
# Logging configuration.
|
736
738
|
#
|
737
739
|
# @yield [response, operation] Access the result along with the RPC operation
|
738
740
|
# @yieldparam response [::Google::Cloud::Container::V1beta1::Operation]
|
@@ -61,6 +61,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
61
61
|
optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
|
62
62
|
optional :spot, :bool, 32
|
63
63
|
optional :confidential_nodes, :message, 35, "google.container.v1beta1.ConfidentialNodes"
|
64
|
+
optional :logging_config, :message, 38, "google.container.v1beta1.NodePoolLoggingConfig"
|
64
65
|
end
|
65
66
|
add_message "google.container.v1beta1.AdvancedMachineFeatures" do
|
66
67
|
proto3_optional :threads_per_core, :int64, 1
|
@@ -386,6 +387,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
386
387
|
end
|
387
388
|
add_message "google.container.v1beta1.NodeConfigDefaults" do
|
388
389
|
optional :gcfs_config, :message, 1, "google.container.v1beta1.GcfsConfig"
|
390
|
+
optional :logging_config, :message, 3, "google.container.v1beta1.NodePoolLoggingConfig"
|
389
391
|
end
|
390
392
|
add_message "google.container.v1beta1.NodePoolAutoConfig" do
|
391
393
|
optional :network_tags, :message, 1, "google.container.v1beta1.NetworkTags"
|
@@ -433,6 +435,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
433
435
|
optional :desired_identity_service_config, :message, 66, "google.container.v1beta1.IdentityServiceConfig"
|
434
436
|
optional :desired_node_pool_auto_config_network_tags, :message, 110, "google.container.v1beta1.NetworkTags"
|
435
437
|
proto3_optional :desired_protect_config, :message, 112, "google.container.v1beta1.ProtectConfig"
|
438
|
+
optional :desired_node_pool_logging_config, :message, 116, "google.container.v1beta1.NodePoolLoggingConfig"
|
436
439
|
end
|
437
440
|
add_message "google.container.v1beta1.Operation" do
|
438
441
|
optional :name, :string, 1
|
@@ -530,6 +533,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
530
533
|
optional :gcfs_config, :message, 22, "google.container.v1beta1.GcfsConfig"
|
531
534
|
optional :confidential_nodes, :message, 23, "google.container.v1beta1.ConfidentialNodes"
|
532
535
|
optional :gvnic, :message, 29, "google.container.v1beta1.VirtualNIC"
|
536
|
+
optional :logging_config, :message, 32, "google.container.v1beta1.NodePoolLoggingConfig"
|
533
537
|
end
|
534
538
|
add_message "google.container.v1beta1.SetNodePoolAutoscalingRequest" do
|
535
539
|
optional :project_id, :string, 1
|
@@ -1209,6 +1213,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1209
1213
|
optional :component_config, :message, 1, "google.container.v1beta1.MonitoringComponentConfig"
|
1210
1214
|
optional :managed_prometheus_config, :message, 2, "google.container.v1beta1.ManagedPrometheusConfig"
|
1211
1215
|
end
|
1216
|
+
add_message "google.container.v1beta1.NodePoolLoggingConfig" do
|
1217
|
+
optional :variant_config, :message, 1, "google.container.v1beta1.LoggingVariantConfig"
|
1218
|
+
end
|
1219
|
+
add_message "google.container.v1beta1.LoggingVariantConfig" do
|
1220
|
+
optional :variant, :enum, 1, "google.container.v1beta1.LoggingVariantConfig.Variant"
|
1221
|
+
end
|
1222
|
+
add_enum "google.container.v1beta1.LoggingVariantConfig.Variant" do
|
1223
|
+
value :VARIANT_UNSPECIFIED, 0
|
1224
|
+
value :DEFAULT, 1
|
1225
|
+
value :MAX_THROUGHPUT, 2
|
1226
|
+
end
|
1212
1227
|
add_message "google.container.v1beta1.MonitoringComponentConfig" do
|
1213
1228
|
repeated :enable_components, :enum, 1, "google.container.v1beta1.MonitoringComponentConfig.Component"
|
1214
1229
|
end
|
@@ -1443,6 +1458,9 @@ module Google
|
|
1443
1458
|
LoggingComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingComponentConfig").msgclass
|
1444
1459
|
LoggingComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingComponentConfig.Component").enummodule
|
1445
1460
|
MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringConfig").msgclass
|
1461
|
+
NodePoolLoggingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.NodePoolLoggingConfig").msgclass
|
1462
|
+
LoggingVariantConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingVariantConfig").msgclass
|
1463
|
+
LoggingVariantConfig::Variant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.LoggingVariantConfig.Variant").enummodule
|
1446
1464
|
MonitoringComponentConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringComponentConfig").msgclass
|
1447
1465
|
MonitoringComponentConfig::Component = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.MonitoringComponentConfig.Component").enummodule
|
1448
1466
|
PrivateIPv6GoogleAccess = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.container.v1beta1.PrivateIPv6GoogleAccess").enummodule
|
@@ -259,7 +259,7 @@ module Google
|
|
259
259
|
# `minCpuPlatform: "Intel Haswell"` or
|
260
260
|
# `minCpuPlatform: "Intel Sandy Bridge"`. For more
|
261
261
|
# information, read [how to specify min CPU
|
262
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
262
|
+
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
|
263
263
|
# @!attribute [rw] workload_metadata_config
|
264
264
|
# @return [::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig]
|
265
265
|
# The workload metadata configuration for this node.
|
@@ -307,6 +307,9 @@ module Google
|
|
307
307
|
# @return [::Google::Cloud::Container::V1beta1::ConfidentialNodes]
|
308
308
|
# Confidential nodes config.
|
309
309
|
# All the nodes in the node pool will be Confidential VM once enabled.
|
310
|
+
# @!attribute [rw] logging_config
|
311
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
|
312
|
+
# Logging configuration.
|
310
313
|
class NodeConfig
|
311
314
|
include ::Google::Protobuf::MessageExts
|
312
315
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -485,8 +488,9 @@ module Google
|
|
485
488
|
# @!attribute [rw] key
|
486
489
|
# @return [::String]
|
487
490
|
# Corresponds to the label key of a reservation resource. To target a
|
488
|
-
# SPECIFIC_RESERVATION by name, specify
|
489
|
-
# the key and specify the name
|
491
|
+
# SPECIFIC_RESERVATION by name, specify
|
492
|
+
# "compute.googleapis.com/reservation-name" as the key and specify the name
|
493
|
+
# of your reservation as its value.
|
490
494
|
# @!attribute [rw] values
|
491
495
|
# @return [::Array<::String>]
|
492
496
|
# Corresponds to the label value(s) of reservation resource(s).
|
@@ -1643,6 +1647,9 @@ module Google
|
|
1643
1647
|
# @!attribute [rw] gcfs_config
|
1644
1648
|
# @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
|
1645
1649
|
# GCFS (Google Container File System, also known as Riptide) options.
|
1650
|
+
# @!attribute [rw] logging_config
|
1651
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
|
1652
|
+
# Logging configuration for node pools.
|
1646
1653
|
class NodeConfigDefaults
|
1647
1654
|
include ::Google::Protobuf::MessageExts
|
1648
1655
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1849,6 +1856,9 @@ module Google
|
|
1849
1856
|
# @!attribute [rw] desired_protect_config
|
1850
1857
|
# @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
|
1851
1858
|
# Enable/Disable Protect API features for the cluster.
|
1859
|
+
# @!attribute [rw] desired_node_pool_logging_config
|
1860
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
|
1861
|
+
# The desired node pool logging configuration defaults for the cluster.
|
1852
1862
|
class ClusterUpdate
|
1853
1863
|
include ::Google::Protobuf::MessageExts
|
1854
1864
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2198,6 +2208,9 @@ module Google
|
|
2198
2208
|
# @!attribute [rw] gvnic
|
2199
2209
|
# @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
|
2200
2210
|
# Enable or disable gvnic on the node pool.
|
2211
|
+
# @!attribute [rw] logging_config
|
2212
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
|
2213
|
+
# Logging configuration.
|
2201
2214
|
class UpdateNodePoolRequest
|
2202
2215
|
include ::Google::Protobuf::MessageExts
|
2203
2216
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3507,7 +3520,7 @@ module Google
|
|
3507
3520
|
# minCpuPlatform: Intel Haswell or
|
3508
3521
|
# minCpuPlatform: Intel Sandy Bridge. For more
|
3509
3522
|
# information, read [how to specify min CPU
|
3510
|
-
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
|
3523
|
+
# platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
|
3511
3524
|
# This field is deprecated, min_cpu_platform should be specified using
|
3512
3525
|
# https://cloud.google.com/requested-min-cpu-platform label selector on the
|
3513
3526
|
# pod.
|
@@ -4792,6 +4805,36 @@ module Google
|
|
4792
4805
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4793
4806
|
end
|
4794
4807
|
|
4808
|
+
# NodePoolLoggingConfig specifies logging configuration for nodepools.
|
4809
|
+
# @!attribute [rw] variant_config
|
4810
|
+
# @return [::Google::Cloud::Container::V1beta1::LoggingVariantConfig]
|
4811
|
+
# Logging variant configuration.
|
4812
|
+
class NodePoolLoggingConfig
|
4813
|
+
include ::Google::Protobuf::MessageExts
|
4814
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4815
|
+
end
|
4816
|
+
|
4817
|
+
# LoggingVariantConfig specifies the behaviour of the logging component.
|
4818
|
+
# @!attribute [rw] variant
|
4819
|
+
# @return [::Google::Cloud::Container::V1beta1::LoggingVariantConfig::Variant]
|
4820
|
+
# Logging variant deployed on nodes.
|
4821
|
+
class LoggingVariantConfig
|
4822
|
+
include ::Google::Protobuf::MessageExts
|
4823
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4824
|
+
|
4825
|
+
# Logging component variants.
|
4826
|
+
module Variant
|
4827
|
+
# Default value. This shouldn't be used.
|
4828
|
+
VARIANT_UNSPECIFIED = 0
|
4829
|
+
|
4830
|
+
# default logging variant.
|
4831
|
+
DEFAULT = 1
|
4832
|
+
|
4833
|
+
# maximum logging throughput variant.
|
4834
|
+
MAX_THROUGHPUT = 2
|
4835
|
+
end
|
4836
|
+
end
|
4837
|
+
|
4795
4838
|
# MonitoringComponentConfig is cluster monitoring component configuration.
|
4796
4839
|
# @!attribute [rw] enable_components
|
4797
4840
|
# @return [::Array<::Google::Cloud::Container::V1beta1::MonitoringComponentConfig::Component>]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-container-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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
|