Skip to content

Commit 30ac467

Browse files
feat: Automated regeneration of container v1beta1 client (googleapis#24691)
Auto-created at 2025-10-19 10:38:05 +0000 using the toys pull request generator.
1 parent 7aaad9e commit 30ac467

File tree

5 files changed

+148
-3
lines changed

5 files changed

+148
-3
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134918,6 +134918,7 @@
134918134918
"/container:v1beta1/Cluster/satisfiesPzi": satisfies_pzi
134919134919
"/container:v1beta1/Cluster/satisfiesPzs": satisfies_pzs
134920134920
"/container:v1beta1/Cluster/secretManagerConfig": secret_manager_config
134921+
"/container:v1beta1/Cluster/secretSyncConfig": secret_sync_config
134921134922
"/container:v1beta1/Cluster/securityPostureConfig": security_posture_config
134922134923
"/container:v1beta1/Cluster/selfLink": self_link
134923134924
"/container:v1beta1/Cluster/servicesIpv4Cidr": services_ipv4_cidr
@@ -135063,6 +135064,7 @@
135063135064
"/container:v1beta1/ConsumptionMeteringConfig/enabled": enabled
135064135065
"/container:v1beta1/ContainerdConfig": containerd_config
135065135066
"/container:v1beta1/ContainerdConfig/privateRegistryAccessConfig": private_registry_access_config
135067+
"/container:v1beta1/ContainerdConfig/writableCgroups": writable_cgroups
135066135068
"/container:v1beta1/ControlPlaneEndpointsConfig": control_plane_endpoints_config
135067135069
"/container:v1beta1/ControlPlaneEndpointsConfig/dnsEndpointConfig": dns_endpoint_config
135068135070
"/container:v1beta1/ControlPlaneEndpointsConfig/ipEndpointsConfig": ip_endpoints_config
@@ -135728,6 +135730,9 @@
135728135730
"/container:v1beta1/SecretManagerConfig": secret_manager_config
135729135731
"/container:v1beta1/SecretManagerConfig/enabled": enabled
135730135732
"/container:v1beta1/SecretManagerConfig/rotationConfig": rotation_config
135733+
"/container:v1beta1/SecretSyncConfig": secret_sync_config
135734+
"/container:v1beta1/SecretSyncConfig/enabled": enabled
135735+
"/container:v1beta1/SecretSyncConfig/rotationConfig": rotation_config
135731135736
"/container:v1beta1/SecurityBulletinEvent": security_bulletin_event
135732135737
"/container:v1beta1/SecurityBulletinEvent/affectedSupportedMinors": affected_supported_minors
135733135738
"/container:v1beta1/SecurityBulletinEvent/affectedSupportedMinors/affected_supported_minor": affected_supported_minor
@@ -135872,6 +135877,9 @@
135872135877
"/container:v1beta1/StatusCondition/canonicalCode": canonical_code
135873135878
"/container:v1beta1/StatusCondition/code": code
135874135879
"/container:v1beta1/StatusCondition/message": message
135880+
"/container:v1beta1/SyncRotationConfig": sync_rotation_config
135881+
"/container:v1beta1/SyncRotationConfig/enabled": enabled
135882+
"/container:v1beta1/SyncRotationConfig/rotationInterval": rotation_interval
135875135883
"/container:v1beta1/TimeWindow": time_window
135876135884
"/container:v1beta1/TimeWindow/endTime": end_time
135877135885
"/container:v1beta1/TimeWindow/maintenanceExclusionOptions": maintenance_exclusion_options
@@ -136025,6 +136033,8 @@
136025136033
"/container:v1beta1/WorkloadPolicyConfig": workload_policy_config
136026136034
"/container:v1beta1/WorkloadPolicyConfig/allowNetAdmin": allow_net_admin
136027136035
"/container:v1beta1/WorkloadPolicyConfig/autopilotCompatibilityAuditingEnabled": autopilot_compatibility_auditing_enabled
136036+
"/container:v1beta1/WritableCgroups": writable_cgroups
136037+
"/container:v1beta1/WritableCgroups/enabled": enabled
136028136038
"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list": list_project_aggregated_usable_subnetworks
136029136039
"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/filter": filter
136030136040
"/container:v1beta1/container.projects.aggregated.usableSubnetworks.list/pageSize": page_size

generated/google-apis-container_v1beta1/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_v1beta1
22

3+
### v0.94.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20250930
6+
37
### v0.93.0 (2025-10-05)
48

59
* Regenerated from discovery document revision 20250923

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

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,11 @@ class Cluster
16731673
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
16741674
attr_accessor :secret_manager_config
16751675

1676+
# Configuration for sync Secret Manager secrets as k8s secrets.
1677+
# Corresponds to the JSON property `secretSyncConfig`
1678+
# @return [Google::Apis::ContainerV1beta1::SecretSyncConfig]
1679+
attr_accessor :secret_sync_config
1680+
16761681
# SecurityPostureConfig defines the flags needed to enable/disable features for
16771682
# the Security Posture API.
16781683
# Corresponds to the JSON property `securityPostureConfig`
@@ -1846,6 +1851,7 @@ def update!(**args)
18461851
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
18471852
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
18481853
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
1854+
@secret_sync_config = args[:secret_sync_config] if args.key?(:secret_sync_config)
18491855
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
18501856
@self_link = args[:self_link] if args.key?(:self_link)
18511857
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
@@ -2791,13 +2797,19 @@ class ContainerdConfig
27912797
# @return [Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig]
27922798
attr_accessor :private_registry_access_config
27932799

2800+
# Defines writable cgroups configuration.
2801+
# Corresponds to the JSON property `writableCgroups`
2802+
# @return [Google::Apis::ContainerV1beta1::WritableCgroups]
2803+
attr_accessor :writable_cgroups
2804+
27942805
def initialize(**args)
27952806
update!(**args)
27962807
end
27972808

27982809
# Update properties of this object
27992810
def update!(**args)
28002811
@private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
2812+
@writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
28012813
end
28022814
end
28032815

@@ -6110,7 +6122,7 @@ class NodeKubeletConfig
61106122
# Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
61116123
# sequence of decimal numbers, each with optional fraction and a unit suffix,
61126124
# such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
6113-
# . The value must be a positive duration.
6125+
# . The value must be a positive duration between 1ms and 1 second, inclusive.
61146126
# Corresponds to the JSON property `cpuCfsQuotaPeriod`
61156127
# @return [String]
61166128
attr_accessor :cpu_cfs_quota_period
@@ -8099,6 +8111,32 @@ def update!(**args)
80998111
end
81008112
end
81018113

8114+
# Configuration for sync Secret Manager secrets as k8s secrets.
8115+
class SecretSyncConfig
8116+
include Google::Apis::Core::Hashable
8117+
8118+
# Enable/Disable Secret Sync Config.
8119+
# Corresponds to the JSON property `enabled`
8120+
# @return [Boolean]
8121+
attr_accessor :enabled
8122+
alias_method :enabled?, :enabled
8123+
8124+
# SyncRotationConfig is config for secret manager auto rotation.
8125+
# Corresponds to the JSON property `rotationConfig`
8126+
# @return [Google::Apis::ContainerV1beta1::SyncRotationConfig]
8127+
attr_accessor :rotation_config
8128+
8129+
def initialize(**args)
8130+
update!(**args)
8131+
end
8132+
8133+
# Update properties of this object
8134+
def update!(**args)
8135+
@enabled = args[:enabled] if args.key?(:enabled)
8136+
@rotation_config = args[:rotation_config] if args.key?(:rotation_config)
8137+
end
8138+
end
8139+
81028140
# SecurityBulletinEvent is a notification sent to customers when a security
81038141
# bulletin has been posted that they are vulnerable to.
81048142
class SecurityBulletinEvent
@@ -9223,6 +9261,33 @@ def update!(**args)
92239261
end
92249262
end
92259263

9264+
# SyncRotationConfig is config for secret manager auto rotation.
9265+
class SyncRotationConfig
9266+
include Google::Apis::Core::Hashable
9267+
9268+
# Whether the rotation is enabled.
9269+
# Corresponds to the JSON property `enabled`
9270+
# @return [Boolean]
9271+
attr_accessor :enabled
9272+
alias_method :enabled?, :enabled
9273+
9274+
# The interval between two consecutive rotations. Default rotation interval is 2
9275+
# minutes.
9276+
# Corresponds to the JSON property `rotationInterval`
9277+
# @return [String]
9278+
attr_accessor :rotation_interval
9279+
9280+
def initialize(**args)
9281+
update!(**args)
9282+
end
9283+
9284+
# Update properties of this object
9285+
def update!(**args)
9286+
@enabled = args[:enabled] if args.key?(:enabled)
9287+
@rotation_interval = args[:rotation_interval] if args.key?(:rotation_interval)
9288+
end
9289+
end
9290+
92269291
# Represents an arbitrary window of time.
92279292
class TimeWindow
92289293
include Google::Apis::Core::Hashable
@@ -10490,6 +10555,26 @@ def update!(**args)
1049010555
@autopilot_compatibility_auditing_enabled = args[:autopilot_compatibility_auditing_enabled] if args.key?(:autopilot_compatibility_auditing_enabled)
1049110556
end
1049210557
end
10558+
10559+
# Defines writable cgroups configuration.
10560+
class WritableCgroups
10561+
include Google::Apis::Core::Hashable
10562+
10563+
# Optional. Whether writable cgroups is enabled.
10564+
# Corresponds to the JSON property `enabled`
10565+
# @return [Boolean]
10566+
attr_accessor :enabled
10567+
alias_method :enabled?, :enabled
10568+
10569+
def initialize(**args)
10570+
update!(**args)
10571+
end
10572+
10573+
# Update properties of this object
10574+
def update!(**args)
10575+
@enabled = args[:enabled] if args.key?(:enabled)
10576+
end
10577+
end
1049310578
end
1049410579
end
1049510580
end

generated/google-apis-container_v1beta1/lib/google/apis/container_v1beta1/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 ContainerV1beta1
1818
# Version of the google-apis-container_v1beta1 gem
19-
GEM_VERSION = "0.93.0"
19+
GEM_VERSION = "0.94.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 = "20250923"
25+
REVISION = "20250930"
2626
end
2727
end
2828
end

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
11201120
include Google::Apis::Core::JsonObjectSupport
11211121
end
11221122

1123+
class SecretSyncConfig
1124+
class Representation < Google::Apis::Core::JsonRepresentation; end
1125+
1126+
include Google::Apis::Core::JsonObjectSupport
1127+
end
1128+
11231129
class SecurityBulletinEvent
11241130
class Representation < Google::Apis::Core::JsonRepresentation; end
11251131

@@ -1264,6 +1270,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
12641270
include Google::Apis::Core::JsonObjectSupport
12651271
end
12661272

1273+
class SyncRotationConfig
1274+
class Representation < Google::Apis::Core::JsonRepresentation; end
1275+
1276+
include Google::Apis::Core::JsonObjectSupport
1277+
end
1278+
12671279
class TimeWindow
12681280
class Representation < Google::Apis::Core::JsonRepresentation; end
12691281

@@ -1420,6 +1432,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
14201432
include Google::Apis::Core::JsonObjectSupport
14211433
end
14221434

1435+
class WritableCgroups
1436+
class Representation < Google::Apis::Core::JsonRepresentation; end
1437+
1438+
include Google::Apis::Core::JsonObjectSupport
1439+
end
1440+
14231441
class AcceleratorConfig
14241442
# @private
14251443
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1869,6 +1887,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18691887
property :satisfies_pzs, as: 'satisfiesPzs'
18701888
property :secret_manager_config, as: 'secretManagerConfig', class: Google::Apis::ContainerV1beta1::SecretManagerConfig, decorator: Google::Apis::ContainerV1beta1::SecretManagerConfig::Representation
18711889

1890+
property :secret_sync_config, as: 'secretSyncConfig', class: Google::Apis::ContainerV1beta1::SecretSyncConfig, decorator: Google::Apis::ContainerV1beta1::SecretSyncConfig::Representation
1891+
18721892
property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::ContainerV1beta1::SecurityPostureConfig, decorator: Google::Apis::ContainerV1beta1::SecurityPostureConfig::Representation
18731893

18741894
property :self_link, as: 'selfLink'
@@ -2149,6 +2169,8 @@ class ContainerdConfig
21492169
class Representation < Google::Apis::Core::JsonRepresentation
21502170
property :private_registry_access_config, as: 'privateRegistryAccessConfig', class: Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig, decorator: Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig::Representation
21512171

2172+
property :writable_cgroups, as: 'writableCgroups', class: Google::Apis::ContainerV1beta1::WritableCgroups, decorator: Google::Apis::ContainerV1beta1::WritableCgroups::Representation
2173+
21522174
end
21532175
end
21542176

@@ -3543,6 +3565,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
35433565
end
35443566
end
35453567

3568+
class SecretSyncConfig
3569+
# @private
3570+
class Representation < Google::Apis::Core::JsonRepresentation
3571+
property :enabled, as: 'enabled'
3572+
property :rotation_config, as: 'rotationConfig', class: Google::Apis::ContainerV1beta1::SyncRotationConfig, decorator: Google::Apis::ContainerV1beta1::SyncRotationConfig::Representation
3573+
3574+
end
3575+
end
3576+
35463577
class SecurityBulletinEvent
35473578
# @private
35483579
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3802,6 +3833,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
38023833
end
38033834
end
38043835

3836+
class SyncRotationConfig
3837+
# @private
3838+
class Representation < Google::Apis::Core::JsonRepresentation
3839+
property :enabled, as: 'enabled'
3840+
property :rotation_interval, as: 'rotationInterval'
3841+
end
3842+
end
3843+
38053844
class TimeWindow
38063845
# @private
38073846
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4106,6 +4145,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
41064145
property :autopilot_compatibility_auditing_enabled, as: 'autopilotCompatibilityAuditingEnabled'
41074146
end
41084147
end
4148+
4149+
class WritableCgroups
4150+
# @private
4151+
class Representation < Google::Apis::Core::JsonRepresentation
4152+
property :enabled, as: 'enabled'
4153+
end
4154+
end
41094155
end
41104156
end
41114157
end

0 commit comments

Comments
 (0)