BigQuery Data Transfer V1 Client - Class TimeRange (1.3.8)

Reference documentation and code samples for the BigQuery Data Transfer V1 Client class TimeRange.

A specification for a time range, this will request transfer runs with run_time between start_time (inclusive) and end_time (exclusive).

Generated from protobuf message google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest.TimeRange

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00". The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

↳ end_time Google\Protobuf\Timestamp

End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00". The end_time must not be in the future. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

getStartTime

Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00". The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

Generated from protobuf field .google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start time of the range of transfer runs. For example, "2017-05-25T00:00:00+00:00". The start_time must be strictly less than the end_time. Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

Generated from protobuf field .google.protobuf.Timestamp start_time = 1;

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

getEndTime

End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00". The end_time must not be in the future.

Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

Generated from protobuf field .google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of the range of transfer runs. For example, "2017-05-30T00:00:00+00:00". The end_time must not be in the future.

Creates transfer runs where run_time is in the range between start_time (inclusive) and end_time (exclusive).

Generated from protobuf field .google.protobuf.Timestamp end_time = 2;

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