Class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureCondition
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureCondition
 
 
- 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
GKEUpgradeFeatureCondition describes the condition of the feature for GKE clusters at a certain point of time.
Instance Attribute Summary collapse
- 
  
    
      #reason  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Reason why the feature is in this status.
 - 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Status of the condition, one of True, False, Unknown.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Type of the condition, for example, "ready".
 - 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Last timestamp the condition was updated.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ClusterUpgradeGkeUpgradeFeatureCondition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ClusterUpgradeGkeUpgradeFeatureCondition.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeGkeUpgradeFeatureCondition
Returns a new instance of ClusterUpgradeGkeUpgradeFeatureCondition.
      466 467 468  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 466 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#reason ⇒ String
Reason why the feature is in this status.
Corresponds to the JSON property reason
      449 450 451  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 449 def reason @reason end  | 
  
#status ⇒ String
Status of the condition, one of True, False, Unknown.
Corresponds to the JSON property status
      454 455 456  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 454 def status @status end  | 
  
#type ⇒ String
Type of the condition, for example, "ready".
Corresponds to the JSON property type
      459 460 461  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 459 def type @type end  | 
  
#update_time ⇒ String
Last timestamp the condition was updated.
Corresponds to the JSON property updateTime
      464 465 466  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 464 def update_time @update_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      471 472 473 474 475 476  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 471 def update!(**args) @reason = args[:reason] if args.key?(:reason) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) @update_time = args[:update_time] if args.key?(:update_time) end  |