Google Cloud Assured Workloads V1 Client - Class TimeWindow (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Assured Workloads V1 Client class TimeWindow.

Interval defining a time window.

Generated from protobuf message google.cloud.assuredworkloads.v1.TimeWindow

Namespace

Google \ Cloud \ AssuredWorkloads \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

The start of the time window.

↳ end_time Google\Protobuf\Timestamp

The end of the time window.

getStartTime

The start of the time window.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The start of the time window.

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

getEndTime

The end of the time window.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The end of the time window.

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