Skip to content

Commit c89cc9e

Browse files
feat: Automated regeneration of gkehub v1beta client (#27173)
Auto-created at 2026-06-21 12:17:25 +0000 using the toys pull request generator.
1 parent 9c0d350 commit c89cc9e

6 files changed

Lines changed: 238 additions & 6 deletions

File tree

api_names_out.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291641,6 +291641,8 @@
291641291641
"/gkehub:v1beta/Authority/scopeTenancyWorkloadIdentityPool": scope_tenancy_workload_identity_pool
291642291642
"/gkehub:v1beta/Authority/workloadIdentityPool": workload_identity_pool
291643291643
"/gkehub:v1beta/AutoUpgradeConfig": auto_upgrade_config
291644+
"/gkehub:v1beta/AutoUpgradeConfig/enforcedRollouts": enforced_rollouts
291645+
"/gkehub:v1beta/AutoUpgradeConfig/enforcedRollouts/enforced_rollout": enforced_rollout
291644291646
"/gkehub:v1beta/AutoUpgradeConfig/rolloutCreationScope": rollout_creation_scope
291645291647
"/gkehub:v1beta/BinaryAuthorizationConfig": binary_authorization_config
291646291648
"/gkehub:v1beta/BinaryAuthorizationConfig/evaluationMode": evaluation_mode
@@ -292452,6 +292454,7 @@
292452292454
"/gkehub:v1beta/Rollout/deleteTime": delete_time
292453292455
"/gkehub:v1beta/Rollout/displayName": display_name
292454292456
"/gkehub:v1beta/Rollout/etag": etag
292457+
"/gkehub:v1beta/Rollout/intent": intent
292455292458
"/gkehub:v1beta/Rollout/labels": labels
292456292459
"/gkehub:v1beta/Rollout/labels/label": label
292457292460
"/gkehub:v1beta/Rollout/membershipStates": membership_states
@@ -292463,6 +292466,7 @@
292463292466
"/gkehub:v1beta/Rollout/state": state
292464292467
"/gkehub:v1beta/Rollout/stateReason": state_reason
292465292468
"/gkehub:v1beta/Rollout/stateReasonType": state_reason_type
292469+
"/gkehub:v1beta/Rollout/trigger": trigger
292466292470
"/gkehub:v1beta/Rollout/uid": uid
292467292471
"/gkehub:v1beta/Rollout/updateTime": update_time
292468292472
"/gkehub:v1beta/Rollout/versionUpgrade": version_upgrade
@@ -292476,6 +292480,7 @@
292476292480
"/gkehub:v1beta/RolloutMembershipState/targets/target": target
292477292481
"/gkehub:v1beta/RolloutSequence": rollout_sequence
292478292482
"/gkehub:v1beta/RolloutSequence/autoUpgradeConfig": auto_upgrade_config
292483+
"/gkehub:v1beta/RolloutSequence/computedReleaseChannel": computed_release_channel
292479292484
"/gkehub:v1beta/RolloutSequence/createTime": create_time
292480292485
"/gkehub:v1beta/RolloutSequence/deleteTime": delete_time
292481292486
"/gkehub:v1beta/RolloutSequence/displayName": display_name
@@ -292484,14 +292489,21 @@
292484292489
"/gkehub:v1beta/RolloutSequence/ignoredClustersSelector": ignored_clusters_selector
292485292490
"/gkehub:v1beta/RolloutSequence/labels": labels
292486292491
"/gkehub:v1beta/RolloutSequence/labels/label": label
292492+
"/gkehub:v1beta/RolloutSequence/lastQualifiedControlPlaneVersion": last_qualified_control_plane_version
292493+
"/gkehub:v1beta/RolloutSequence/lastQualifiedNodeVersion": last_qualified_node_version
292487292494
"/gkehub:v1beta/RolloutSequence/name": name
292488292495
"/gkehub:v1beta/RolloutSequence/operationalState": operational_state
292489292496
"/gkehub:v1beta/RolloutSequence/stages": stages
292490292497
"/gkehub:v1beta/RolloutSequence/stages/stage": stage
292498+
"/gkehub:v1beta/RolloutSequence/targetControlPlaneVersion": target_control_plane_version
292499+
"/gkehub:v1beta/RolloutSequence/targetNodeVersion": target_node_version
292491292500
"/gkehub:v1beta/RolloutSequence/uid": uid
292492292501
"/gkehub:v1beta/RolloutSequence/updateTime": update_time
292493292502
"/gkehub:v1beta/RolloutStage": rollout_stage
292503+
"/gkehub:v1beta/RolloutStage/clusterSelector": cluster_selector
292494292504
"/gkehub:v1beta/RolloutStage/endTime": end_time
292505+
"/gkehub:v1beta/RolloutStage/fleetProjects": fleet_projects
292506+
"/gkehub:v1beta/RolloutStage/fleetProjects/fleet_project": fleet_project
292495292507
"/gkehub:v1beta/RolloutStage/soakDuration": soak_duration
292496292508
"/gkehub:v1beta/RolloutStage/stageNumber": stage_number
292497292509
"/gkehub:v1beta/RolloutStage/startTime": start_time
@@ -292570,6 +292582,10 @@
292570292582
"/gkehub:v1beta/TypeMeta": type_meta
292571292583
"/gkehub:v1beta/TypeMeta/apiVersion": api_version
292572292584
"/gkehub:v1beta/TypeMeta/kind": kind
292585+
"/gkehub:v1beta/UpgradeRolloutSequenceRequest": upgrade_rollout_sequence_request
292586+
"/gkehub:v1beta/UpgradeRolloutSequenceRequest/force": force
292587+
"/gkehub:v1beta/UpgradeRolloutSequenceRequest/upgradeType": upgrade_type
292588+
"/gkehub:v1beta/UpgradeRolloutSequenceRequest/version": version
292573292589
"/gkehub:v1beta/VersionUpgrade": version_upgrade
292574292590
"/gkehub:v1beta/VersionUpgrade/desiredVersion": desired_version
292575292591
"/gkehub:v1beta/VersionUpgrade/type": type
@@ -292794,8 +292810,13 @@
292794292810
"/gkehub:v1beta/gkehub.projects.locations.rolloutSequences.patch": patch_project_location_rollout_sequence
292795292811
"/gkehub:v1beta/gkehub.projects.locations.rolloutSequences.patch/name": name
292796292812
"/gkehub:v1beta/gkehub.projects.locations.rolloutSequences.patch/updateMask": update_mask
292813+
"/gkehub:v1beta/gkehub.projects.locations.rolloutSequences.upgrade": upgrade_rollout_sequence
292814+
"/gkehub:v1beta/gkehub.projects.locations.rolloutSequences.upgrade/name": name
292797292815
"/gkehub:v1beta/gkehub.projects.locations.rollouts.cancel": cancel_rollout
292798292816
"/gkehub:v1beta/gkehub.projects.locations.rollouts.cancel/name": name
292817+
"/gkehub:v1beta/gkehub.projects.locations.rollouts.delete": delete_project_location_rollout
292818+
"/gkehub:v1beta/gkehub.projects.locations.rollouts.delete/name": name
292819+
"/gkehub:v1beta/gkehub.projects.locations.rollouts.delete/requestId": request_id
292799292820
"/gkehub:v1beta/gkehub.projects.locations.rollouts.forceCompleteStage": force_project_location_rollout_complete_stage
292800292821
"/gkehub:v1beta/gkehub.projects.locations.rollouts.forceCompleteStage/name": name
292801292822
"/gkehub:v1beta/gkehub.projects.locations.rollouts.get": get_project_location_rollout

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

3+
### v0.94.0 (2026-06-21)
4+
5+
* Regenerated from discovery document revision 20260616
6+
37
### v0.93.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260529

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

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,13 @@ def update!(**args)
218218
class AutoUpgradeConfig
219219
include Google::Apis::Core::Hashable
220220

221+
# Output only. Mandatory Safety Policies (Always active) which cannot be
222+
# disabled. The key is the policy ID (e.g., "ENFORCED_CONTROL_PLANE_PATCH") and
223+
# the value is a human-readable description.
224+
# Corresponds to the JSON property `enforcedRollouts`
225+
# @return [Hash<String,String>]
226+
attr_accessor :enforced_rollouts
227+
221228
# The scope for automatic rollout creation.
222229
# Corresponds to the JSON property `rolloutCreationScope`
223230
# @return [Google::Apis::GkehubV1beta::RolloutCreationScope]
@@ -229,6 +236,7 @@ def initialize(**args)
229236

230237
# Update properties of this object
231238
def update!(**args)
239+
@enforced_rollouts = args[:enforced_rollouts] if args.key?(:enforced_rollouts)
232240
@rollout_creation_scope = args[:rollout_creation_scope] if args.key?(:rollout_creation_scope)
233241
end
234242
end
@@ -5918,6 +5926,11 @@ class Rollout
59185926
# @return [String]
59195927
attr_accessor :etag
59205928

5929+
# Output only. The intent of the rollout.
5930+
# Corresponds to the JSON property `intent`
5931+
# @return [String]
5932+
attr_accessor :intent
5933+
59215934
# Optional. Labels for this Rollout.
59225935
# Corresponds to the JSON property `labels`
59235936
# @return [Hash<String,String>]
@@ -5964,6 +5977,11 @@ class Rollout
59645977
# @return [String]
59655978
attr_accessor :state_reason_type
59665979

5980+
# Output only. The trigger of the rollout.
5981+
# Corresponds to the JSON property `trigger`
5982+
# @return [String]
5983+
attr_accessor :trigger
5984+
59675985
# Output only. Google-generated UUID for this resource. This is unique across
59685986
# all Rollout resources. If a Rollout resource is deleted and another resource
59695987
# with the same name is created, it gets a different uid.
@@ -5992,6 +6010,7 @@ def update!(**args)
59926010
@delete_time = args[:delete_time] if args.key?(:delete_time)
59936011
@display_name = args[:display_name] if args.key?(:display_name)
59946012
@etag = args[:etag] if args.key?(:etag)
6013+
@intent = args[:intent] if args.key?(:intent)
59956014
@labels = args[:labels] if args.key?(:labels)
59966015
@membership_states = args[:membership_states] if args.key?(:membership_states)
59976016
@name = args[:name] if args.key?(:name)
@@ -6000,6 +6019,7 @@ def update!(**args)
60006019
@state = args[:state] if args.key?(:state)
60016020
@state_reason = args[:state_reason] if args.key?(:state_reason)
60026021
@state_reason_type = args[:state_reason_type] if args.key?(:state_reason_type)
6022+
@trigger = args[:trigger] if args.key?(:trigger)
60036023
@uid = args[:uid] if args.key?(:uid)
60046024
@update_time = args[:update_time] if args.key?(:update_time)
60056025
@version_upgrade = args[:version_upgrade] if args.key?(:version_upgrade)
@@ -6068,6 +6088,11 @@ class RolloutSequence
60686088
# @return [Google::Apis::GkehubV1beta::AutoUpgradeConfig]
60696089
attr_accessor :auto_upgrade_config
60706090

6091+
# Output only. The computed release channel used for the Rollout Sequence.
6092+
# Corresponds to the JSON property `computedReleaseChannel`
6093+
# @return [String]
6094+
attr_accessor :computed_release_channel
6095+
60716096
# Output only. The timestamp at which the Rollout Sequence was created.
60726097
# Corresponds to the JSON property `createTime`
60736098
# @return [String]
@@ -6103,6 +6128,16 @@ class RolloutSequence
61036128
# @return [Hash<String,String>]
61046129
attr_accessor :labels
61056130

6131+
# Output only. The last qualified control plane version.
6132+
# Corresponds to the JSON property `lastQualifiedControlPlaneVersion`
6133+
# @return [String]
6134+
attr_accessor :last_qualified_control_plane_version
6135+
6136+
# Output only. The last qualified node version.
6137+
# Corresponds to the JSON property `lastQualifiedNodeVersion`
6138+
# @return [String]
6139+
attr_accessor :last_qualified_node_version
6140+
61066141
# Identifier. Name of the rollout sequence in the format of: projects/`
61076142
# PROJECT_ID`/locations/global/rolloutSequences/`NAME`
61086143
# Corresponds to the JSON property `name`
@@ -6119,6 +6154,16 @@ class RolloutSequence
61196154
# @return [Array<Google::Apis::GkehubV1beta::Stage>]
61206155
attr_accessor :stages
61216156

6157+
# Output only. The target control plane version of the Rollout Sequence.
6158+
# Corresponds to the JSON property `targetControlPlaneVersion`
6159+
# @return [String]
6160+
attr_accessor :target_control_plane_version
6161+
6162+
# Output only. The target node version of the Rollout Sequence.
6163+
# Corresponds to the JSON property `targetNodeVersion`
6164+
# @return [String]
6165+
attr_accessor :target_node_version
6166+
61226167
# Output only. Google-generated UUID for this resource. This is unique across
61236168
# all Rollout Sequence resources. If a Rollout Sequence resource is deleted and
61246169
# another resource with the same name is created, it gets a different uid.
@@ -6138,16 +6183,21 @@ def initialize(**args)
61386183
# Update properties of this object
61396184
def update!(**args)
61406185
@auto_upgrade_config = args[:auto_upgrade_config] if args.key?(:auto_upgrade_config)
6186+
@computed_release_channel = args[:computed_release_channel] if args.key?(:computed_release_channel)
61416187
@create_time = args[:create_time] if args.key?(:create_time)
61426188
@delete_time = args[:delete_time] if args.key?(:delete_time)
61436189
@display_name = args[:display_name] if args.key?(:display_name)
61446190
@effective_auto_upgrade_config = args[:effective_auto_upgrade_config] if args.key?(:effective_auto_upgrade_config)
61456191
@etag = args[:etag] if args.key?(:etag)
61466192
@ignored_clusters_selector = args[:ignored_clusters_selector] if args.key?(:ignored_clusters_selector)
61476193
@labels = args[:labels] if args.key?(:labels)
6194+
@last_qualified_control_plane_version = args[:last_qualified_control_plane_version] if args.key?(:last_qualified_control_plane_version)
6195+
@last_qualified_node_version = args[:last_qualified_node_version] if args.key?(:last_qualified_node_version)
61486196
@name = args[:name] if args.key?(:name)
61496197
@operational_state = args[:operational_state] if args.key?(:operational_state)
61506198
@stages = args[:stages] if args.key?(:stages)
6199+
@target_control_plane_version = args[:target_control_plane_version] if args.key?(:target_control_plane_version)
6200+
@target_node_version = args[:target_node_version] if args.key?(:target_node_version)
61516201
@uid = args[:uid] if args.key?(:uid)
61526202
@update_time = args[:update_time] if args.key?(:update_time)
61536203
end
@@ -6157,11 +6207,22 @@ def update!(**args)
61576207
class RolloutStage
61586208
include Google::Apis::Core::Hashable
61596209

6210+
# Selector for clusters.
6211+
# Corresponds to the JSON property `clusterSelector`
6212+
# @return [Google::Apis::GkehubV1beta::ClusterSelector]
6213+
attr_accessor :cluster_selector
6214+
61606215
# Optional. Output only. The time at which the stage ended.
61616216
# Corresponds to the JSON property `endTime`
61626217
# @return [String]
61636218
attr_accessor :end_time
61646219

6220+
# Output only. The fleet projects from the sequence that was used to create this
6221+
# stage. Expected format: projects/`project_number`
6222+
# Corresponds to the JSON property `fleetProjects`
6223+
# @return [Array<String>]
6224+
attr_accessor :fleet_projects
6225+
61656226
# Optional. Duration to soak after this stage before starting the next stage.
61666227
# Corresponds to the JSON property `soakDuration`
61676228
# @return [String]
@@ -6188,7 +6249,9 @@ def initialize(**args)
61886249

61896250
# Update properties of this object
61906251
def update!(**args)
6252+
@cluster_selector = args[:cluster_selector] if args.key?(:cluster_selector)
61916253
@end_time = args[:end_time] if args.key?(:end_time)
6254+
@fleet_projects = args[:fleet_projects] if args.key?(:fleet_projects)
61926255
@soak_duration = args[:soak_duration] if args.key?(:soak_duration)
61936256
@stage_number = args[:stage_number] if args.key?(:stage_number)
61946257
@start_time = args[:start_time] if args.key?(:start_time)
@@ -6752,6 +6815,49 @@ def update!(**args)
67526815
end
67536816
end
67546817

6818+
# Request message for upgrading a rollout sequence.
6819+
class UpgradeRolloutSequenceRequest
6820+
include Google::Apis::Core::Hashable
6821+
6822+
# Optional. If set to true, any rollout already running on the first stage of
6823+
# the sequence will be cancelled to allow for the creation of the new rollout.
6824+
# Corresponds to the JSON property `force`
6825+
# @return [Boolean]
6826+
attr_accessor :force
6827+
alias_method :force?, :force
6828+
6829+
# Required. The type of upgrade.
6830+
# Corresponds to the JSON property `upgradeType`
6831+
# @return [String]
6832+
attr_accessor :upgrade_type
6833+
6834+
# Required. GKE version to upgrade to. A valid GKE version available on the
6835+
# release channel used by the sequence. Patch versions from less conservative
6836+
# channels are allowed if their minor version is already available in the
6837+
# sequence's channel. This is similar to single-cluster upgrade rules, see https:
6838+
# //cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster#supported-
6839+
# versions Example: With the following versions available on the RAPID and
6840+
# REGULAR channels: * REGULAR: 1.35.3-gke.123000 * RAPID: 1.36.4-gke.321000, 1.
6841+
# 35.6-gke.045000 Valid versions are 1.35.3-gke.123, 1.35.6-gke.045000 Aliases
6842+
# like `latest` are supported. For more information on valid upgrade versions
6843+
# and specifying cluster versions, see: https://cloud.google.com/kubernetes-
6844+
# engine/versioning#specifying_cluster_version
6845+
# Corresponds to the JSON property `version`
6846+
# @return [String]
6847+
attr_accessor :version
6848+
6849+
def initialize(**args)
6850+
update!(**args)
6851+
end
6852+
6853+
# Update properties of this object
6854+
def update!(**args)
6855+
@force = args[:force] if args.key?(:force)
6856+
@upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
6857+
@version = args[:version] if args.key?(:version)
6858+
end
6859+
end
6860+
67556861
# Config for version upgrade of clusters.
67566862
class VersionUpgrade
67576863
include Google::Apis::Core::Hashable

generated/google-apis-gkehub_v1beta/lib/google/apis/gkehub_v1beta/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 GkehubV1beta
1818
# Version of the google-apis-gkehub_v1beta 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.19.0"
2323

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

0 commit comments

Comments
 (0)