Skip to content

Commit 3b24417

Browse files
feat: Automated regeneration of container v1 client (googleapis#23577)
Auto-created at 2025-06-29 10:30:59 +0000 using the toys pull request generator.
1 parent 812599b commit 3b24417

File tree

5 files changed

+39
-2
lines changed

5 files changed

+39
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128495,6 +128495,7 @@
128495128495
"/container:v1/NodeKubeletConfig/insecureKubeletReadonlyPortEnabled": insecure_kubelet_readonly_port_enabled
128496128496
"/container:v1/NodeKubeletConfig/memoryManager": memory_manager
128497128497
"/container:v1/NodeKubeletConfig/podPidsLimit": pod_pids_limit
128498+
"/container:v1/NodeKubeletConfig/singleProcessOomKill": single_process_oom_kill
128498128499
"/container:v1/NodeKubeletConfig/topologyManager": topology_manager
128499128500
"/container:v1/NodeLabels": node_labels
128500128501
"/container:v1/NodeLabels/labels": labels
@@ -128515,6 +128516,7 @@
128515128516
"/container:v1/NodeNetworkConfig/podIpv4CidrBlock": pod_ipv4_cidr_block
128516128517
"/container:v1/NodeNetworkConfig/podIpv4RangeUtilization": pod_ipv4_range_utilization
128517128518
"/container:v1/NodeNetworkConfig/podRange": pod_range
128519+
"/container:v1/NodeNetworkConfig/subnetwork": subnetwork
128518128520
"/container:v1/NodePool": node_pool
128519128521
"/container:v1/NodePool/autopilotConfig": autopilot_config
128520128522
"/container:v1/NodePool/autoscaling": autoscaling
@@ -128818,6 +128820,7 @@
128818128820
"/container:v1/ShieldedNodes": shielded_nodes
128819128821
"/container:v1/ShieldedNodes/enabled": enabled
128820128822
"/container:v1/SoleTenantConfig": sole_tenant_config
128823+
"/container:v1/SoleTenantConfig/minNodeCpus": min_node_cpus
128821128824
"/container:v1/SoleTenantConfig/nodeAffinities": node_affinities
128822128825
"/container:v1/SoleTenantConfig/nodeAffinities/node_affinity": node_affinity
128823128826
"/container:v1/StandardRolloutPolicy": standard_rollout_policy

generated/google-apis-container_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-container_v1
22

3+
### v0.99.0 (2025-06-29)
4+
5+
* Regenerated from discovery document revision 20250617
6+
37
### v0.98.0 (2025-06-15)
48

59
* Regenerated from discovery document revision 20250603

generated/google-apis-container_v1/lib/google/apis/container_v1/classes.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5258,6 +5258,15 @@ class NodeKubeletConfig
52585258
# @return [Fixnum]
52595259
attr_accessor :pod_pids_limit
52605260

5261+
# Optional. Defines whether to enable single process OOM killer. If true, will
5262+
# prevent the memory.oom.group flag from being set for container cgroups in
5263+
# cgroups v2. This causes processes in the container to be OOM killed
5264+
# individually instead of as a group.
5265+
# Corresponds to the JSON property `singleProcessOomKill`
5266+
# @return [Boolean]
5267+
attr_accessor :single_process_oom_kill
5268+
alias_method :single_process_oom_kill?, :single_process_oom_kill
5269+
52615270
# TopologyManager defines the configuration options for Topology Manager feature.
52625271
# See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
52635272
# Corresponds to the JSON property `topologyManager`
@@ -5283,6 +5292,7 @@ def update!(**args)
52835292
@insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
52845293
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
52855294
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
5295+
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
52865296
@topology_manager = args[:topology_manager] if args.key?(:topology_manager)
52875297
end
52885298
end
@@ -5419,6 +5429,14 @@ class NodeNetworkConfig
54195429
# @return [String]
54205430
attr_accessor :pod_range
54215431

5432+
# Output only. The subnetwork path for the node pool. Format: projects/`project`/
5433+
# regions/`region`/subnetworks/`subnetwork` If the cluster is associated with
5434+
# multiple subnetworks, the subnetwork for the node pool is picked based on the
5435+
# IP utilization during node pool creation and is immutable.
5436+
# Corresponds to the JSON property `subnetwork`
5437+
# @return [String]
5438+
attr_accessor :subnetwork
5439+
54225440
def initialize(**args)
54235441
update!(**args)
54245442
end
@@ -5434,6 +5452,7 @@ def update!(**args)
54345452
@pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
54355453
@pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
54365454
@pod_range = args[:pod_range] if args.key?(:pod_range)
5455+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
54375456
end
54385457
end
54395458

@@ -7853,6 +7872,13 @@ def update!(**args)
78537872
class SoleTenantConfig
78547873
include Google::Apis::Core::Hashable
78557874

7875+
# Optional. The minimum number of virtual CPUs this instance will consume when
7876+
# running on a sole-tenant node. This field can only be set if the node pool is
7877+
# created in a shared sole-tenant node group.
7878+
# Corresponds to the JSON property `minNodeCpus`
7879+
# @return [Fixnum]
7880+
attr_accessor :min_node_cpus
7881+
78567882
# NodeAffinities used to match to a shared sole tenant node group.
78577883
# Corresponds to the JSON property `nodeAffinities`
78587884
# @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
@@ -7864,6 +7890,7 @@ def initialize(**args)
78647890

78657891
# Update properties of this object
78667892
def update!(**args)
7893+
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
78677894
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
78687895
end
78697896
end

generated/google-apis-container_v1/lib/google/apis/container_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ContainerV1
1818
# Version of the google-apis-container_v1 gem
19-
GEM_VERSION = "0.98.0"
19+
GEM_VERSION = "0.99.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250603"
25+
REVISION = "20250617"
2626
end
2727
end
2828
end

generated/google-apis-container_v1/lib/google/apis/container_v1/representations.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2616,6 +2616,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
26162616
property :memory_manager, as: 'memoryManager', class: Google::Apis::ContainerV1::MemoryManager, decorator: Google::Apis::ContainerV1::MemoryManager::Representation
26172617

26182618
property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
2619+
property :single_process_oom_kill, as: 'singleProcessOomKill'
26192620
property :topology_manager, as: 'topologyManager', class: Google::Apis::ContainerV1::TopologyManager, decorator: Google::Apis::ContainerV1::TopologyManager::Representation
26202621

26212622
end
@@ -2654,6 +2655,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
26542655
property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
26552656
property :pod_ipv4_range_utilization, as: 'podIpv4RangeUtilization'
26562657
property :pod_range, as: 'podRange'
2658+
property :subnetwork, as: 'subnetwork'
26572659
end
26582660
end
26592661

@@ -3267,6 +3269,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
32673269
class SoleTenantConfig
32683270
# @private
32693271
class Representation < Google::Apis::Core::JsonRepresentation
3272+
property :min_node_cpus, as: 'minNodeCpus'
32703273
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ContainerV1::NodeAffinity, decorator: Google::Apis::ContainerV1::NodeAffinity::Representation
32713274

32723275
end

0 commit comments

Comments
 (0)