BigQuery Data Transfer V1 Client - Class TimeRange (2.1.0)

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

Namespace

Google \ Cloud \ BigQuery \ DataTransfer \ V1 \ StartManualTransferRunsRequest

Methods

__construct

Constructor.

Parameters
Name Description
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).

Returns
Type Description
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).

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$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).

Returns
Type Description
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).

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this