google-cloud-container-v1 1.3.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/lib/google/cloud/container/v1/cluster_manager/client.rb +28 -35
- data/lib/google/cloud/container/v1/cluster_manager/rest/client.rb +28 -35
- data/lib/google/cloud/container/v1/cluster_manager/rest/service_stub.rb +286 -206
- data/lib/google/cloud/container/v1/version.rb +1 -1
- data/lib/google/container/v1/cluster_service_pb.rb +5 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/container/v1/cluster_service.rb +110 -6
- metadata +5 -5
@@ -40,6 +40,9 @@ module Google
|
|
40
40
|
# net.ipv4.tcp_rmem
|
41
41
|
# net.ipv4.tcp_wmem
|
42
42
|
# net.ipv4.tcp_tw_reuse
|
43
|
+
# kernel.shmmni
|
44
|
+
# kernel.shmmax
|
45
|
+
# kernel.shmall
|
43
46
|
# @!attribute [rw] cgroup_mode
|
44
47
|
# @return [::Google::Cloud::Container::V1::LinuxNodeConfig::CgroupMode]
|
45
48
|
# cgroup_mode specifies the cgroup mode to be used on the node.
|
@@ -386,6 +389,10 @@ module Google
|
|
386
389
|
# @!attribute [rw] secondary_boot_disk_update_strategy
|
387
390
|
# @return [::Google::Cloud::Container::V1::SecondaryBootDiskUpdateStrategy]
|
388
391
|
# Secondary boot disk update strategy.
|
392
|
+
# @!attribute [rw] local_ssd_encryption_mode
|
393
|
+
# @return [::Google::Cloud::Container::V1::NodeConfig::LocalSsdEncryptionMode]
|
394
|
+
# Specifies which method should be used for encrypting the
|
395
|
+
# Local SSDs attahced to the node.
|
389
396
|
# @!attribute [r] effective_cgroup_mode
|
390
397
|
# @return [::Google::Cloud::Container::V1::NodeConfig::EffectiveCgroupMode]
|
391
398
|
# Output only. effective_cgroup_mode is the cgroup mode actually used by the
|
@@ -423,6 +430,26 @@ module Google
|
|
423
430
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
424
431
|
end
|
425
432
|
|
433
|
+
# LocalSsdEncryptionMode specifies the method used for encrypting the Local
|
434
|
+
# SSDs attached to the node.
|
435
|
+
module LocalSsdEncryptionMode
|
436
|
+
# The given node will be encrypted using keys managed by Google
|
437
|
+
# infrastructure and the keys will be deleted when the node is
|
438
|
+
# deleted.
|
439
|
+
LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED = 0
|
440
|
+
|
441
|
+
# The given node will be encrypted using keys managed by Google
|
442
|
+
# infrastructure and the keys will be deleted when the node is
|
443
|
+
# deleted.
|
444
|
+
STANDARD_ENCRYPTION = 1
|
445
|
+
|
446
|
+
# The given node will opt-in for using ephemeral key for
|
447
|
+
# encryption of Local SSDs.
|
448
|
+
# The Local SSDs will not be able to recover data in case of node
|
449
|
+
# crash.
|
450
|
+
EPHEMERAL_KEY_ENCRYPTION = 2
|
451
|
+
end
|
452
|
+
|
426
453
|
# Possible effective cgroup modes for the node.
|
427
454
|
module EffectiveCgroupMode
|
428
455
|
# EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the
|
@@ -2066,6 +2093,9 @@ module Google
|
|
2066
2093
|
# NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
|
2067
2094
|
#
|
2068
2095
|
# Currently only `insecure_kubelet_readonly_port_enabled` can be set here.
|
2096
|
+
# @!attribute [r] linux_node_config
|
2097
|
+
# @return [::Google::Cloud::Container::V1::LinuxNodeConfig]
|
2098
|
+
# Output only. Configuration options for Linux nodes.
|
2069
2099
|
class NodePoolAutoConfig
|
2070
2100
|
include ::Google::Protobuf::MessageExts
|
2071
2101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2380,6 +2410,15 @@ module Google
|
|
2380
2410
|
# @return [::Google::Cloud::Container::V1::RBACBindingConfig]
|
2381
2411
|
# RBACBindingConfig allows user to restrict ClusterRoleBindings an
|
2382
2412
|
# RoleBindings that can be created.
|
2413
|
+
# @!attribute [rw] desired_enterprise_config
|
2414
|
+
# @return [::Google::Cloud::Container::V1::DesiredEnterpriseConfig]
|
2415
|
+
# The desired enterprise configuration for the cluster.
|
2416
|
+
# @!attribute [rw] desired_node_pool_auto_config_linux_node_config
|
2417
|
+
# @return [::Google::Cloud::Container::V1::LinuxNodeConfig]
|
2418
|
+
# The desired Linux node config for all auto-provisioned node pools
|
2419
|
+
# in autopilot clusters and node auto-provisioning enabled clusters.
|
2420
|
+
#
|
2421
|
+
# Currently only `cgroup_mode` can be set here.
|
2383
2422
|
class ClusterUpdate
|
2384
2423
|
include ::Google::Protobuf::MessageExts
|
2385
2424
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -2410,6 +2449,15 @@ module Google
|
|
2410
2449
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2411
2450
|
end
|
2412
2451
|
|
2452
|
+
# DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
|
2453
|
+
# @!attribute [rw] desired_tier
|
2454
|
+
# @return [::Google::Cloud::Container::V1::EnterpriseConfig::ClusterTier]
|
2455
|
+
# desired_tier specifies the desired tier of the cluster.
|
2456
|
+
class DesiredEnterpriseConfig
|
2457
|
+
include ::Google::Protobuf::MessageExts
|
2458
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2459
|
+
end
|
2460
|
+
|
2413
2461
|
# This operation resource represents operations that may have happened or are
|
2414
2462
|
# happening on the cluster. All fields are output only.
|
2415
2463
|
# @!attribute [r] name
|
@@ -4346,11 +4394,11 @@ module Google
|
|
4346
4394
|
# Is autoscaling enabled for this node pool.
|
4347
4395
|
# @!attribute [rw] min_node_count
|
4348
4396
|
# @return [::Integer]
|
4349
|
-
# Minimum number of nodes for one location in the
|
4350
|
-
#
|
4397
|
+
# Minimum number of nodes for one location in the node pool. Must be greater
|
4398
|
+
# than or equal to 0 and less than or equal to max_node_count.
|
4351
4399
|
# @!attribute [rw] max_node_count
|
4352
4400
|
# @return [::Integer]
|
4353
|
-
# Maximum number of nodes for one location in the
|
4401
|
+
# Maximum number of nodes for one location in the node pool. Must be >=
|
4354
4402
|
# min_node_count. There has to be enough quota to scale up the cluster.
|
4355
4403
|
# @!attribute [rw] autoprovisioned
|
4356
4404
|
# @return [::Boolean]
|
@@ -4360,13 +4408,13 @@ module Google
|
|
4360
4408
|
# Location policy used when scaling up a nodepool.
|
4361
4409
|
# @!attribute [rw] total_min_node_count
|
4362
4410
|
# @return [::Integer]
|
4363
|
-
# Minimum number of nodes in the node pool. Must be greater than
|
4364
|
-
# total_max_node_count.
|
4411
|
+
# Minimum number of nodes in the node pool. Must be greater than or equal
|
4412
|
+
# to 0 and less than or equal to total_max_node_count.
|
4365
4413
|
# The total_*_node_count fields are mutually exclusive with the *_node_count
|
4366
4414
|
# fields.
|
4367
4415
|
# @!attribute [rw] total_max_node_count
|
4368
4416
|
# @return [::Integer]
|
4369
|
-
# Maximum number of nodes in the node pool. Must be greater than
|
4417
|
+
# Maximum number of nodes in the node pool. Must be greater than or equal to
|
4370
4418
|
# total_min_node_count. There has to be enough quota to scale up the cluster.
|
4371
4419
|
# The total_*_node_count fields are mutually exclusive with the *_node_count
|
4372
4420
|
# fields.
|
@@ -5552,6 +5600,59 @@ module Google
|
|
5552
5600
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5553
5601
|
end
|
5554
5602
|
|
5603
|
+
# UpgradeInfoEvent is a notification sent to customers about the upgrade
|
5604
|
+
# information of a resource.
|
5605
|
+
# @!attribute [rw] resource_type
|
5606
|
+
# @return [::Google::Cloud::Container::V1::UpgradeResourceType]
|
5607
|
+
# The resource type associated with the upgrade.
|
5608
|
+
# @!attribute [rw] operation
|
5609
|
+
# @return [::String]
|
5610
|
+
# The operation associated with this upgrade.
|
5611
|
+
# @!attribute [rw] start_time
|
5612
|
+
# @return [::Google::Protobuf::Timestamp]
|
5613
|
+
# The time when the operation was started.
|
5614
|
+
# @!attribute [rw] end_time
|
5615
|
+
# @return [::Google::Protobuf::Timestamp]
|
5616
|
+
# The time when the operation ended.
|
5617
|
+
# @!attribute [rw] current_version
|
5618
|
+
# @return [::String]
|
5619
|
+
# The current version before the upgrade.
|
5620
|
+
# @!attribute [rw] target_version
|
5621
|
+
# @return [::String]
|
5622
|
+
# The target version for the upgrade.
|
5623
|
+
# @!attribute [rw] resource
|
5624
|
+
# @return [::String]
|
5625
|
+
# Optional relative path to the resource. For example in node pool upgrades,
|
5626
|
+
# the relative path of the node pool.
|
5627
|
+
# @!attribute [r] state
|
5628
|
+
# @return [::Google::Cloud::Container::V1::UpgradeInfoEvent::State]
|
5629
|
+
# Output only. The state of the upgrade.
|
5630
|
+
# @!attribute [rw] description
|
5631
|
+
# @return [::String]
|
5632
|
+
# A brief description of the event.
|
5633
|
+
class UpgradeInfoEvent
|
5634
|
+
include ::Google::Protobuf::MessageExts
|
5635
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
5636
|
+
|
5637
|
+
# The state of the upgrade.
|
5638
|
+
module State
|
5639
|
+
# STATE_UNSPECIFIED indicates the state is unspecified.
|
5640
|
+
STATE_UNSPECIFIED = 0
|
5641
|
+
|
5642
|
+
# STARTED indicates the upgrade has started.
|
5643
|
+
STARTED = 3
|
5644
|
+
|
5645
|
+
# SUCCEEDED indicates the upgrade has completed successfully.
|
5646
|
+
SUCCEEDED = 4
|
5647
|
+
|
5648
|
+
# FAILED indicates the upgrade has failed.
|
5649
|
+
FAILED = 5
|
5650
|
+
|
5651
|
+
# CANCELED indicates the upgrade has canceled.
|
5652
|
+
CANCELED = 6
|
5653
|
+
end
|
5654
|
+
end
|
5655
|
+
|
5555
5656
|
# UpgradeAvailableEvent is a notification sent to customers when a new
|
5556
5657
|
# available version is released.
|
5557
5658
|
# @!attribute [rw] version
|
@@ -6021,6 +6122,9 @@ module Google
|
|
6021
6122
|
# @!attribute [r] cluster_tier
|
6022
6123
|
# @return [::Google::Cloud::Container::V1::EnterpriseConfig::ClusterTier]
|
6023
6124
|
# Output only. cluster_tier indicates the effective tier of the cluster.
|
6125
|
+
# @!attribute [rw] desired_tier
|
6126
|
+
# @return [::Google::Cloud::Container::V1::EnterpriseConfig::ClusterTier]
|
6127
|
+
# desired_tier specifies the desired tier of the cluster.
|
6024
6128
|
class EnterpriseConfig
|
6025
6129
|
include ::Google::Protobuf::MessageExts
|
6026
6130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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: 1.
|
4
|
+
version: 1.5.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: 2024-10
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.24.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.5.
|
105
|
+
rubygems_version: 3.5.23
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Builds and manages container-based applications, powered by the open source
|