Google Cloud Config Delivery V1 Client - Class ClusterInfo (0.2.1)

Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class ClusterInfo.

ClusterInfo represents status of a resource bundle rollout for a cluster.

Generated from protobuf message google.cloud.configdelivery.v1.ClusterInfo

Namespace

Google \ Cloud \ ConfigDelivery \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ membership
string

Output only. gkehub membership of target cluster

↳ desired
ResourceBundleDeploymentInfo

Output only. Desired state for the resource bundle.

↳ initial
ResourceBundleDeploymentInfo

Output only. Initial state of the resource bundle prior to the deployment.

↳ current
ResourceBundleDeploymentInfo

Output only. Current state of the resource bundle.

↳ state
int

Output only. State of the rollout for the cluster.

↳ messages
array

Output only. Unordered list. Messages convey additional information related to the deployment.

↳ start_time
Google\Protobuf\Timestamp

Output only. Timestamp when reconciliation starts.

↳ end_time
Google\Protobuf\Timestamp

Output only. Timestamp when reconciliation ends.

getMembership

Output only. gkehub membership of target cluster

Returns
Type
Description
string

setMembership

Output only. gkehub membership of target cluster

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDesired

Output only. Desired state for the resource bundle.

Returns
Type
Description

hasDesired

clearDesired

setDesired

Output only. Desired state for the resource bundle.

Parameter
Name
Description
Returns
Type
Description
$this

getInitial

Output only. Initial state of the resource bundle prior to the deployment.

Returns
Type
Description

hasInitial

clearInitial

setInitial

Output only. Initial state of the resource bundle prior to the deployment.

Parameter
Name
Description
Returns
Type
Description
$this

getCurrent

Output only. Current state of the resource bundle.

Returns
Type
Description

hasCurrent

clearCurrent

setCurrent

Output only. Current state of the resource bundle.

Parameter
Name
Description
Returns
Type
Description
$this

getState

Output only. State of the rollout for the cluster.

Returns
Type
Description
int
Enum of type State .

setState

Output only. State of the rollout for the cluster.

Parameter
Name
Description
var
int

Enum of type State .

Returns
Type
Description
$this

getMessages

Output only. Unordered list. Messages convey additional information related to the deployment.

Returns
Type
Description

setMessages

Output only. Unordered list. Messages convey additional information related to the deployment.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getStartTime

Output only. Timestamp when reconciliation starts.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Output only. Timestamp when reconciliation starts.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

Output only. Timestamp when reconciliation ends.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

Output only. Timestamp when reconciliation ends.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: