Google Cloud BigQuery Migration V2 Client - Class TimeInterval (0.3.3)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TimeInterval.

A time interval extending just after a start time through an end time.

If the start time is the same as the end time, then the interval represents a single point in time.

Generated from protobuf message google.cloud.bigquery.migration.v2.TimeInterval

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

↳ end_time Google\Protobuf\Timestamp

Required. The end of the time interval.

getStartTime

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.

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

getEndTime

Required. The end of the time interval.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Required. The end of the time interval.

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