public sealed class ResourcePolicyDailyCycle : IMessage<ResourcePolicyDailyCycle>, IEquatable<ResourcePolicyDailyCycle>, IDeepCloneable<ResourcePolicyDailyCycle>, IBufferMessage, IMessage
Time window specified for daily operations.
Implements
IMessage<ResourcePolicyDailyCycle>, IEquatable<ResourcePolicyDailyCycle>, IDeepCloneable<ResourcePolicyDailyCycle>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ResourcePolicyDailyCycle()
public ResourcePolicyDailyCycle()
ResourcePolicyDailyCycle(ResourcePolicyDailyCycle)
public ResourcePolicyDailyCycle(ResourcePolicyDailyCycle other)
Parameter | |
---|---|
Name | Description |
other | ResourcePolicyDailyCycle |
Properties
DaysInCycle
public int DaysInCycle { get; set; }
Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
Property Value | |
---|---|
Type | Description |
Int32 |
Duration
public string Duration { get; set; }
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
Property Value | |
---|---|
Type | Description |
String |
HasDaysInCycle
public bool HasDaysInCycle { get; }
Gets whether the "days_in_cycle" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasDuration
public bool HasDuration { get; }
Gets whether the "duration" 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 |
StartTime
public string StartTime { get; set; }
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
Property Value | |
---|---|
Type | Description |
String |