2.4.0 (latest) 2.3.3 2.2.4 2.1.5 2.0.0 1.8.6 1.7.0 1.6.2 1.5.2 1.4.5 1.3.8 Reference documentation and code samples for the BigQuery Data Transfer V1 Client class GetTransferRunRequest.

A request to get data transfer run information.

Generated from protobuf message `google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ DataTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` |

### getName

Required. The field will contain name of the resource requested, for
example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`

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

### setName

Required. The field will contain name of the resource requested, for
example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}`
or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The field will contain name of the resource requested, for example: `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` Please see DataTransferServiceClient::runName() for help formatting this field. |

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