Skip to content

Commit 7b74c38

Browse files
feat: Automated regeneration of container v1beta1 client (#23842)
Auto-created at 2025-08-03 10:07:43 +0000 using the toys pull request generator.
1 parent c427fb2 commit 7b74c38

File tree

5 files changed

+118
-37
lines changed

5 files changed

+118
-37
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130253,6 +130253,7 @@
130253130253
"/container:v1beta1/AuthenticatorGroupsConfig/enabled": enabled
130254130254
"/container:v1beta1/AuthenticatorGroupsConfig/securityGroup": security_group
130255130255
"/container:v1beta1/AutoIpamConfig": auto_ipam_config
130256+
"/container:v1beta1/AutoIpamConfig/enabled": enabled
130256130257
"/container:v1beta1/AutoMonitoringConfig": auto_monitoring_config
130257130258
"/container:v1beta1/AutoMonitoringConfig/scope": scope
130258130259
"/container:v1beta1/AutoUpgradeOptions": auto_upgrade_options
@@ -130261,6 +130262,7 @@
130261130262
"/container:v1beta1/Autopilot": autopilot
130262130263
"/container:v1beta1/Autopilot/conversionStatus": conversion_status
130263130264
"/container:v1beta1/Autopilot/enabled": enabled
130265+
"/container:v1beta1/Autopilot/privilegedAdmissionConfig": privileged_admission_config
130264130266
"/container:v1beta1/Autopilot/workloadPolicyConfig": workload_policy_config
130265130267
"/container:v1beta1/AutopilotCompatibilityIssue": autopilot_compatibility_issue
130266130268
"/container:v1beta1/AutopilotCompatibilityIssue/constraintType": constraint_type
@@ -130439,6 +130441,7 @@
130439130441
"/container:v1beta1/ClusterAutoscaling/autoprovisioningLocations/autoprovisioning_location": autoprovisioning_location
130440130442
"/container:v1beta1/ClusterAutoscaling/autoprovisioningNodePoolDefaults": autoprovisioning_node_pool_defaults
130441130443
"/container:v1beta1/ClusterAutoscaling/autoscalingProfile": autoscaling_profile
130444+
"/container:v1beta1/ClusterAutoscaling/defaultComputeClassConfig": default_compute_class_config
130442130445
"/container:v1beta1/ClusterAutoscaling/enableNodeAutoprovisioning": enable_node_autoprovisioning
130443130446
"/container:v1beta1/ClusterAutoscaling/resourceLimits": resource_limits
130444130447
"/container:v1beta1/ClusterAutoscaling/resourceLimits/resource_limit": resource_limit
@@ -130601,6 +130604,8 @@
130601130604
"/container:v1beta1/Date/day": day
130602130605
"/container:v1beta1/Date/month": month
130603130606
"/container:v1beta1/Date/year": year
130607+
"/container:v1beta1/DefaultComputeClassConfig": default_compute_class_config
130608+
"/container:v1beta1/DefaultComputeClassConfig/enabled": enabled
130604130609
"/container:v1beta1/DefaultSnatStatus": default_snat_status
130605130610
"/container:v1beta1/DefaultSnatStatus/disabled": disabled
130606130611
"/container:v1beta1/DesiredAdditionalIPRangesConfig": desired_additional_ip_ranges_config
@@ -130647,6 +130652,7 @@
130647130652
"/container:v1beta1/Filter/eventType/event_type": event_type
130648130653
"/container:v1beta1/Fleet": fleet
130649130654
"/container:v1beta1/Fleet/membership": membership
130655+
"/container:v1beta1/Fleet/membershipType": membership_type
130650130656
"/container:v1beta1/Fleet/preRegistered": pre_registered
130651130657
"/container:v1beta1/Fleet/project": project
130652130658
"/container:v1beta1/GCPSecretManagerCertificateConfig": gcp_secret_manager_certificate_config
@@ -131140,6 +131146,9 @@
131140131146
"/container:v1beta1/PrivateRegistryAccessConfig/certificateAuthorityDomainConfig": certificate_authority_domain_config
131141131147
"/container:v1beta1/PrivateRegistryAccessConfig/certificateAuthorityDomainConfig/certificate_authority_domain_config": certificate_authority_domain_config
131142131148
"/container:v1beta1/PrivateRegistryAccessConfig/enabled": enabled
131149+
"/container:v1beta1/PrivilegedAdmissionConfig": privileged_admission_config
131150+
"/container:v1beta1/PrivilegedAdmissionConfig/allowlistPaths": allowlist_paths
131151+
"/container:v1beta1/PrivilegedAdmissionConfig/allowlistPaths/allowlist_path": allowlist_path
131143131152
"/container:v1beta1/ProtectConfig": protect_config
131144131153
"/container:v1beta1/ProtectConfig/workloadConfig": workload_config
131145131154
"/container:v1beta1/ProtectConfig/workloadVulnerabilityMode": workload_vulnerability_mode

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.89.0 (2025-08-03)
4+
5+
* Regenerated from discovery document revision 20250725
6+
37
### v0.88.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250701

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

Lines changed: 71 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,19 @@ def update!(**args)
445445
class AutoIpamConfig
446446
include Google::Apis::Core::Hashable
447447

448+
# The flag that enables Auto IPAM on this cluster
449+
# Corresponds to the JSON property `enabled`
450+
# @return [Boolean]
451+
attr_accessor :enabled
452+
alias_method :enabled?, :enabled
453+
448454
def initialize(**args)
449455
update!(**args)
450456
end
451457

452458
# Update properties of this object
453459
def update!(**args)
460+
@enabled = args[:enabled] if args.key?(:enabled)
454461
end
455462
end
456463

@@ -518,6 +525,12 @@ class Autopilot
518525
attr_accessor :enabled
519526
alias_method :enabled?, :enabled
520527

528+
# PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
529+
# the cluster.
530+
# Corresponds to the JSON property `privilegedAdmissionConfig`
531+
# @return [Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig]
532+
attr_accessor :privileged_admission_config
533+
521534
# WorkloadPolicyConfig is the configuration related to GCW workload policy
522535
# Corresponds to the JSON property `workloadPolicyConfig`
523536
# @return [Google::Apis::ContainerV1beta1::WorkloadPolicyConfig]
@@ -531,6 +544,7 @@ def initialize(**args)
531544
def update!(**args)
532545
@conversion_status = args[:conversion_status] if args.key?(:conversion_status)
533546
@enabled = args[:enabled] if args.key?(:enabled)
547+
@privileged_admission_config = args[:privileged_admission_config] if args.key?(:privileged_admission_config)
534548
@workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
535549
end
536550
end
@@ -763,20 +777,6 @@ def update!(**args)
763777
end
764778
end
765779

766-
# Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
767-
# to scale both the green and blue pools.
768-
class AutoscaledRolloutPolicy
769-
include Google::Apis::Core::Hashable
770-
771-
def initialize(**args)
772-
update!(**args)
773-
end
774-
775-
# Update properties of this object
776-
def update!(**args)
777-
end
778-
end
779-
780780
# Deprecated.
781781
class AvailableVersion
782782
include Google::Apis::Core::Hashable
@@ -936,12 +936,6 @@ def update!(**args)
936936
class BlueGreenSettings
937937
include Google::Apis::Core::Hashable
938938

939-
# Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
940-
# to scale both the green and blue pools.
941-
# Corresponds to the JSON property `autoscaledRolloutPolicy`
942-
# @return [Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy]
943-
attr_accessor :autoscaled_rollout_policy
944-
945939
# Time needed after draining entire blue pool. After this period, blue pool will
946940
# be cleaned up.
947941
# Corresponds to the JSON property `nodePoolSoakDuration`
@@ -959,7 +953,6 @@ def initialize(**args)
959953

960954
# Update properties of this object
961955
def update!(**args)
962-
@autoscaled_rollout_policy = args[:autoscaled_rollout_policy] if args.key?(:autoscaled_rollout_policy)
963956
@node_pool_soak_duration = args[:node_pool_soak_duration] if args.key?(:node_pool_soak_duration)
964957
@standard_rollout_policy = args[:standard_rollout_policy] if args.key?(:standard_rollout_policy)
965958
end
@@ -1864,6 +1857,11 @@ class ClusterAutoscaling
18641857
# @return [String]
18651858
attr_accessor :autoscaling_profile
18661859

1860+
# DefaultComputeClassConfig defines default compute class configuration.
1861+
# Corresponds to the JSON property `defaultComputeClassConfig`
1862+
# @return [Google::Apis::ContainerV1beta1::DefaultComputeClassConfig]
1863+
attr_accessor :default_compute_class_config
1864+
18671865
# Enables automatic node pool creation and deletion.
18681866
# Corresponds to the JSON property `enableNodeAutoprovisioning`
18691867
# @return [Boolean]
@@ -1885,6 +1883,7 @@ def update!(**args)
18851883
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
18861884
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
18871885
@autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
1886+
@default_compute_class_config = args[:default_compute_class_config] if args.key?(:default_compute_class_config)
18881887
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
18891888
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
18901889
end
@@ -3086,6 +3085,26 @@ def update!(**args)
30863085
end
30873086
end
30883087

3088+
# DefaultComputeClassConfig defines default compute class configuration.
3089+
class DefaultComputeClassConfig
3090+
include Google::Apis::Core::Hashable
3091+
3092+
# Enables default compute class.
3093+
# Corresponds to the JSON property `enabled`
3094+
# @return [Boolean]
3095+
attr_accessor :enabled
3096+
alias_method :enabled?, :enabled
3097+
3098+
def initialize(**args)
3099+
update!(**args)
3100+
end
3101+
3102+
# Update properties of this object
3103+
def update!(**args)
3104+
@enabled = args[:enabled] if args.key?(:enabled)
3105+
end
3106+
end
3107+
30893108
# DefaultSnatStatus contains the desired state of whether default sNAT should be
30903109
# disabled on the cluster.
30913110
class DefaultSnatStatus
@@ -3540,6 +3559,11 @@ class Fleet
35403559
# @return [String]
35413560
attr_accessor :membership
35423561

3562+
# The type of the cluster's fleet membership.
3563+
# Corresponds to the JSON property `membershipType`
3564+
# @return [String]
3565+
attr_accessor :membership_type
3566+
35433567
# Output only. Whether the cluster has been registered through the fleet API.
35443568
# Corresponds to the JSON property `preRegistered`
35453569
# @return [Boolean]
@@ -3560,6 +3584,7 @@ def initialize(**args)
35603584
# Update properties of this object
35613585
def update!(**args)
35623586
@membership = args[:membership] if args.key?(:membership)
3587+
@membership_type = args[:membership_type] if args.key?(:membership_type)
35633588
@pre_registered = args[:pre_registered] if args.key?(:pre_registered)
35643589
@project = args[:project] if args.key?(:project)
35653590
end
@@ -7315,6 +7340,31 @@ def update!(**args)
73157340
end
73167341
end
73177342

7343+
# PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
7344+
# the cluster.
7345+
class PrivilegedAdmissionConfig
7346+
include Google::Apis::Core::Hashable
7347+
7348+
# The customer allowlist Cloud Storage paths for the cluster. These paths are
7349+
# used with the `--autopilot-privileged-admission` flag to authorize privileged
7350+
# workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:///
7351+
# /`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported
7352+
# to authorize all allowlists under specific paths or directories. Example: `gs:/
7353+
# /my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.
7354+
# Corresponds to the JSON property `allowlistPaths`
7355+
# @return [Array<String>]
7356+
attr_accessor :allowlist_paths
7357+
7358+
def initialize(**args)
7359+
update!(**args)
7360+
end
7361+
7362+
# Update properties of this object
7363+
def update!(**args)
7364+
@allowlist_paths = args[:allowlist_paths] if args.key?(:allowlist_paths)
7365+
end
7366+
end
7367+
73187368
# ProtectConfig defines the flags needed to enable/disable features for the
73197369
# Protect API.
73207370
class ProtectConfig

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.88.0"
19+
GEM_VERSION = "0.89.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 = "20250701"
25+
REVISION = "20250725"
2626
end
2727
end
2828
end

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

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
130130
include Google::Apis::Core::JsonObjectSupport
131131
end
132132

133-
class AutoscaledRolloutPolicy
134-
class Representation < Google::Apis::Core::JsonRepresentation; end
135-
136-
include Google::Apis::Core::JsonObjectSupport
137-
end
138-
139133
class AvailableVersion
140134
class Representation < Google::Apis::Core::JsonRepresentation; end
141135

@@ -352,6 +346,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
352346
include Google::Apis::Core::JsonObjectSupport
353347
end
354348

349+
class DefaultComputeClassConfig
350+
class Representation < Google::Apis::Core::JsonRepresentation; end
351+
352+
include Google::Apis::Core::JsonObjectSupport
353+
end
354+
355355
class DefaultSnatStatus
356356
class Representation < Google::Apis::Core::JsonRepresentation; end
357357

@@ -970,6 +970,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
970970
include Google::Apis::Core::JsonObjectSupport
971971
end
972972

973+
class PrivilegedAdmissionConfig
974+
class Representation < Google::Apis::Core::JsonRepresentation; end
975+
976+
include Google::Apis::Core::JsonObjectSupport
977+
end
978+
973979
class ProtectConfig
974980
class Representation < Google::Apis::Core::JsonRepresentation; end
975981

@@ -1530,6 +1536,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
15301536
class AutoIpamConfig
15311537
# @private
15321538
class Representation < Google::Apis::Core::JsonRepresentation
1539+
property :enabled, as: 'enabled'
15331540
end
15341541
end
15351542

@@ -1554,6 +1561,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
15541561
property :conversion_status, as: 'conversionStatus', class: Google::Apis::ContainerV1beta1::AutopilotConversionStatus, decorator: Google::Apis::ContainerV1beta1::AutopilotConversionStatus::Representation
15551562

15561563
property :enabled, as: 'enabled'
1564+
property :privileged_admission_config, as: 'privilegedAdmissionConfig', class: Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig, decorator: Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig::Representation
1565+
15571566
property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadPolicyConfig::Representation
15581567

15591568
end
@@ -1605,12 +1614,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
16051614
end
16061615
end
16071616

1608-
class AutoscaledRolloutPolicy
1609-
# @private
1610-
class Representation < Google::Apis::Core::JsonRepresentation
1611-
end
1612-
end
1613-
16141617
class AvailableVersion
16151618
# @private
16161619
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1658,8 +1661,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
16581661
class BlueGreenSettings
16591662
# @private
16601663
class Representation < Google::Apis::Core::JsonRepresentation
1661-
property :autoscaled_rollout_policy, as: 'autoscaledRolloutPolicy', class: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy::Representation
1662-
16631664
property :node_pool_soak_duration, as: 'nodePoolSoakDuration'
16641665
property :standard_rollout_policy, as: 'standardRolloutPolicy', class: Google::Apis::ContainerV1beta1::StandardRolloutPolicy, decorator: Google::Apis::ContainerV1beta1::StandardRolloutPolicy::Representation
16651666

@@ -1880,6 +1881,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
18801881
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1beta1::AutoprovisioningNodePoolDefaults::Representation
18811882

18821883
property :autoscaling_profile, as: 'autoscalingProfile'
1884+
property :default_compute_class_config, as: 'defaultComputeClassConfig', class: Google::Apis::ContainerV1beta1::DefaultComputeClassConfig, decorator: Google::Apis::ContainerV1beta1::DefaultComputeClassConfig::Representation
1885+
18831886
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
18841887
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1beta1::ResourceLimit, decorator: Google::Apis::ContainerV1beta1::ResourceLimit::Representation
18851888

@@ -2213,6 +2216,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
22132216
end
22142217
end
22152218

2219+
class DefaultComputeClassConfig
2220+
# @private
2221+
class Representation < Google::Apis::Core::JsonRepresentation
2222+
property :enabled, as: 'enabled'
2223+
end
2224+
end
2225+
22162226
class DefaultSnatStatus
22172227
# @private
22182228
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2325,6 +2335,7 @@ class Fleet
23252335
# @private
23262336
class Representation < Google::Apis::Core::JsonRepresentation
23272337
property :membership, as: 'membership'
2338+
property :membership_type, as: 'membershipType'
23282339
property :pre_registered, as: 'preRegistered'
23292340
property :project, as: 'project'
23302341
end
@@ -3300,6 +3311,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
33003311
end
33013312
end
33023313

3314+
class PrivilegedAdmissionConfig
3315+
# @private
3316+
class Representation < Google::Apis::Core::JsonRepresentation
3317+
collection :allowlist_paths, as: 'allowlistPaths'
3318+
end
3319+
end
3320+
33033321
class ProtectConfig
33043322
# @private
33053323
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)