# Google Cloud Migration Center V1 Client - Class GetErrorFrameRequest (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class GetErrorFrameRequest.

Generated from protobuf message `google.cloud.migrationcenter.v1.GetErrorFrameRequest`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame} |
| `↳ view` | `int` Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view. |

### getName

Required. The name of the frame to retrieve.

Format:
projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

### setName

Required. The name of the frame to retrieve.

Format:
projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}

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

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

### getView

Optional. An optional view mode to control the level of details for the
frame. The default is a basic frame view.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ErrorFrameView](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ErrorFrameView). |

### setView

Optional. An optional view mode to control the level of details for the
frame. The default is a basic frame view.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ErrorFrameView](https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.ErrorFrameView). |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame} Please see MigrationCenterClient::errorFrameName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-migrationcenter/latest/V1.GetErrorFrameRequest` |   |