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

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

getEndTime

Required. The end of the time interval.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Required. The end of the time interval.

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