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 ScheduleTransferRunsRequest.

A request to schedule transfer runs for a time range.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. |
| `↳ start_time` | `Google\Protobuf\Timestamp` Required. Start time of the range of transfer runs. For example, `"2017-05-25T00:00:00+00:00"`. |
| `↳ end_time` | `Google\Protobuf\Timestamp` Required. End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`. |

### getParent

Required. Transfer configuration name in the form:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.

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

### setParent

Required. Transfer configuration name in the form:
`projects/{project_id}/transferConfigs/{config_id}` or
`projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.

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

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

### getStartTime

Required. Start time of the range of transfer runs. For example,
`"2017-05-25T00:00:00+00:00"`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasStartTime

### clearStartTime

### setStartTime

Required. Start time of the range of transfer runs. For example,
`"2017-05-25T00:00:00+00:00"`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### getEndTime

Required. End time of the range of transfer runs. For example,
`"2017-05-30T00:00:00+00:00"`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasEndTime

### clearEndTime

### setEndTime

Required. End time of the range of transfer runs. For example,
`"2017-05-30T00:00:00+00:00"`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Transfer configuration name in the form: `projects/{project_id}/transferConfigs/{config_id}` or `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. Please see DataTransferServiceClient::transferConfigName() for help formatting this field. |
| `startTime` | `Google\Protobuf\Timestamp` Required. Start time of the range of transfer runs. For example, `"2017-05-25T00:00:00+00:00"`. |
| `endTime` | `Google\Protobuf\Timestamp` Required. End time of the range of transfer runs. For example, `"2017-05-30T00:00:00+00:00"`. |

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