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

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
Name Description
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

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

Errors pertaining to the installation of Config Sync.

↳ rootsync_crd int

The state of the RootSync CRD

↳ reposync_crd int

The state of the Reposync CRD

↳ state int

The state of CS This field summarizes the other fields in this message.

getVersion

The version of ConfigSync deployed

Returns
Type Description
Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncVersion|null

hasVersion

clearVersion

setVersion

The version of ConfigSync deployed

Parameter
Name Description
var Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncVersion
Returns
Type Description
$this

getDeploymentState

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

Returns
Type Description
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
Name Description
var Google\Cloud\GkeHub\ConfigManagement\V1\ConfigSyncDeploymentState
Returns
Type Description
$this

getSyncState

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

Returns
Type Description
Google\Cloud\GkeHub\ConfigManagement\V1\SyncState|null

hasSyncState

clearSyncState

setSyncState

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

Parameter
Name Description
var Google\Cloud\GkeHub\ConfigManagement\V1\SyncState
Returns
Type Description
$this

getErrors

Errors pertaining to the installation of Config Sync.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

Errors pertaining to the installation of Config Sync.

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

getRootsyncCrd

The state of the RootSync CRD

Returns
Type Description
int

setRootsyncCrd

The state of the RootSync CRD

Parameter
Name Description
var int
Returns
Type Description
$this

getReposyncCrd

The state of the Reposync CRD

Returns
Type Description
int

setReposyncCrd

The state of the Reposync CRD

Parameter
Name Description
var int
Returns
Type Description
$this

getState

The state of CS This field summarizes the other fields in this message.

Returns
Type Description
int

setState

The state of CS This field summarizes the other fields in this message.

Parameter
Name Description
var int
Returns
Type Description
$this