Skip to content

Commit f4d8f7d

Browse files
feat: Automated regeneration of container v1 client (googleapis#25748)
Auto-created at 2026-02-15 11:05:14 +0000 using the toys pull request generator.
1 parent dddde89 commit f4d8f7d

5 files changed

Lines changed: 172 additions & 13 deletions

File tree

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142480,6 +142480,8 @@
142480142480
"/container:v1/ControlPlaneEndpointsConfig/ipEndpointsConfig": ip_endpoints_config
142481142481
"/container:v1/CostManagementConfig": cost_management_config
142482142482
"/container:v1/CostManagementConfig/enabled": enabled
142483+
"/container:v1/CrashLoopBackOffConfig": crash_loop_back_off_config
142484+
"/container:v1/CrashLoopBackOffConfig/maxContainerRestartPeriod": max_container_restart_period
142483142485
"/container:v1/CreateClusterRequest": create_cluster_request
142484142486
"/container:v1/CreateClusterRequest/cluster": cluster
142485142487
"/container:v1/CreateClusterRequest/parent": parent
@@ -142523,6 +142525,11 @@
142523142525
"/container:v1/DesiredAdditionalIPRangesConfig/additionalIpRangesConfigs/additional_ip_ranges_config": additional_ip_ranges_config
142524142526
"/container:v1/DesiredEnterpriseConfig": desired_enterprise_config
142525142527
"/container:v1/DesiredEnterpriseConfig/desiredTier": desired_tier
142528+
"/container:v1/DisruptionBudget": disruption_budget
142529+
"/container:v1/DisruptionBudget/lastDisruptionTime": last_disruption_time
142530+
"/container:v1/DisruptionBudget/lastMinorVersionDisruptionTime": last_minor_version_disruption_time
142531+
"/container:v1/DisruptionBudget/minorVersionDisruptionInterval": minor_version_disruption_interval
142532+
"/container:v1/DisruptionBudget/patchVersionDisruptionInterval": patch_version_disruption_interval
142526142533
"/container:v1/DisruptionEvent": disruption_event
142527142534
"/container:v1/DisruptionEvent/disruptionType": disruption_type
142528142535
"/container:v1/DisruptionEvent/pdbBlockedNode": pdb_blocked_node
@@ -142738,6 +142745,7 @@
142738142745
"/container:v1/MaintenanceExclusionOptions/endTimeBehavior": end_time_behavior
142739142746
"/container:v1/MaintenanceExclusionOptions/scope": scope
142740142747
"/container:v1/MaintenancePolicy": maintenance_policy
142748+
"/container:v1/MaintenancePolicy/disruptionBudget": disruption_budget
142741142749
"/container:v1/MaintenancePolicy/resourceVersion": resource_version
142742142750
"/container:v1/MaintenancePolicy/window": window
142743142751
"/container:v1/MaintenanceWindow": maintenance_window
@@ -142890,6 +142898,7 @@
142890142898
"/container:v1/NodeKubeletConfig/cpuCfsQuota": cpu_cfs_quota
142891142899
"/container:v1/NodeKubeletConfig/cpuCfsQuotaPeriod": cpu_cfs_quota_period
142892142900
"/container:v1/NodeKubeletConfig/cpuManagerPolicy": cpu_manager_policy
142901+
"/container:v1/NodeKubeletConfig/crashLoopBackOff": crash_loop_back_off
142893142902
"/container:v1/NodeKubeletConfig/evictionMaxPodGracePeriodSeconds": eviction_max_pod_grace_period_seconds
142894142903
"/container:v1/NodeKubeletConfig/evictionMinimumReclaim": eviction_minimum_reclaim
142895142904
"/container:v1/NodeKubeletConfig/evictionSoft": eviction_soft
@@ -142902,6 +142911,8 @@
142902142911
"/container:v1/NodeKubeletConfig/maxParallelImagePulls": max_parallel_image_pulls
142903142912
"/container:v1/NodeKubeletConfig/memoryManager": memory_manager
142904142913
"/container:v1/NodeKubeletConfig/podPidsLimit": pod_pids_limit
142914+
"/container:v1/NodeKubeletConfig/shutdownGracePeriodCriticalPodsSeconds": shutdown_grace_period_critical_pods_seconds
142915+
"/container:v1/NodeKubeletConfig/shutdownGracePeriodSeconds": shutdown_grace_period_seconds
142905142916
"/container:v1/NodeKubeletConfig/singleProcessOomKill": single_process_oom_kill
142906142917
"/container:v1/NodeKubeletConfig/topologyManager": topology_manager
142907142918
"/container:v1/NodeLabels": node_labels

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.114.0 (2026-02-15)
4+
5+
* Regenerated from discovery document revision 20260209
6+
37
### v0.113.0 (2026-02-01)
48

59
* Regenerated from discovery document revision 20260120

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

Lines changed: 120 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,8 +1243,10 @@ class Cluster
12431243
# @return [String]
12441244
attr_accessor :cluster_ipv4_cidr
12451245

1246-
# CompliancePostureConfig defines the settings needed to enable/disable features
1247-
# for the Compliance Posture.
1246+
# Deprecated: Compliance Posture is no longer supported. For more details, see
1247+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
1248+
# management-deprecation. CompliancePostureConfig defines the settings needed to
1249+
# enable/disable features for the Compliance Posture.
12481250
# Corresponds to the JSON property `compliancePostureConfig`
12491251
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
12501252
attr_accessor :compliance_posture_config
@@ -1932,8 +1934,10 @@ class ClusterUpdate
19321934
# @return [Google::Apis::ContainerV1::ClusterAutoscaling]
19331935
attr_accessor :desired_cluster_autoscaling
19341936

1935-
# CompliancePostureConfig defines the settings needed to enable/disable features
1936-
# for the Compliance Posture.
1937+
# Deprecated: Compliance Posture is no longer supported. For more details, see
1938+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
1939+
# management-deprecation. CompliancePostureConfig defines the settings needed to
1940+
# enable/disable features for the Compliance Posture.
19371941
# Corresponds to the JSON property `desiredCompliancePostureConfig`
19381942
# @return [Google::Apis::ContainerV1::CompliancePostureConfig]
19391943
attr_accessor :desired_compliance_posture_config
@@ -2536,8 +2540,10 @@ def update!(**args)
25362540
end
25372541
end
25382542

2539-
# CompliancePostureConfig defines the settings needed to enable/disable features
2540-
# for the Compliance Posture.
2543+
# Deprecated: Compliance Posture is no longer supported. For more details, see
2544+
# https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-
2545+
# management-deprecation. CompliancePostureConfig defines the settings needed to
2546+
# enable/disable features for the Compliance Posture.
25412547
class CompliancePostureConfig
25422548
include Google::Apis::Core::Hashable
25432549

@@ -2728,6 +2734,31 @@ def update!(**args)
27282734
end
27292735
end
27302736

2737+
# Contains config to modify node-level parameters for container restart behavior.
2738+
class CrashLoopBackOffConfig
2739+
include Google::Apis::Core::Hashable
2740+
2741+
# Optional. The maximum duration the backoff delay can accrue to for container
2742+
# restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the
2743+
# internal crashloopbackoff maximum. The string must be a sequence of decimal
2744+
# numbers, each with optional fraction and a unit suffix, such as "300ms". Valid
2745+
# time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See https://
2746+
# kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-
2747+
# container-restart-delay for more details.
2748+
# Corresponds to the JSON property `maxContainerRestartPeriod`
2749+
# @return [String]
2750+
attr_accessor :max_container_restart_period
2751+
2752+
def initialize(**args)
2753+
update!(**args)
2754+
end
2755+
2756+
# Update properties of this object
2757+
def update!(**args)
2758+
@max_container_restart_period = args[:max_container_restart_period] if args.key?(:max_container_restart_period)
2759+
end
2760+
end
2761+
27312762
# CreateClusterRequest creates a cluster.
27322763
class CreateClusterRequest
27332764
include Google::Apis::Core::Hashable
@@ -3081,6 +3112,47 @@ def update!(**args)
30813112
end
30823113
end
30833114

3115+
# DisruptionBudget defines the upgrade disruption budget for the cluster control
3116+
# plane.
3117+
class DisruptionBudget
3118+
include Google::Apis::Core::Hashable
3119+
3120+
# Output only. The last time a disruption was performed on the control plane.
3121+
# Corresponds to the JSON property `lastDisruptionTime`
3122+
# @return [String]
3123+
attr_accessor :last_disruption_time
3124+
3125+
# Output only. The last time a minor version upgrade was performed on the
3126+
# control plane.
3127+
# Corresponds to the JSON property `lastMinorVersionDisruptionTime`
3128+
# @return [String]
3129+
attr_accessor :last_minor_version_disruption_time
3130+
3131+
# Optional. The minimum duration between two minor version upgrades of the
3132+
# control plane.
3133+
# Corresponds to the JSON property `minorVersionDisruptionInterval`
3134+
# @return [String]
3135+
attr_accessor :minor_version_disruption_interval
3136+
3137+
# Optional. The minimum duration between two patch version upgrades of the
3138+
# control plane.
3139+
# Corresponds to the JSON property `patchVersionDisruptionInterval`
3140+
# @return [String]
3141+
attr_accessor :patch_version_disruption_interval
3142+
3143+
def initialize(**args)
3144+
update!(**args)
3145+
end
3146+
3147+
# Update properties of this object
3148+
def update!(**args)
3149+
@last_disruption_time = args[:last_disruption_time] if args.key?(:last_disruption_time)
3150+
@last_minor_version_disruption_time = args[:last_minor_version_disruption_time] if args.key?(:last_minor_version_disruption_time)
3151+
@minor_version_disruption_interval = args[:minor_version_disruption_interval] if args.key?(:minor_version_disruption_interval)
3152+
@patch_version_disruption_interval = args[:patch_version_disruption_interval] if args.key?(:patch_version_disruption_interval)
3153+
end
3154+
end
3155+
30843156
# DisruptionEvent is a notification sent to customers about the disruption event
30853157
# of a resource.
30863158
class DisruptionEvent
@@ -4859,6 +4931,12 @@ def update!(**args)
48594931
class MaintenancePolicy
48604932
include Google::Apis::Core::Hashable
48614933

4934+
# DisruptionBudget defines the upgrade disruption budget for the cluster control
4935+
# plane.
4936+
# Corresponds to the JSON property `disruptionBudget`
4937+
# @return [Google::Apis::ContainerV1::DisruptionBudget]
4938+
attr_accessor :disruption_budget
4939+
48624940
# A hash identifying the version of this policy, so that updates to fields of
48634941
# the policy won't accidentally undo intermediate changes (and so that users of
48644942
# the API unaware of some fields won't accidentally remove other fields). Make a
@@ -4879,6 +4957,7 @@ def initialize(**args)
48794957

48804958
# Update properties of this object
48814959
def update!(**args)
4960+
@disruption_budget = args[:disruption_budget] if args.key?(:disruption_budget)
48824961
@resource_version = args[:resource_version] if args.key?(:resource_version)
48834962
@window = args[:window] if args.key?(:window)
48844963
end
@@ -6028,6 +6107,11 @@ class NodeKubeletConfig
60286107
# @return [String]
60296108
attr_accessor :cpu_manager_policy
60306109

6110+
# Contains config to modify node-level parameters for container restart behavior.
6111+
# Corresponds to the JSON property `crashLoopBackOff`
6112+
# @return [Google::Apis::ContainerV1::CrashLoopBackOffConfig]
6113+
attr_accessor :crash_loop_back_off
6114+
60316115
# Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace
60326116
# period (in seconds) to use when terminating pods in response to a soft
60336117
# eviction threshold being met. This value effectively caps the Pod's
@@ -6123,6 +6207,26 @@ class NodeKubeletConfig
61236207
# @return [Fixnum]
61246208
attr_accessor :pod_pids_limit
61256209

6210+
# Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed
6211+
# grace period (in seconds) used to terminate critical pods during a node
6212+
# shutdown. This value should be <= shutdown_grace_period_seconds, and is only
6213+
# valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/
6214+
# concepts/cluster-administration/node-shutdown/ Range: [0, 120].
6215+
# Corresponds to the JSON property `shutdownGracePeriodCriticalPodsSeconds`
6216+
# @return [Fixnum]
6217+
attr_accessor :shutdown_grace_period_critical_pods_seconds
6218+
6219+
# Optional. shutdown_grace_period_seconds is the maximum allowed grace period (
6220+
# in seconds) the total duration that the node should delay the shutdown during
6221+
# a graceful shutdown. This is the total grace period for pod termination for
6222+
# both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-
6223+
# administration/node-shutdown/ If set to 0, node will not enable the graceful
6224+
# node shutdown functionality. This field is only valid for Spot VMs. Allowed
6225+
# values: 0, 30, 120.
6226+
# Corresponds to the JSON property `shutdownGracePeriodSeconds`
6227+
# @return [Fixnum]
6228+
attr_accessor :shutdown_grace_period_seconds
6229+
61266230
# Optional. Defines whether to enable single process OOM killer. If true, will
61276231
# prevent the memory.oom.group flag from being set for container cgroups in
61286232
# cgroups v2. This causes processes in the container to be OOM killed
@@ -6150,6 +6254,7 @@ def update!(**args)
61506254
@cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
61516255
@cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
61526256
@cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
6257+
@crash_loop_back_off = args[:crash_loop_back_off] if args.key?(:crash_loop_back_off)
61536258
@eviction_max_pod_grace_period_seconds = args[:eviction_max_pod_grace_period_seconds] if args.key?(:eviction_max_pod_grace_period_seconds)
61546259
@eviction_minimum_reclaim = args[:eviction_minimum_reclaim] if args.key?(:eviction_minimum_reclaim)
61556260
@eviction_soft = args[:eviction_soft] if args.key?(:eviction_soft)
@@ -6162,6 +6267,8 @@ def update!(**args)
61626267
@max_parallel_image_pulls = args[:max_parallel_image_pulls] if args.key?(:max_parallel_image_pulls)
61636268
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
61646269
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
6270+
@shutdown_grace_period_critical_pods_seconds = args[:shutdown_grace_period_critical_pods_seconds] if args.key?(:shutdown_grace_period_critical_pods_seconds)
6271+
@shutdown_grace_period_seconds = args[:shutdown_grace_period_seconds] if args.key?(:shutdown_grace_period_seconds)
61656272
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
61666273
@topology_manager = args[:topology_manager] if args.key?(:topology_manager)
61676274
end
@@ -6306,11 +6413,13 @@ class NodeNetworkConfig
63066413

63076414
# Optional. The subnetwork name/path for the node pool. Format: projects/`
63086415
# 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.
6416+
# associated with multiple subnetworks, the subnetwork can be either: - A user
6417+
# supplied subnetwork name during node pool creation (e.g., `my-subnet`). The
6418+
# name must be between 1 and 63 characters long, start with a letter, contain
6419+
# only letters, numbers, and hyphens, and end with a letter or a number. - A
6420+
# full subnetwork path during node pool creation, such as `projects/gke-project/
6421+
# regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on
6422+
# the IP utilization during node pool creation and is immutable.
63146423
# Corresponds to the JSON property `subnetwork`
63156424
# @return [String]
63166425
attr_accessor :subnetwork

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.113.0"
19+
GEM_VERSION = "0.114.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 = "20260120"
25+
REVISION = "20260209"
2626
end
2727
end
2828
end

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
310310
include Google::Apis::Core::JsonObjectSupport
311311
end
312312

313+
class CrashLoopBackOffConfig
314+
class Representation < Google::Apis::Core::JsonRepresentation; end
315+
316+
include Google::Apis::Core::JsonObjectSupport
317+
end
318+
313319
class CreateClusterRequest
314320
class Representation < Google::Apis::Core::JsonRepresentation; end
315321

@@ -376,6 +382,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
376382
include Google::Apis::Core::JsonObjectSupport
377383
end
378384

385+
class DisruptionBudget
386+
class Representation < Google::Apis::Core::JsonRepresentation; end
387+
388+
include Google::Apis::Core::JsonObjectSupport
389+
end
390+
379391
class DisruptionEvent
380392
class Representation < Google::Apis::Core::JsonRepresentation; end
381393

@@ -2125,6 +2137,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
21252137
end
21262138
end
21272139

2140+
class CrashLoopBackOffConfig
2141+
# @private
2142+
class Representation < Google::Apis::Core::JsonRepresentation
2143+
property :max_container_restart_period, as: 'maxContainerRestartPeriod'
2144+
end
2145+
end
2146+
21282147
class CreateClusterRequest
21292148
# @private
21302149
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2224,6 +2243,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
22242243
end
22252244
end
22262245

2246+
class DisruptionBudget
2247+
# @private
2248+
class Representation < Google::Apis::Core::JsonRepresentation
2249+
property :last_disruption_time, as: 'lastDisruptionTime'
2250+
property :last_minor_version_disruption_time, as: 'lastMinorVersionDisruptionTime'
2251+
property :minor_version_disruption_interval, as: 'minorVersionDisruptionInterval'
2252+
property :patch_version_disruption_interval, as: 'patchVersionDisruptionInterval'
2253+
end
2254+
end
2255+
22272256
class DisruptionEvent
22282257
# @private
22292258
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2700,6 +2729,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
27002729
class MaintenancePolicy
27012730
# @private
27022731
class Representation < Google::Apis::Core::JsonRepresentation
2732+
property :disruption_budget, as: 'disruptionBudget', class: Google::Apis::ContainerV1::DisruptionBudget, decorator: Google::Apis::ContainerV1::DisruptionBudget::Representation
2733+
27032734
property :resource_version, as: 'resourceVersion'
27042735
property :window, as: 'window', class: Google::Apis::ContainerV1::MaintenanceWindow, decorator: Google::Apis::ContainerV1::MaintenanceWindow::Representation
27052736

@@ -2995,6 +3026,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
29953026
property :cpu_cfs_quota, as: 'cpuCfsQuota'
29963027
property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
29973028
property :cpu_manager_policy, as: 'cpuManagerPolicy'
3029+
property :crash_loop_back_off, as: 'crashLoopBackOff', class: Google::Apis::ContainerV1::CrashLoopBackOffConfig, decorator: Google::Apis::ContainerV1::CrashLoopBackOffConfig::Representation
3030+
29983031
property :eviction_max_pod_grace_period_seconds, as: 'evictionMaxPodGracePeriodSeconds'
29993032
property :eviction_minimum_reclaim, as: 'evictionMinimumReclaim', class: Google::Apis::ContainerV1::EvictionMinimumReclaim, decorator: Google::Apis::ContainerV1::EvictionMinimumReclaim::Representation
30003033

@@ -3011,6 +3044,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
30113044
property :memory_manager, as: 'memoryManager', class: Google::Apis::ContainerV1::MemoryManager, decorator: Google::Apis::ContainerV1::MemoryManager::Representation
30123045

30133046
property :pod_pids_limit, :numeric_string => true, as: 'podPidsLimit'
3047+
property :shutdown_grace_period_critical_pods_seconds, as: 'shutdownGracePeriodCriticalPodsSeconds'
3048+
property :shutdown_grace_period_seconds, as: 'shutdownGracePeriodSeconds'
30143049
property :single_process_oom_kill, as: 'singleProcessOomKill'
30153050
property :topology_manager, as: 'topologyManager', class: Google::Apis::ContainerV1::TopologyManager, decorator: Google::Apis::ContainerV1::TopologyManager::Representation
30163051

0 commit comments

Comments
 (0)