BigQuery Data Transfer V1 Client - Class ScheduleTransferRunsRequest (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

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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

Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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

Generated from protobuf field .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

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

Generated from protobuf field .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = REQUIRED];

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

Generated from protobuf field .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

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

Generated from protobuf field .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this