Compute V1 Client - Class FutureReservationTimeWindow (2.3.0)

Reference documentation and code samples for the Compute V1 Client class FutureReservationTimeWindow.

Generated from protobuf message google.cloud.compute.v1.FutureReservationTimeWindow

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ duration Duration
↳ end_time string
↳ start_time string

Start time of the Future Reservation. The start_time is an RFC3339 string.

getDuration

Generated from protobuf field optional .google.cloud.compute.v1.Duration duration = 155471252;

Returns
Type Description
Duration|null

hasDuration

clearDuration

setDuration

Generated from protobuf field optional .google.cloud.compute.v1.Duration duration = 155471252;

Parameter
Name Description
var Duration
Returns
Type Description
$this

getEndTime

Generated from protobuf field optional string end_time = 114938801;

Returns
Type Description
string

hasEndTime

clearEndTime

setEndTime

Generated from protobuf field optional string end_time = 114938801;

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTime

Start time of the Future Reservation. The start_time is an RFC3339 string.

Returns
Type Description
string

hasStartTime

clearStartTime

setStartTime

Start time of the Future Reservation. The start_time is an RFC3339 string.

Parameter
Name Description
var string
Returns
Type Description
$this