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

DeploymentAttemptMetadata represents a previous deployment attempt for an
operation that failed due to a retryable error.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ attempt` | `int` The sequential number of the attempt (starting from 1). |
| `↳ error_detail` | `string` Human readable string that summarizes the deployment error issue. |
| `↳ build` | `string` The build or execution ID associated with this specific attempt. This can be used to link back to logs or trace information. |

### getAttempt

The sequential number of the attempt (starting from 1).

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

### setAttempt

The sequential number of the attempt (starting from 1).

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

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

### getErrorDetail

Human readable string that summarizes the deployment error issue.

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

### setErrorDetail

Human readable string that summarizes the deployment error issue.

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

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

### getBuild

The build or execution ID associated with this specific attempt.

This can be used to link back to logs or trace information.

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

### setBuild

The build or execution ID associated with this specific attempt.

This can be used to link back to logs or trace information.

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

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