Google Cloud Gke Hub V1 Client - Class HierarchyControllerState (1.0.1)

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

State for Hierarchy Controller

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

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version HierarchyControllerVersion

The version for Hierarchy Controller

↳ state HierarchyControllerDeploymentState

The deployment state for Hierarchy Controller

getVersion

The version for Hierarchy Controller

Returns
Type Description
HierarchyControllerVersion|null

hasVersion

clearVersion

setVersion

The version for Hierarchy Controller

Parameter
Name Description
var HierarchyControllerVersion
Returns
Type Description
$this

getState

The deployment state for Hierarchy Controller

Returns
Type Description
HierarchyControllerDeploymentState|null

hasState

clearState

setState

The deployment state for Hierarchy Controller

Parameter
Name Description
var HierarchyControllerDeploymentState
Returns
Type Description
$this