Google Cloud Gke Hub V1 Client - Class OperatorState (0.9.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
NameDescription
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
TypeDescription
string

setVersion

The semenatic version number of the operator

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeploymentState

The state of the Operator's deployment

Returns
TypeDescription
int

setDeploymentState

The state of the Operator's deployment

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getErrors

Install errors.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

Install errors.

Parameter
NameDescription
var array<Google\Cloud\GkeHub\ConfigManagement\V1\InstallError>
Returns
TypeDescription
$this