google-apis-gkehub_v1beta 0.93.0 → 0.94.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 284a2284b79af98c92730813b6912068644c65ff698f028ad1dcce904793a464
|
|
4
|
+
data.tar.gz: 3de88d71da2ba7b2ea1aaae3ffc72e19431d473d5ec2b37f6834f62bef261a79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1fefa9cfc136952fd6502861653476861afccf77fb42094f885196606737f597153861cabe3b887bed776913db08e9e7ccc5caccb583d8ac2e8a305f28d0a94
|
|
7
|
+
data.tar.gz: f4fb719d5b5c23025410d1e2c185c9de9a3af0b623935a5dbadeb573914486e3271e61874c09172c64e0660dd55254edaeb9bfa72b3ac23df35b3908bdaa6dd1
|
data/CHANGELOG.md
CHANGED
|
@@ -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)
|
|
@@ -5918,6 +5932,11 @@ module Google
|
|
|
5918
5932
|
# @return [String]
|
|
5919
5933
|
attr_accessor :etag
|
|
5920
5934
|
|
|
5935
|
+
# Output only. The intent of the rollout.
|
|
5936
|
+
# Corresponds to the JSON property `intent`
|
|
5937
|
+
# @return [String]
|
|
5938
|
+
attr_accessor :intent
|
|
5939
|
+
|
|
5921
5940
|
# Optional. Labels for this Rollout.
|
|
5922
5941
|
# Corresponds to the JSON property `labels`
|
|
5923
5942
|
# @return [Hash<String,String>]
|
|
@@ -5964,6 +5983,11 @@ module Google
|
|
|
5964
5983
|
# @return [String]
|
|
5965
5984
|
attr_accessor :state_reason_type
|
|
5966
5985
|
|
|
5986
|
+
# Output only. The trigger of the rollout.
|
|
5987
|
+
# Corresponds to the JSON property `trigger`
|
|
5988
|
+
# @return [String]
|
|
5989
|
+
attr_accessor :trigger
|
|
5990
|
+
|
|
5967
5991
|
# Output only. Google-generated UUID for this resource. This is unique across
|
|
5968
5992
|
# all Rollout resources. If a Rollout resource is deleted and another resource
|
|
5969
5993
|
# with the same name is created, it gets a different uid.
|
|
@@ -5992,6 +6016,7 @@ module Google
|
|
|
5992
6016
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
5993
6017
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
5994
6018
|
@etag = args[:etag] if args.key?(:etag)
|
|
6019
|
+
@intent = args[:intent] if args.key?(:intent)
|
|
5995
6020
|
@labels = args[:labels] if args.key?(:labels)
|
|
5996
6021
|
@membership_states = args[:membership_states] if args.key?(:membership_states)
|
|
5997
6022
|
@name = args[:name] if args.key?(:name)
|
|
@@ -6000,6 +6025,7 @@ module Google
|
|
|
6000
6025
|
@state = args[:state] if args.key?(:state)
|
|
6001
6026
|
@state_reason = args[:state_reason] if args.key?(:state_reason)
|
|
6002
6027
|
@state_reason_type = args[:state_reason_type] if args.key?(:state_reason_type)
|
|
6028
|
+
@trigger = args[:trigger] if args.key?(:trigger)
|
|
6003
6029
|
@uid = args[:uid] if args.key?(:uid)
|
|
6004
6030
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
6005
6031
|
@version_upgrade = args[:version_upgrade] if args.key?(:version_upgrade)
|
|
@@ -6068,6 +6094,11 @@ module Google
|
|
|
6068
6094
|
# @return [Google::Apis::GkehubV1beta::AutoUpgradeConfig]
|
|
6069
6095
|
attr_accessor :auto_upgrade_config
|
|
6070
6096
|
|
|
6097
|
+
# Output only. The computed release channel used for the Rollout Sequence.
|
|
6098
|
+
# Corresponds to the JSON property `computedReleaseChannel`
|
|
6099
|
+
# @return [String]
|
|
6100
|
+
attr_accessor :computed_release_channel
|
|
6101
|
+
|
|
6071
6102
|
# Output only. The timestamp at which the Rollout Sequence was created.
|
|
6072
6103
|
# Corresponds to the JSON property `createTime`
|
|
6073
6104
|
# @return [String]
|
|
@@ -6103,6 +6134,16 @@ module Google
|
|
|
6103
6134
|
# @return [Hash<String,String>]
|
|
6104
6135
|
attr_accessor :labels
|
|
6105
6136
|
|
|
6137
|
+
# Output only. The last qualified control plane version.
|
|
6138
|
+
# Corresponds to the JSON property `lastQualifiedControlPlaneVersion`
|
|
6139
|
+
# @return [String]
|
|
6140
|
+
attr_accessor :last_qualified_control_plane_version
|
|
6141
|
+
|
|
6142
|
+
# Output only. The last qualified node version.
|
|
6143
|
+
# Corresponds to the JSON property `lastQualifiedNodeVersion`
|
|
6144
|
+
# @return [String]
|
|
6145
|
+
attr_accessor :last_qualified_node_version
|
|
6146
|
+
|
|
6106
6147
|
# Identifier. Name of the rollout sequence in the format of: projects/`
|
|
6107
6148
|
# PROJECT_ID`/locations/global/rolloutSequences/`NAME`
|
|
6108
6149
|
# Corresponds to the JSON property `name`
|
|
@@ -6119,6 +6160,16 @@ module Google
|
|
|
6119
6160
|
# @return [Array<Google::Apis::GkehubV1beta::Stage>]
|
|
6120
6161
|
attr_accessor :stages
|
|
6121
6162
|
|
|
6163
|
+
# Output only. The target control plane version of the Rollout Sequence.
|
|
6164
|
+
# Corresponds to the JSON property `targetControlPlaneVersion`
|
|
6165
|
+
# @return [String]
|
|
6166
|
+
attr_accessor :target_control_plane_version
|
|
6167
|
+
|
|
6168
|
+
# Output only. The target node version of the Rollout Sequence.
|
|
6169
|
+
# Corresponds to the JSON property `targetNodeVersion`
|
|
6170
|
+
# @return [String]
|
|
6171
|
+
attr_accessor :target_node_version
|
|
6172
|
+
|
|
6122
6173
|
# Output only. Google-generated UUID for this resource. This is unique across
|
|
6123
6174
|
# all Rollout Sequence resources. If a Rollout Sequence resource is deleted and
|
|
6124
6175
|
# another resource with the same name is created, it gets a different uid.
|
|
@@ -6138,6 +6189,7 @@ module Google
|
|
|
6138
6189
|
# Update properties of this object
|
|
6139
6190
|
def update!(**args)
|
|
6140
6191
|
@auto_upgrade_config = args[:auto_upgrade_config] if args.key?(:auto_upgrade_config)
|
|
6192
|
+
@computed_release_channel = args[:computed_release_channel] if args.key?(:computed_release_channel)
|
|
6141
6193
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
6142
6194
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
6143
6195
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -6145,9 +6197,13 @@ module Google
|
|
|
6145
6197
|
@etag = args[:etag] if args.key?(:etag)
|
|
6146
6198
|
@ignored_clusters_selector = args[:ignored_clusters_selector] if args.key?(:ignored_clusters_selector)
|
|
6147
6199
|
@labels = args[:labels] if args.key?(:labels)
|
|
6200
|
+
@last_qualified_control_plane_version = args[:last_qualified_control_plane_version] if args.key?(:last_qualified_control_plane_version)
|
|
6201
|
+
@last_qualified_node_version = args[:last_qualified_node_version] if args.key?(:last_qualified_node_version)
|
|
6148
6202
|
@name = args[:name] if args.key?(:name)
|
|
6149
6203
|
@operational_state = args[:operational_state] if args.key?(:operational_state)
|
|
6150
6204
|
@stages = args[:stages] if args.key?(:stages)
|
|
6205
|
+
@target_control_plane_version = args[:target_control_plane_version] if args.key?(:target_control_plane_version)
|
|
6206
|
+
@target_node_version = args[:target_node_version] if args.key?(:target_node_version)
|
|
6151
6207
|
@uid = args[:uid] if args.key?(:uid)
|
|
6152
6208
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
6153
6209
|
end
|
|
@@ -6157,11 +6213,22 @@ module Google
|
|
|
6157
6213
|
class RolloutStage
|
|
6158
6214
|
include Google::Apis::Core::Hashable
|
|
6159
6215
|
|
|
6216
|
+
# Selector for clusters.
|
|
6217
|
+
# Corresponds to the JSON property `clusterSelector`
|
|
6218
|
+
# @return [Google::Apis::GkehubV1beta::ClusterSelector]
|
|
6219
|
+
attr_accessor :cluster_selector
|
|
6220
|
+
|
|
6160
6221
|
# Optional. Output only. The time at which the stage ended.
|
|
6161
6222
|
# Corresponds to the JSON property `endTime`
|
|
6162
6223
|
# @return [String]
|
|
6163
6224
|
attr_accessor :end_time
|
|
6164
6225
|
|
|
6226
|
+
# Output only. The fleet projects from the sequence that was used to create this
|
|
6227
|
+
# stage. Expected format: projects/`project_number`
|
|
6228
|
+
# Corresponds to the JSON property `fleetProjects`
|
|
6229
|
+
# @return [Array<String>]
|
|
6230
|
+
attr_accessor :fleet_projects
|
|
6231
|
+
|
|
6165
6232
|
# Optional. Duration to soak after this stage before starting the next stage.
|
|
6166
6233
|
# Corresponds to the JSON property `soakDuration`
|
|
6167
6234
|
# @return [String]
|
|
@@ -6188,7 +6255,9 @@ module Google
|
|
|
6188
6255
|
|
|
6189
6256
|
# Update properties of this object
|
|
6190
6257
|
def update!(**args)
|
|
6258
|
+
@cluster_selector = args[:cluster_selector] if args.key?(:cluster_selector)
|
|
6191
6259
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
6260
|
+
@fleet_projects = args[:fleet_projects] if args.key?(:fleet_projects)
|
|
6192
6261
|
@soak_duration = args[:soak_duration] if args.key?(:soak_duration)
|
|
6193
6262
|
@stage_number = args[:stage_number] if args.key?(:stage_number)
|
|
6194
6263
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
@@ -6486,6 +6555,25 @@ module Google
|
|
|
6486
6555
|
end
|
|
6487
6556
|
end
|
|
6488
6557
|
|
|
6558
|
+
# **Service Mesh**: Spec for the fleet for the servicemesh feature
|
|
6559
|
+
class ServiceMeshFeatureSpec
|
|
6560
|
+
include Google::Apis::Core::Hashable
|
|
6561
|
+
|
|
6562
|
+
# Optional. Specifies modernization compatibility for the fleet.
|
|
6563
|
+
# Corresponds to the JSON property `modernizationCompatibility`
|
|
6564
|
+
# @return [String]
|
|
6565
|
+
attr_accessor :modernization_compatibility
|
|
6566
|
+
|
|
6567
|
+
def initialize(**args)
|
|
6568
|
+
update!(**args)
|
|
6569
|
+
end
|
|
6570
|
+
|
|
6571
|
+
# Update properties of this object
|
|
6572
|
+
def update!(**args)
|
|
6573
|
+
@modernization_compatibility = args[:modernization_compatibility] if args.key?(:modernization_compatibility)
|
|
6574
|
+
end
|
|
6575
|
+
end
|
|
6576
|
+
|
|
6489
6577
|
# **Service Mesh**: Spec for a single Membership for the servicemesh feature
|
|
6490
6578
|
class ServiceMeshMembershipSpec
|
|
6491
6579
|
include Google::Apis::Core::Hashable
|
|
@@ -6752,6 +6840,49 @@ module Google
|
|
|
6752
6840
|
end
|
|
6753
6841
|
end
|
|
6754
6842
|
|
|
6843
|
+
# Request message for upgrading a rollout sequence.
|
|
6844
|
+
class UpgradeRolloutSequenceRequest
|
|
6845
|
+
include Google::Apis::Core::Hashable
|
|
6846
|
+
|
|
6847
|
+
# Optional. If set to true, any rollout already running on the first stage of
|
|
6848
|
+
# the sequence will be cancelled to allow for the creation of the new rollout.
|
|
6849
|
+
# Corresponds to the JSON property `force`
|
|
6850
|
+
# @return [Boolean]
|
|
6851
|
+
attr_accessor :force
|
|
6852
|
+
alias_method :force?, :force
|
|
6853
|
+
|
|
6854
|
+
# Required. The type of upgrade.
|
|
6855
|
+
# Corresponds to the JSON property `upgradeType`
|
|
6856
|
+
# @return [String]
|
|
6857
|
+
attr_accessor :upgrade_type
|
|
6858
|
+
|
|
6859
|
+
# Required. GKE version to upgrade to. A valid GKE version available on the
|
|
6860
|
+
# release channel used by the sequence. Patch versions from less conservative
|
|
6861
|
+
# channels are allowed if their minor version is already available in the
|
|
6862
|
+
# sequence's channel. This is similar to single-cluster upgrade rules, see https:
|
|
6863
|
+
# //cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster#supported-
|
|
6864
|
+
# versions Example: With the following versions available on the RAPID and
|
|
6865
|
+
# REGULAR channels: * REGULAR: 1.35.3-gke.123000 * RAPID: 1.36.4-gke.321000, 1.
|
|
6866
|
+
# 35.6-gke.045000 Valid versions are 1.35.3-gke.123, 1.35.6-gke.045000 Aliases
|
|
6867
|
+
# like `latest` are supported. For more information on valid upgrade versions
|
|
6868
|
+
# and specifying cluster versions, see: https://cloud.google.com/kubernetes-
|
|
6869
|
+
# engine/versioning#specifying_cluster_version
|
|
6870
|
+
# Corresponds to the JSON property `version`
|
|
6871
|
+
# @return [String]
|
|
6872
|
+
attr_accessor :version
|
|
6873
|
+
|
|
6874
|
+
def initialize(**args)
|
|
6875
|
+
update!(**args)
|
|
6876
|
+
end
|
|
6877
|
+
|
|
6878
|
+
# Update properties of this object
|
|
6879
|
+
def update!(**args)
|
|
6880
|
+
@force = args[:force] if args.key?(:force)
|
|
6881
|
+
@upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
|
|
6882
|
+
@version = args[:version] if args.key?(:version)
|
|
6883
|
+
end
|
|
6884
|
+
end
|
|
6885
|
+
|
|
6755
6886
|
# Config for version upgrade of clusters.
|
|
6756
6887
|
class VersionUpgrade
|
|
6757
6888
|
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.
|
|
19
|
+
GEM_VERSION = "0.94.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 = "
|
|
25
|
+
REVISION = "20260623"
|
|
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,13 @@ 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
|
+
end
|
|
3011
|
+
end
|
|
3012
|
+
|
|
2981
3013
|
class ServiceMeshMembershipSpec
|
|
2982
3014
|
# @private
|
|
2983
3015
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3056,6 +3088,15 @@ module Google
|
|
|
3056
3088
|
end
|
|
3057
3089
|
end
|
|
3058
3090
|
|
|
3091
|
+
class UpgradeRolloutSequenceRequest
|
|
3092
|
+
# @private
|
|
3093
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3094
|
+
property :force, as: 'force'
|
|
3095
|
+
property :upgrade_type, as: 'upgradeType'
|
|
3096
|
+
property :version, as: 'version'
|
|
3097
|
+
end
|
|
3098
|
+
end
|
|
3099
|
+
|
|
3059
3100
|
class VersionUpgrade
|
|
3060
3101
|
# @private
|
|
3061
3102
|
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
|
-
#
|
|
1886
|
-
#
|
|
1887
|
-
#
|
|
1888
|
-
#
|
|
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.
|
|
4
|
+
version: 0.94.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta/v0.94.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:
|