Class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeOverride
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeOverride
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb 
Overview
Properties of a GKE upgrade that can be overridden by the user. For example, a user can skip soaking by overriding the soaking to 0.
Instance Attribute Summary collapse
- 
  
    
      #post_conditions  ⇒ Google::Apis::GkehubV1::ClusterUpgradePostConditions 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Post conditional checks after an upgrade has been applied on all eligible clusters.
 - 
  
    
      #upgrade  ⇒ Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClusterUpgradeGkeUpgradeOverride 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ClusterUpgradeGkeUpgradeOverride.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeGkeUpgradeOverride
Returns a new instance of ClusterUpgradeGkeUpgradeOverride.
      520 521 522  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 520 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#post_conditions ⇒ Google::Apis::GkehubV1::ClusterUpgradePostConditions
Post conditional checks after an upgrade has been applied on all eligible
clusters.
Corresponds to the JSON property postConditions
      513 514 515  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 513 def post_conditions @post_conditions end  | 
  
#upgrade ⇒ Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade
GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
Corresponds to the JSON property upgrade
      518 519 520  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 518 def upgrade @upgrade end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      525 526 527 528  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 525 def update!(**args) @post_conditions = args[:post_conditions] if args.key?(:post_conditions) @upgrade = args[:upgrade] if args.key?(:upgrade) end  |