google-apis-container_v1beta1 0.32.0 → 0.35.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1218ccf043703a632cdacda57a87208295f8c156b3c8c589ab030934a78645e
4
- data.tar.gz: f87acc7ce36d01d362c81eec3b87089f484cec3761e2a03307fffac9d8e2491e
3
+ metadata.gz: 5f02b20924f90584bc53fd3f6d52b3cbcce6866adf5b120d97c9c0c99f850d3d
4
+ data.tar.gz: d9466a794f6afb964372698949e617eace93defbf5aec1cf91baa14328152b5d
5
5
  SHA512:
6
- metadata.gz: ff1440f3fe25b736d7cfde7651f160808bd67b3b19b7e335e2707658f762f392d48b27a839f66ada04370b978c3694a8cc2739a81d9fef27549758600893b969
7
- data.tar.gz: dbcf6b3198f77c6c6f100715cb0f71d88c55c25487b759d6d93c8c68559470b4a4fee2c0f211194372845b3bd0a213c3146de49f61fbf4fe241d63de55f4326a
6
+ metadata.gz: 01336a8a24f1e449ee27f4c46434cfb20860359d50eec4390f0927160f544fc17dbf8d59288dd5867e120cf911a51c020d2c432c54a868c8a06183c816c477a0
7
+ data.tar.gz: 4eeb9bcd75fd03f23f9889deb99e658f63990f393f8cc41d83d2e089c256752d84a09d414ef7e3ae80804c97a7d1a7ec92d878d0e49ef9f58d1a17e0851c7aeb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release history for google-apis-container_v1beta1
2
2
 
3
+ ### v0.35.0 (2022-06-30)
4
+
5
+ * Regenerated using generator version 0.8.0
6
+ * Regenerated from discovery document revision 20220615
7
+
8
+ ### v0.34.0 (2022-06-24)
9
+
10
+ * Regenerated from discovery document revision 20220610
11
+ * Regenerated using generator version 0.7.0
12
+
13
+ ### v0.33.0 (2022-06-04)
14
+
15
+ * Regenerated from discovery document revision 20220518
16
+ * Regenerated using generator version 0.5.0
17
+
3
18
  ### v0.32.0 (2022-05-17)
4
19
 
5
20
  * Regenerated from discovery document revision 20220429
@@ -44,6 +44,17 @@ module Google
44
44
  # @return [String]
45
45
  attr_accessor :gpu_partition_size
46
46
 
47
+ # GPUSharingConfig represents the GPU sharing configuration for Hardware
48
+ # Accelerators.
49
+ # Corresponds to the JSON property `gpuSharingConfig`
50
+ # @return [Google::Apis::ContainerV1beta1::GpuSharingConfig]
51
+ attr_accessor :gpu_sharing_config
52
+
53
+ # The number of time-shared GPU resources to expose for each physical GPU.
54
+ # Corresponds to the JSON property `maxTimeSharedClientsPerGpu`
55
+ # @return [Fixnum]
56
+ attr_accessor :max_time_shared_clients_per_gpu
57
+
47
58
  def initialize(**args)
48
59
  update!(**args)
49
60
  end
@@ -53,6 +64,8 @@ module Google
53
64
  @accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
54
65
  @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
55
66
  @gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
67
+ @gpu_sharing_config = args[:gpu_sharing_config] if args.key?(:gpu_sharing_config)
68
+ @max_time_shared_clients_per_gpu = args[:max_time_shared_clients_per_gpu] if args.key?(:max_time_shared_clients_per_gpu)
56
69
  end
57
70
  end
58
71
 
@@ -319,7 +332,23 @@ module Google
319
332
  # @return [Google::Apis::ContainerV1beta1::ShieldedInstanceConfig]
320
333
  attr_accessor :shielded_instance_config
321
334
 
322
- # Upgrade settings control disruption and speed of the upgrade.
335
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
336
+ # strategy to switch between the strategies applied to the node pool. If the
337
+ # strategy is SURGE, use max_surge and max_unavailable to control the level of
338
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
339
+ # controls the number of additional nodes that can be added to the node pool
340
+ # temporarily for the time of the upgrade to increase the number of available
341
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
342
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
343
+ # level of parallelism (how many nodes are being upgraded at the same time). If
344
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
345
+ # green upgrade related settings. 1. standard_rollout_policy is the default
346
+ # policy. The policy is used to control the way blue pool gets drained. The
347
+ # draining is executed in the batch mode. The batch size could be specified as
348
+ # either percentage of the node pool size or the number of nodes.
349
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
350
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
351
+ # After this period, the blue pool nodes will be deleted.
323
352
  # Corresponds to the JSON property `upgradeSettings`
324
353
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
325
354
  attr_accessor :upgrade_settings
@@ -415,6 +444,78 @@ module Google
415
444
  end
416
445
  end
417
446
 
447
+ # Information relevant to blue-green upgrade.
448
+ class BlueGreenInfo
449
+ include Google::Apis::Core::Hashable
450
+
451
+ # The resource URLs of the [managed instance groups] (/compute/docs/instance-
452
+ # groups/creating-groups-of-managed-instances) associated with blue pool.
453
+ # Corresponds to the JSON property `blueInstanceGroupUrls`
454
+ # @return [Array<String>]
455
+ attr_accessor :blue_instance_group_urls
456
+
457
+ # Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](
458
+ # https://www.ietf.org/rfc/rfc3339.txt) text format.
459
+ # Corresponds to the JSON property `bluePoolDeletionStartTime`
460
+ # @return [String]
461
+ attr_accessor :blue_pool_deletion_start_time
462
+
463
+ # The resource URLs of the [managed instance groups] (/compute/docs/instance-
464
+ # groups/creating-groups-of-managed-instances) associated with green pool.
465
+ # Corresponds to the JSON property `greenInstanceGroupUrls`
466
+ # @return [Array<String>]
467
+ attr_accessor :green_instance_group_urls
468
+
469
+ # Version of green pool.
470
+ # Corresponds to the JSON property `greenPoolVersion`
471
+ # @return [String]
472
+ attr_accessor :green_pool_version
473
+
474
+ # Current blue-green upgrade phase.
475
+ # Corresponds to the JSON property `phase`
476
+ # @return [String]
477
+ attr_accessor :phase
478
+
479
+ def initialize(**args)
480
+ update!(**args)
481
+ end
482
+
483
+ # Update properties of this object
484
+ def update!(**args)
485
+ @blue_instance_group_urls = args[:blue_instance_group_urls] if args.key?(:blue_instance_group_urls)
486
+ @blue_pool_deletion_start_time = args[:blue_pool_deletion_start_time] if args.key?(:blue_pool_deletion_start_time)
487
+ @green_instance_group_urls = args[:green_instance_group_urls] if args.key?(:green_instance_group_urls)
488
+ @green_pool_version = args[:green_pool_version] if args.key?(:green_pool_version)
489
+ @phase = args[:phase] if args.key?(:phase)
490
+ end
491
+ end
492
+
493
+ # Settings for blue-green upgrade.
494
+ class BlueGreenSettings
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # Time needed after draining entire blue pool. After this period, blue pool will
498
+ # be cleaned up.
499
+ # Corresponds to the JSON property `nodePoolSoakDuration`
500
+ # @return [String]
501
+ attr_accessor :node_pool_soak_duration
502
+
503
+ # Standard rollout policy is the default policy for blue-green.
504
+ # Corresponds to the JSON property `standardRolloutPolicy`
505
+ # @return [Google::Apis::ContainerV1beta1::StandardRolloutPolicy]
506
+ attr_accessor :standard_rollout_policy
507
+
508
+ def initialize(**args)
509
+ update!(**args)
510
+ end
511
+
512
+ # Update properties of this object
513
+ def update!(**args)
514
+ @node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
515
+ @standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
516
+ end
517
+ end
518
+
418
519
  # CancelOperationRequest cancels a single operation.
419
520
  class CancelOperationRequest
420
521
  include Google::Apis::Core::Hashable
@@ -585,6 +686,11 @@ module Google
585
686
  # @return [Google::Apis::ContainerV1beta1::ConfidentialNodes]
586
687
  attr_accessor :confidential_nodes
587
688
 
689
+ # Configuration for fine-grained cost management feature.
690
+ # Corresponds to the JSON property `costManagementConfig`
691
+ # @return [Google::Apis::ContainerV1beta1::CostManagementConfig]
692
+ attr_accessor :cost_management_config
693
+
588
694
  # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
589
695
  # org/rfc/rfc3339.txt) text format.
590
696
  # Corresponds to the JSON property `createTime`
@@ -830,9 +936,9 @@ module Google
830
936
  # @return [Google::Apis::ContainerV1beta1::NetworkPolicy]
831
937
  attr_accessor :network_policy
832
938
 
833
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
834
- # clusters do not recognize parameters in `NodeConfig`. Use
835
- # AutoprovisioningNodePoolDefaults instead.
939
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
940
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
941
+ # instead.
836
942
  # Corresponds to the JSON property `nodeConfig`
837
943
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
838
944
  attr_accessor :node_config
@@ -1002,6 +1108,7 @@ module Google
1002
1108
  @cluster_telemetry = args[:cluster_telemetry] if args.key?(:cluster_telemetry)
1003
1109
  @conditions = args[:conditions] if args.key?(:conditions)
1004
1110
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
1111
+ @cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
1005
1112
  @create_time = args[:create_time] if args.key?(:create_time)
1006
1113
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
1007
1114
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@@ -1167,6 +1274,11 @@ module Google
1167
1274
  # @return [Google::Apis::ContainerV1beta1::ClusterTelemetry]
1168
1275
  attr_accessor :desired_cluster_telemetry
1169
1276
 
1277
+ # Configuration for fine-grained cost management feature.
1278
+ # Corresponds to the JSON property `desiredCostManagementConfig`
1279
+ # @return [Google::Apis::ContainerV1beta1::CostManagementConfig]
1280
+ attr_accessor :desired_cost_management_config
1281
+
1170
1282
  # Configuration of etcd encryption.
1171
1283
  # Corresponds to the JSON property `desiredDatabaseEncryption`
1172
1284
  # @return [Google::Apis::ContainerV1beta1::DatabaseEncryption]
@@ -1406,6 +1518,7 @@ module Google
1406
1518
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1407
1519
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1408
1520
  @desired_cluster_telemetry = args[:desired_cluster_telemetry] if args.key?(:desired_cluster_telemetry)
1521
+ @desired_cost_management_config = args[:desired_cost_management_config] if args.key?(:desired_cost_management_config)
1409
1522
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1410
1523
  @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1411
1524
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
@@ -1488,6 +1601,20 @@ module Google
1488
1601
  end
1489
1602
  end
1490
1603
 
1604
+ # CompleteNodePoolUpgradeRequest sets the name of target node pool to complete
1605
+ # upgrade.
1606
+ class CompleteNodePoolUpgradeRequest
1607
+ include Google::Apis::Core::Hashable
1608
+
1609
+ def initialize(**args)
1610
+ update!(**args)
1611
+ end
1612
+
1613
+ # Update properties of this object
1614
+ def update!(**args)
1615
+ end
1616
+ end
1617
+
1491
1618
  # ConfidentialNodes is configuration for the confidential nodes feature, which
1492
1619
  # makes nodes run on confidential VMs.
1493
1620
  class ConfidentialNodes
@@ -1550,6 +1677,26 @@ module Google
1550
1677
  end
1551
1678
  end
1552
1679
 
1680
+ # Configuration for fine-grained cost management feature.
1681
+ class CostManagementConfig
1682
+ include Google::Apis::Core::Hashable
1683
+
1684
+ # Whether the feature is enabled or not.
1685
+ # Corresponds to the JSON property `enabled`
1686
+ # @return [Boolean]
1687
+ attr_accessor :enabled
1688
+ alias_method :enabled?, :enabled
1689
+
1690
+ def initialize(**args)
1691
+ update!(**args)
1692
+ end
1693
+
1694
+ # Update properties of this object
1695
+ def update!(**args)
1696
+ @enabled = args[:enabled] if args.key?(:enabled)
1697
+ end
1698
+ end
1699
+
1553
1700
  # CreateClusterRequest creates a cluster.
1554
1701
  class CreateClusterRequest
1555
1702
  include Google::Apis::Core::Hashable
@@ -1885,6 +2032,32 @@ module Google
1885
2032
  end
1886
2033
  end
1887
2034
 
2035
+ # GPUSharingConfig represents the GPU sharing configuration for Hardware
2036
+ # Accelerators.
2037
+ class GpuSharingConfig
2038
+ include Google::Apis::Core::Hashable
2039
+
2040
+ # The type of GPU sharing strategy to enable on the GPU node.
2041
+ # Corresponds to the JSON property `gpuSharingStrategy`
2042
+ # @return [String]
2043
+ attr_accessor :gpu_sharing_strategy
2044
+
2045
+ # The max number of containers that can share a physical GPU.
2046
+ # Corresponds to the JSON property `maxSharedClientsPerGpu`
2047
+ # @return [Fixnum]
2048
+ attr_accessor :max_shared_clients_per_gpu
2049
+
2050
+ def initialize(**args)
2051
+ update!(**args)
2052
+ end
2053
+
2054
+ # Update properties of this object
2055
+ def update!(**args)
2056
+ @gpu_sharing_strategy = args[:gpu_sharing_strategy] if args.key?(:gpu_sharing_strategy)
2057
+ @max_shared_clients_per_gpu = args[:max_shared_clients_per_gpu] if args.key?(:max_shared_clients_per_gpu)
2058
+ end
2059
+ end
2060
+
1888
2061
  # Configuration for the Compute Engine PD CSI driver.
1889
2062
  class GcePersistentDiskCsiDriverConfig
1890
2063
  include Google::Apis::Core::Hashable
@@ -2237,6 +2410,11 @@ module Google
2237
2410
  # @return [String]
2238
2411
  attr_accessor :services_ipv4_cidr_block
2239
2412
 
2413
+ # Output only. [Output only] The services IPv6 CIDR block for the cluster.
2414
+ # Corresponds to the JSON property `servicesIpv6CidrBlock`
2415
+ # @return [String]
2416
+ attr_accessor :services_ipv6_cidr_block
2417
+
2240
2418
  # The name of the secondary range to be used as for the services CIDR block. The
2241
2419
  # secondary range will be used for service ClusterIPs. This must be an existing
2242
2420
  # secondary range associated with the cluster subnetwork. This field is only
@@ -2250,6 +2428,11 @@ module Google
2250
2428
  # @return [String]
2251
2429
  attr_accessor :stack_type
2252
2430
 
2431
+ # Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.
2432
+ # Corresponds to the JSON property `subnetIpv6CidrBlock`
2433
+ # @return [String]
2434
+ attr_accessor :subnet_ipv6_cidr_block
2435
+
2253
2436
  # A custom subnetwork name to be used if `create_subnetwork` is true. If this
2254
2437
  # field is empty, then an automatic name will be chosen for the new subnetwork.
2255
2438
  # Corresponds to the JSON property `subnetworkName`
@@ -2303,8 +2486,10 @@ module Google
2303
2486
  @node_ipv4_cidr_block = args[:node_ipv4_cidr_block] if args.key?(:node_ipv4_cidr_block)
2304
2487
  @services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
2305
2488
  @services_ipv4_cidr_block = args[:services_ipv4_cidr_block] if args.key?(:services_ipv4_cidr_block)
2489
+ @services_ipv6_cidr_block = args[:services_ipv6_cidr_block] if args.key?(:services_ipv6_cidr_block)
2306
2490
  @services_secondary_range_name = args[:services_secondary_range_name] if args.key?(:services_secondary_range_name)
2307
2491
  @stack_type = args[:stack_type] if args.key?(:stack_type)
2492
+ @subnet_ipv6_cidr_block = args[:subnet_ipv6_cidr_block] if args.key?(:subnet_ipv6_cidr_block)
2308
2493
  @subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
2309
2494
  @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block)
2310
2495
  @use_ip_aliases = args[:use_ip_aliases] if args.key?(:use_ip_aliases)
@@ -2514,6 +2699,11 @@ module Google
2514
2699
  class LinuxNodeConfig
2515
2700
  include Google::Apis::Core::Hashable
2516
2701
 
2702
+ # cgroup_mode specifies the cgroup mode to be used on the node.
2703
+ # Corresponds to the JSON property `cgroupMode`
2704
+ # @return [String]
2705
+ attr_accessor :cgroup_mode
2706
+
2517
2707
  # The Linux kernel parameters to be applied to the nodes and all pods running on
2518
2708
  # the nodes. The following parameters are supported. net.core.busy_poll net.core.
2519
2709
  # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default
@@ -2529,6 +2719,7 @@ module Google
2529
2719
 
2530
2720
  # Update properties of this object
2531
2721
  def update!(**args)
2722
+ @cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
2532
2723
  @sysctls = args[:sysctls] if args.key?(:sysctls)
2533
2724
  end
2534
2725
  end
@@ -3240,9 +3431,9 @@ module Google
3240
3431
  end
3241
3432
  end
3242
3433
 
3243
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
3244
- # clusters do not recognize parameters in `NodeConfig`. Use
3245
- # AutoprovisioningNodePoolDefaults instead.
3434
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3435
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3436
+ # instead.
3246
3437
  class NodeConfig
3247
3438
  include Google::Apis::Core::Hashable
3248
3439
 
@@ -3702,9 +3893,9 @@ module Google
3702
3893
  # @return [Array<Google::Apis::ContainerV1beta1::StatusCondition>]
3703
3894
  attr_accessor :conditions
3704
3895
 
3705
- # Parameters that describe the nodes in a cluster. *Note:* GKE Autopilot
3706
- # clusters do not recognize parameters in `NodeConfig`. Use
3707
- # AutoprovisioningNodePoolDefaults instead.
3896
+ # Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not
3897
+ # recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults
3898
+ # instead.
3708
3899
  # Corresponds to the JSON property `config`
3709
3900
  # @return [Google::Apis::ContainerV1beta1::NodeConfig]
3710
3901
  attr_accessor :config
@@ -3719,7 +3910,8 @@ module Google
3719
3910
 
3720
3911
  # [Output only] The resource URLs of the [managed instance groups](https://cloud.
3721
3912
  # google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
3722
- # associated with this node pool.
3913
+ # associated with this node pool. During the node pool blue-green upgrade
3914
+ # operation, the URLs contain both blue and green resources.
3723
3915
  # Corresponds to the JSON property `instanceGroupUrls`
3724
3916
  # @return [Array<String>]
3725
3917
  attr_accessor :instance_group_urls
@@ -3781,7 +3973,29 @@ module Google
3781
3973
  # @return [String]
3782
3974
  attr_accessor :status_message
3783
3975
 
3784
- # Upgrade settings control disruption and speed of the upgrade.
3976
+ # UpdateInfo contains resource (instance groups, etc), status and other
3977
+ # intermediate information relevant to a node pool upgrade.
3978
+ # Corresponds to the JSON property `updateInfo`
3979
+ # @return [Google::Apis::ContainerV1beta1::UpdateInfo]
3980
+ attr_accessor :update_info
3981
+
3982
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
3983
+ # strategy to switch between the strategies applied to the node pool. If the
3984
+ # strategy is SURGE, use max_surge and max_unavailable to control the level of
3985
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
3986
+ # controls the number of additional nodes that can be added to the node pool
3987
+ # temporarily for the time of the upgrade to increase the number of available
3988
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
3989
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
3990
+ # level of parallelism (how many nodes are being upgraded at the same time). If
3991
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
3992
+ # green upgrade related settings. 1. standard_rollout_policy is the default
3993
+ # policy. The policy is used to control the way blue pool gets drained. The
3994
+ # draining is executed in the batch mode. The batch size could be specified as
3995
+ # either percentage of the node pool size or the number of nodes.
3996
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
3997
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
3998
+ # After this period, the blue pool nodes will be deleted.
3785
3999
  # Corresponds to the JSON property `upgradeSettings`
3786
4000
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
3787
4001
  attr_accessor :upgrade_settings
@@ -3812,6 +4026,7 @@ module Google
3812
4026
  @self_link = args[:self_link] if args.key?(:self_link)
3813
4027
  @status = args[:status] if args.key?(:status)
3814
4028
  @status_message = args[:status_message] if args.key?(:status_message)
4029
+ @update_info = args[:update_info] if args.key?(:update_info)
3815
4030
  @upgrade_settings = args[:upgrade_settings] if args.key?(:upgrade_settings)
3816
4031
  @version = args[:version] if args.key?(:version)
3817
4032
  end
@@ -3856,6 +4071,11 @@ module Google
3856
4071
  attr_accessor :enabled
3857
4072
  alias_method :enabled?, :enabled
3858
4073
 
4074
+ # Location policy used when scaling up a nodepool.
4075
+ # Corresponds to the JSON property `locationPolicy`
4076
+ # @return [String]
4077
+ attr_accessor :location_policy
4078
+
3859
4079
  # Maximum number of nodes for one location in the NodePool. Must be >=
3860
4080
  # min_node_count. There has to be enough quota to scale up the cluster.
3861
4081
  # Corresponds to the JSON property `maxNodeCount`
@@ -3868,6 +4088,21 @@ module Google
3868
4088
  # @return [Fixnum]
3869
4089
  attr_accessor :min_node_count
3870
4090
 
4091
+ # Maximum number of nodes in the node pool. Must be greater than
4092
+ # total_min_node_count. There has to be enough quota to scale up the cluster.
4093
+ # The total_*_node_count fields are mutually exclusive with the *_node_count
4094
+ # fields.
4095
+ # Corresponds to the JSON property `totalMaxNodeCount`
4096
+ # @return [Fixnum]
4097
+ attr_accessor :total_max_node_count
4098
+
4099
+ # Minimum number of nodes in the node pool. Must be greater than 1 less than
4100
+ # total_max_node_count. The total_*_node_count fields are mutually exclusive
4101
+ # with the *_node_count fields.
4102
+ # Corresponds to the JSON property `totalMinNodeCount`
4103
+ # @return [Fixnum]
4104
+ attr_accessor :total_min_node_count
4105
+
3871
4106
  def initialize(**args)
3872
4107
  update!(**args)
3873
4108
  end
@@ -3876,8 +4111,11 @@ module Google
3876
4111
  def update!(**args)
3877
4112
  @autoprovisioned = args[:autoprovisioned] if args.key?(:autoprovisioned)
3878
4113
  @enabled = args[:enabled] if args.key?(:enabled)
4114
+ @location_policy = args[:location_policy] if args.key?(:location_policy)
3879
4115
  @max_node_count = args[:max_node_count] if args.key?(:max_node_count)
3880
4116
  @min_node_count = args[:min_node_count] if args.key?(:min_node_count)
4117
+ @total_max_node_count = args[:total_max_node_count] if args.key?(:total_max_node_count)
4118
+ @total_min_node_count = args[:total_min_node_count] if args.key?(:total_min_node_count)
3881
4119
  end
3882
4120
  end
3883
4121
 
@@ -4542,6 +4780,12 @@ module Google
4542
4780
  # @return [String]
4543
4781
  attr_accessor :project_id
4544
4782
 
4783
+ # Option for rollback to ignore the PodDisruptionBudget. Default value is false.
4784
+ # Corresponds to the JSON property `respectPdb`
4785
+ # @return [Boolean]
4786
+ attr_accessor :respect_pdb
4787
+ alias_method :respect_pdb?, :respect_pdb
4788
+
4545
4789
  # Required. Deprecated. The name of the Google Compute Engine [zone](https://
4546
4790
  # cloud.google.com/compute/docs/zones#available) in which the cluster resides.
4547
4791
  # This field has been deprecated and replaced by the name field.
@@ -4559,6 +4803,7 @@ module Google
4559
4803
  @name = args[:name] if args.key?(:name)
4560
4804
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
4561
4805
  @project_id = args[:project_id] if args.key?(:project_id)
4806
+ @respect_pdb = args[:respect_pdb] if args.key?(:respect_pdb)
4562
4807
  @zone = args[:zone] if args.key?(:zone)
4563
4808
  end
4564
4809
  end
@@ -5451,6 +5696,38 @@ module Google
5451
5696
  end
5452
5697
  end
5453
5698
 
5699
+ # Standard rollout policy is the default policy for blue-green.
5700
+ class StandardRolloutPolicy
5701
+ include Google::Apis::Core::Hashable
5702
+
5703
+ # Number of blue nodes to drain in a batch.
5704
+ # Corresponds to the JSON property `batchNodeCount`
5705
+ # @return [Fixnum]
5706
+ attr_accessor :batch_node_count
5707
+
5708
+ # Percentage of the bool pool nodes to drain in a batch. The range of this field
5709
+ # should be (0.0, 1.0].
5710
+ # Corresponds to the JSON property `batchPercentage`
5711
+ # @return [Float]
5712
+ attr_accessor :batch_percentage
5713
+
5714
+ # Soak time after each batch gets drained. Default to zero.
5715
+ # Corresponds to the JSON property `batchSoakDuration`
5716
+ # @return [String]
5717
+ attr_accessor :batch_soak_duration
5718
+
5719
+ def initialize(**args)
5720
+ update!(**args)
5721
+ end
5722
+
5723
+ # Update properties of this object
5724
+ def update!(**args)
5725
+ @batch_node_count = args[:batch_node_count] if args.key?(:batch_node_count)
5726
+ @batch_percentage = args[:batch_percentage] if args.key?(:batch_percentage)
5727
+ @batch_soak_duration = args[:batch_soak_duration] if args.key?(:batch_soak_duration)
5728
+ end
5729
+ end
5730
+
5454
5731
  # StartIPRotationRequest creates a new IP for the cluster and then performs a
5455
5732
  # node upgrade on each node pool to point to the new IP.
5456
5733
  class StartIpRotationRequest
@@ -5689,6 +5966,26 @@ module Google
5689
5966
  end
5690
5967
  end
5691
5968
 
5969
+ # UpdateInfo contains resource (instance groups, etc), status and other
5970
+ # intermediate information relevant to a node pool upgrade.
5971
+ class UpdateInfo
5972
+ include Google::Apis::Core::Hashable
5973
+
5974
+ # Information relevant to blue-green upgrade.
5975
+ # Corresponds to the JSON property `blueGreenInfo`
5976
+ # @return [Google::Apis::ContainerV1beta1::BlueGreenInfo]
5977
+ attr_accessor :blue_green_info
5978
+
5979
+ def initialize(**args)
5980
+ update!(**args)
5981
+ end
5982
+
5983
+ # Update properties of this object
5984
+ def update!(**args)
5985
+ @blue_green_info = args[:blue_green_info] if args.key?(:blue_green_info)
5986
+ end
5987
+ end
5988
+
5692
5989
  # UpdateMasterRequest updates the master of the cluster.
5693
5990
  class UpdateMasterRequest
5694
5991
  include Google::Apis::Core::Hashable
@@ -5806,6 +6103,11 @@ module Google
5806
6103
  # @return [String]
5807
6104
  attr_accessor :name
5808
6105
 
6106
+ # Parameters for node pool-level network config.
6107
+ # Corresponds to the JSON property `nodeNetworkConfig`
6108
+ # @return [Google::Apis::ContainerV1beta1::NodeNetworkConfig]
6109
+ attr_accessor :node_network_config
6110
+
5809
6111
  # Required. Deprecated. The name of the node pool to upgrade. This field has
5810
6112
  # been deprecated and replaced by the name field.
5811
6113
  # Corresponds to the JSON property `nodePoolId`
@@ -5843,7 +6145,23 @@ module Google
5843
6145
  # @return [Google::Apis::ContainerV1beta1::NodeTaints]
5844
6146
  attr_accessor :taints
5845
6147
 
5846
- # Upgrade settings control disruption and speed of the upgrade.
6148
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
6149
+ # strategy to switch between the strategies applied to the node pool. If the
6150
+ # strategy is SURGE, use max_surge and max_unavailable to control the level of
6151
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
6152
+ # controls the number of additional nodes that can be added to the node pool
6153
+ # temporarily for the time of the upgrade to increase the number of available
6154
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
6155
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
6156
+ # level of parallelism (how many nodes are being upgraded at the same time). If
6157
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
6158
+ # green upgrade related settings. 1. standard_rollout_policy is the default
6159
+ # policy. The policy is used to control the way blue pool gets drained. The
6160
+ # draining is executed in the batch mode. The batch size could be specified as
6161
+ # either percentage of the node pool size or the number of nodes.
6162
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
6163
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
6164
+ # After this period, the blue pool nodes will be deleted.
5847
6165
  # Corresponds to the JSON property `upgradeSettings`
5848
6166
  # @return [Google::Apis::ContainerV1beta1::UpgradeSettings]
5849
6167
  attr_accessor :upgrade_settings
@@ -5877,6 +6195,7 @@ module Google
5877
6195
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
5878
6196
  @locations = args[:locations] if args.key?(:locations)
5879
6197
  @name = args[:name] if args.key?(:name)
6198
+ @node_network_config = args[:node_network_config] if args.key?(:node_network_config)
5880
6199
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
5881
6200
  @node_version = args[:node_version] if args.key?(:node_version)
5882
6201
  @project_id = args[:project_id] if args.key?(:project_id)
@@ -5987,10 +6306,31 @@ module Google
5987
6306
  end
5988
6307
  end
5989
6308
 
5990
- #
6309
+ # These upgrade settings configure the upgrade strategy for the node pool. Use
6310
+ # strategy to switch between the strategies applied to the node pool. If the
6311
+ # strategy is SURGE, use max_surge and max_unavailable to control the level of
6312
+ # parallelism and the level of disruption caused by upgrade. 1. maxSurge
6313
+ # controls the number of additional nodes that can be added to the node pool
6314
+ # temporarily for the time of the upgrade to increase the number of available
6315
+ # nodes. 2. maxUnavailable controls the number of nodes that can be
6316
+ # simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the
6317
+ # level of parallelism (how many nodes are being upgraded at the same time). If
6318
+ # the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-
6319
+ # green upgrade related settings. 1. standard_rollout_policy is the default
6320
+ # policy. The policy is used to control the way blue pool gets drained. The
6321
+ # draining is executed in the batch mode. The batch size could be specified as
6322
+ # either percentage of the node pool size or the number of nodes.
6323
+ # batch_soak_duration is the soak time after each batch gets drained. 2.
6324
+ # node_pool_soak_duration is the soak time after all blue nodes are drained.
6325
+ # After this period, the blue pool nodes will be deleted.
5991
6326
  class UpgradeSettings
5992
6327
  include Google::Apis::Core::Hashable
5993
6328
 
6329
+ # Settings for blue-green upgrade.
6330
+ # Corresponds to the JSON property `blueGreenSettings`
6331
+ # @return [Google::Apis::ContainerV1beta1::BlueGreenSettings]
6332
+ attr_accessor :blue_green_settings
6333
+
5994
6334
  # The maximum number of nodes that can be created beyond the current size of the
5995
6335
  # node pool during the upgrade process.
5996
6336
  # Corresponds to the JSON property `maxSurge`
@@ -6003,14 +6343,21 @@ module Google
6003
6343
  # @return [Fixnum]
6004
6344
  attr_accessor :max_unavailable
6005
6345
 
6346
+ # Update strategy of the node pool.
6347
+ # Corresponds to the JSON property `strategy`
6348
+ # @return [String]
6349
+ attr_accessor :strategy
6350
+
6006
6351
  def initialize(**args)
6007
6352
  update!(**args)
6008
6353
  end
6009
6354
 
6010
6355
  # Update properties of this object
6011
6356
  def update!(**args)
6357
+ @blue_green_settings = args[:blue_green_settings] if args.key?(:blue_green_settings)
6012
6358
  @max_surge = args[:max_surge] if args.key?(:max_surge)
6013
6359
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
6360
+ @strategy = args[:strategy] if args.key?(:strategy)
6014
6361
  end
6015
6362
  end
6016
6363
 
@@ -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.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.8.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220429"
25
+ REVISION = "20220615"
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
 
@@ -220,6 +244,12 @@ module Google
220
244
  include Google::Apis::Core::JsonObjectSupport
221
245
  end
222
246
 
247
+ class GpuSharingConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
223
253
  class GcePersistentDiskCsiDriverConfig
224
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
255
 
@@ -760,6 +790,12 @@ module Google
760
790
  include Google::Apis::Core::JsonObjectSupport
761
791
  end
762
792
 
793
+ class StandardRolloutPolicy
794
+ class Representation < Google::Apis::Core::JsonRepresentation; end
795
+
796
+ include Google::Apis::Core::JsonObjectSupport
797
+ end
798
+
763
799
  class StartIpRotationRequest
764
800
  class Representation < Google::Apis::Core::JsonRepresentation; end
765
801
 
@@ -796,6 +832,12 @@ module Google
796
832
  include Google::Apis::Core::JsonObjectSupport
797
833
  end
798
834
 
835
+ class UpdateInfo
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
799
841
  class UpdateMasterRequest
800
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
843
 
@@ -898,6 +940,9 @@ module Google
898
940
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
899
941
  property :accelerator_type, as: 'acceleratorType'
900
942
  property :gpu_partition_size, as: 'gpuPartitionSize'
943
+ property :gpu_sharing_config, as: 'gpuSharingConfig', class: Google::Apis::ContainerV1beta1::GpuSharingConfig, decorator: Google::Apis::ContainerV1beta1::GpuSharingConfig::Representation
944
+
945
+ property :max_time_shared_clients_per_gpu, :numeric_string => true, as: 'maxTimeSharedClientsPerGpu'
901
946
  end
902
947
  end
903
948
 
@@ -1003,6 +1048,26 @@ module Google
1003
1048
  end
1004
1049
  end
1005
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
+
1006
1071
  class CancelOperationRequest
1007
1072
  # @private
1008
1073
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1121,8 @@ module Google
1056
1121
 
1057
1122
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1beta1::ConfidentialNodes, decorator: Google::Apis::ContainerV1beta1::ConfidentialNodes::Representation
1058
1123
 
1124
+ property :cost_management_config, as: 'costManagementConfig', class: Google::Apis::ContainerV1beta1::CostManagementConfig, decorator: Google::Apis::ContainerV1beta1::CostManagementConfig::Representation
1125
+
1059
1126
  property :create_time, as: 'createTime'
1060
1127
  property :current_master_version, as: 'currentMasterVersion'
1061
1128
  property :current_node_count, as: 'currentNodeCount'
@@ -1183,6 +1250,8 @@ module Google
1183
1250
 
1184
1251
  property :desired_cluster_telemetry, as: 'desiredClusterTelemetry', class: Google::Apis::ContainerV1beta1::ClusterTelemetry, decorator: Google::Apis::ContainerV1beta1::ClusterTelemetry::Representation
1185
1252
 
1253
+ property :desired_cost_management_config, as: 'desiredCostManagementConfig', class: Google::Apis::ContainerV1beta1::CostManagementConfig, decorator: Google::Apis::ContainerV1beta1::CostManagementConfig::Representation
1254
+
1186
1255
  property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1beta1::DatabaseEncryption, decorator: Google::Apis::ContainerV1beta1::DatabaseEncryption::Representation
1187
1256
 
1188
1257
  property :desired_datapath_provider, as: 'desiredDatapathProvider'
@@ -1259,6 +1328,12 @@ module Google
1259
1328
  end
1260
1329
  end
1261
1330
 
1331
+ class CompleteNodePoolUpgradeRequest
1332
+ # @private
1333
+ class Representation < Google::Apis::Core::JsonRepresentation
1334
+ end
1335
+ end
1336
+
1262
1337
  class ConfidentialNodes
1263
1338
  # @private
1264
1339
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1280,6 +1355,13 @@ module Google
1280
1355
  end
1281
1356
  end
1282
1357
 
1358
+ class CostManagementConfig
1359
+ # @private
1360
+ class Representation < Google::Apis::Core::JsonRepresentation
1361
+ property :enabled, as: 'enabled'
1362
+ end
1363
+ end
1364
+
1283
1365
  class CreateClusterRequest
1284
1366
  # @private
1285
1367
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1371,6 +1453,14 @@ module Google
1371
1453
  end
1372
1454
  end
1373
1455
 
1456
+ class GpuSharingConfig
1457
+ # @private
1458
+ class Representation < Google::Apis::Core::JsonRepresentation
1459
+ property :gpu_sharing_strategy, as: 'gpuSharingStrategy'
1460
+ property :max_shared_clients_per_gpu, :numeric_string => true, as: 'maxSharedClientsPerGpu'
1461
+ end
1462
+ end
1463
+
1374
1464
  class GcePersistentDiskCsiDriverConfig
1375
1465
  # @private
1376
1466
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1467,8 +1557,10 @@ module Google
1467
1557
  property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
1468
1558
  property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
1469
1559
  property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
1560
+ property :services_ipv6_cidr_block, as: 'servicesIpv6CidrBlock'
1470
1561
  property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
1471
1562
  property :stack_type, as: 'stackType'
1563
+ property :subnet_ipv6_cidr_block, as: 'subnetIpv6CidrBlock'
1472
1564
  property :subnetwork_name, as: 'subnetworkName'
1473
1565
  property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock'
1474
1566
  property :use_ip_aliases, as: 'useIpAliases'
@@ -1537,6 +1629,7 @@ module Google
1537
1629
  class LinuxNodeConfig
1538
1630
  # @private
1539
1631
  class Representation < Google::Apis::Core::JsonRepresentation
1632
+ property :cgroup_mode, as: 'cgroupMode'
1540
1633
  hash :sysctls, as: 'sysctls'
1541
1634
  end
1542
1635
  end
@@ -1879,6 +1972,8 @@ module Google
1879
1972
  property :self_link, as: 'selfLink'
1880
1973
  property :status, as: 'status'
1881
1974
  property :status_message, as: 'statusMessage'
1975
+ property :update_info, as: 'updateInfo', class: Google::Apis::ContainerV1beta1::UpdateInfo, decorator: Google::Apis::ContainerV1beta1::UpdateInfo::Representation
1976
+
1882
1977
  property :upgrade_settings, as: 'upgradeSettings', class: Google::Apis::ContainerV1beta1::UpgradeSettings, decorator: Google::Apis::ContainerV1beta1::UpgradeSettings::Representation
1883
1978
 
1884
1979
  property :version, as: 'version'
@@ -1898,8 +1993,11 @@ module Google
1898
1993
  class Representation < Google::Apis::Core::JsonRepresentation
1899
1994
  property :autoprovisioned, as: 'autoprovisioned'
1900
1995
  property :enabled, as: 'enabled'
1996
+ property :location_policy, as: 'locationPolicy'
1901
1997
  property :max_node_count, as: 'maxNodeCount'
1902
1998
  property :min_node_count, as: 'minNodeCount'
1999
+ property :total_max_node_count, as: 'totalMaxNodeCount'
2000
+ property :total_min_node_count, as: 'totalMinNodeCount'
1903
2001
  end
1904
2002
  end
1905
2003
 
@@ -2089,6 +2187,7 @@ module Google
2089
2187
  property :name, as: 'name'
2090
2188
  property :node_pool_id, as: 'nodePoolId'
2091
2189
  property :project_id, as: 'projectId'
2190
+ property :respect_pdb, as: 'respectPdb'
2092
2191
  property :zone, as: 'zone'
2093
2192
  end
2094
2193
  end
@@ -2297,6 +2396,15 @@ module Google
2297
2396
  end
2298
2397
  end
2299
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
+
2300
2408
  class StartIpRotationRequest
2301
2409
  # @private
2302
2410
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2357,6 +2465,14 @@ module Google
2357
2465
  end
2358
2466
  end
2359
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
+
2360
2476
  class UpdateMasterRequest
2361
2477
  # @private
2362
2478
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2387,6 +2503,8 @@ module Google
2387
2503
 
2388
2504
  collection :locations, as: 'locations'
2389
2505
  property :name, as: 'name'
2506
+ property :node_network_config, as: 'nodeNetworkConfig', class: Google::Apis::ContainerV1beta1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1beta1::NodeNetworkConfig::Representation
2507
+
2390
2508
  property :node_pool_id, as: 'nodePoolId'
2391
2509
  property :node_version, as: 'nodeVersion'
2392
2510
  property :project_id, as: 'projectId'
@@ -2430,8 +2548,11 @@ module Google
2430
2548
  class UpgradeSettings
2431
2549
  # @private
2432
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
+
2433
2553
  property :max_surge, as: 'maxSurge'
2434
2554
  property :max_unavailable, as: 'maxUnavailable'
2555
+ property :strategy, as: 'strategy'
2435
2556
  end
2436
2557
  end
2437
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.32.0
4
+ version: 0.35.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-05-23 00:00:00.000000000 Z
11
+ date: 2022-07-04 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.4'
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.4'
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.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.35.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Kubernetes Engine API V1beta1