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

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 ConfigSyncVersion

The version of ConfigSync deployed

↳ deployment_state ConfigSyncDeploymentState

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

↳ sync_state SyncState

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

↳ errors array<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
ConfigSyncVersion|null

hasVersion

clearVersion

setVersion

The version of ConfigSync deployed

Parameter
Name Description
var ConfigSyncVersion
Returns
Type Description
$this

getDeploymentState

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

Returns
Type Description
ConfigSyncDeploymentState|null

hasDeploymentState

clearDeploymentState

setDeploymentState

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

Parameter
Name Description
var ConfigSyncDeploymentState
Returns
Type Description
$this

getSyncState

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

Returns
Type Description
SyncState|null

hasSyncState

clearSyncState

setSyncState

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

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