Compute Engine v1 API - Class FlexibleTimeRange (3.22.0)

public sealed class FlexibleTimeRange : IMessage<FlexibleTimeRange>, IEquatable<FlexibleTimeRange>, IDeepCloneable<FlexibleTimeRange>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API 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.

Inheritance

object > FlexibleTimeRange

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

FlexibleTimeRange()

public FlexibleTimeRange()

FlexibleTimeRange(FlexibleTimeRange)

public FlexibleTimeRange(FlexibleTimeRange other)
Parameter
Name Description
other FlexibleTimeRange

Properties

HasMaxDuration

public bool HasMaxDuration { get; }

Gets whether the "max_duration" field is set

Property Value
Type Description
bool

HasMinDuration

public bool HasMinDuration { get; }

Gets whether the "min_duration" field is set

Property Value
Type Description
bool

HasStartTimeNotEarlierThan

public bool HasStartTimeNotEarlierThan { get; }

Gets whether the "start_time_not_earlier_than" field is set

Property Value
Type Description
bool

HasStartTimeNotLaterThan

public bool HasStartTimeNotLaterThan { get; }

Gets whether the "start_time_not_later_than" field is set

Property Value
Type Description
bool

MaxDuration

public string MaxDuration { get; set; }
Property Value
Type Description
string

MinDuration

public string MinDuration { get; set; }
Property Value
Type Description
string

StartTimeNotEarlierThan

public string StartTimeNotEarlierThan { get; set; }
Property Value
Type Description
string

StartTimeNotLaterThan

public string StartTimeNotLaterThan { get; set; }
Property Value
Type Description
string