Google Cloud Gke Hub V1 Client - Class ConfigSyncState (0.8.2)

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

State information for ConfigSync

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

Namespace

Google \ Cloud \ GkeHub \ ConfigManagement \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ version Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncVersion

The version of ConfigSync deployed

↳ deployment_state Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncDeploymentState

Information about the deployment of ConfigSync, including the version of the various Pods deployed

↳ sync_state Google\Cloud\GkeHub\ConfigManagement\V1\SyncState

The state of ConfigSync's process to sync configs to a cluster

getVersion

The version of ConfigSync deployed

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncVersion|null

hasVersion

clearVersion

setVersion

The version of ConfigSync deployed

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncVersion
Returns
TypeDescription
$this

getDeploymentState

Information about the deployment of ConfigSync, including the version of the various Pods deployed

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncDeploymentState|null

hasDeploymentState

clearDeploymentState

setDeploymentState

Information about the deployment of ConfigSync, including the version of the various Pods deployed

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncDeploymentState
Returns
TypeDescription
$this

getSyncState

The state of ConfigSync's process to sync configs to a cluster

Returns
TypeDescription
Google\Cloud\GkeHub\ConfigManagement\V1\SyncState|null

hasSyncState

clearSyncState

setSyncState

The state of ConfigSync's process to sync configs to a cluster

Parameter
NameDescription
var Google\Cloud\GkeHub\ConfigManagement\V1\SyncState
Returns
TypeDescription
$this