BigQuery Data Transfer V1 Client - Class ScheduleTransferRunsRequest (1.7.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getStartTime

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

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

Returns
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

static::build

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