google-apis-gkehub_v1 0.106.0 → 0.107.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: db45978231f593b25b3870f46868b7cd937af3330c418d1c462d291422e77d83
4
- data.tar.gz: d0dd439e3500ac2eb9b0dc065d541cbf9550a90ecff672595a5b3109ef763ce6
3
+ metadata.gz: 8d288bb832e13f7f479f8b700e9f132a919ee63afaceaa3ee0f2799137d5e8bd
4
+ data.tar.gz: f315f261dc4f0eef2f3010e130f93cadff93270dc0eb8c4c29ee37466899c218
5
5
  SHA512:
6
- metadata.gz: 887da28e3dde3664f09e2cb44e4e9a5358c47206a8361862889b9364fba0d64fdd591bc06470ce4ad97a88107ba3bd9718a1f8bd35c107589aa43f5cee435116
7
- data.tar.gz: 7b77b7e30d20aea9811f88ff7b8cea7696c67c64922fd7965993e107b298fde9c173248393849b77abd15b53cef100006f2c9306057f895f7d1db1fe26c7e54b
6
+ metadata.gz: d319fda3a856d4bc557af24b39fd26404f761ebe7ada497f9593a00c40e86c6b71f0369ad1e0af0cf801478887b922ce5869fc3a254cd1a64cf2c34c977df371
7
+ data.tar.gz: da436930cfd664210f33a1b6d385aceab304da438f34e343797be2ba9b2b087a219f74bee7466a09819120dea36806c1ff6a46f77b8e7b591627dfc14de7fbf7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.107.0 (2026-08-23)
4
+
5
+ * Regenerated from discovery document revision 20260817
6
+
3
7
  ### v0.106.0 (2026-08-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20260808
@@ -4967,6 +4967,28 @@ module Google
4967
4967
  end
4968
4968
  end
4969
4969
 
4970
+ # Configuration for per-stage soak duration overrides.
4971
+ class PerStageSoakDurationOverrides
4972
+ include Google::Apis::Core::Hashable
4973
+
4974
+ # Required. A mapping of stage numbers to their respective desired soak
4975
+ # durations. Key is the stage number, value is the desired soak duration. Stages
4976
+ # omitted from the map will receive the standard soak duration configured on the
4977
+ # sequence for that stage.
4978
+ # Corresponds to the JSON property `stageOverrides`
4979
+ # @return [Hash<String,String>]
4980
+ attr_accessor :stage_overrides
4981
+
4982
+ def initialize(**args)
4983
+ update!(**args)
4984
+ end
4985
+
4986
+ # Update properties of this object
4987
+ def update!(**args)
4988
+ @stage_overrides = args[:stage_overrides] if args.key?(:stage_overrides)
4989
+ end
4990
+ end
4991
+
4970
4992
  # An Identity and Access Management (IAM) policy, which specifies access
4971
4993
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4972
4994
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -5795,6 +5817,20 @@ module Google
5795
5817
  # @return [String]
5796
5818
  attr_accessor :etag
5797
5819
 
5820
+ # Optional. If set to true, the rollout will ignore the disruption budgets of
5821
+ # the clusters.
5822
+ # Corresponds to the JSON property `ignoreClusterDisruptionBudgets`
5823
+ # @return [Boolean]
5824
+ attr_accessor :ignore_cluster_disruption_budgets
5825
+ alias_method :ignore_cluster_disruption_budgets?, :ignore_cluster_disruption_budgets
5826
+
5827
+ # Optional. If set to true, the rollout will ignore any maintenance policies (
5828
+ # Maintenance Windows and Maintenance Exclusions) set on the clusters.
5829
+ # Corresponds to the JSON property `ignoreMaintenancePolicies`
5830
+ # @return [Boolean]
5831
+ attr_accessor :ignore_maintenance_policies
5832
+ alias_method :ignore_maintenance_policies?, :ignore_maintenance_policies
5833
+
5798
5834
  # Output only. The intent of the rollout.
5799
5835
  # Corresponds to the JSON property `intent`
5800
5836
  # @return [String]
@@ -5825,6 +5861,14 @@ module Google
5825
5861
  # @return [String]
5826
5862
  attr_accessor :rollout_sequence
5827
5863
 
5864
+ # Optional. Overrides the soak durations for specific stages of the rollout. Key
5865
+ # is the stage number, value is the desired soak duration. Stages omitted from
5866
+ # the map will receive the standard soak duration configured on the sequence for
5867
+ # that stage.
5868
+ # Corresponds to the JSON property `stageSoakDurationOverrides`
5869
+ # @return [Hash<String,String>]
5870
+ attr_accessor :stage_soak_duration_overrides
5871
+
5828
5872
  # Output only. The stages of the Rollout.
5829
5873
  # Corresponds to the JSON property `stages`
5830
5874
  # @return [Array<Google::Apis::GkehubV1::RolloutStage>]
@@ -5879,11 +5923,14 @@ module Google
5879
5923
  @delete_time = args[:delete_time] if args.key?(:delete_time)
5880
5924
  @display_name = args[:display_name] if args.key?(:display_name)
5881
5925
  @etag = args[:etag] if args.key?(:etag)
5926
+ @ignore_cluster_disruption_budgets = args[:ignore_cluster_disruption_budgets] if args.key?(:ignore_cluster_disruption_budgets)
5927
+ @ignore_maintenance_policies = args[:ignore_maintenance_policies] if args.key?(:ignore_maintenance_policies)
5882
5928
  @intent = args[:intent] if args.key?(:intent)
5883
5929
  @labels = args[:labels] if args.key?(:labels)
5884
5930
  @membership_states = args[:membership_states] if args.key?(:membership_states)
5885
5931
  @name = args[:name] if args.key?(:name)
5886
5932
  @rollout_sequence = args[:rollout_sequence] if args.key?(:rollout_sequence)
5933
+ @stage_soak_duration_overrides = args[:stage_soak_duration_overrides] if args.key?(:stage_soak_duration_overrides)
5887
5934
  @stages = args[:stages] if args.key?(:stages)
5888
5935
  @state = args[:state] if args.key?(:state)
5889
5936
  @state_reason = args[:state_reason] if args.key?(:state_reason)
@@ -6778,6 +6825,37 @@ module Google
6778
6825
  attr_accessor :force
6779
6826
  alias_method :force?, :force
6780
6827
 
6828
+ # Optional. If set to true, the rollout will ignore the disruption budgets of
6829
+ # the clusters.
6830
+ # Corresponds to the JSON property `ignoreClusterDisruptionBudgets`
6831
+ # @return [Boolean]
6832
+ attr_accessor :ignore_cluster_disruption_budgets
6833
+ alias_method :ignore_cluster_disruption_budgets?, :ignore_cluster_disruption_budgets
6834
+
6835
+ # Optional. If set to true, the rollout will ignore any maintenance policies (
6836
+ # Maintenance Windows and Maintenance Exclusions) set on the clusters.
6837
+ # Corresponds to the JSON property `ignoreMaintenancePolicies`
6838
+ # @return [Boolean]
6839
+ attr_accessor :ignore_maintenance_policies
6840
+ alias_method :ignore_maintenance_policies?, :ignore_maintenance_policies
6841
+
6842
+ # Optional. If set to true, the rollout will only upgrade clusters that match
6843
+ # the minor version of the `version` field, but are on an earlier patch version.
6844
+ # Corresponds to the JSON property `patchOnly`
6845
+ # @return [Boolean]
6846
+ attr_accessor :patch_only
6847
+ alias_method :patch_only?, :patch_only
6848
+
6849
+ # Optional. Overrides the soak duration for all stages of the rollout.
6850
+ # Corresponds to the JSON property `soakDurationOverrideAllStages`
6851
+ # @return [String]
6852
+ attr_accessor :soak_duration_override_all_stages
6853
+
6854
+ # Configuration for per-stage soak duration overrides.
6855
+ # Corresponds to the JSON property `soakDurationOverridePerStage`
6856
+ # @return [Google::Apis::GkehubV1::PerStageSoakDurationOverrides]
6857
+ attr_accessor :soak_duration_override_per_stage
6858
+
6781
6859
  # Required. The type of upgrade.
6782
6860
  # Corresponds to the JSON property `upgradeType`
6783
6861
  # @return [String]
@@ -6805,6 +6883,11 @@ module Google
6805
6883
  # Update properties of this object
6806
6884
  def update!(**args)
6807
6885
  @force = args[:force] if args.key?(:force)
6886
+ @ignore_cluster_disruption_budgets = args[:ignore_cluster_disruption_budgets] if args.key?(:ignore_cluster_disruption_budgets)
6887
+ @ignore_maintenance_policies = args[:ignore_maintenance_policies] if args.key?(:ignore_maintenance_policies)
6888
+ @patch_only = args[:patch_only] if args.key?(:patch_only)
6889
+ @soak_duration_override_all_stages = args[:soak_duration_override_all_stages] if args.key?(:soak_duration_override_all_stages)
6890
+ @soak_duration_override_per_stage = args[:soak_duration_override_per_stage] if args.key?(:soak_duration_override_per_stage)
6808
6891
  @upgrade_type = args[:upgrade_type] if args.key?(:upgrade_type)
6809
6892
  @version = args[:version] if args.key?(:version)
6810
6893
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.106.0"
19
+ GEM_VERSION = "0.107.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 = "20260808"
25
+ REVISION = "20260817"
26
26
  end
27
27
  end
28
28
  end
@@ -814,6 +814,12 @@ module Google
814
814
  include Google::Apis::Core::JsonObjectSupport
815
815
  end
816
816
 
817
+ class PerStageSoakDurationOverrides
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
817
823
  class Policy
818
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
819
825
 
@@ -2546,6 +2552,13 @@ module Google
2546
2552
  end
2547
2553
  end
2548
2554
 
2555
+ class PerStageSoakDurationOverrides
2556
+ # @private
2557
+ class Representation < Google::Apis::Core::JsonRepresentation
2558
+ hash :stage_overrides, as: 'stageOverrides'
2559
+ end
2560
+ end
2561
+
2549
2562
  class Policy
2550
2563
  # @private
2551
2564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2776,12 +2789,15 @@ module Google
2776
2789
  property :delete_time, as: 'deleteTime'
2777
2790
  property :display_name, as: 'displayName'
2778
2791
  property :etag, as: 'etag'
2792
+ property :ignore_cluster_disruption_budgets, as: 'ignoreClusterDisruptionBudgets'
2793
+ property :ignore_maintenance_policies, as: 'ignoreMaintenancePolicies'
2779
2794
  property :intent, as: 'intent'
2780
2795
  hash :labels, as: 'labels'
2781
2796
  hash :membership_states, as: 'membershipStates', class: Google::Apis::GkehubV1::RolloutMembershipState, decorator: Google::Apis::GkehubV1::RolloutMembershipState::Representation
2782
2797
 
2783
2798
  property :name, as: 'name'
2784
2799
  property :rollout_sequence, as: 'rolloutSequence'
2800
+ hash :stage_soak_duration_overrides, as: 'stageSoakDurationOverrides'
2785
2801
  collection :stages, as: 'stages', class: Google::Apis::GkehubV1::RolloutStage, decorator: Google::Apis::GkehubV1::RolloutStage::Representation
2786
2802
 
2787
2803
  property :state, as: 'state'
@@ -3047,6 +3063,12 @@ module Google
3047
3063
  # @private
3048
3064
  class Representation < Google::Apis::Core::JsonRepresentation
3049
3065
  property :force, as: 'force'
3066
+ property :ignore_cluster_disruption_budgets, as: 'ignoreClusterDisruptionBudgets'
3067
+ property :ignore_maintenance_policies, as: 'ignoreMaintenancePolicies'
3068
+ property :patch_only, as: 'patchOnly'
3069
+ property :soak_duration_override_all_stages, as: 'soakDurationOverrideAllStages'
3070
+ property :soak_duration_override_per_stage, as: 'soakDurationOverridePerStage', class: Google::Apis::GkehubV1::PerStageSoakDurationOverrides, decorator: Google::Apis::GkehubV1::PerStageSoakDurationOverrides::Representation
3071
+
3050
3072
  property :upgrade_type, as: 'upgradeType'
3051
3073
  property :version, as: 'version'
3052
3074
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.106.0
4
+ version: 0.107.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.106.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.107.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
62
62
  rdoc_options: []
63
63
  require_paths: