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 \ V1Methods
__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 |
ResourceBundleDeploymentInfo|null |
hasDesired
clearDesired
setDesired
Output only. Desired state for the resource bundle.
Parameter | |
---|---|
Name | Description |
var |
ResourceBundleDeploymentInfo
|
Returns | |
---|---|
Type | Description |
$this |
getInitial
Output only. Initial state of the resource bundle prior to the deployment.
Returns | |
---|---|
Type | Description |
ResourceBundleDeploymentInfo|null |
hasInitial
clearInitial
setInitial
Output only. Initial state of the resource bundle prior to the deployment.
Parameter | |
---|---|
Name | Description |
var |
ResourceBundleDeploymentInfo
|
Returns | |
---|---|
Type | Description |
$this |
getCurrent
Output only. Current state of the resource bundle.
Returns | |
---|---|
Type | Description |
ResourceBundleDeploymentInfo|null |
hasCurrent
clearCurrent
setCurrent
Output only. Current state of the resource bundle.
Parameter | |
---|---|
Name | Description |
var |
ResourceBundleDeploymentInfo
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. State of the rollout for the cluster.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. State of the rollout for the cluster.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMessages
Output only. Unordered list. Messages convey additional information related to the deployment.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
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 |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Output only. Timestamp when reconciliation starts.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
Output only. Timestamp when reconciliation ends.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
Output only. Timestamp when reconciliation ends.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |