Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::StatusCondition.
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#canonical_code
def canonical_code() -> ::Google::Rpc::Code
Returns
- (::Google::Rpc::Code) — Canonical code of the condition.
#canonical_code=
def canonical_code=(value) -> ::Google::Rpc::Code
Parameter
- value (::Google::Rpc::Code) — Canonical code of the condition.
Returns
- (::Google::Rpc::Code) — Canonical code of the condition.
#code
def code() -> ::Google::Cloud::Container::V1::StatusCondition::Code
Returns
- (::Google::Cloud::Container::V1::StatusCondition::Code) — Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
#code=
def code=(value) -> ::Google::Cloud::Container::V1::StatusCondition::Code
Parameter
- value (::Google::Cloud::Container::V1::StatusCondition::Code) — Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
Returns
- (::Google::Cloud::Container::V1::StatusCondition::Code) — Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
#message
def message() -> ::String
Returns
- (::String) — Human-friendly representation of the condition
#message=
def message=(value) -> ::String
Parameter
- value (::String) — Human-friendly representation of the condition
Returns
- (::String) — Human-friendly representation of the condition