Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeploymentMetadata.

Deployment information for the application.

Generated from protobuf message `google.cloud.designcenter.v1.DeploymentMetadata`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ revision` | `string` Output only. The revision of the deployment associated with the Application. |
| `↳ component_output_parameters` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentOutputParameters>` Output only. The component output parameters of the deployment. |
| `↳ error` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.DeploymentError` Output only. The error associated with the deployment. |
| `↳ build` | `string` Output only. Cloud Build instance UUID associated with this deployment. |
| `↳ worker_pool` | `string` Output only. The user-specified Cloud Build worker pool resource used, which the system uses to deploy the application. Format: `projects/{project}/locations/{location}/workerPools/{workerPoolId}`. |
| `↳ retry_attempts` | `int` Output only. The attempted number of deployment retries. |
| `↳ application_output_parameters` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ApplicationOutputParameters` Output only. The application output parameters of the deployment. |

### getRevision

Output only. The revision of the deployment associated with the
Application.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setRevision

Output only. The revision of the deployment associated with the
Application.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getComponentOutputParameters

Output only. The component output parameters of the deployment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentOutputParameters>` |   |

### setComponentOutputParameters

Output only. The component output parameters of the deployment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ComponentOutputParameters>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getError

Output only. The error associated with the deployment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.DeploymentError|null` |   |

### hasError

### clearError

### setError

Output only. The error associated with the deployment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.DeploymentError` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBuild

Output only. Cloud Build instance UUID associated with this deployment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBuild

Output only. Cloud Build instance UUID associated with this deployment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getWorkerPool

Output only. The user-specified Cloud Build worker pool resource used,
which the system uses to deploy the application. Format:
`projects/{project}/locations/{location}/workerPools/{workerPoolId}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setWorkerPool

Output only. The user-specified Cloud Build worker pool resource used,
which the system uses to deploy the application. Format:
`projects/{project}/locations/{location}/workerPools/{workerPoolId}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRetryAttempts

Output only. The attempted number of deployment retries.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setRetryAttempts

Output only. The attempted number of deployment retries.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getApplicationOutputParameters

Output only. The application output parameters of the deployment.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ApplicationOutputParameters|null` |   |

### hasApplicationOutputParameters

### clearApplicationOutputParameters

### setApplicationOutputParameters

Output only. The application output parameters of the deployment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.ApplicationOutputParameters` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |