Reference documentation and code samples for the Google Cloud Container V1 Client class StatusCondition.
StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
Generated from protobuf message google.container.v1.StatusCondition
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ code
int
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
↳ message
string
Human-friendly representation of the condition
↳ canonical_code
int
Canonical code of the condition.
getCode
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
int
setCode
Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
var
int
$this
getMessage
Human-friendly representation of the condition
string
setMessage
Human-friendly representation of the condition
var
string
$this
getCanonicalCode
Canonical code of the condition.
int
setCanonicalCode
Canonical code of the condition.
var
int
$this