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

Ephemeral metadata depicting the state of the preview operation.

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

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ preview_step` | `string` Output only. The current step of the preview. The possible steps a preview may be running as returned by the Infrastructure. Manager. |
| `↳ preview_build` | `string` Output only. Cloud Build instance UUID associated with the preview operation. |
| `↳ preview_logs` | `string` Output only. Location of the preview operation logs in `gs://{bucket}/{object}` format. |
| `↳ resources` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Resource>` Details of the Resourcess in the deployment. |

### getPreviewStep

Output only. The current step of the preview.

The possible steps a preview may be running as returned by the
Infrastructure. Manager.

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

### setPreviewStep

Output only. The current step of the preview.

The possible steps a preview may be running as returned by the
Infrastructure. Manager.

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

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

### getPreviewBuild

Output only. Cloud Build instance UUID associated with the preview
operation.

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

### setPreviewBuild

Output only. Cloud Build instance UUID associated with the preview
operation.

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

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

### getPreviewLogs

Output only. Location of the preview operation logs in
`gs://{bucket}/{object}` format.

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

### setPreviewLogs

Output only. Location of the preview 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<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Resource>` |   |

### setResources

Details of the Resourcess in the deployment.

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

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