Skip to content

Commit 3b62fcf

Browse files
feat: Automated regeneration of container v1 client (#23845)
Auto-created at 2025-08-03 10:15:34 +0000 using the toys pull request generator.
1 parent e86f3fa commit 3b62fcf

File tree

5 files changed

+118
-2
lines changed

5 files changed

+118
-2
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128805,13 +128805,15 @@
128805128805
"/container:v1/AuthenticatorGroupsConfig/enabled": enabled
128806128806
"/container:v1/AuthenticatorGroupsConfig/securityGroup": security_group
128807128807
"/container:v1/AutoIpamConfig": auto_ipam_config
128808+
"/container:v1/AutoIpamConfig/enabled": enabled
128808128809
"/container:v1/AutoMonitoringConfig": auto_monitoring_config
128809128810
"/container:v1/AutoMonitoringConfig/scope": scope
128810128811
"/container:v1/AutoUpgradeOptions": auto_upgrade_options
128811128812
"/container:v1/AutoUpgradeOptions/autoUpgradeStartTime": auto_upgrade_start_time
128812128813
"/container:v1/AutoUpgradeOptions/description": description
128813128814
"/container:v1/Autopilot": autopilot
128814128815
"/container:v1/Autopilot/enabled": enabled
128816+
"/container:v1/Autopilot/privilegedAdmissionConfig": privileged_admission_config
128815128817
"/container:v1/Autopilot/workloadPolicyConfig": workload_policy_config
128816128818
"/container:v1/AutopilotCompatibilityIssue": autopilot_compatibility_issue
128817128819
"/container:v1/AutopilotCompatibilityIssue/constraintType": constraint_type
@@ -128972,6 +128974,7 @@
128972128974
"/container:v1/ClusterAutoscaling/autoprovisioningLocations/autoprovisioning_location": autoprovisioning_location
128973128975
"/container:v1/ClusterAutoscaling/autoprovisioningNodePoolDefaults": autoprovisioning_node_pool_defaults
128974128976
"/container:v1/ClusterAutoscaling/autoscalingProfile": autoscaling_profile
128977+
"/container:v1/ClusterAutoscaling/defaultComputeClassConfig": default_compute_class_config
128975128978
"/container:v1/ClusterAutoscaling/enableNodeAutoprovisioning": enable_node_autoprovisioning
128976128979
"/container:v1/ClusterAutoscaling/resourceLimits": resource_limits
128977128980
"/container:v1/ClusterAutoscaling/resourceLimits/resource_limit": resource_limit
@@ -129119,6 +129122,8 @@
129119129122
"/container:v1/DatabaseEncryption/lastOperationErrors": last_operation_errors
129120129123
"/container:v1/DatabaseEncryption/lastOperationErrors/last_operation_error": last_operation_error
129121129124
"/container:v1/DatabaseEncryption/state": state
129125+
"/container:v1/DefaultComputeClassConfig": default_compute_class_config
129126+
"/container:v1/DefaultComputeClassConfig/enabled": enabled
129122129127
"/container:v1/DefaultSnatStatus": default_snat_status
129123129128
"/container:v1/DefaultSnatStatus/disabled": disabled
129124129129
"/container:v1/DesiredAdditionalIPRangesConfig": desired_additional_ip_ranges_config
@@ -129163,6 +129168,7 @@
129163129168
"/container:v1/Filter/eventType/event_type": event_type
129164129169
"/container:v1/Fleet": fleet
129165129170
"/container:v1/Fleet/membership": membership
129171+
"/container:v1/Fleet/membershipType": membership_type
129166129172
"/container:v1/Fleet/preRegistered": pre_registered
129167129173
"/container:v1/Fleet/project": project
129168129174
"/container:v1/GCPSecretManagerCertificateConfig": gcp_secret_manager_certificate_config
@@ -129608,6 +129614,9 @@
129608129614
"/container:v1/PrivateRegistryAccessConfig/certificateAuthorityDomainConfig": certificate_authority_domain_config
129609129615
"/container:v1/PrivateRegistryAccessConfig/certificateAuthorityDomainConfig/certificate_authority_domain_config": certificate_authority_domain_config
129610129616
"/container:v1/PrivateRegistryAccessConfig/enabled": enabled
129617+
"/container:v1/PrivilegedAdmissionConfig": privileged_admission_config
129618+
"/container:v1/PrivilegedAdmissionConfig/allowlistPaths": allowlist_paths
129619+
"/container:v1/PrivilegedAdmissionConfig/allowlistPaths/allowlist_path": allowlist_path
129611129620
"/container:v1/PubSub": pub_sub
129612129621
"/container:v1/PubSub/enabled": enabled
129613129622
"/container:v1/PubSub/filter": filter

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

59
* Regenerated from discovery document revision 20250701

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

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,12 +427,19 @@ def update!(**args)
427427
class AutoIpamConfig
428428
include Google::Apis::Core::Hashable
429429

430+
# The flag that enables Auto IPAM on this cluster
431+
# Corresponds to the JSON property `enabled`
432+
# @return [Boolean]
433+
attr_accessor :enabled
434+
alias_method :enabled?, :enabled
435+
430436
def initialize(**args)
431437
update!(**args)
432438
end
433439

434440
# Update properties of this object
435441
def update!(**args)
442+
@enabled = args[:enabled] if args.key?(:enabled)
436443
end
437444
end
438445

@@ -495,6 +502,12 @@ class Autopilot
495502
attr_accessor :enabled
496503
alias_method :enabled?, :enabled
497504

505+
# PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
506+
# the cluster.
507+
# Corresponds to the JSON property `privilegedAdmissionConfig`
508+
# @return [Google::Apis::ContainerV1::PrivilegedAdmissionConfig]
509+
attr_accessor :privileged_admission_config
510+
498511
# WorkloadPolicyConfig is the configuration related to GCW workload policy
499512
# Corresponds to the JSON property `workloadPolicyConfig`
500513
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
@@ -507,6 +520,7 @@ def initialize(**args)
507520
# Update properties of this object
508521
def update!(**args)
509522
@enabled = args[:enabled] if args.key?(:enabled)
523+
@privileged_admission_config = args[:privileged_admission_config] if args.key?(:privileged_admission_config)
510524
@workload_policy_config = args[:workload_policy_config] if args.key?(:workload_policy_config)
511525
end
512526
end
@@ -1695,6 +1709,11 @@ class ClusterAutoscaling
16951709
# @return [String]
16961710
attr_accessor :autoscaling_profile
16971711

1712+
# DefaultComputeClassConfig defines default compute class configuration.
1713+
# Corresponds to the JSON property `defaultComputeClassConfig`
1714+
# @return [Google::Apis::ContainerV1::DefaultComputeClassConfig]
1715+
attr_accessor :default_compute_class_config
1716+
16981717
# Enables automatic node pool creation and deletion.
16991718
# Corresponds to the JSON property `enableNodeAutoprovisioning`
17001719
# @return [Boolean]
@@ -1716,6 +1735,7 @@ def update!(**args)
17161735
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
17171736
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
17181737
@autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
1738+
@default_compute_class_config = args[:default_compute_class_config] if args.key?(:default_compute_class_config)
17191739
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
17201740
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
17211741
end
@@ -2800,6 +2820,26 @@ def update!(**args)
28002820
end
28012821
end
28022822

2823+
# DefaultComputeClassConfig defines default compute class configuration.
2824+
class DefaultComputeClassConfig
2825+
include Google::Apis::Core::Hashable
2826+
2827+
# Enables default compute class.
2828+
# Corresponds to the JSON property `enabled`
2829+
# @return [Boolean]
2830+
attr_accessor :enabled
2831+
alias_method :enabled?, :enabled
2832+
2833+
def initialize(**args)
2834+
update!(**args)
2835+
end
2836+
2837+
# Update properties of this object
2838+
def update!(**args)
2839+
@enabled = args[:enabled] if args.key?(:enabled)
2840+
end
2841+
end
2842+
28032843
# DefaultSnatStatus contains the desired state of whether default sNAT should be
28042844
# disabled on the cluster.
28052845
class DefaultSnatStatus
@@ -3226,6 +3266,11 @@ class Fleet
32263266
# @return [String]
32273267
attr_accessor :membership
32283268

3269+
# The type of the cluster's fleet membership.
3270+
# Corresponds to the JSON property `membershipType`
3271+
# @return [String]
3272+
attr_accessor :membership_type
3273+
32293274
# Output only. Whether the cluster has been registered through the fleet API.
32303275
# Corresponds to the JSON property `preRegistered`
32313276
# @return [Boolean]
@@ -3246,6 +3291,7 @@ def initialize(**args)
32463291
# Update properties of this object
32473292
def update!(**args)
32483293
@membership = args[:membership] if args.key?(:membership)
3294+
@membership_type = args[:membership_type] if args.key?(:membership_type)
32493295
@pre_registered = args[:pre_registered] if args.key?(:pre_registered)
32503296
@project = args[:project] if args.key?(:project)
32513297
end
@@ -6739,6 +6785,31 @@ def update!(**args)
67396785
end
67406786
end
67416787

6788+
# PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
6789+
# the cluster.
6790+
class PrivilegedAdmissionConfig
6791+
include Google::Apis::Core::Hashable
6792+
6793+
# The customer allowlist Cloud Storage paths for the cluster. These paths are
6794+
# used with the `--autopilot-privileged-admission` flag to authorize privileged
6795+
# workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:///
6796+
# /`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported
6797+
# to authorize all allowlists under specific paths or directories. Example: `gs:/
6798+
# /my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.
6799+
# Corresponds to the JSON property `allowlistPaths`
6800+
# @return [Array<String>]
6801+
attr_accessor :allowlist_paths
6802+
6803+
def initialize(**args)
6804+
update!(**args)
6805+
end
6806+
6807+
# Update properties of this object
6808+
def update!(**args)
6809+
@allowlist_paths = args[:allowlist_paths] if args.key?(:allowlist_paths)
6810+
end
6811+
end
6812+
67426813
# Pub/Sub specific notification config.
67436814
class PubSub
67446815
include Google::Apis::Core::Hashable

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.100.0"
19+
GEM_VERSION = "0.101.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_v1/lib/google/apis/container_v1/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
322322
include Google::Apis::Core::JsonObjectSupport
323323
end
324324

325+
class DefaultComputeClassConfig
326+
class Representation < Google::Apis::Core::JsonRepresentation; end
327+
328+
include Google::Apis::Core::JsonObjectSupport
329+
end
330+
325331
class DefaultSnatStatus
326332
class Representation < Google::Apis::Core::JsonRepresentation; end
327333

@@ -880,6 +886,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
880886
include Google::Apis::Core::JsonObjectSupport
881887
end
882888

889+
class PrivilegedAdmissionConfig
890+
class Representation < Google::Apis::Core::JsonRepresentation; end
891+
892+
include Google::Apis::Core::JsonObjectSupport
893+
end
894+
883895
class PubSub
884896
class Representation < Google::Apis::Core::JsonRepresentation; end
885897

@@ -1387,6 +1399,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
13871399
class AutoIpamConfig
13881400
# @private
13891401
class Representation < Google::Apis::Core::JsonRepresentation
1402+
property :enabled, as: 'enabled'
13901403
end
13911404
end
13921405

@@ -1409,6 +1422,8 @@ class Autopilot
14091422
# @private
14101423
class Representation < Google::Apis::Core::JsonRepresentation
14111424
property :enabled, as: 'enabled'
1425+
property :privileged_admission_config, as: 'privilegedAdmissionConfig', class: Google::Apis::ContainerV1::PrivilegedAdmissionConfig, decorator: Google::Apis::ContainerV1::PrivilegedAdmissionConfig::Representation
1426+
14121427
property :workload_policy_config, as: 'workloadPolicyConfig', class: Google::Apis::ContainerV1::WorkloadPolicyConfig, decorator: Google::Apis::ContainerV1::WorkloadPolicyConfig::Representation
14131428

14141429
end
@@ -1694,6 +1709,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
16941709
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
16951710

16961711
property :autoscaling_profile, as: 'autoscalingProfile'
1712+
property :default_compute_class_config, as: 'defaultComputeClassConfig', class: Google::Apis::ContainerV1::DefaultComputeClassConfig, decorator: Google::Apis::ContainerV1::DefaultComputeClassConfig::Representation
1713+
16971714
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
16981715
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1::ResourceLimit, decorator: Google::Apis::ContainerV1::ResourceLimit::Representation
16991716

@@ -1993,6 +2010,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
19932010
end
19942011
end
19952012

2013+
class DefaultComputeClassConfig
2014+
# @private
2015+
class Representation < Google::Apis::Core::JsonRepresentation
2016+
property :enabled, as: 'enabled'
2017+
end
2018+
end
2019+
19962020
class DefaultSnatStatus
19972021
# @private
19982022
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2098,6 +2122,7 @@ class Fleet
20982122
# @private
20992123
class Representation < Google::Apis::Core::JsonRepresentation
21002124
property :membership, as: 'membership'
2125+
property :membership_type, as: 'membershipType'
21012126
property :pre_registered, as: 'preRegistered'
21022127
property :project, as: 'project'
21032128
end
@@ -2994,6 +3019,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
29943019
end
29953020
end
29963021

3022+
class PrivilegedAdmissionConfig
3023+
# @private
3024+
class Representation < Google::Apis::Core::JsonRepresentation
3025+
collection :allowlist_paths, as: 'allowlistPaths'
3026+
end
3027+
end
3028+
29973029
class PubSub
29983030
# @private
29993031
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)