google-apis-container_v1beta1 0.33.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/google/apis/container_v1beta1/classes.rb +320 -10
- data/lib/google/apis/container_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/container_v1beta1/representations.rb +104 -0
- data/lib/google/apis/container_v1beta1/service.rb +35 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc801c576f2f8b97f58e92770f0edcb2fe4451e75517a8593830dec935baebc8
|
4
|
+
data.tar.gz: 1b0efe303d3d3b297c5b6b65fb46dfa7a846311322d5c040ddc15114798232ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39d0458ef69a033d8c2b3a7693f234dc428ddc7de2359fd210ee3deef90c611ad66595aca4bf8c02c92d7009267dbba68c20240fbb4b6640b46f78be9845955c
|
7
|
+
data.tar.gz: c7a45e339e54b66be1741881114ddc978bb774267c9a315d010ff9d4986d1953e7d6331a565975860cd874e56535573816d54c4c9a0e4de7c6b1449145093501
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Release history for google-apis-container_v1beta1
|
2
2
|
|
3
|
+
### v0.36.0 (2022-08-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220727
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.35.0 (2022-06-30)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
* Regenerated from discovery document revision 20220615
|
12
|
+
|
13
|
+
### v0.34.0 (2022-06-24)
|
14
|
+
|
15
|
+
* Regenerated from discovery document revision 20220610
|
16
|
+
* Regenerated using generator version 0.7.0
|
17
|
+
|
3
18
|
### v0.33.0 (2022-06-04)
|
4
19
|
|
5
20
|
* Regenerated from discovery document revision 20220518
|
@@ -301,8 +301,9 @@ module Google
|
|
301
301
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
302
302
|
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
303
303
|
# specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be
|
304
|
-
# specified using cloud.google.com/requested-min-cpu-platform label
|
305
|
-
# the pod. To unset the min cpu platform field pass "automatic" as
|
304
|
+
# specified using https://cloud.google.com/requested-min-cpu-platform label
|
305
|
+
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
306
|
+
# field value.
|
306
307
|
# Corresponds to the JSON property `minCpuPlatform`
|
307
308
|
# @return [String]
|
308
309
|
attr_accessor :min_cpu_platform
|
@@ -332,7 +333,23 @@ module Google
|
|
332
333
|
# @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
|
333
334
|
attr_accessor :shielded_instance_config
|
334
335
|
|
335
|
-
#
|
336
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
337
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
338
|
+
# strategy is SURGE, use max_surge and max_unavailable to control the level of
|
339
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
340
|
+
# controls the number of additional nodes that can be added to the node pool
|
341
|
+
# temporarily for the time of the upgrade to increase the number of available
|
342
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
343
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
344
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
345
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
346
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
347
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
348
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
349
|
+
# either percentage of the node pool size or the number of nodes.
|
350
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
351
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
352
|
+
# After this period, the blue pool nodes will be deleted.
|
336
353
|
# Corresponds to the JSON property `upgradeSettings`
|
337
354
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
338
355
|
attr_accessor :upgrade_settings
|
@@ -404,8 +421,9 @@ module Google
|
|
404
421
|
class BinaryAuthorization
|
405
422
|
include Google::Apis::Core::Hashable
|
406
423
|
|
407
|
-
#
|
408
|
-
#
|
424
|
+
# This field is deprecated. Leave this unset and instead configure
|
425
|
+
# BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
|
426
|
+
# anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
|
409
427
|
# Corresponds to the JSON property `enabled`
|
410
428
|
# @return [Boolean]
|
411
429
|
attr_accessor :enabled
|
@@ -428,6 +446,78 @@ module Google
|
|
428
446
|
end
|
429
447
|
end
|
430
448
|
|
449
|
+
# Information relevant to blue-green upgrade.
|
450
|
+
class BlueGreenInfo
|
451
|
+
include Google::Apis::Core::Hashable
|
452
|
+
|
453
|
+
# The resource URLs of the [managed instance groups] (/compute/docs/instance-
|
454
|
+
# groups/creating-groups-of-managed-instances) associated with blue pool.
|
455
|
+
# Corresponds to the JSON property `blueInstanceGroupUrls`
|
456
|
+
# @return [Array<String>]
|
457
|
+
attr_accessor :blue_instance_group_urls
|
458
|
+
|
459
|
+
# Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](
|
460
|
+
# https://www.ietf.org/rfc/rfc3339.txt) text format.
|
461
|
+
# Corresponds to the JSON property `bluePoolDeletionStartTime`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :blue_pool_deletion_start_time
|
464
|
+
|
465
|
+
# The resource URLs of the [managed instance groups] (/compute/docs/instance-
|
466
|
+
# groups/creating-groups-of-managed-instances) associated with green pool.
|
467
|
+
# Corresponds to the JSON property `greenInstanceGroupUrls`
|
468
|
+
# @return [Array<String>]
|
469
|
+
attr_accessor :green_instance_group_urls
|
470
|
+
|
471
|
+
# Version of green pool.
|
472
|
+
# Corresponds to the JSON property `greenPoolVersion`
|
473
|
+
# @return [String]
|
474
|
+
attr_accessor :green_pool_version
|
475
|
+
|
476
|
+
# Current blue-green upgrade phase.
|
477
|
+
# Corresponds to the JSON property `phase`
|
478
|
+
# @return [String]
|
479
|
+
attr_accessor :phase
|
480
|
+
|
481
|
+
def initialize(**args)
|
482
|
+
update!(**args)
|
483
|
+
end
|
484
|
+
|
485
|
+
# Update properties of this object
|
486
|
+
def update!(**args)
|
487
|
+
@blue_instance_group_urls = args[:blue_instance_group_urls] if args.key?(:blue_instance_group_urls)
|
488
|
+
@blue_pool_deletion_start_time = args[:blue_pool_deletion_start_time] if args.key?(:blue_pool_deletion_start_time)
|
489
|
+
@green_instance_group_urls = args[:green_instance_group_urls] if args.key?(:green_instance_group_urls)
|
490
|
+
@green_pool_version = args[:green_pool_version] if args.key?(:green_pool_version)
|
491
|
+
@phase = args[:phase] if args.key?(:phase)
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
# Settings for blue-green upgrade.
|
496
|
+
class BlueGreenSettings
|
497
|
+
include Google::Apis::Core::Hashable
|
498
|
+
|
499
|
+
# Time needed after draining entire blue pool. After this period, blue pool will
|
500
|
+
# be cleaned up.
|
501
|
+
# Corresponds to the JSON property `nodePoolSoakDuration`
|
502
|
+
# @return [String]
|
503
|
+
attr_accessor :node_pool_soak_duration
|
504
|
+
|
505
|
+
# Standard rollout policy is the default policy for blue-green.
|
506
|
+
# Corresponds to the JSON property `standardRolloutPolicy`
|
507
|
+
# @return [Google::Apis::ContainerV1beta1::StandardRolloutPolicy]
|
508
|
+
attr_accessor :standard_rollout_policy
|
509
|
+
|
510
|
+
def initialize(**args)
|
511
|
+
update!(**args)
|
512
|
+
end
|
513
|
+
|
514
|
+
# Update properties of this object
|
515
|
+
def update!(**args)
|
516
|
+
@node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
|
517
|
+
@standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
431
521
|
# CancelOperationRequest cancels a single operation.
|
432
522
|
class CancelOperationRequest
|
433
523
|
include Google::Apis::Core::Hashable
|
@@ -598,6 +688,11 @@ module Google
|
|
598
688
|
# @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
|
599
689
|
attr_accessor :confidential_nodes
|
600
690
|
|
691
|
+
# Configuration for fine-grained cost management feature.
|
692
|
+
# Corresponds to the JSON property `costManagementConfig`
|
693
|
+
# @return [Google::Apis::ContainerV1beta1::CostManagementConfig]
|
694
|
+
attr_accessor :cost_management_config
|
695
|
+
|
601
696
|
# [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
|
602
697
|
# org/rfc/rfc3339.txt) text format.
|
603
698
|
# Corresponds to the JSON property `createTime`
|
@@ -1015,6 +1110,7 @@ module Google
|
|
1015
1110
|
@cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
|
1016
1111
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1017
1112
|
@confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
|
1113
|
+
@cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
|
1018
1114
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1019
1115
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
1020
1116
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
@@ -1180,6 +1276,11 @@ module Google
|
|
1180
1276
|
# @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
|
1181
1277
|
attr_accessor :desired_cluster_telemetry
|
1182
1278
|
|
1279
|
+
# Configuration for fine-grained cost management feature.
|
1280
|
+
# Corresponds to the JSON property `desiredCostManagementConfig`
|
1281
|
+
# @return [Google::Apis::ContainerV1beta1::CostManagementConfig]
|
1282
|
+
attr_accessor :desired_cost_management_config
|
1283
|
+
|
1183
1284
|
# Configuration of etcd encryption.
|
1184
1285
|
# Corresponds to the JSON property `desiredDatabaseEncryption`
|
1185
1286
|
# @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
|
@@ -1419,6 +1520,7 @@ module Google
|
|
1419
1520
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1420
1521
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1421
1522
|
@desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
|
1523
|
+
@desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
|
1422
1524
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1423
1525
|
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
1424
1526
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
@@ -1501,6 +1603,20 @@ module Google
|
|
1501
1603
|
end
|
1502
1604
|
end
|
1503
1605
|
|
1606
|
+
# CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
|
1607
|
+
# upgrade.
|
1608
|
+
class CompleteNodePoolUpgradeRequest
|
1609
|
+
include Google::Apis::Core::Hashable
|
1610
|
+
|
1611
|
+
def initialize(**args)
|
1612
|
+
update!(**args)
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
# Update properties of this object
|
1616
|
+
def update!(**args)
|
1617
|
+
end
|
1618
|
+
end
|
1619
|
+
|
1504
1620
|
# ConfidentialNodes is configuration for the confidential nodes feature, which
|
1505
1621
|
# makes nodes run on confidential VMs.
|
1506
1622
|
class ConfidentialNodes
|
@@ -1563,6 +1679,26 @@ module Google
|
|
1563
1679
|
end
|
1564
1680
|
end
|
1565
1681
|
|
1682
|
+
# Configuration for fine-grained cost management feature.
|
1683
|
+
class CostManagementConfig
|
1684
|
+
include Google::Apis::Core::Hashable
|
1685
|
+
|
1686
|
+
# Whether the feature is enabled or not.
|
1687
|
+
# Corresponds to the JSON property `enabled`
|
1688
|
+
# @return [Boolean]
|
1689
|
+
attr_accessor :enabled
|
1690
|
+
alias_method :enabled?, :enabled
|
1691
|
+
|
1692
|
+
def initialize(**args)
|
1693
|
+
update!(**args)
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# Update properties of this object
|
1697
|
+
def update!(**args)
|
1698
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1699
|
+
end
|
1700
|
+
end
|
1701
|
+
|
1566
1702
|
# CreateClusterRequest creates a cluster.
|
1567
1703
|
class CreateClusterRequest
|
1568
1704
|
include Google::Apis::Core::Hashable
|
@@ -2276,6 +2412,11 @@ module Google
|
|
2276
2412
|
# @return [String]
|
2277
2413
|
attr_accessor :services_ipv4_cidr_block
|
2278
2414
|
|
2415
|
+
# Output only. [Output only] The services IPv6 CIDR block for the cluster.
|
2416
|
+
# Corresponds to the JSON property `servicesIpv6CidrBlock`
|
2417
|
+
# @return [String]
|
2418
|
+
attr_accessor :services_ipv6_cidr_block
|
2419
|
+
|
2279
2420
|
# The name of the secondary range to be used as for the services CIDR block. The
|
2280
2421
|
# secondary range will be used for service ClusterIPs. This must be an existing
|
2281
2422
|
# secondary range associated with the cluster subnetwork. This field is only
|
@@ -2289,6 +2430,11 @@ module Google
|
|
2289
2430
|
# @return [String]
|
2290
2431
|
attr_accessor :stack_type
|
2291
2432
|
|
2433
|
+
# Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
|
2434
|
+
# Corresponds to the JSON property `subnetIpv6CidrBlock`
|
2435
|
+
# @return [String]
|
2436
|
+
attr_accessor :subnet_ipv6_cidr_block
|
2437
|
+
|
2292
2438
|
# A custom subnetwork name to be used if `create_subnetwork` is true. If this
|
2293
2439
|
# field is empty, then an automatic name will be chosen for the new subnetwork.
|
2294
2440
|
# Corresponds to the JSON property `subnetworkName`
|
@@ -2342,8 +2488,10 @@ module Google
|
|
2342
2488
|
@node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
|
2343
2489
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
2344
2490
|
@services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
|
2491
|
+
@services_ipv6_cidr_block = args[:services_ipv6_cidr_block] if args.key?(:services_ipv6_cidr_block)
|
2345
2492
|
@services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
|
2346
2493
|
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
2494
|
+
@subnet_ipv6_cidr_block = args[:subnet_ipv6_cidr_block] if args.key?(:subnet_ipv6_cidr_block)
|
2347
2495
|
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
|
2348
2496
|
@tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
|
2349
2497
|
@use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
|
@@ -2553,6 +2701,11 @@ module Google
|
|
2553
2701
|
class LinuxNodeConfig
|
2554
2702
|
include Google::Apis::Core::Hashable
|
2555
2703
|
|
2704
|
+
# cgroup_mode specifies the cgroup mode to be used on the node.
|
2705
|
+
# Corresponds to the JSON property `cgroupMode`
|
2706
|
+
# @return [String]
|
2707
|
+
attr_accessor :cgroup_mode
|
2708
|
+
|
2556
2709
|
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
2557
2710
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
2558
2711
|
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default
|
@@ -2568,6 +2721,7 @@ module Google
|
|
2568
2721
|
|
2569
2722
|
# Update properties of this object
|
2570
2723
|
def update!(**args)
|
2724
|
+
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
2571
2725
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
2572
2726
|
end
|
2573
2727
|
end
|
@@ -2711,7 +2865,7 @@ module Google
|
|
2711
2865
|
# @return [String]
|
2712
2866
|
attr_accessor :name
|
2713
2867
|
|
2714
|
-
# Whether the location is
|
2868
|
+
# Whether the location is recommended for GKE cluster scheduling.
|
2715
2869
|
# Corresponds to the JSON property `recommended`
|
2716
2870
|
# @return [Boolean]
|
2717
2871
|
attr_accessor :recommended
|
@@ -3758,7 +3912,8 @@ module Google
|
|
3758
3912
|
|
3759
3913
|
# [Output only] The resource URLs of the [managed instance groups](https://cloud.
|
3760
3914
|
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
3761
|
-
# associated with this node pool.
|
3915
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
3916
|
+
# operation, the URLs contain both blue and green resources.
|
3762
3917
|
# Corresponds to the JSON property `instanceGroupUrls`
|
3763
3918
|
# @return [Array<String>]
|
3764
3919
|
attr_accessor :instance_group_urls
|
@@ -3820,7 +3975,29 @@ module Google
|
|
3820
3975
|
# @return [String]
|
3821
3976
|
attr_accessor :status_message
|
3822
3977
|
|
3823
|
-
#
|
3978
|
+
# UpdateInfo contains resource (instance groups, etc), status and other
|
3979
|
+
# intermediate information relevant to a node pool upgrade.
|
3980
|
+
# Corresponds to the JSON property `updateInfo`
|
3981
|
+
# @return [Google::Apis::ContainerV1beta1::UpdateInfo]
|
3982
|
+
attr_accessor :update_info
|
3983
|
+
|
3984
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
3985
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
3986
|
+
# strategy is SURGE, use max_surge and max_unavailable to control the level of
|
3987
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
3988
|
+
# controls the number of additional nodes that can be added to the node pool
|
3989
|
+
# temporarily for the time of the upgrade to increase the number of available
|
3990
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
3991
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
3992
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
3993
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
3994
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
3995
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
3996
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
3997
|
+
# either percentage of the node pool size or the number of nodes.
|
3998
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
3999
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
4000
|
+
# After this period, the blue pool nodes will be deleted.
|
3824
4001
|
# Corresponds to the JSON property `upgradeSettings`
|
3825
4002
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
3826
4003
|
attr_accessor :upgrade_settings
|
@@ -3851,6 +4028,7 @@ module Google
|
|
3851
4028
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3852
4029
|
@status = args[:status] if args.key?(:status)
|
3853
4030
|
@status_message = args[:status_message] if args.key?(:status_message)
|
4031
|
+
@update_info = args[:update_info] if args.key?(:update_info)
|
3854
4032
|
@upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
|
3855
4033
|
@version = args[:version] if args.key?(:version)
|
3856
4034
|
end
|
@@ -3895,6 +4073,11 @@ module Google
|
|
3895
4073
|
attr_accessor :enabled
|
3896
4074
|
alias_method :enabled?, :enabled
|
3897
4075
|
|
4076
|
+
# Location policy used when scaling up a nodepool.
|
4077
|
+
# Corresponds to the JSON property `locationPolicy`
|
4078
|
+
# @return [String]
|
4079
|
+
attr_accessor :location_policy
|
4080
|
+
|
3898
4081
|
# Maximum number of nodes for one location in the NodePool. Must be >=
|
3899
4082
|
# min_node_count. There has to be enough quota to scale up the cluster.
|
3900
4083
|
# Corresponds to the JSON property `maxNodeCount`
|
@@ -3907,6 +4090,21 @@ module Google
|
|
3907
4090
|
# @return [Fixnum]
|
3908
4091
|
attr_accessor :min_node_count
|
3909
4092
|
|
4093
|
+
# Maximum number of nodes in the node pool. Must be greater than
|
4094
|
+
# total_min_node_count. There has to be enough quota to scale up the cluster.
|
4095
|
+
# The total_*_node_count fields are mutually exclusive with the *_node_count
|
4096
|
+
# fields.
|
4097
|
+
# Corresponds to the JSON property `totalMaxNodeCount`
|
4098
|
+
# @return [Fixnum]
|
4099
|
+
attr_accessor :total_max_node_count
|
4100
|
+
|
4101
|
+
# Minimum number of nodes in the node pool. Must be greater than 1 less than
|
4102
|
+
# total_max_node_count. The total_*_node_count fields are mutually exclusive
|
4103
|
+
# with the *_node_count fields.
|
4104
|
+
# Corresponds to the JSON property `totalMinNodeCount`
|
4105
|
+
# @return [Fixnum]
|
4106
|
+
attr_accessor :total_min_node_count
|
4107
|
+
|
3910
4108
|
def initialize(**args)
|
3911
4109
|
update!(**args)
|
3912
4110
|
end
|
@@ -3915,8 +4113,11 @@ module Google
|
|
3915
4113
|
def update!(**args)
|
3916
4114
|
@autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
|
3917
4115
|
@enabled = args[:enabled] if args.key?(:enabled)
|
4116
|
+
@location_policy = args[:location_policy] if args.key?(:location_policy)
|
3918
4117
|
@max_node_count = args[:max_node_count] if args.key?(:max_node_count)
|
3919
4118
|
@min_node_count = args[:min_node_count] if args.key?(:min_node_count)
|
4119
|
+
@total_max_node_count = args[:total_max_node_count] if args.key?(:total_max_node_count)
|
4120
|
+
@total_min_node_count = args[:total_min_node_count] if args.key?(:total_min_node_count)
|
3920
4121
|
end
|
3921
4122
|
end
|
3922
4123
|
|
@@ -4581,6 +4782,12 @@ module Google
|
|
4581
4782
|
# @return [String]
|
4582
4783
|
attr_accessor :project_id
|
4583
4784
|
|
4785
|
+
# Option for rollback to ignore the PodDisruptionBudget. Default value is false.
|
4786
|
+
# Corresponds to the JSON property `respectPdb`
|
4787
|
+
# @return [Boolean]
|
4788
|
+
attr_accessor :respect_pdb
|
4789
|
+
alias_method :respect_pdb?, :respect_pdb
|
4790
|
+
|
4584
4791
|
# Required. Deprecated. The name of the Google Compute Engine [zone](https://
|
4585
4792
|
# cloud.google.com/compute/docs/zones#available) in which the cluster resides.
|
4586
4793
|
# This field has been deprecated and replaced by the name field.
|
@@ -4598,6 +4805,7 @@ module Google
|
|
4598
4805
|
@name = args[:name] if args.key?(:name)
|
4599
4806
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
4600
4807
|
@project_id = args[:project_id] if args.key?(:project_id)
|
4808
|
+
@respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
|
4601
4809
|
@zone = args[:zone] if args.key?(:zone)
|
4602
4810
|
end
|
4603
4811
|
end
|
@@ -5490,6 +5698,38 @@ module Google
|
|
5490
5698
|
end
|
5491
5699
|
end
|
5492
5700
|
|
5701
|
+
# Standard rollout policy is the default policy for blue-green.
|
5702
|
+
class StandardRolloutPolicy
|
5703
|
+
include Google::Apis::Core::Hashable
|
5704
|
+
|
5705
|
+
# Number of blue nodes to drain in a batch.
|
5706
|
+
# Corresponds to the JSON property `batchNodeCount`
|
5707
|
+
# @return [Fixnum]
|
5708
|
+
attr_accessor :batch_node_count
|
5709
|
+
|
5710
|
+
# Percentage of the bool pool nodes to drain in a batch. The range of this field
|
5711
|
+
# should be (0.0, 1.0].
|
5712
|
+
# Corresponds to the JSON property `batchPercentage`
|
5713
|
+
# @return [Float]
|
5714
|
+
attr_accessor :batch_percentage
|
5715
|
+
|
5716
|
+
# Soak time after each batch gets drained. Default to zero.
|
5717
|
+
# Corresponds to the JSON property `batchSoakDuration`
|
5718
|
+
# @return [String]
|
5719
|
+
attr_accessor :batch_soak_duration
|
5720
|
+
|
5721
|
+
def initialize(**args)
|
5722
|
+
update!(**args)
|
5723
|
+
end
|
5724
|
+
|
5725
|
+
# Update properties of this object
|
5726
|
+
def update!(**args)
|
5727
|
+
@batch_node_count = args[:batch_node_count] if args.key?(:batch_node_count)
|
5728
|
+
@batch_percentage = args[:batch_percentage] if args.key?(:batch_percentage)
|
5729
|
+
@batch_soak_duration = args[:batch_soak_duration] if args.key?(:batch_soak_duration)
|
5730
|
+
end
|
5731
|
+
end
|
5732
|
+
|
5493
5733
|
# StartIPRotationRequest creates a new IP for the cluster and then performs a
|
5494
5734
|
# node upgrade on each node pool to point to the new IP.
|
5495
5735
|
class StartIpRotationRequest
|
@@ -5728,6 +5968,26 @@ module Google
|
|
5728
5968
|
end
|
5729
5969
|
end
|
5730
5970
|
|
5971
|
+
# UpdateInfo contains resource (instance groups, etc), status and other
|
5972
|
+
# intermediate information relevant to a node pool upgrade.
|
5973
|
+
class UpdateInfo
|
5974
|
+
include Google::Apis::Core::Hashable
|
5975
|
+
|
5976
|
+
# Information relevant to blue-green upgrade.
|
5977
|
+
# Corresponds to the JSON property `blueGreenInfo`
|
5978
|
+
# @return [Google::Apis::ContainerV1beta1::BlueGreenInfo]
|
5979
|
+
attr_accessor :blue_green_info
|
5980
|
+
|
5981
|
+
def initialize(**args)
|
5982
|
+
update!(**args)
|
5983
|
+
end
|
5984
|
+
|
5985
|
+
# Update properties of this object
|
5986
|
+
def update!(**args)
|
5987
|
+
@blue_green_info = args[:blue_green_info] if args.key?(:blue_green_info)
|
5988
|
+
end
|
5989
|
+
end
|
5990
|
+
|
5731
5991
|
# UpdateMasterRequest updates the master of the cluster.
|
5732
5992
|
class UpdateMasterRequest
|
5733
5993
|
include Google::Apis::Core::Hashable
|
@@ -5845,6 +6105,11 @@ module Google
|
|
5845
6105
|
# @return [String]
|
5846
6106
|
attr_accessor :name
|
5847
6107
|
|
6108
|
+
# Parameters for node pool-level network config.
|
6109
|
+
# Corresponds to the JSON property `nodeNetworkConfig`
|
6110
|
+
# @return [Google::Apis::ContainerV1beta1::NodeNetworkConfig]
|
6111
|
+
attr_accessor :node_network_config
|
6112
|
+
|
5848
6113
|
# Required. Deprecated. The name of the node pool to upgrade. This field has
|
5849
6114
|
# been deprecated and replaced by the name field.
|
5850
6115
|
# Corresponds to the JSON property `nodePoolId`
|
@@ -5882,7 +6147,23 @@ module Google
|
|
5882
6147
|
# @return [Google::Apis::ContainerV1beta1::NodeTaints]
|
5883
6148
|
attr_accessor :taints
|
5884
6149
|
|
5885
|
-
#
|
6150
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
6151
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
6152
|
+
# strategy is SURGE, use max_surge and max_unavailable to control the level of
|
6153
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
6154
|
+
# controls the number of additional nodes that can be added to the node pool
|
6155
|
+
# temporarily for the time of the upgrade to increase the number of available
|
6156
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
6157
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
6158
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
6159
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
6160
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
6161
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
6162
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
6163
|
+
# either percentage of the node pool size or the number of nodes.
|
6164
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
6165
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
6166
|
+
# After this period, the blue pool nodes will be deleted.
|
5886
6167
|
# Corresponds to the JSON property `upgradeSettings`
|
5887
6168
|
# @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
|
5888
6169
|
attr_accessor :upgrade_settings
|
@@ -5916,6 +6197,7 @@ module Google
|
|
5916
6197
|
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
5917
6198
|
@locations = args[:locations] if args.key?(:locations)
|
5918
6199
|
@name = args[:name] if args.key?(:name)
|
6200
|
+
@node_network_config = args[:node_network_config] if args.key?(:node_network_config)
|
5919
6201
|
@node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
|
5920
6202
|
@node_version = args[:node_version] if args.key?(:node_version)
|
5921
6203
|
@project_id = args[:project_id] if args.key?(:project_id)
|
@@ -6026,10 +6308,31 @@ module Google
|
|
6026
6308
|
end
|
6027
6309
|
end
|
6028
6310
|
|
6029
|
-
#
|
6311
|
+
# These upgrade settings configure the upgrade strategy for the node pool. Use
|
6312
|
+
# strategy to switch between the strategies applied to the node pool. If the
|
6313
|
+
# strategy is SURGE, use max_surge and max_unavailable to control the level of
|
6314
|
+
# parallelism and the level of disruption caused by upgrade. 1. maxSurge
|
6315
|
+
# controls the number of additional nodes that can be added to the node pool
|
6316
|
+
# temporarily for the time of the upgrade to increase the number of available
|
6317
|
+
# nodes. 2. maxUnavailable controls the number of nodes that can be
|
6318
|
+
# simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
|
6319
|
+
# level of parallelism (how many nodes are being upgraded at the same time). If
|
6320
|
+
# the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
|
6321
|
+
# green upgrade related settings. 1. standard_rollout_policy is the default
|
6322
|
+
# policy. The policy is used to control the way blue pool gets drained. The
|
6323
|
+
# draining is executed in the batch mode. The batch size could be specified as
|
6324
|
+
# either percentage of the node pool size or the number of nodes.
|
6325
|
+
# batch_soak_duration is the soak time after each batch gets drained. 2.
|
6326
|
+
# node_pool_soak_duration is the soak time after all blue nodes are drained.
|
6327
|
+
# After this period, the blue pool nodes will be deleted.
|
6030
6328
|
class UpgradeSettings
|
6031
6329
|
include Google::Apis::Core::Hashable
|
6032
6330
|
|
6331
|
+
# Settings for blue-green upgrade.
|
6332
|
+
# Corresponds to the JSON property `blueGreenSettings`
|
6333
|
+
# @return [Google::Apis::ContainerV1beta1::BlueGreenSettings]
|
6334
|
+
attr_accessor :blue_green_settings
|
6335
|
+
|
6033
6336
|
# The maximum number of nodes that can be created beyond the current size of the
|
6034
6337
|
# node pool during the upgrade process.
|
6035
6338
|
# Corresponds to the JSON property `maxSurge`
|
@@ -6042,14 +6345,21 @@ module Google
|
|
6042
6345
|
# @return [Fixnum]
|
6043
6346
|
attr_accessor :max_unavailable
|
6044
6347
|
|
6348
|
+
# Update strategy of the node pool.
|
6349
|
+
# Corresponds to the JSON property `strategy`
|
6350
|
+
# @return [String]
|
6351
|
+
attr_accessor :strategy
|
6352
|
+
|
6045
6353
|
def initialize(**args)
|
6046
6354
|
update!(**args)
|
6047
6355
|
end
|
6048
6356
|
|
6049
6357
|
# Update properties of this object
|
6050
6358
|
def update!(**args)
|
6359
|
+
@blue_green_settings = args[:blue_green_settings] if args.key?(:blue_green_settings)
|
6051
6360
|
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
6052
6361
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
6362
|
+
@strategy = args[:strategy] if args.key?(:strategy)
|
6053
6363
|
end
|
6054
6364
|
end
|
6055
6365
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContainerV1beta1
|
18
18
|
# Version of the google-apis-container_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.36.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220727"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class BlueGreenInfo
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class BlueGreenSettings
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class CancelOperationRequest
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -136,6 +148,12 @@ module Google
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
137
149
|
end
|
138
150
|
|
151
|
+
class CompleteNodePoolUpgradeRequest
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
139
157
|
class ConfidentialNodes
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
@@ -154,6 +172,12 @@ module Google
|
|
154
172
|
include Google::Apis::Core::JsonObjectSupport
|
155
173
|
end
|
156
174
|
|
175
|
+
class CostManagementConfig
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
157
181
|
class CreateClusterRequest
|
158
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
183
|
|
@@ -766,6 +790,12 @@ module Google
|
|
766
790
|
include Google::Apis::Core::JsonObjectSupport
|
767
791
|
end
|
768
792
|
|
793
|
+
class StandardRolloutPolicy
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
769
799
|
class StartIpRotationRequest
|
770
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
801
|
|
@@ -802,6 +832,12 @@ module Google
|
|
802
832
|
include Google::Apis::Core::JsonObjectSupport
|
803
833
|
end
|
804
834
|
|
835
|
+
class UpdateInfo
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
805
841
|
class UpdateMasterRequest
|
806
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
843
|
|
@@ -1012,6 +1048,26 @@ module Google
|
|
1012
1048
|
end
|
1013
1049
|
end
|
1014
1050
|
|
1051
|
+
class BlueGreenInfo
|
1052
|
+
# @private
|
1053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1054
|
+
collection :blue_instance_group_urls, as: 'blueInstanceGroupUrls'
|
1055
|
+
property :blue_pool_deletion_start_time, as: 'bluePoolDeletionStartTime'
|
1056
|
+
collection :green_instance_group_urls, as: 'greenInstanceGroupUrls'
|
1057
|
+
property :green_pool_version, as: 'greenPoolVersion'
|
1058
|
+
property :phase, as: 'phase'
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
class BlueGreenSettings
|
1063
|
+
# @private
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1065
|
+
property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
|
1066
|
+
property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1beta1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::StandardRolloutPolicy::Representation
|
1067
|
+
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
|
1015
1071
|
class CancelOperationRequest
|
1016
1072
|
# @private
|
1017
1073
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1065,6 +1121,8 @@ module Google
|
|
1065
1121
|
|
1066
1122
|
property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
|
1067
1123
|
|
1124
|
+
property :cost_management_config, as: 'costManagementConfig', class: Google::Apis::ContainerV1beta1::CostManagementConfig, decorator: Google::Apis::ContainerV1beta1::CostManagementConfig::Representation
|
1125
|
+
|
1068
1126
|
property :create_time, as: 'createTime'
|
1069
1127
|
property :current_master_version, as: 'currentMasterVersion'
|
1070
1128
|
property :current_node_count, as: 'currentNodeCount'
|
@@ -1192,6 +1250,8 @@ module Google
|
|
1192
1250
|
|
1193
1251
|
property :desired_cluster_telemetry, as: 'desiredClusterTelemetry', class: Google::Apis::ContainerV1beta1::ClusterTelemetry, decorator: Google::Apis::ContainerV1beta1::ClusterTelemetry::Representation
|
1194
1252
|
|
1253
|
+
property :desired_cost_management_config, as: 'desiredCostManagementConfig', class: Google::Apis::ContainerV1beta1::CostManagementConfig, decorator: Google::Apis::ContainerV1beta1::CostManagementConfig::Representation
|
1254
|
+
|
1195
1255
|
property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
|
1196
1256
|
|
1197
1257
|
property :desired_datapath_provider, as: 'desiredDatapathProvider'
|
@@ -1268,6 +1328,12 @@ module Google
|
|
1268
1328
|
end
|
1269
1329
|
end
|
1270
1330
|
|
1331
|
+
class CompleteNodePoolUpgradeRequest
|
1332
|
+
# @private
|
1333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1271
1337
|
class ConfidentialNodes
|
1272
1338
|
# @private
|
1273
1339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1289,6 +1355,13 @@ module Google
|
|
1289
1355
|
end
|
1290
1356
|
end
|
1291
1357
|
|
1358
|
+
class CostManagementConfig
|
1359
|
+
# @private
|
1360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1361
|
+
property :enabled, as: 'enabled'
|
1362
|
+
end
|
1363
|
+
end
|
1364
|
+
|
1292
1365
|
class CreateClusterRequest
|
1293
1366
|
# @private
|
1294
1367
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1484,8 +1557,10 @@ module Google
|
|
1484
1557
|
property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
|
1485
1558
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
1486
1559
|
property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
|
1560
|
+
property :services_ipv6_cidr_block, as: 'servicesIpv6CidrBlock'
|
1487
1561
|
property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
|
1488
1562
|
property :stack_type, as: 'stackType'
|
1563
|
+
property :subnet_ipv6_cidr_block, as: 'subnetIpv6CidrBlock'
|
1489
1564
|
property :subnetwork_name, as: 'subnetworkName'
|
1490
1565
|
property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
|
1491
1566
|
property :use_ip_aliases, as: 'useIpAliases'
|
@@ -1554,6 +1629,7 @@ module Google
|
|
1554
1629
|
class LinuxNodeConfig
|
1555
1630
|
# @private
|
1556
1631
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1632
|
+
property :cgroup_mode, as: 'cgroupMode'
|
1557
1633
|
hash :sysctls, as: 'sysctls'
|
1558
1634
|
end
|
1559
1635
|
end
|
@@ -1896,6 +1972,8 @@ module Google
|
|
1896
1972
|
property :self_link, as: 'selfLink'
|
1897
1973
|
property :status, as: 'status'
|
1898
1974
|
property :status_message, as: 'statusMessage'
|
1975
|
+
property :update_info, as: 'updateInfo', class: Google::Apis::ContainerV1beta1::UpdateInfo, decorator: Google::Apis::ContainerV1beta1::UpdateInfo::Representation
|
1976
|
+
|
1899
1977
|
property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1beta1::UpgradeSettings, decorator: Google::Apis::ContainerV1beta1::UpgradeSettings::Representation
|
1900
1978
|
|
1901
1979
|
property :version, as: 'version'
|
@@ -1915,8 +1993,11 @@ module Google
|
|
1915
1993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1916
1994
|
property :autoprovisioned, as: 'autoprovisioned'
|
1917
1995
|
property :enabled, as: 'enabled'
|
1996
|
+
property :location_policy, as: 'locationPolicy'
|
1918
1997
|
property :max_node_count, as: 'maxNodeCount'
|
1919
1998
|
property :min_node_count, as: 'minNodeCount'
|
1999
|
+
property :total_max_node_count, as: 'totalMaxNodeCount'
|
2000
|
+
property :total_min_node_count, as: 'totalMinNodeCount'
|
1920
2001
|
end
|
1921
2002
|
end
|
1922
2003
|
|
@@ -2106,6 +2187,7 @@ module Google
|
|
2106
2187
|
property :name, as: 'name'
|
2107
2188
|
property :node_pool_id, as: 'nodePoolId'
|
2108
2189
|
property :project_id, as: 'projectId'
|
2190
|
+
property :respect_pdb, as: 'respectPdb'
|
2109
2191
|
property :zone, as: 'zone'
|
2110
2192
|
end
|
2111
2193
|
end
|
@@ -2314,6 +2396,15 @@ module Google
|
|
2314
2396
|
end
|
2315
2397
|
end
|
2316
2398
|
|
2399
|
+
class StandardRolloutPolicy
|
2400
|
+
# @private
|
2401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2402
|
+
property :batch_node_count, as: 'batchNodeCount'
|
2403
|
+
property :batch_percentage, as: 'batchPercentage'
|
2404
|
+
property :batch_soak_duration, as: 'batchSoakDuration'
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2317
2408
|
class StartIpRotationRequest
|
2318
2409
|
# @private
|
2319
2410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2374,6 +2465,14 @@ module Google
|
|
2374
2465
|
end
|
2375
2466
|
end
|
2376
2467
|
|
2468
|
+
class UpdateInfo
|
2469
|
+
# @private
|
2470
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2471
|
+
property :blue_green_info, as: 'blueGreenInfo', class: Google::Apis::ContainerV1beta1::BlueGreenInfo, decorator: Google::Apis::ContainerV1beta1::BlueGreenInfo::Representation
|
2472
|
+
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2377
2476
|
class UpdateMasterRequest
|
2378
2477
|
# @private
|
2379
2478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2404,6 +2503,8 @@ module Google
|
|
2404
2503
|
|
2405
2504
|
collection :locations, as: 'locations'
|
2406
2505
|
property :name, as: 'name'
|
2506
|
+
property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
|
2507
|
+
|
2407
2508
|
property :node_pool_id, as: 'nodePoolId'
|
2408
2509
|
property :node_version, as: 'nodeVersion'
|
2409
2510
|
property :project_id, as: 'projectId'
|
@@ -2447,8 +2548,11 @@ module Google
|
|
2447
2548
|
class UpgradeSettings
|
2448
2549
|
# @private
|
2449
2550
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2551
|
+
property :blue_green_settings, as: 'blueGreenSettings', class: Google::Apis::ContainerV1beta1::BlueGreenSettings, decorator: Google::Apis::ContainerV1beta1::BlueGreenSettings::Representation
|
2552
|
+
|
2450
2553
|
property :max_surge, as: 'maxSurge'
|
2451
2554
|
property :max_unavailable, as: 'maxUnavailable'
|
2555
|
+
property :strategy, as: 'strategy'
|
2452
2556
|
end
|
2453
2557
|
end
|
2454
2558
|
|
@@ -827,6 +827,41 @@ module Google
|
|
827
827
|
execute_or_queue_command(command, &block)
|
828
828
|
end
|
829
829
|
|
830
|
+
# CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.
|
831
|
+
# @param [String] name
|
832
|
+
# The name (project, location, cluster, node pool id) of the node pool to
|
833
|
+
# complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/
|
834
|
+
# nodePools/*`.
|
835
|
+
# @param [Google::Apis::ContainerV1beta1::CompleteNodePoolUpgradeRequest] complete_node_pool_upgrade_request_object
|
836
|
+
# @param [String] fields
|
837
|
+
# Selector specifying which fields to include in a partial response.
|
838
|
+
# @param [String] quota_user
|
839
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
840
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
841
|
+
# @param [Google::Apis::RequestOptions] options
|
842
|
+
# Request-specific options
|
843
|
+
#
|
844
|
+
# @yield [result, err] Result & error if block supplied
|
845
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::Empty] parsed result object
|
846
|
+
# @yieldparam err [StandardError] error object if request failed
|
847
|
+
#
|
848
|
+
# @return [Google::Apis::ContainerV1beta1::Empty]
|
849
|
+
#
|
850
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
851
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
852
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
853
|
+
def complete_project_location_cluster_node_pool_upgrade(name, complete_node_pool_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
854
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:completeUpgrade', options)
|
855
|
+
command.request_representation = Google::Apis::ContainerV1beta1::CompleteNodePoolUpgradeRequest::Representation
|
856
|
+
command.request_object = complete_node_pool_upgrade_request_object
|
857
|
+
command.response_representation = Google::Apis::ContainerV1beta1::Empty::Representation
|
858
|
+
command.response_class = Google::Apis::ContainerV1beta1::Empty
|
859
|
+
command.params['name'] = name unless name.nil?
|
860
|
+
command.query['fields'] = fields unless fields.nil?
|
861
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
862
|
+
execute_or_queue_command(command, &block)
|
863
|
+
end
|
864
|
+
|
830
865
|
# Creates a node pool for a cluster.
|
831
866
|
# @param [String] parent
|
832
867
|
# The parent (project, location, cluster name) where the node pool will be
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-container_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.36.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-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
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.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.36.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|