google-apis-container_v1 0.111.0 → 0.113.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: edf0949b9a8ebd3ef5dd24a747b1d4c6ec9c3a32c2ae6a894cbaa30b09a89f8f
4
- data.tar.gz: caafdc8f0e28f168aedecaf235d42a67ef0ea6eac123e07b1bcee207a4f656f6
3
+ metadata.gz: 94d595f8bccabc387835a5428287f097caef589afa3456c3b9ef97ace5ebb977
4
+ data.tar.gz: 20a3735a0c210eb175a65221ede576958df8b31a6c7364f6a27f3e12f97cffae
5
5
  SHA512:
6
- metadata.gz: fa064835129fe008642af410512e00d7c4e14ff9e275e5a0fed927814120425ea1e5231824c03be267332416d90139591825bd7bfe8770486f042e08bea01df0
7
- data.tar.gz: ab7f67049d8c4e2774b8413a5be15344930cee907588d46295482900cdf10321198a973dc5553b49a9f9498c3c43a3045cd1ac7711a476145ace482329b00b07
6
+ metadata.gz: 70911923aeb3b7e93354accc1b1ac0a43793fb690009921a543ad9a308306874e27cc40f14759fcde537445b1327493cc8713a75e8dcbbd860bf04a941b22bb1
7
+ data.tar.gz: cb901299dfc6c2cb6368bf493fb1a17c8059560c882d7ac85517676a4bc310d76a7744254efa57f471795ffa613b7938c990b4431a2ff813d6c4f4dd46748b69
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.113.0 (2026-02-01)
4
+
5
+ * Regenerated from discovery document revision 20260120
6
+
7
+ ### v0.112.0 (2026-01-25)
8
+
9
+ * Regenerated from discovery document revision 20260113
10
+
3
11
  ### v0.111.0 (2025-12-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20251202
@@ -81,6 +81,11 @@ module Google
81
81
  # @return [Array<String>]
82
82
  attr_accessor :pod_ipv4_range_names
83
83
 
84
+ # Draining status of the additional subnet.
85
+ # Corresponds to the JSON property `status`
86
+ # @return [String]
87
+ attr_accessor :status
88
+
84
89
  # Name of the subnetwork. This can be the full path of the subnetwork or just
85
90
  # the name. Example1: my-subnet Example2: projects/gke-project/regions/us-
86
91
  # central1/subnetworks/my-subnet
@@ -95,6 +100,7 @@ module Google
95
100
  # Update properties of this object
96
101
  def update!(**args)
97
102
  @pod_ipv4_range_names = args[:pod_ipv4_range_names] if args.key?(:pod_ipv4_range_names)
103
+ @status = args[:status] if args.key?(:status)
98
104
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
99
105
  end
100
106
  end
@@ -276,6 +282,11 @@ module Google
276
282
  # @return [Google::Apis::ContainerV1::RayOperatorConfig]
277
283
  attr_accessor :ray_operator_config
278
284
 
285
+ # Configuration for the Slice Controller.
286
+ # Corresponds to the JSON property `sliceControllerConfig`
287
+ # @return [Google::Apis::ContainerV1::SliceControllerConfig]
288
+ attr_accessor :slice_controller_config
289
+
279
290
  # Configuration for the Stateful HA add-on.
280
291
  # Corresponds to the JSON property `statefulHaConfig`
281
292
  # @return [Google::Apis::ContainerV1::StatefulHaConfig]
@@ -302,6 +313,7 @@ module Google
302
313
  @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
303
314
  @parallelstore_csi_driver_config = args[:parallelstore_csi_driver_config] if args.key?(:parallelstore_csi_driver_config)
304
315
  @ray_operator_config = args[:ray_operator_config] if args.key?(:ray_operator_config)
316
+ @slice_controller_config = args[:slice_controller_config] if args.key?(:slice_controller_config)
305
317
  @stateful_ha_config = args[:stateful_ha_config] if args.key?(:stateful_ha_config)
306
318
  end
307
319
  end
@@ -937,6 +949,31 @@ module Google
937
949
  end
938
950
  end
939
951
 
952
+ # Swap on the node's boot disk.
953
+ class BootDiskProfile
954
+ include Google::Apis::Core::Hashable
955
+
956
+ # Specifies the size of the swap space in gibibytes (GiB).
957
+ # Corresponds to the JSON property `swapSizeGib`
958
+ # @return [Fixnum]
959
+ attr_accessor :swap_size_gib
960
+
961
+ # Specifies the size of the swap space as a percentage of the boot disk size.
962
+ # Corresponds to the JSON property `swapSizePercent`
963
+ # @return [Fixnum]
964
+ attr_accessor :swap_size_percent
965
+
966
+ def initialize(**args)
967
+ update!(**args)
968
+ end
969
+
970
+ # Update properties of this object
971
+ def update!(**args)
972
+ @swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
973
+ @swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
974
+ end
975
+ end
976
+
940
977
  # CancelOperationRequest cancels a single operation.
941
978
  class CancelOperationRequest
942
979
  include Google::Apis::Core::Hashable
@@ -1198,7 +1235,7 @@ module Google
1198
1235
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
1199
1236
  attr_accessor :binary_authorization
1200
1237
 
1201
- # The IP address range of the container pods in this cluster, in [CIDR](http://
1238
+ # The IP address range of the container pods in this cluster, in [CIDR](https://
1202
1239
  # en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.
1203
1240
  # 0/14`). Leave blank to have one automatically chosen or specify a `/14` block
1204
1241
  # in `10.0.0.0/8`.
@@ -1607,7 +1644,7 @@ module Google
1607
1644
  attr_accessor :self_link
1608
1645
 
1609
1646
  # Output only. The IP address range of the Kubernetes services in this cluster,
1610
- # in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1647
+ # in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1611
1648
  # notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `
1612
1649
  # /16` from the container CIDR.
1613
1650
  # Corresponds to the JSON property `servicesIpv4Cidr`
@@ -1637,8 +1674,8 @@ module Google
1637
1674
  attr_accessor :subnetwork
1638
1675
 
1639
1676
  # Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](
1640
- # http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.
1641
- # 2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The
1677
+ # https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `
1678
+ # 1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The
1642
1679
  # end of life date for 2VM TPU is 2025-04-25.
1643
1680
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
1644
1681
  # @return [String]
@@ -1764,6 +1801,12 @@ module Google
1764
1801
  class ClusterAutoscaling
1765
1802
  include Google::Apis::Core::Hashable
1766
1803
 
1804
+ # Autopilot general profile for the cluster, which defines the configuration for
1805
+ # the cluster.
1806
+ # Corresponds to the JSON property `autopilotGeneralProfile`
1807
+ # @return [String]
1808
+ attr_accessor :autopilot_general_profile
1809
+
1767
1810
  # The list of Google Compute Engine [zones](https://cloud.google.com/compute/
1768
1811
  # docs/zones#available) in which the NodePool's nodes can be created by NAP.
1769
1812
  # Corresponds to the JSON property `autoprovisioningLocations`
@@ -1804,6 +1847,7 @@ module Google
1804
1847
 
1805
1848
  # Update properties of this object
1806
1849
  def update!(**args)
1850
+ @autopilot_general_profile = args[:autopilot_general_profile] if args.key?(:autopilot_general_profile)
1807
1851
  @autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
1808
1852
  @autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
1809
1853
  @autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
@@ -2935,6 +2979,25 @@ module Google
2935
2979
  end
2936
2980
  end
2937
2981
 
2982
+ # Provisions a new, separate local NVMe SSD exclusively for swap.
2983
+ class DedicatedLocalSsdProfile
2984
+ include Google::Apis::Core::Hashable
2985
+
2986
+ # The number of physical local NVMe SSD disks to attach.
2987
+ # Corresponds to the JSON property `diskCount`
2988
+ # @return [Fixnum]
2989
+ attr_accessor :disk_count
2990
+
2991
+ def initialize(**args)
2992
+ update!(**args)
2993
+ end
2994
+
2995
+ # Update properties of this object
2996
+ def update!(**args)
2997
+ @disk_count = args[:disk_count] if args.key?(:disk_count)
2998
+ end
2999
+ end
3000
+
2938
3001
  # DefaultComputeClassConfig defines default compute class configuration.
2939
3002
  class DefaultComputeClassConfig
2940
3003
  include Google::Apis::Core::Hashable
@@ -3096,6 +3159,27 @@ module Google
3096
3159
  end
3097
3160
  end
3098
3161
 
3162
+ # Defines encryption settings for the swap space.
3163
+ class EncryptionConfig
3164
+ include Google::Apis::Core::Hashable
3165
+
3166
+ # Optional. If true, swap space will not be encrypted. Defaults to false (
3167
+ # encrypted).
3168
+ # Corresponds to the JSON property `disabled`
3169
+ # @return [Boolean]
3170
+ attr_accessor :disabled
3171
+ alias_method :disabled?, :disabled
3172
+
3173
+ def initialize(**args)
3174
+ update!(**args)
3175
+ end
3176
+
3177
+ # Update properties of this object
3178
+ def update!(**args)
3179
+ @disabled = args[:disabled] if args.key?(:disabled)
3180
+ end
3181
+ end
3182
+
3099
3183
  # EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE
3100
3184
  # Enterprise features are now available without an Enterprise tier.
3101
3185
  class EnterpriseConfig
@@ -3122,6 +3206,32 @@ module Google
3122
3206
  end
3123
3207
  end
3124
3208
 
3209
+ # Swap on the local SSD shared with pod ephemeral storage.
3210
+ class EphemeralLocalSsdProfile
3211
+ include Google::Apis::Core::Hashable
3212
+
3213
+ # Specifies the size of the swap space in gibibytes (GiB).
3214
+ # Corresponds to the JSON property `swapSizeGib`
3215
+ # @return [Fixnum]
3216
+ attr_accessor :swap_size_gib
3217
+
3218
+ # Specifies the size of the swap space as a percentage of the ephemeral local
3219
+ # SSD capacity.
3220
+ # Corresponds to the JSON property `swapSizePercent`
3221
+ # @return [Fixnum]
3222
+ attr_accessor :swap_size_percent
3223
+
3224
+ def initialize(**args)
3225
+ update!(**args)
3226
+ end
3227
+
3228
+ # Update properties of this object
3229
+ def update!(**args)
3230
+ @swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
3231
+ @swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
3232
+ end
3233
+ end
3234
+
3125
3235
  # EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral
3126
3236
  # storage using Local SSDs.
3127
3237
  class EphemeralStorageLocalSsdConfig
@@ -3476,6 +3586,25 @@ module Google
3476
3586
  end
3477
3587
  end
3478
3588
 
3589
+ # GPUDirectConfig specifies the GPU direct strategy on the node pool.
3590
+ class GpuDirectConfig
3591
+ include Google::Apis::Core::Hashable
3592
+
3593
+ # The type of GPU direct strategy to enable on the node pool.
3594
+ # Corresponds to the JSON property `gpuDirectStrategy`
3595
+ # @return [String]
3596
+ attr_accessor :gpu_direct_strategy
3597
+
3598
+ def initialize(**args)
3599
+ update!(**args)
3600
+ end
3601
+
3602
+ # Update properties of this object
3603
+ def update!(**args)
3604
+ @gpu_direct_strategy = args[:gpu_direct_strategy] if args.key?(:gpu_direct_strategy)
3605
+ end
3606
+ end
3607
+
3479
3608
  # GPUDriverInstallationConfig specifies the version of GPU driver to be auto
3480
3609
  # installed.
3481
3610
  class GpuDriverInstallationConfig
@@ -3989,10 +4118,10 @@ module Google
3989
4118
  # cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable
3990
4119
  # when `use_ip_aliases` is true. Set to blank to have a range chosen with the
3991
4120
  # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
3992
- # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
3993
- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
3994
- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
3995
- # specific range to use.
4121
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
4122
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4123
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4124
+ # to pick a specific range to use.
3996
4125
  # Corresponds to the JSON property `clusterIpv4CidrBlock`
3997
4126
  # @return [String]
3998
4127
  attr_accessor :cluster_ipv4_cidr_block
@@ -4037,10 +4166,10 @@ module Google
4037
4166
  # The IP address range of the instance IPs in this cluster. This is applicable
4038
4167
  # only if `create_subnetwork` is true. Set to blank to have a range chosen with
4039
4168
  # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
4040
- # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
4041
- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
4042
- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
4043
- # specific range to use.
4169
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
4170
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4171
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4172
+ # to pick a specific range to use.
4044
4173
  # Corresponds to the JSON property `nodeIpv4CidrBlock`
4045
4174
  # @return [String]
4046
4175
  attr_accessor :node_ipv4_cidr_block
@@ -4059,7 +4188,7 @@ module Google
4059
4188
  # will be automatically chosen with the default size. This field is only
4060
4189
  # applicable when `use_ip_aliases` is true. Set to blank to have a range chosen
4061
4190
  # with the default size. Set to /netmask (e.g. `/14`) to have a range chosen
4062
- # with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/
4191
+ # with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
4063
4192
  # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4064
4193
  # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4065
4194
  # to pick a specific range to use.
@@ -4100,11 +4229,11 @@ module Google
4100
4229
  # range will be automatically chosen with the default size. This field is only
4101
4230
  # applicable when `use_ip_aliases` is true. If unspecified, the range will use
4102
4231
  # the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
4103
- # specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-
4104
- # Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private
4105
- # networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a
4106
- # specific range to use. This field is deprecated due to the deprecation of 2VM
4107
- # TPU. The end of life date for 2VM TPU is 2025-04-25.
4232
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
4233
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
4234
+ # 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
4235
+ # to pick a specific range to use. This field is deprecated due to the
4236
+ # deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.
4108
4237
  # Corresponds to the JSON property `tpuIpv4CidrBlock`
4109
4238
  # @return [String]
4110
4239
  attr_accessor :tpu_ipv4_cidr_block
@@ -4419,6 +4548,11 @@ module Google
4419
4548
  # @return [Google::Apis::ContainerV1::NodeKernelModuleLoading]
4420
4549
  attr_accessor :node_kernel_module_loading
4421
4550
 
4551
+ # Configuration for swap memory on a node pool.
4552
+ # Corresponds to the JSON property `swapConfig`
4553
+ # @return [Google::Apis::ContainerV1::SwapConfig]
4554
+ attr_accessor :swap_config
4555
+
4422
4556
  # The Linux kernel parameters to be applied to the nodes and all pods running on
4423
4557
  # the nodes. The following parameters are supported. net.core.busy_poll net.core.
4424
4558
  # busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
@@ -4468,6 +4602,7 @@ module Google
4468
4602
  @cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
4469
4603
  @hugepages = args[:hugepages] if args.key?(:hugepages)
4470
4604
  @node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
4605
+ @swap_config = args[:swap_config] if args.key?(:swap_config)
4471
4606
  @sysctls = args[:sysctls] if args.key?(:sysctls)
4472
4607
  @transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
4473
4608
  @transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
@@ -5405,6 +5540,13 @@ module Google
5405
5540
  # @return [Google::Apis::ContainerV1::ConfidentialNodes]
5406
5541
  attr_accessor :confidential_nodes
5407
5542
 
5543
+ # Consolidation delay defines duration after which the Cluster Autoscaler can
5544
+ # scale down underutilized nodes. If not set, nodes are scaled down by default
5545
+ # behavior, i.e. according to the chosen autoscaling profile.
5546
+ # Corresponds to the JSON property `consolidationDelay`
5547
+ # @return [String]
5548
+ attr_accessor :consolidation_delay
5549
+
5408
5550
  # ContainerdConfig contains configuration to customize containerd.
5409
5551
  # Corresponds to the JSON property `containerdConfig`
5410
5552
  # @return [Google::Apis::ContainerV1::ContainerdConfig]
@@ -5459,6 +5601,11 @@ module Google
5459
5601
  # @return [Google::Apis::ContainerV1::GcfsConfig]
5460
5602
  attr_accessor :gcfs_config
5461
5603
 
5604
+ # GPUDirectConfig specifies the GPU direct strategy on the node pool.
5605
+ # Corresponds to the JSON property `gpuDirectConfig`
5606
+ # @return [Google::Apis::ContainerV1::GpuDirectConfig]
5607
+ attr_accessor :gpu_direct_config
5608
+
5462
5609
  # Configuration of gVNIC feature.
5463
5610
  # Corresponds to the JSON property `gvnic`
5464
5611
  # @return [Google::Apis::ContainerV1::VirtualNic]
@@ -5693,6 +5840,7 @@ module Google
5693
5840
  @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
5694
5841
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
5695
5842
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
5843
+ @consolidation_delay = args[:consolidation_delay] if args.key?(:consolidation_delay)
5696
5844
  @containerd_config = args[:containerd_config] if args.key?(:containerd_config)
5697
5845
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
5698
5846
  @disk_type = args[:disk_type] if args.key?(:disk_type)
@@ -5702,6 +5850,7 @@ module Google
5702
5850
  @fast_socket = args[:fast_socket] if args.key?(:fast_socket)
5703
5851
  @flex_start = args[:flex_start] if args.key?(:flex_start)
5704
5852
  @gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
5853
+ @gpu_direct_config = args[:gpu_direct_config] if args.key?(:gpu_direct_config)
5705
5854
  @gvnic = args[:gvnic] if args.key?(:gvnic)
5706
5855
  @image_type = args[:image_type] if args.key?(:image_type)
5707
5856
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
@@ -6155,10 +6304,13 @@ module Google
6155
6304
  # @return [String]
6156
6305
  attr_accessor :pod_range
6157
6306
 
6158
- # The subnetwork path for the node pool. Format: projects/`project`/regions/`
6159
- # region`/subnetworks/`subnetwork` If the cluster is associated with multiple
6160
- # subnetworks, the subnetwork for the node pool is picked based on the IP
6161
- # utilization during node pool creation and is immutable.
6307
+ # Optional. The subnetwork name/path for the node pool. Format: projects/`
6308
+ # project`/regions/`region`/subnetworks/`subnetwork` If the cluster is
6309
+ # associated with multiple subnetworks, the subnetwork can be either: 1. A user
6310
+ # supplied subnetwork name/full path during node pool creation. Example1: my-
6311
+ # subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-
6312
+ # subnet 2. A subnetwork path picked based on the IP utilization during node
6313
+ # pool creation and is immutable.
6162
6314
  # Corresponds to the JSON property `subnetwork`
6163
6315
  # @return [String]
6164
6316
  attr_accessor :subnetwork
@@ -8707,6 +8859,26 @@ module Google
8707
8859
  end
8708
8860
  end
8709
8861
 
8862
+ # Configuration for the Slice Controller.
8863
+ class SliceControllerConfig
8864
+ include Google::Apis::Core::Hashable
8865
+
8866
+ # Optional. Indicates whether Slice Controller is enabled in the cluster.
8867
+ # Corresponds to the JSON property `enabled`
8868
+ # @return [Boolean]
8869
+ attr_accessor :enabled
8870
+ alias_method :enabled?, :enabled
8871
+
8872
+ def initialize(**args)
8873
+ update!(**args)
8874
+ end
8875
+
8876
+ # Update properties of this object
8877
+ def update!(**args)
8878
+ @enabled = args[:enabled] if args.key?(:enabled)
8879
+ end
8880
+ end
8881
+
8710
8882
  # SoleTenantConfig contains the NodeAffinities to specify what shared sole
8711
8883
  # tenant node groups should back the node pool.
8712
8884
  class SoleTenantConfig
@@ -8910,6 +9082,50 @@ module Google
8910
9082
  end
8911
9083
  end
8912
9084
 
9085
+ # Configuration for swap memory on a node pool.
9086
+ class SwapConfig
9087
+ include Google::Apis::Core::Hashable
9088
+
9089
+ # Swap on the node's boot disk.
9090
+ # Corresponds to the JSON property `bootDiskProfile`
9091
+ # @return [Google::Apis::ContainerV1::BootDiskProfile]
9092
+ attr_accessor :boot_disk_profile
9093
+
9094
+ # Provisions a new, separate local NVMe SSD exclusively for swap.
9095
+ # Corresponds to the JSON property `dedicatedLocalSsdProfile`
9096
+ # @return [Google::Apis::ContainerV1::DedicatedLocalSsdProfile]
9097
+ attr_accessor :dedicated_local_ssd_profile
9098
+
9099
+ # Optional. Enables or disables swap for the node pool.
9100
+ # Corresponds to the JSON property `enabled`
9101
+ # @return [Boolean]
9102
+ attr_accessor :enabled
9103
+ alias_method :enabled?, :enabled
9104
+
9105
+ # Defines encryption settings for the swap space.
9106
+ # Corresponds to the JSON property `encryptionConfig`
9107
+ # @return [Google::Apis::ContainerV1::EncryptionConfig]
9108
+ attr_accessor :encryption_config
9109
+
9110
+ # Swap on the local SSD shared with pod ephemeral storage.
9111
+ # Corresponds to the JSON property `ephemeralLocalSsdProfile`
9112
+ # @return [Google::Apis::ContainerV1::EphemeralLocalSsdProfile]
9113
+ attr_accessor :ephemeral_local_ssd_profile
9114
+
9115
+ def initialize(**args)
9116
+ update!(**args)
9117
+ end
9118
+
9119
+ # Update properties of this object
9120
+ def update!(**args)
9121
+ @boot_disk_profile = args[:boot_disk_profile] if args.key?(:boot_disk_profile)
9122
+ @dedicated_local_ssd_profile = args[:dedicated_local_ssd_profile] if args.key?(:dedicated_local_ssd_profile)
9123
+ @enabled = args[:enabled] if args.key?(:enabled)
9124
+ @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
9125
+ @ephemeral_local_ssd_profile = args[:ephemeral_local_ssd_profile] if args.key?(:ephemeral_local_ssd_profile)
9126
+ end
9127
+ end
9128
+
8913
9129
  # Represents an arbitrary window of time.
8914
9130
  class TimeWindow
8915
9131
  include Google::Apis::Core::Hashable
@@ -9136,6 +9352,13 @@ module Google
9136
9352
  # @return [Google::Apis::ContainerV1::ConfidentialNodes]
9137
9353
  attr_accessor :confidential_nodes
9138
9354
 
9355
+ # Consolidation delay defines duration after which the Cluster Autoscaler can
9356
+ # scale down underutilized nodes. If not set, nodes are scaled down by default
9357
+ # behavior, i.e. according to the chosen autoscaling profile.
9358
+ # Corresponds to the JSON property `consolidationDelay`
9359
+ # @return [String]
9360
+ attr_accessor :consolidation_delay
9361
+
9139
9362
  # ContainerdConfig contains configuration to customize containerd.
9140
9363
  # Corresponds to the JSON property `containerdConfig`
9141
9364
  # @return [Google::Apis::ContainerV1::ContainerdConfig]
@@ -9385,6 +9608,7 @@ module Google
9385
9608
  @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
9386
9609
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
9387
9610
  @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
9611
+ @consolidation_delay = args[:consolidation_delay] if args.key?(:consolidation_delay)
9388
9612
  @containerd_config = args[:containerd_config] if args.key?(:containerd_config)
9389
9613
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
9390
9614
  @disk_type = args[:disk_type] if args.key?(:disk_type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContainerV1
18
18
  # Version of the google-apis-container_v1 gem
19
- GEM_VERSION = "0.111.0"
19
+ GEM_VERSION = "0.113.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251202"
25
+ REVISION = "20260120"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class BootDiskProfile
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class CancelOperationRequest
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -340,6 +346,12 @@ module Google
340
346
  include Google::Apis::Core::JsonObjectSupport
341
347
  end
342
348
 
349
+ class DedicatedLocalSsdProfile
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
343
355
  class DefaultComputeClassConfig
344
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
357
 
@@ -382,12 +394,24 @@ module Google
382
394
  include Google::Apis::Core::JsonObjectSupport
383
395
  end
384
396
 
397
+ class EncryptionConfig
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
385
403
  class EnterpriseConfig
386
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
405
 
388
406
  include Google::Apis::Core::JsonObjectSupport
389
407
  end
390
408
 
409
+ class EphemeralLocalSsdProfile
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
391
415
  class EphemeralStorageLocalSsdConfig
392
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
417
 
@@ -436,6 +460,12 @@ module Google
436
460
  include Google::Apis::Core::JsonObjectSupport
437
461
  end
438
462
 
463
+ class GpuDirectConfig
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
439
469
  class GpuDriverInstallationConfig
440
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
471
 
@@ -1198,6 +1228,12 @@ module Google
1198
1228
  include Google::Apis::Core::JsonObjectSupport
1199
1229
  end
1200
1230
 
1231
+ class SliceControllerConfig
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1201
1237
  class SoleTenantConfig
1202
1238
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1239
 
@@ -1234,6 +1270,12 @@ module Google
1234
1270
  include Google::Apis::Core::JsonObjectSupport
1235
1271
  end
1236
1272
 
1273
+ class SwapConfig
1274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1275
+
1276
+ include Google::Apis::Core::JsonObjectSupport
1277
+ end
1278
+
1237
1279
  class TimeWindow
1238
1280
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1281
 
@@ -1377,6 +1419,7 @@ module Google
1377
1419
  # @private
1378
1420
  class Representation < Google::Apis::Core::JsonRepresentation
1379
1421
  collection :pod_ipv4_range_names, as: 'podIpv4RangeNames'
1422
+ property :status, as: 'status'
1380
1423
  property :subnetwork, as: 'subnetwork'
1381
1424
  end
1382
1425
  end
@@ -1442,6 +1485,8 @@ module Google
1442
1485
 
1443
1486
  property :ray_operator_config, as: 'rayOperatorConfig', class: Google::Apis::ContainerV1::RayOperatorConfig, decorator: Google::Apis::ContainerV1::RayOperatorConfig::Representation
1444
1487
 
1488
+ property :slice_controller_config, as: 'sliceControllerConfig', class: Google::Apis::ContainerV1::SliceControllerConfig, decorator: Google::Apis::ContainerV1::SliceControllerConfig::Representation
1489
+
1445
1490
  property :stateful_ha_config, as: 'statefulHaConfig', class: Google::Apis::ContainerV1::StatefulHaConfig, decorator: Google::Apis::ContainerV1::StatefulHaConfig::Representation
1446
1491
 
1447
1492
  end
@@ -1614,6 +1659,14 @@ module Google
1614
1659
  end
1615
1660
  end
1616
1661
 
1662
+ class BootDiskProfile
1663
+ # @private
1664
+ class Representation < Google::Apis::Core::JsonRepresentation
1665
+ property :swap_size_gib, :numeric_string => true, as: 'swapSizeGib'
1666
+ property :swap_size_percent, as: 'swapSizePercent'
1667
+ end
1668
+ end
1669
+
1617
1670
  class CancelOperationRequest
1618
1671
  # @private
1619
1672
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1817,6 +1870,7 @@ module Google
1817
1870
  class ClusterAutoscaling
1818
1871
  # @private
1819
1872
  class Representation < Google::Apis::Core::JsonRepresentation
1873
+ property :autopilot_general_profile, as: 'autopilotGeneralProfile'
1820
1874
  collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
1821
1875
  property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
1822
1876
 
@@ -2134,6 +2188,13 @@ module Google
2134
2188
  end
2135
2189
  end
2136
2190
 
2191
+ class DedicatedLocalSsdProfile
2192
+ # @private
2193
+ class Representation < Google::Apis::Core::JsonRepresentation
2194
+ property :disk_count, :numeric_string => true, as: 'diskCount'
2195
+ end
2196
+ end
2197
+
2137
2198
  class DefaultComputeClassConfig
2138
2199
  # @private
2139
2200
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2187,6 +2248,13 @@ module Google
2187
2248
  end
2188
2249
  end
2189
2250
 
2251
+ class EncryptionConfig
2252
+ # @private
2253
+ class Representation < Google::Apis::Core::JsonRepresentation
2254
+ property :disabled, as: 'disabled'
2255
+ end
2256
+ end
2257
+
2190
2258
  class EnterpriseConfig
2191
2259
  # @private
2192
2260
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2195,6 +2263,14 @@ module Google
2195
2263
  end
2196
2264
  end
2197
2265
 
2266
+ class EphemeralLocalSsdProfile
2267
+ # @private
2268
+ class Representation < Google::Apis::Core::JsonRepresentation
2269
+ property :swap_size_gib, :numeric_string => true, as: 'swapSizeGib'
2270
+ property :swap_size_percent, as: 'swapSizePercent'
2271
+ end
2272
+ end
2273
+
2198
2274
  class EphemeralStorageLocalSsdConfig
2199
2275
  # @private
2200
2276
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2270,6 +2346,13 @@ module Google
2270
2346
  end
2271
2347
  end
2272
2348
 
2349
+ class GpuDirectConfig
2350
+ # @private
2351
+ class Representation < Google::Apis::Core::JsonRepresentation
2352
+ property :gpu_direct_strategy, as: 'gpuDirectStrategy'
2353
+ end
2354
+ end
2355
+
2273
2356
  class GpuDriverInstallationConfig
2274
2357
  # @private
2275
2358
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2526,6 +2609,8 @@ module Google
2526
2609
 
2527
2610
  property :node_kernel_module_loading, as: 'nodeKernelModuleLoading', class: Google::Apis::ContainerV1::NodeKernelModuleLoading, decorator: Google::Apis::ContainerV1::NodeKernelModuleLoading::Representation
2528
2611
 
2612
+ property :swap_config, as: 'swapConfig', class: Google::Apis::ContainerV1::SwapConfig, decorator: Google::Apis::ContainerV1::SwapConfig::Representation
2613
+
2529
2614
  hash :sysctls, as: 'sysctls'
2530
2615
  property :transparent_hugepage_defrag, as: 'transparentHugepageDefrag'
2531
2616
  property :transparent_hugepage_enabled, as: 'transparentHugepageEnabled'
@@ -2808,6 +2893,7 @@ module Google
2808
2893
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
2809
2894
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
2810
2895
 
2896
+ property :consolidation_delay, as: 'consolidationDelay'
2811
2897
  property :containerd_config, as: 'containerdConfig', class: Google::Apis::ContainerV1::ContainerdConfig, decorator: Google::Apis::ContainerV1::ContainerdConfig::Representation
2812
2898
 
2813
2899
  property :disk_size_gb, as: 'diskSizeGb'
@@ -2821,6 +2907,8 @@ module Google
2821
2907
  property :flex_start, as: 'flexStart'
2822
2908
  property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
2823
2909
 
2910
+ property :gpu_direct_config, as: 'gpuDirectConfig', class: Google::Apis::ContainerV1::GpuDirectConfig, decorator: Google::Apis::ContainerV1::GpuDirectConfig::Representation
2911
+
2824
2912
  property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
2825
2913
 
2826
2914
  property :image_type, as: 'imageType'
@@ -3619,6 +3707,13 @@ module Google
3619
3707
  end
3620
3708
  end
3621
3709
 
3710
+ class SliceControllerConfig
3711
+ # @private
3712
+ class Representation < Google::Apis::Core::JsonRepresentation
3713
+ property :enabled, as: 'enabled'
3714
+ end
3715
+ end
3716
+
3622
3717
  class SoleTenantConfig
3623
3718
  # @private
3624
3719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3673,6 +3768,21 @@ module Google
3673
3768
  end
3674
3769
  end
3675
3770
 
3771
+ class SwapConfig
3772
+ # @private
3773
+ class Representation < Google::Apis::Core::JsonRepresentation
3774
+ property :boot_disk_profile, as: 'bootDiskProfile', class: Google::Apis::ContainerV1::BootDiskProfile, decorator: Google::Apis::ContainerV1::BootDiskProfile::Representation
3775
+
3776
+ property :dedicated_local_ssd_profile, as: 'dedicatedLocalSsdProfile', class: Google::Apis::ContainerV1::DedicatedLocalSsdProfile, decorator: Google::Apis::ContainerV1::DedicatedLocalSsdProfile::Representation
3777
+
3778
+ property :enabled, as: 'enabled'
3779
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ContainerV1::EncryptionConfig, decorator: Google::Apis::ContainerV1::EncryptionConfig::Representation
3780
+
3781
+ property :ephemeral_local_ssd_profile, as: 'ephemeralLocalSsdProfile', class: Google::Apis::ContainerV1::EphemeralLocalSsdProfile, decorator: Google::Apis::ContainerV1::EphemeralLocalSsdProfile::Representation
3782
+
3783
+ end
3784
+ end
3785
+
3676
3786
  class TimeWindow
3677
3787
  # @private
3678
3788
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3732,6 +3842,7 @@ module Google
3732
3842
  property :cluster_id, as: 'clusterId'
3733
3843
  property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
3734
3844
 
3845
+ property :consolidation_delay, as: 'consolidationDelay'
3735
3846
  property :containerd_config, as: 'containerdConfig', class: Google::Apis::ContainerV1::ContainerdConfig, decorator: Google::Apis::ContainerV1::ContainerdConfig::Representation
3736
3847
 
3737
3848
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-container_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.111.0
4
+ version: 0.113.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.111.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.113.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
62
62
  rdoc_options: []
63
63
  require_paths: