Google Cloud Gke Hub V1 Client - Class OperatorState (0.10.0)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class OperatorState.

State information for an ACM's Operator

Generated from protobuf message google.cloud.gkehub.configmanagement.v1.OperatorState

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

The semenatic version number of the operator

↳ deployment_state int

The state of the Operator's deployment

↳ errors array<Google\Cloud\GkeHub\ConfigManagement\V1\InstallError>

Install errors.

getVersion

The semenatic version number of the operator

Returns
Type Description
string

setVersion

The semenatic version number of the operator

Parameter
Name Description
var string
Returns
Type Description
$this

getDeploymentState

The state of the Operator's deployment

Returns
Type Description
int

setDeploymentState

The state of the Operator's deployment

Parameter
Name Description
var int
Returns
Type Description
$this

getErrors

Install errors.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

Install errors.

Parameter
Name Description
var array<Google\Cloud\GkeHub\ConfigManagement\V1\InstallError>
Returns
Type Description
$this