public sealed class Interval : IMessage<Interval>, IEquatable<Interval>, IDeepCloneable<Interval>, IBufferMessage, IMessageReference documentation and code samples for the Compute Engine v1 API class Interval.
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive).
The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
Interval()
public Interval()Interval(Interval)
public Interval(Interval other)| Parameter | |
|---|---|
| Name | Description |
other |
Interval |
Properties
EndTime
public string EndTime { get; set; }Optional. Exclusive end of the interval.
If specified, a Timestamp matching this interval will have to be before the end.
| Property Value | |
|---|---|
| Type | Description |
string |
|
HasEndTime
public bool HasEndTime { get; }Gets whether the "end_time" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasStartTime
public bool HasStartTime { get; }Gets whether the "start_time" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
StartTime
public string StartTime { get; set; }Optional. Inclusive start of the interval.
If specified, a Timestamp matching this interval will have to be the same or after the start.
| Property Value | |
|---|---|
| Type | Description |
string |
|