Class: Google::Apis::GkehubV1::ClusterUpgradeMembershipState
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GkehubV1::ClusterUpgradeMembershipState
 
 
- 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
Per-membership state for this feature.
Instance Attribute Summary collapse
- 
  
    
      #ignored  ⇒ Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
IgnoredMembership represents a membership ignored by the feature.
 - 
  
    
      #upgrades  ⇒ Array<Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Actual upgrade state against desired.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClusterUpgradeMembershipState 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ClusterUpgradeMembershipState.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeMembershipState
Returns a new instance of ClusterUpgradeMembershipState.
      630 631 632  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 630 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#ignored ⇒ Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership
IgnoredMembership represents a membership ignored by the feature. A membership
can be ignored because it was manually upgraded to a newer version than RC
default.
Corresponds to the JSON property ignored
      623 624 625  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 623 def ignored @ignored end  | 
  
#upgrades ⇒ Array<Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState>
Actual upgrade state against desired.
Corresponds to the JSON property upgrades
      628 629 630  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 628 def upgrades @upgrades end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      635 636 637 638  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 635 def update!(**args) @ignored = args[:ignored] if args.key?(:ignored) @upgrades = args[:upgrades] if args.key?(:upgrades) end  |