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 \ V1Methods
__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<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 |
Enum of type DeploymentState. |
setDeploymentState
The state of the Operator's deployment
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DeploymentState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrors
Install errors.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setErrors
Install errors.
| Parameter | |
|---|---|
| Name | Description |
var |
array<InstallError>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|