@@ -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
0 commit comments