BigQuery Data Transfer V1 Client - Class ScheduleTransferRunsRequest (2.1.0)

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 Google\Cloud\BigQuery\DataTransfer\V1\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
Google\Cloud\BigQuery\DataTransfer\V1\ScheduleTransferRunsRequest