Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeploymentOperationMetadata.
Ephemeral metadata depicting the state of the deployment operation.
Generated from protobuf message google.cloud.designcenter.v1.DeploymentOperationMetadata
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ deployment |
string
Output only. The name of the deployment associated with the application. |
↳ deployment_step |
string
Output only. The current step of the deployment. This will mimic the DeploymentStep enum in the deployment proto. |
↳ deployment_build |
string
Output only. Cloud Build instance UUID associated with this deployment. |
↳ deployment_logs |
string
Output only. Location of the deployment operation logs in |
↳ resources |
array<Resource>
Details of the Resourcess in the deployment. |
↳ previous_attempt |
DeploymentAttemptMetadata
Previous deployment attempt metadata. |
getDeployment
Output only. The name of the deployment associated with the application.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeployment
Output only. The name of the deployment associated with the application.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentStep
Output only. The current step of the deployment.
This will mimic the DeploymentStep enum in the deployment proto.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentStep
Output only. The current step of the deployment.
This will mimic the DeploymentStep enum in the deployment proto.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentBuild
Output only. Cloud Build instance UUID associated with this deployment.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentBuild
Output only. Cloud Build instance UUID associated with this deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeploymentLogs
Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDeploymentLogs
Output only. Location of the deployment operation logs in
gs://{bucket}/{object} format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResources
Details of the Resourcess in the deployment.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Resource> |
|
setResources
Details of the Resourcess in the deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Resource>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreviousAttempt
Previous deployment attempt metadata.
| Returns | |
|---|---|
| Type | Description |
DeploymentAttemptMetadata|null |
|
hasPreviousAttempt
clearPreviousAttempt
setPreviousAttempt
Previous deployment attempt metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
DeploymentAttemptMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|