google-apis-gkehub_v1beta 0.93.0 → 0.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5e6de1072599fe9a022e7c6b530b540817f0fb15bb713e72306e056c65a5fd4
4
- data.tar.gz: dd2252b497b9d8bd8bfe3ce698ed15c254b294bb1e057ed11731611a7aa5cf5b
3
+ metadata.gz: d0b861aa90b7898c076c7d631612a4c7721053c246af72738a702dbded96a910
4
+ data.tar.gz: 7e988b01bb599db7676346016977227fe6673f3c5bbd25a743deec16900c32b8
5
5
  SHA512:
6
- metadata.gz: 7b0906367d4cb8a9d7c0d01bacfaa36b33ca8d50e22c612ca78e2e949f209115752ac3570d8b10bf3b52c62d881099c3ecab412c9cab85f26cdb79c2845e51f0
7
- data.tar.gz: 3506a5033dd55913354747d056257cc605b55c0514d9119cf0844816a00c51a85ba87c40811bc0284551d85aa159431e1583e914dd27a72e679125b71063c87f
6
+ metadata.gz: ee5be400fce30b8eaad1f66a5389113b44a4fce44a1dba5fb3b78bfd1907e871abe5fa1e1dad9aef690719f82f8388ad03c047e9d61d1588116724ad2364c3bf
7
+ data.tar.gz: 2a4958eb3270985bd4a60a47d147493b279e8c9114442a62a7ea0df74eabb7449402fe2f84a6a633bee2af074b2e5392912a27c77f36b179ee956db61650a1c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1beta
2
2
 
3
+ ### v0.95.0 (2026-07-26)
4
+
5
+ * Regenerated from discovery document revision 20260719
6
+
7
+ ### v0.94.0 (2026-06-28)
8
+
9
+ * Regenerated from discovery document revision 20260623
10
+
3
11
  ### v0.93.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260529
@@ -218,6 +218,13 @@ module Google
218
218
  class AutoUpgradeConfig
219
219
  include Google::Apis::Core::Hashable
220
220
 
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
+
221
228
  # The scope for automatic rollout creation.
222
229
  # Corresponds to the JSON property `rolloutCreationScope`
223
230
  # @return [Google::Apis::GkehubV1beta::RolloutCreationScope]
@@ -229,6 +236,7 @@ module Google
229
236
 
230
237
  # Update properties of this object
231
238
  def update!(**args)
239
+ @enforced_rollouts = args[:enforced_rollouts] if args.key?(:enforced_rollouts)
232
240
  @rollout_creation_scope = args[:rollout_creation_scope] if args.key?(:rollout_creation_scope)
233
241
  end
234
242
  end
@@ -781,6 +789,11 @@ module Google
781
789
  # @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureSpec]
782
790
  attr_accessor :fleetobservability
783
791
 
792
+ # **Service Mesh**: Spec for the fleet for the servicemesh feature
793
+ # Corresponds to the JSON property `mesh`
794
+ # @return [Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec]
795
+ attr_accessor :mesh
796
+
784
797
  # **Multi-cluster Ingress**: The configuration for the MultiClusterIngress
785
798
  # feature.
786
799
  # Corresponds to the JSON property `multiclusteringress`
@@ -808,6 +821,7 @@ module Google
808
821
  @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
809
822
  @dataplanev2 = args[:dataplanev2] if args.key?(:dataplanev2)
810
823
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
824
+ @mesh = args[:mesh] if args.key?(:mesh)
811
825
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
812
826
  @rbacrolebindingactuation = args[:rbacrolebindingactuation] if args.key?(:rbacrolebindingactuation)
813
827
  @workloadidentity = args[:workloadidentity] if args.key?(:workloadidentity)
@@ -1733,8 +1747,11 @@ module Google
1733
1747
  # @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
1734
1748
  attr_accessor :hierarchy_controller
1735
1749
 
1736
- # Optional. Deprecated: From version 1.21.0, automatic Feature management is
1737
- # unavailable, and Config Sync only supports manual upgrades.
1750
+ # Optional. Deprecated: Automatic Feature management is in Preview and is
1751
+ # unavailable in version 1.21.0 and later, after which Config Sync only supports
1752
+ # manual upgrades. If set to manual upgrades, clear this field instead, which is
1753
+ # behaviorally equivalent but helps prevent compatibility issues with newer
1754
+ # fields.
1738
1755
  # Corresponds to the JSON property `management`
1739
1756
  # @return [String]
1740
1757
  attr_accessor :management
@@ -5918,6 +5935,11 @@ module Google
5918
5935
  # @return [String]
5919
5936
  attr_accessor :etag
5920
5937
 
5938
+ # Output only. The intent of the rollout.
5939
+ # Corresponds to the JSON property `intent`
5940
+ # @return [String]
5941
+ attr_accessor :intent
5942
+
5921
5943
  # Optional. Labels for this Rollout.
5922
5944
  # Corresponds to the JSON property `labels`
5923
5945
  # @return [Hash<String,String>]
@@ -5964,6 +5986,11 @@ module Google
5964
5986
  # @return [String]
5965
5987
  attr_accessor :state_reason_type
5966
5988
 
5989
+ # Output only. The trigger of the rollout.
5990
+ # Corresponds to the JSON property `trigger`
5991
+ # @return [String]
5992
+ attr_accessor :trigger
5993
+
5967
5994
  # Output only. Google-generated UUID for this resource. This is unique across
5968
5995
  # all Rollout resources. If a Rollout resource is deleted and another resource
5969
5996
  # with the same name is created, it gets a different uid.
@@ -5992,6 +6019,7 @@ module Google
5992
6019
  @delete_time = args[:delete_time] if args.key?(:delete_time)
5993
6020
  @display_name = args[:display_name] if args.key?(:display_name)
5994
6021
  @etag = args[:etag] if args.key?(:etag)
6022
+ @intent = args[:intent] if args.key?(:intent)
5995
6023
  @labels = args[:labels] if args.key?(:labels)
5996
6024
  @membership_states = args[:membership_states] if args.key?(:membership_states)
5997
6025
  @name = args[:name] if args.key?(:name)
@@ -6000,6 +6028,7 @@ module Google
6000
6028
  @state = args[:state] if args.key?(:state)
6001
6029
  @state_reason = args[:state_reason] if args.key?(:state_reason)
6002
6030
  @state_reason_type = args[:state_reason_type] if args.key?(:state_reason_type)
6031
+ @trigger = args[:trigger] if args.key?(:trigger)
6003
6032
  @uid = args[:uid] if args.key?(:uid)
6004
6033
  @update_time = args[:update_time] if args.key?(:update_time)
6005
6034
  @version_upgrade = args[:version_upgrade] if args.key?(:version_upgrade)
@@ -6068,6 +6097,11 @@ module Google
6068
6097
  # @return [Google::Apis::GkehubV1beta::AutoUpgradeConfig]
6069
6098
  attr_accessor :auto_upgrade_config
6070
6099
 
6100
+ # Output only. The computed release channel used for the Rollout Sequence.
6101
+ # Corresponds to the JSON property `computedReleaseChannel`
6102
+ # @return [String]
6103
+ attr_accessor :computed_release_channel
6104
+
6071
6105
  # Output only. The timestamp at which the Rollout Sequence was created.
6072
6106
  # Corresponds to the JSON property `createTime`
6073
6107
  # @return [String]
@@ -6103,6 +6137,16 @@ module Google
6103
6137
  # @return [Hash<String,String>]
6104
6138
  attr_accessor :labels
6105
6139
 
6140
+ # Output only. The last qualified control plane version.
6141
+ # Corresponds to the JSON property `lastQualifiedControlPlaneVersion`
6142
+ # @return [String]
6143
+ attr_accessor :last_qualified_control_plane_version
6144
+
6145
+ # Output only. The last qualified node version.
6146
+ # Corresponds to the JSON property `lastQualifiedNodeVersion`
6147
+ # @return [String]
6148
+ attr_accessor :last_qualified_node_version
6149
+
6106
6150
  # Identifier. Name of the rollout sequence in the format of: projects/`
6107
6151
  # PROJECT_ID`/locations/global/rolloutSequences/`NAME`
6108
6152
  # Corresponds to the JSON property `name`
@@ -6119,6 +6163,16 @@ module Google
6119
6163
  # @return [Array<Google::Apis::GkehubV1beta::Stage>]
6120
6164
  attr_accessor :stages
6121
6165
 
6166
+ # Output only. The target control plane version of the Rollout Sequence.
6167
+ # Corresponds to the JSON property `targetControlPlaneVersion`
6168
+ # @return [String]
6169
+ attr_accessor :target_control_plane_version
6170
+
6171
+ # Output only. The target node version of the Rollout Sequence.
6172
+ # Corresponds to the JSON property `targetNodeVersion`
6173
+ # @return [String]
6174
+ attr_accessor :target_node_version
6175
+
6122
6176
  # Output only. Google-generated UUID for this resource. This is unique across
6123
6177
  # all Rollout Sequence resources. If a Rollout Sequence resource is deleted and
6124
6178
  # another resource with the same name is created, it gets a different uid.
@@ -6138,6 +6192,7 @@ module Google
6138
6192
  # Update properties of this object
6139
6193
  def update!(**args)
6140
6194
  @auto_upgrade_config = args[:auto_upgrade_config] if args.key?(:auto_upgrade_config)
6195
+ @computed_release_channel = args[:computed_release_channel] if args.key?(:computed_release_channel)
6141
6196
  @create_time = args[:create_time] if args.key?(:create_time)
6142
6197
  @delete_time = args[:delete_time] if args.key?(:delete_time)
6143
6198
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -6145,9 +6200,13 @@ module Google
6145
6200
  @etag = args[:etag] if args.key?(:etag)
6146
6201
  @ignored_clusters_selector = args[:ignored_clusters_selector] if args.key?(:ignored_clusters_selector)
6147
6202
  @labels = args[:labels] if args.key?(:labels)
6203
+ @last_qualified_control_plane_version = args[:last_qualified_control_plane_version] if args.key?(:last_qualified_control_plane_version)
6204
+ @last_qualified_node_version = args[:last_qualified_node_version] if args.key?(:last_qualified_node_version)
6148
6205
  @name = args[:name] if args.key?(:name)
6149
6206
  @operational_state = args[:operational_state] if args.key?(:operational_state)
6150
6207
  @stages = args[:stages] if args.key?(:stages)
6208
+ @target_control_plane_version = args[:target_control_plane_version] if args.key?(:target_control_plane_version)
6209
+ @target_node_version = args[:target_node_version] if args.key?(:target_node_version)
6151
6210
  @uid = args[:uid] if args.key?(:uid)
6152
6211
  @update_time = args[:update_time] if args.key?(:update_time)
6153
6212
  end
@@ -6157,11 +6216,22 @@ module Google
6157
6216
  class RolloutStage
6158
6217
  include Google::Apis::Core::Hashable
6159
6218
 
6219
+ # Selector for clusters.
6220
+ # Corresponds to the JSON property `clusterSelector`
6221
+ # @return [Google::Apis::GkehubV1beta::ClusterSelector]
6222
+ attr_accessor :cluster_selector
6223
+
6160
6224
  # Optional. Output only. The time at which the stage ended.
6161
6225
  # Corresponds to the JSON property `endTime`
6162
6226
  # @return [String]
6163
6227
  attr_accessor :end_time
6164
6228
 
6229
+ # Output only. The fleet projects from the sequence that was used to create this
6230
+ # stage. Expected format: projects/`project_number`
6231
+ # Corresponds to the JSON property `fleetProjects`
6232
+ # @return [Array<String>]
6233
+ attr_accessor :fleet_projects
6234
+
6165
6235
  # Optional. Duration to soak after this stage before starting the next stage.
6166
6236
  # Corresponds to the JSON property `soakDuration`
6167
6237
  # @return [String]
@@ -6188,7 +6258,9 @@ module Google
6188
6258
 
6189
6259
  # Update properties of this object
6190
6260
  def update!(**args)
6261
+ @cluster_selector = args[:cluster_selector] if args.key?(:cluster_selector)
6191
6262
  @end_time = args[:end_time] if args.key?(:end_time)
6263
+ @fleet_projects = args[:fleet_projects] if args.key?(:fleet_projects)
6192
6264
  @soak_duration = args[:soak_duration] if args.key?(:soak_duration)
6193
6265
  @stage_number = args[:stage_number] if args.key?(:stage_number)
6194
6266
  @start_time = args[:start_time] if args.key?(:start_time)
@@ -6486,6 +6558,31 @@ module Google
6486
6558
  end
6487
6559
  end
6488
6560
 
6561
+ # **Service Mesh**: Spec for the fleet for the servicemesh feature
6562
+ class ServiceMeshFeatureSpec
6563
+ include Google::Apis::Core::Hashable
6564
+
6565
+ # Optional. Specifies modernization compatibility for the fleet.
6566
+ # Corresponds to the JSON property `modernizationCompatibility`
6567
+ # @return [String]
6568
+ attr_accessor :modernization_compatibility
6569
+
6570
+ # Optional. Declares your intended modernization strategy for the fleet.
6571
+ # Corresponds to the JSON property `modernizationStrategy`
6572
+ # @return [String]
6573
+ attr_accessor :modernization_strategy
6574
+
6575
+ def initialize(**args)
6576
+ update!(**args)
6577
+ end
6578
+
6579
+ # Update properties of this object
6580
+ def update!(**args)
6581
+ @modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility)
6582
+ @modernization_strategy = args[:modernization_strategy] if args.key?(:modernization_strategy)
6583
+ end
6584
+ end
6585
+
6489
6586
  # **Service Mesh**: Spec for a single Membership for the servicemesh feature
6490
6587
  class ServiceMeshMembershipSpec
6491
6588
  include Google::Apis::Core::Hashable
@@ -6752,6 +6849,49 @@ module Google
6752
6849
  end
6753
6850
  end
6754
6851
 
6852
+ # Request message for upgrading a rollout sequence.
6853
+ class UpgradeRolloutSequenceRequest
6854
+ include Google::Apis::Core::Hashable
6855
+
6856
+ # Optional. If set to true, any rollout already running on the first stage of
6857
+ # the sequence will be cancelled to allow for the creation of the new rollout.
6858
+ # Corresponds to the JSON property `force`
6859
+ # @return [Boolean]
6860
+ attr_accessor :force
6861
+ alias_method :force?, :force
6862
+
6863
+ # Required. The type of upgrade.
6864
+ # Corresponds to the JSON property `upgradeType`
6865
+ # @return [String]
6866
+ attr_accessor :upgrade_type
6867
+
6868
+ # Required. GKE version to upgrade to. A valid GKE version available on the
6869
+ # release channel used by the sequence. Patch versions from less conservative
6870
+ # channels are allowed if their minor version is already available in the
6871
+ # sequence's channel. This is similar to single-cluster upgrade rules, see https:
6872
+ # //cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster#supported-
6873
+ # versions Example: With the following versions available on the RAPID and
6874
+ # REGULAR channels: * REGULAR: 1.35.3-gke.123000 * RAPID: 1.36.4-gke.321000, 1.
6875
+ # 35.6-gke.045000 Valid versions are 1.35.3-gke.123, 1.35.6-gke.045000 Aliases
6876
+ # like `latest` are supported. For more information on valid upgrade versions
6877
+ # and specifying cluster versions, see: https://cloud.google.com/kubernetes-
6878
+ # engine/versioning#specifying_cluster_version
6879
+ # Corresponds to the JSON property `version`
6880
+ # @return [String]
6881
+ attr_accessor :version
6882
+
6883
+ def initialize(**args)
6884
+ update!(**args)
6885
+ end
6886
+
6887
+ # Update properties of this object
6888
+ def update!(**args)
6889
+ @force = args[:force] if args.key?(:force)
6890
+ @upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
6891
+ @version = args[:version] if args.key?(:version)
6892
+ end
6893
+ end
6894
+
6755
6895
  # Config for version upgrade of clusters.
6756
6896
  class VersionUpgrade
6757
6897
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.93.0"
19
+ GEM_VERSION = "0.95.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260529"
25
+ REVISION = "20260719"
26
26
  end
27
27
  end
28
28
  end
@@ -1066,6 +1066,12 @@ module Google
1066
1066
  include Google::Apis::Core::JsonObjectSupport
1067
1067
  end
1068
1068
 
1069
+ class ServiceMeshFeatureSpec
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
1069
1075
  class ServiceMeshMembershipSpec
1070
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
1071
1077
 
@@ -1120,6 +1126,12 @@ module Google
1120
1126
  include Google::Apis::Core::JsonObjectSupport
1121
1127
  end
1122
1128
 
1129
+ class UpgradeRolloutSequenceRequest
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
1123
1135
  class VersionUpgrade
1124
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
1125
1137
 
@@ -1215,6 +1227,7 @@ module Google
1215
1227
  class AutoUpgradeConfig
1216
1228
  # @private
1217
1229
  class Representation < Google::Apis::Core::JsonRepresentation
1230
+ hash :enforced_rollouts, as: 'enforcedRollouts'
1218
1231
  property :rollout_creation_scope, as: 'rolloutCreationScope', class: Google::Apis::GkehubV1beta::RolloutCreationScope, decorator: Google::Apis::GkehubV1beta::RolloutCreationScope::Representation
1219
1232
 
1220
1233
  end
@@ -1384,6 +1397,8 @@ module Google
1384
1397
 
1385
1398
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1beta::FleetObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1beta::FleetObservabilityFeatureSpec::Representation
1386
1399
 
1400
+ property :mesh, as: 'mesh', class: Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec, decorator: Google::Apis::GkehubV1beta::ServiceMeshFeatureSpec::Representation
1401
+
1387
1402
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1beta::MultiClusterIngressFeatureSpec::Representation
1388
1403
 
1389
1404
  property :rbacrolebindingactuation, as: 'rbacrolebindingactuation', class: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureSpec, decorator: Google::Apis::GkehubV1beta::RbacRoleBindingActuationFeatureSpec::Representation
@@ -2825,6 +2840,7 @@ module Google
2825
2840
  property :delete_time, as: 'deleteTime'
2826
2841
  property :display_name, as: 'displayName'
2827
2842
  property :etag, as: 'etag'
2843
+ property :intent, as: 'intent'
2828
2844
  hash :labels, as: 'labels'
2829
2845
  hash :membership_states, as: 'membershipStates', class: Google::Apis::GkehubV1beta::RolloutMembershipState, decorator: Google::Apis::GkehubV1beta::RolloutMembershipState::Representation
2830
2846
 
@@ -2835,6 +2851,7 @@ module Google
2835
2851
  property :state, as: 'state'
2836
2852
  property :state_reason, as: 'stateReason'
2837
2853
  property :state_reason_type, as: 'stateReasonType'
2854
+ property :trigger, as: 'trigger'
2838
2855
  property :uid, as: 'uid'
2839
2856
  property :update_time, as: 'updateTime'
2840
2857
  property :version_upgrade, as: 'versionUpgrade', class: Google::Apis::GkehubV1beta::VersionUpgrade, decorator: Google::Apis::GkehubV1beta::VersionUpgrade::Representation
@@ -2864,6 +2881,7 @@ module Google
2864
2881
  class Representation < Google::Apis::Core::JsonRepresentation
2865
2882
  property :auto_upgrade_config, as: 'autoUpgradeConfig', class: Google::Apis::GkehubV1beta::AutoUpgradeConfig, decorator: Google::Apis::GkehubV1beta::AutoUpgradeConfig::Representation
2866
2883
 
2884
+ property :computed_release_channel, as: 'computedReleaseChannel'
2867
2885
  property :create_time, as: 'createTime'
2868
2886
  property :delete_time, as: 'deleteTime'
2869
2887
  property :display_name, as: 'displayName'
@@ -2873,11 +2891,15 @@ module Google
2873
2891
  property :ignored_clusters_selector, as: 'ignoredClustersSelector', class: Google::Apis::GkehubV1beta::ClusterSelector, decorator: Google::Apis::GkehubV1beta::ClusterSelector::Representation
2874
2892
 
2875
2893
  hash :labels, as: 'labels'
2894
+ property :last_qualified_control_plane_version, as: 'lastQualifiedControlPlaneVersion'
2895
+ property :last_qualified_node_version, as: 'lastQualifiedNodeVersion'
2876
2896
  property :name, as: 'name'
2877
2897
  property :operational_state, as: 'operationalState', class: Google::Apis::GkehubV1beta::OperationalState, decorator: Google::Apis::GkehubV1beta::OperationalState::Representation
2878
2898
 
2879
2899
  collection :stages, as: 'stages', class: Google::Apis::GkehubV1beta::Stage, decorator: Google::Apis::GkehubV1beta::Stage::Representation
2880
2900
 
2901
+ property :target_control_plane_version, as: 'targetControlPlaneVersion'
2902
+ property :target_node_version, as: 'targetNodeVersion'
2881
2903
  property :uid, as: 'uid'
2882
2904
  property :update_time, as: 'updateTime'
2883
2905
  end
@@ -2886,7 +2908,10 @@ module Google
2886
2908
  class RolloutStage
2887
2909
  # @private
2888
2910
  class Representation < Google::Apis::Core::JsonRepresentation
2911
+ property :cluster_selector, as: 'clusterSelector', class: Google::Apis::GkehubV1beta::ClusterSelector, decorator: Google::Apis::GkehubV1beta::ClusterSelector::Representation
2912
+
2889
2913
  property :end_time, as: 'endTime'
2914
+ collection :fleet_projects, as: 'fleetProjects'
2890
2915
  property :soak_duration, as: 'soakDuration'
2891
2916
  property :stage_number, as: 'stageNumber'
2892
2917
  property :start_time, as: 'startTime'
@@ -2978,6 +3003,14 @@ module Google
2978
3003
  end
2979
3004
  end
2980
3005
 
3006
+ class ServiceMeshFeatureSpec
3007
+ # @private
3008
+ class Representation < Google::Apis::Core::JsonRepresentation
3009
+ property :modernization_compatibility, as: 'modernizationCompatibility'
3010
+ property :modernization_strategy, as: 'modernizationStrategy'
3011
+ end
3012
+ end
3013
+
2981
3014
  class ServiceMeshMembershipSpec
2982
3015
  # @private
2983
3016
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3056,6 +3089,15 @@ module Google
3056
3089
  end
3057
3090
  end
3058
3091
 
3092
+ class UpgradeRolloutSequenceRequest
3093
+ # @private
3094
+ class Representation < Google::Apis::Core::JsonRepresentation
3095
+ property :force, as: 'force'
3096
+ property :upgrade_type, as: 'upgradeType'
3097
+ property :version, as: 'version'
3098
+ end
3099
+ end
3100
+
3059
3101
  class VersionUpgrade
3060
3102
  # @private
3061
3103
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1882,10 +1882,42 @@ module Google
1882
1882
  execute_or_queue_command(command, &block)
1883
1883
  end
1884
1884
 
1885
- # Cancels a paused Rollout. The rollout will not be started on new clusters,
1886
- # however the rollout running on the cluster will be allowed to finish. It's
1887
- # only valid to cancel a paused rollout, otherwise it will return a
1888
- # FAILED_PRECONDITION error.
1885
+ # Upgrades a rollout sequence.
1886
+ # @param [String] name
1887
+ # Required. The name of the rollout sequence. Format: projects/`project`/
1888
+ # locations/`location`/rolloutSequences/`rollout_sequence`
1889
+ # @param [Google::Apis::GkehubV1beta::UpgradeRolloutSequenceRequest] upgrade_rollout_sequence_request_object
1890
+ # @param [String] fields
1891
+ # Selector specifying which fields to include in a partial response.
1892
+ # @param [String] quota_user
1893
+ # Available to use for quota purposes for server-side applications. Can be any
1894
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1895
+ # @param [Google::Apis::RequestOptions] options
1896
+ # Request-specific options
1897
+ #
1898
+ # @yield [result, err] Result & error if block supplied
1899
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
1900
+ # @yieldparam err [StandardError] error object if request failed
1901
+ #
1902
+ # @return [Google::Apis::GkehubV1beta::Operation]
1903
+ #
1904
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1905
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1906
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1907
+ def upgrade_rollout_sequence(name, upgrade_rollout_sequence_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1908
+ command = make_simple_command(:post, 'v1beta/{+name}:upgrade', options)
1909
+ command.request_representation = Google::Apis::GkehubV1beta::UpgradeRolloutSequenceRequest::Representation
1910
+ command.request_object = upgrade_rollout_sequence_request_object
1911
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
1912
+ command.response_class = Google::Apis::GkehubV1beta::Operation
1913
+ command.params['name'] = name unless name.nil?
1914
+ command.query['fields'] = fields unless fields.nil?
1915
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1916
+ execute_or_queue_command(command, &block)
1917
+ end
1918
+
1919
+ # Cancels a Rollout. The rollout will not be started on new clusters, however
1920
+ # the rollout running on the cluster will be allowed to finish.
1889
1921
  # @param [String] name
1890
1922
  # Required. The name of the rollout to cancel. projects/`project`/locations/`
1891
1923
  # location`/rollouts/`rollout`
@@ -1919,6 +1951,49 @@ module Google
1919
1951
  execute_or_queue_command(command, &block)
1920
1952
  end
1921
1953
 
1954
+ # Removes a Rollout.
1955
+ # @param [String] name
1956
+ # Required. The name of the rollout to delete. projects/`project`/locations/`
1957
+ # location`/rollouts/`rollout`
1958
+ # @param [String] request_id
1959
+ # Optional. A request ID to identify requests. Specify a unique request ID so
1960
+ # that if you must retry your request, the server will know to ignore the
1961
+ # request if it has already been completed. The server will guarantee that for
1962
+ # at least 60 minutes after the first request. For example, consider a situation
1963
+ # where you make an initial request and the request times out. If you make the
1964
+ # request again with the same request ID, the server can check if original
1965
+ # operation with the same request ID was received, and if so, will ignore the
1966
+ # second request. This prevents clients from accidentally creating duplicate
1967
+ # commitments. The request ID must be a valid UUID with the exception that zero
1968
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
1969
+ # @param [String] fields
1970
+ # Selector specifying which fields to include in a partial response.
1971
+ # @param [String] quota_user
1972
+ # Available to use for quota purposes for server-side applications. Can be any
1973
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1974
+ # @param [Google::Apis::RequestOptions] options
1975
+ # Request-specific options
1976
+ #
1977
+ # @yield [result, err] Result & error if block supplied
1978
+ # @yieldparam result [Google::Apis::GkehubV1beta::Operation] parsed result object
1979
+ # @yieldparam err [StandardError] error object if request failed
1980
+ #
1981
+ # @return [Google::Apis::GkehubV1beta::Operation]
1982
+ #
1983
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1984
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1985
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1986
+ def delete_project_location_rollout(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1987
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1988
+ command.response_representation = Google::Apis::GkehubV1beta::Operation::Representation
1989
+ command.response_class = Google::Apis::GkehubV1beta::Operation
1990
+ command.params['name'] = name unless name.nil?
1991
+ command.query['requestId'] = request_id unless request_id.nil?
1992
+ command.query['fields'] = fields unless fields.nil?
1993
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1994
+ execute_or_queue_command(command, &block)
1995
+ end
1996
+
1922
1997
  # Force-completes a rollout stage. Only the active stage of an active rollout
1923
1998
  # can be force-completed.
1924
1999
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.95.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.93.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.95.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: