Google Cloud Container V1 Client - Class StatusCondition (1.13.1)

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

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Returns
Type
Description
int

setCode

Machine-friendly representation of the condition Deprecated. Use canonical_code instead.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMessage

Human-friendly representation of the condition

Returns
Type
Description
string

setMessage

Human-friendly representation of the condition

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCanonicalCode

Canonical code of the condition.

Returns
Type
Description
int

setCanonicalCode

Canonical code of the condition.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: