class Google::Apis::ContainerV1::StatusCondition
StatusCondition
describes why a cluster or a node pool has a certain status (e. g., ERROR or DEGRADED).
Attributes
canonical_code[RW]
Canonical code of the condition. Corresponds to the JSON property `canonicalCode` @return [String]
code[RW]
Machine-friendly representation of the condition Deprecated. Use canonical_code
instead. Corresponds to the JSON property `code` @return [String]
message[RW]
Human-friendly representation of the condition Corresponds to the JSON property `message` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 4493 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1/classes.rb, line 4498 def update!(**args) @canonical_code = args[:canonical_code] if args.key?(:canonical_code) @code = args[:code] if args.key?(:code) @message = args[:message] if args.key?(:message) end