google-cloud-container-v1beta1 0.10.0 → 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 +4 -2
- 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 +56 -11
- data/proto_docs/google/protobuf/empty.rb +0 -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: 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]
|
@@ -2554,7 +2556,7 @@ module Google
|
|
2554
2556
|
# @param name [::String]
|
2555
2557
|
# The name (project, location, cluster, node pool id) of the node pool to
|
2556
2558
|
# complete upgrade.
|
2557
|
-
# Specified in the format
|
2559
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
2558
2560
|
#
|
2559
2561
|
# @yield [response, operation] Access the result along with the RPC operation
|
2560
2562
|
# @yieldparam response [::Google::Protobuf::Empty]
|
@@ -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).
|
@@ -1092,7 +1096,7 @@ module Google
|
|
1092
1096
|
include ::Google::Protobuf::MessageExts
|
1093
1097
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1094
1098
|
|
1095
|
-
# IP stack type
|
1099
|
+
# Possible values for IP stack type
|
1096
1100
|
module StackType
|
1097
1101
|
# By default, the clusters will be IPV4 only
|
1098
1102
|
STACK_TYPE_UNSPECIFIED = 0
|
@@ -1120,8 +1124,9 @@ module Google
|
|
1120
1124
|
# Configuration for Binary Authorization.
|
1121
1125
|
# @!attribute [rw] enabled
|
1122
1126
|
# @return [::Boolean]
|
1123
|
-
#
|
1124
|
-
#
|
1127
|
+
# This field is deprecated. Leave this unset and instead configure
|
1128
|
+
# BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
|
1129
|
+
# anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
|
1125
1130
|
# @!attribute [rw] evaluation_mode
|
1126
1131
|
# @return [::Google::Cloud::Container::V1beta1::BinaryAuthorization::EvaluationMode]
|
1127
1132
|
# Mode of operation for binauthz policy evaluation. Currently the only
|
@@ -1641,7 +1646,10 @@ module Google
|
|
1641
1646
|
# Subset of NodeConfig message that has defaults.
|
1642
1647
|
# @!attribute [rw] gcfs_config
|
1643
1648
|
# @return [::Google::Cloud::Container::V1beta1::GcfsConfig]
|
1644
|
-
# GCFS (Google Container File System,
|
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.
|
1645
1653
|
class NodeConfigDefaults
|
1646
1654
|
include ::Google::Protobuf::MessageExts
|
1647
1655
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1848,6 +1856,9 @@ module Google
|
|
1848
1856
|
# @!attribute [rw] desired_protect_config
|
1849
1857
|
# @return [::Google::Cloud::Container::V1beta1::ProtectConfig]
|
1850
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.
|
1851
1862
|
class ClusterUpdate
|
1852
1863
|
include ::Google::Protobuf::MessageExts
|
1853
1864
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2197,6 +2208,9 @@ module Google
|
|
2197
2208
|
# @!attribute [rw] gvnic
|
2198
2209
|
# @return [::Google::Cloud::Container::V1beta1::VirtualNIC]
|
2199
2210
|
# Enable or disable gvnic on the node pool.
|
2211
|
+
# @!attribute [rw] logging_config
|
2212
|
+
# @return [::Google::Cloud::Container::V1beta1::NodePoolLoggingConfig]
|
2213
|
+
# Logging configuration.
|
2200
2214
|
class UpdateNodePoolRequest
|
2201
2215
|
include ::Google::Protobuf::MessageExts
|
2202
2216
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3377,7 +3391,7 @@ module Google
|
|
3377
3391
|
# @return [::String]
|
3378
3392
|
# The name (project, location, cluster, node pool id) of the node pool to
|
3379
3393
|
# complete upgrade.
|
3380
|
-
# Specified in the format
|
3394
|
+
# Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
|
3381
3395
|
class CompleteNodePoolUpgradeRequest
|
3382
3396
|
include ::Google::Protobuf::MessageExts
|
3383
3397
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -3506,9 +3520,10 @@ module Google
|
|
3506
3520
|
# minCpuPlatform: Intel Haswell or
|
3507
3521
|
# minCpuPlatform: Intel Sandy Bridge. For more
|
3508
3522
|
# information, read [how to specify min CPU
|
3509
|
-
# 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).
|
3510
3524
|
# This field is deprecated, min_cpu_platform should be specified using
|
3511
|
-
# cloud.google.com/requested-min-cpu-platform label selector on the
|
3525
|
+
# https://cloud.google.com/requested-min-cpu-platform label selector on the
|
3526
|
+
# pod.
|
3512
3527
|
# To unset the min cpu platform field pass "automatic"
|
3513
3528
|
# as field value.
|
3514
3529
|
# @!attribute [rw] disk_size_gb
|
@@ -3946,7 +3961,7 @@ module Google
|
|
3946
3961
|
# Specified in the format `projects/*/locations/*`.
|
3947
3962
|
# @!attribute [rw] recommended
|
3948
3963
|
# @return [::Boolean]
|
3949
|
-
# Whether the location is
|
3964
|
+
# Whether the location is recommended for GKE cluster scheduling.
|
3950
3965
|
class Location
|
3951
3966
|
include ::Google::Protobuf::MessageExts
|
3952
3967
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -4790,6 +4805,36 @@ module Google
|
|
4790
4805
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
4791
4806
|
end
|
4792
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
|
+
|
4793
4838
|
# MonitoringComponentConfig is cluster monitoring component configuration.
|
4794
4839
|
# @!attribute [rw] enable_components
|
4795
4840
|
# @return [::Array<::Google::Cloud::Container::V1beta1::MonitoringComponentConfig::Component>]
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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
|