Class: Google::Apis::ContainerV1beta1::StatusCondition
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContainerV1beta1::StatusCondition
 
 
- Defined in:
 - generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb 
Overview
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Machine-friendly representation of the condition Corresponds to the JSON property
code. - 
  
    
      #message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Human-friendly representation of the condition Corresponds to the JSON property
message. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StatusCondition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of StatusCondition.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StatusCondition
Returns a new instance of StatusCondition
      3114 3115 3116  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3114 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#code ⇒ String
Machine-friendly representation of the condition
Corresponds to the JSON property code
      3107 3108 3109  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3107 def code @code end  | 
  
#message ⇒ String
Human-friendly representation of the condition
Corresponds to the JSON property message
      3112 3113 3114  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3112 def @message end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3119 3120 3121 3122  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3119 def update!(**args) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) end  |