google-apis-gkehub_v1beta 0.97.0 → 0.98.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: dd13bf36804b7042b0217d8997b08f7291b76d04dfed523e7a82f97eff354a03
|
|
4
|
+
data.tar.gz: d5ffb5dde7cdf9df73e3e50a5f14149c4d1f2a1e9fd3a05ee00246d316154610
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e530753ba7ce638a3012fbe8089e82a30e0cc3da4e0ef3457667a464826f5e1a2ad6d98196f54fd6de8e2e66aabb385d9fc73200c02fe1daef254eccb24955b7
|
|
7
|
+
data.tar.gz: 1ae61ae9f83aeca6cf014558fa205dc8cb754d2593e714e61976b52f2927ade96321503c05ba5702d095786a212ce0fd9e89ad38c8c9703b6464104059507252
|
data/CHANGELOG.md
CHANGED
|
@@ -5114,6 +5114,28 @@ module Google
|
|
|
5114
5114
|
end
|
|
5115
5115
|
end
|
|
5116
5116
|
|
|
5117
|
+
# Configuration for per-stage soak duration overrides.
|
|
5118
|
+
class PerStageSoakDurationOverrides
|
|
5119
|
+
include Google::Apis::Core::Hashable
|
|
5120
|
+
|
|
5121
|
+
# Required. A mapping of stage numbers to their respective desired soak
|
|
5122
|
+
# durations. Key is the stage number, value is the desired soak duration. Stages
|
|
5123
|
+
# omitted from the map will receive the standard soak duration configured on the
|
|
5124
|
+
# sequence for that stage.
|
|
5125
|
+
# Corresponds to the JSON property `stageOverrides`
|
|
5126
|
+
# @return [Hash<String,String>]
|
|
5127
|
+
attr_accessor :stage_overrides
|
|
5128
|
+
|
|
5129
|
+
def initialize(**args)
|
|
5130
|
+
update!(**args)
|
|
5131
|
+
end
|
|
5132
|
+
|
|
5133
|
+
# Update properties of this object
|
|
5134
|
+
def update!(**args)
|
|
5135
|
+
@stage_overrides = args[:stage_overrides] if args.key?(:stage_overrides)
|
|
5136
|
+
end
|
|
5137
|
+
end
|
|
5138
|
+
|
|
5117
5139
|
# An Identity and Access Management (IAM) policy, which specifies access
|
|
5118
5140
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
|
5119
5141
|
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
|
@@ -5942,6 +5964,20 @@ module Google
|
|
|
5942
5964
|
# @return [String]
|
|
5943
5965
|
attr_accessor :etag
|
|
5944
5966
|
|
|
5967
|
+
# Optional. If set to true, the rollout will ignore the disruption budgets of
|
|
5968
|
+
# the clusters.
|
|
5969
|
+
# Corresponds to the JSON property `ignoreClusterDisruptionBudgets`
|
|
5970
|
+
# @return [Boolean]
|
|
5971
|
+
attr_accessor :ignore_cluster_disruption_budgets
|
|
5972
|
+
alias_method :ignore_cluster_disruption_budgets?, :ignore_cluster_disruption_budgets
|
|
5973
|
+
|
|
5974
|
+
# Optional. If set to true, the rollout will ignore any maintenance policies (
|
|
5975
|
+
# Maintenance Windows and Maintenance Exclusions) set on the clusters.
|
|
5976
|
+
# Corresponds to the JSON property `ignoreMaintenancePolicies`
|
|
5977
|
+
# @return [Boolean]
|
|
5978
|
+
attr_accessor :ignore_maintenance_policies
|
|
5979
|
+
alias_method :ignore_maintenance_policies?, :ignore_maintenance_policies
|
|
5980
|
+
|
|
5945
5981
|
# Output only. The intent of the rollout.
|
|
5946
5982
|
# Corresponds to the JSON property `intent`
|
|
5947
5983
|
# @return [String]
|
|
@@ -5972,6 +6008,14 @@ module Google
|
|
|
5972
6008
|
# @return [String]
|
|
5973
6009
|
attr_accessor :rollout_sequence
|
|
5974
6010
|
|
|
6011
|
+
# Optional. Overrides the soak durations for specific stages of the rollout. Key
|
|
6012
|
+
# is the stage number, value is the desired soak duration. Stages omitted from
|
|
6013
|
+
# the map will receive the standard soak duration configured on the sequence for
|
|
6014
|
+
# that stage.
|
|
6015
|
+
# Corresponds to the JSON property `stageSoakDurationOverrides`
|
|
6016
|
+
# @return [Hash<String,String>]
|
|
6017
|
+
attr_accessor :stage_soak_duration_overrides
|
|
6018
|
+
|
|
5975
6019
|
# Output only. The stages of the Rollout.
|
|
5976
6020
|
# Corresponds to the JSON property `stages`
|
|
5977
6021
|
# @return [Array<Google::Apis::GkehubV1beta::RolloutStage>]
|
|
@@ -6026,11 +6070,14 @@ module Google
|
|
|
6026
6070
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
|
6027
6071
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
6028
6072
|
@etag = args[:etag] if args.key?(:etag)
|
|
6073
|
+
@ignore_cluster_disruption_budgets = args[:ignore_cluster_disruption_budgets] if args.key?(:ignore_cluster_disruption_budgets)
|
|
6074
|
+
@ignore_maintenance_policies = args[:ignore_maintenance_policies] if args.key?(:ignore_maintenance_policies)
|
|
6029
6075
|
@intent = args[:intent] if args.key?(:intent)
|
|
6030
6076
|
@labels = args[:labels] if args.key?(:labels)
|
|
6031
6077
|
@membership_states = args[:membership_states] if args.key?(:membership_states)
|
|
6032
6078
|
@name = args[:name] if args.key?(:name)
|
|
6033
6079
|
@rollout_sequence = args[:rollout_sequence] if args.key?(:rollout_sequence)
|
|
6080
|
+
@stage_soak_duration_overrides = args[:stage_soak_duration_overrides] if args.key?(:stage_soak_duration_overrides)
|
|
6034
6081
|
@stages = args[:stages] if args.key?(:stages)
|
|
6035
6082
|
@state = args[:state] if args.key?(:state)
|
|
6036
6083
|
@state_reason = args[:state_reason] if args.key?(:state_reason)
|
|
@@ -6925,6 +6972,37 @@ module Google
|
|
|
6925
6972
|
attr_accessor :force
|
|
6926
6973
|
alias_method :force?, :force
|
|
6927
6974
|
|
|
6975
|
+
# Optional. If set to true, the rollout will ignore the disruption budgets of
|
|
6976
|
+
# the clusters.
|
|
6977
|
+
# Corresponds to the JSON property `ignoreClusterDisruptionBudgets`
|
|
6978
|
+
# @return [Boolean]
|
|
6979
|
+
attr_accessor :ignore_cluster_disruption_budgets
|
|
6980
|
+
alias_method :ignore_cluster_disruption_budgets?, :ignore_cluster_disruption_budgets
|
|
6981
|
+
|
|
6982
|
+
# Optional. If set to true, the rollout will ignore any maintenance policies (
|
|
6983
|
+
# Maintenance Windows and Maintenance Exclusions) set on the clusters.
|
|
6984
|
+
# Corresponds to the JSON property `ignoreMaintenancePolicies`
|
|
6985
|
+
# @return [Boolean]
|
|
6986
|
+
attr_accessor :ignore_maintenance_policies
|
|
6987
|
+
alias_method :ignore_maintenance_policies?, :ignore_maintenance_policies
|
|
6988
|
+
|
|
6989
|
+
# Optional. If set to true, the rollout will only upgrade clusters that match
|
|
6990
|
+
# the minor version of the `version` field, but are on an earlier patch version.
|
|
6991
|
+
# Corresponds to the JSON property `patchOnly`
|
|
6992
|
+
# @return [Boolean]
|
|
6993
|
+
attr_accessor :patch_only
|
|
6994
|
+
alias_method :patch_only?, :patch_only
|
|
6995
|
+
|
|
6996
|
+
# Optional. Overrides the soak duration for all stages of the rollout.
|
|
6997
|
+
# Corresponds to the JSON property `soakDurationOverrideAllStages`
|
|
6998
|
+
# @return [String]
|
|
6999
|
+
attr_accessor :soak_duration_override_all_stages
|
|
7000
|
+
|
|
7001
|
+
# Configuration for per-stage soak duration overrides.
|
|
7002
|
+
# Corresponds to the JSON property `soakDurationOverridePerStage`
|
|
7003
|
+
# @return [Google::Apis::GkehubV1beta::PerStageSoakDurationOverrides]
|
|
7004
|
+
attr_accessor :soak_duration_override_per_stage
|
|
7005
|
+
|
|
6928
7006
|
# Required. The type of upgrade.
|
|
6929
7007
|
# Corresponds to the JSON property `upgradeType`
|
|
6930
7008
|
# @return [String]
|
|
@@ -6952,6 +7030,11 @@ module Google
|
|
|
6952
7030
|
# Update properties of this object
|
|
6953
7031
|
def update!(**args)
|
|
6954
7032
|
@force = args[:force] if args.key?(:force)
|
|
7033
|
+
@ignore_cluster_disruption_budgets = args[:ignore_cluster_disruption_budgets] if args.key?(:ignore_cluster_disruption_budgets)
|
|
7034
|
+
@ignore_maintenance_policies = args[:ignore_maintenance_policies] if args.key?(:ignore_maintenance_policies)
|
|
7035
|
+
@patch_only = args[:patch_only] if args.key?(:patch_only)
|
|
7036
|
+
@soak_duration_override_all_stages = args[:soak_duration_override_all_stages] if args.key?(:soak_duration_override_all_stages)
|
|
7037
|
+
@soak_duration_override_per_stage = args[:soak_duration_override_per_stage] if args.key?(:soak_duration_override_per_stage)
|
|
6955
7038
|
@upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
|
|
6956
7039
|
@version = args[:version] if args.key?(:version)
|
|
6957
7040
|
end
|
|
@@ -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.98.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 = "20260817"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -844,6 +844,12 @@ module Google
|
|
|
844
844
|
include Google::Apis::Core::JsonObjectSupport
|
|
845
845
|
end
|
|
846
846
|
|
|
847
|
+
class PerStageSoakDurationOverrides
|
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
849
|
+
|
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
851
|
+
end
|
|
852
|
+
|
|
847
853
|
class Policy
|
|
848
854
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
849
855
|
|
|
@@ -2624,6 +2630,13 @@ module Google
|
|
|
2624
2630
|
end
|
|
2625
2631
|
end
|
|
2626
2632
|
|
|
2633
|
+
class PerStageSoakDurationOverrides
|
|
2634
|
+
# @private
|
|
2635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2636
|
+
hash :stage_overrides, as: 'stageOverrides'
|
|
2637
|
+
end
|
|
2638
|
+
end
|
|
2639
|
+
|
|
2627
2640
|
class Policy
|
|
2628
2641
|
# @private
|
|
2629
2642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2854,12 +2867,15 @@ module Google
|
|
|
2854
2867
|
property :delete_time, as: 'deleteTime'
|
|
2855
2868
|
property :display_name, as: 'displayName'
|
|
2856
2869
|
property :etag, as: 'etag'
|
|
2870
|
+
property :ignore_cluster_disruption_budgets, as: 'ignoreClusterDisruptionBudgets'
|
|
2871
|
+
property :ignore_maintenance_policies, as: 'ignoreMaintenancePolicies'
|
|
2857
2872
|
property :intent, as: 'intent'
|
|
2858
2873
|
hash :labels, as: 'labels'
|
|
2859
2874
|
hash :membership_states, as: 'membershipStates', class: Google::Apis::GkehubV1beta::RolloutMembershipState, decorator: Google::Apis::GkehubV1beta::RolloutMembershipState::Representation
|
|
2860
2875
|
|
|
2861
2876
|
property :name, as: 'name'
|
|
2862
2877
|
property :rollout_sequence, as: 'rolloutSequence'
|
|
2878
|
+
hash :stage_soak_duration_overrides, as: 'stageSoakDurationOverrides'
|
|
2863
2879
|
collection :stages, as: 'stages', class: Google::Apis::GkehubV1beta::RolloutStage, decorator: Google::Apis::GkehubV1beta::RolloutStage::Representation
|
|
2864
2880
|
|
|
2865
2881
|
property :state, as: 'state'
|
|
@@ -3125,6 +3141,12 @@ module Google
|
|
|
3125
3141
|
# @private
|
|
3126
3142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3127
3143
|
property :force, as: 'force'
|
|
3144
|
+
property :ignore_cluster_disruption_budgets, as: 'ignoreClusterDisruptionBudgets'
|
|
3145
|
+
property :ignore_maintenance_policies, as: 'ignoreMaintenancePolicies'
|
|
3146
|
+
property :patch_only, as: 'patchOnly'
|
|
3147
|
+
property :soak_duration_override_all_stages, as: 'soakDurationOverrideAllStages'
|
|
3148
|
+
property :soak_duration_override_per_stage, as: 'soakDurationOverridePerStage', class: Google::Apis::GkehubV1beta::PerStageSoakDurationOverrides, decorator: Google::Apis::GkehubV1beta::PerStageSoakDurationOverrides::Representation
|
|
3149
|
+
|
|
3128
3150
|
property :upgrade_type, as: 'upgradeType'
|
|
3129
3151
|
property :version, as: 'version'
|
|
3130
3152
|
end
|
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.98.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.98.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:
|