Google Cloud Capacity Planner V1beta Client - Class TimeWindow (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class TimeWindow.

Represents time window for the Future Reservation.

Generated from protobuf message google.cloud.capacityplanner.v1beta.FutureReservation.TimeWindow

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta \ FutureReservation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Start time of the Future Reservation.

↳ end_time Google\Protobuf\Timestamp

End time of the Future Reservation.

getStartTime

Start time of the Future Reservation.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start time of the Future Reservation.

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

getEndTime

End time of the Future Reservation.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of the Future Reservation.

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