Google Cloud Assured Workloads V1 Client - Class TimeWindow (0.9.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

The start of the time window.

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

getEndTime

The end of the time window.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

The end of the time window.

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