Compute V1 Client - Class FlexibleTimeRange (2.4.0)

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

A flexible specification of a time range that has 3 points of flexibility: (1) a flexible start time, (2) a flexible end time, (3) a flexible duration.

It is possible to specify a contradictory time range that cannot be matched by any Interval. This causes a validation error.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ max_duration string
↳ min_duration string
↳ start_time_not_earlier_than string
↳ start_time_not_later_than string

getMaxDuration

Generated from protobuf field optional string max_duration = 39954959;

Returns
Type Description
string

hasMaxDuration

clearMaxDuration

setMaxDuration

Generated from protobuf field optional string max_duration = 39954959;

Parameter
Name Description
var string
Returns
Type Description
$this

getMinDuration

Generated from protobuf field optional string min_duration = 514381025;

Returns
Type Description
string

hasMinDuration

clearMinDuration

setMinDuration

Generated from protobuf field optional string min_duration = 514381025;

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTimeNotEarlierThan

Generated from protobuf field optional string start_time_not_earlier_than = 490386497;

Returns
Type Description
string

hasStartTimeNotEarlierThan

clearStartTimeNotEarlierThan

setStartTimeNotEarlierThan

Generated from protobuf field optional string start_time_not_earlier_than = 490386497;

Parameter
Name Description
var string
Returns
Type Description
$this

getStartTimeNotLaterThan

Generated from protobuf field optional string start_time_not_later_than = 212764853;

Returns
Type Description
string

hasStartTimeNotLaterThan

clearStartTimeNotLaterThan

setStartTimeNotLaterThan

Generated from protobuf field optional string start_time_not_later_than = 212764853;

Parameter
Name Description
var string
Returns
Type Description
$this