Google Cloud Container V1 Client - Class StatusCondition (1.9.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.

Generated from protobuf field .google.container.v1.StatusCondition.Code code = 1 [deprecated = true];

Returns
Type
Description
int

setCode

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

Generated from protobuf field .google.container.v1.StatusCondition.Code code = 1 [deprecated = true];

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMessage

Human-friendly representation of the condition

Generated from protobuf field string message = 2;

Returns
Type
Description
string

setMessage

Human-friendly representation of the condition

Generated from protobuf field string message = 2;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCanonicalCode

Canonical code of the condition.

Generated from protobuf field .google.rpc.Code canonical_code = 3;

Returns
Type
Description
int

setCanonicalCode

Canonical code of the condition.

Generated from protobuf field .google.rpc.Code canonical_code = 3;

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