public sealed class ResourcePolicyHourlyCycle : IMessage<ResourcePolicyHourlyCycle>, IEquatable<ResourcePolicyHourlyCycle>, IDeepCloneable<ResourcePolicyHourlyCycle>, IBufferMessage, IMessage
Time window specified for hourly operations.
Implements
IMessage<ResourcePolicyHourlyCycle>, IEquatable<ResourcePolicyHourlyCycle>, IDeepCloneable<ResourcePolicyHourlyCycle>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ResourcePolicyHourlyCycle()
public ResourcePolicyHourlyCycle()
ResourcePolicyHourlyCycle(ResourcePolicyHourlyCycle)
public ResourcePolicyHourlyCycle(ResourcePolicyHourlyCycle other)
Parameter | |
---|---|
Name | Description |
other | ResourcePolicyHourlyCycle |
Properties
Duration
public string Duration { get; set; }
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
Property Value | |
---|---|
Type | Description |
String |
HasDuration
public bool HasDuration { get; }
Gets whether the "duration" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasHoursInCycle
public bool HasHoursInCycle { get; }
Gets whether the "hours_in_cycle" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasStartTime
public bool HasStartTime { get; }
Gets whether the "start_time" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HoursInCycle
public int HoursInCycle { get; set; }
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
Property Value | |
---|---|
Type | Description |
Int32 |
StartTime
public string StartTime { get; set; }
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
Property Value | |
---|---|
Type | Description |
String |