Class ResourcePolicyDailyCycle (1.2.0)

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

Time window specified for daily operations.

Inheritance

Object > ResourcePolicyDailyCycle

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ResourcePolicyDailyCycle()

public ResourcePolicyDailyCycle()

ResourcePolicyDailyCycle(ResourcePolicyDailyCycle)

public ResourcePolicyDailyCycle(ResourcePolicyDailyCycle other)
Parameter
NameDescription
otherResourcePolicyDailyCycle

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
TypeDescription
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
TypeDescription
String

HasDaysInCycle

public bool HasDaysInCycle { get; }

Gets whether the "days_in_cycle" field is set

Property Value
TypeDescription
Boolean

HasDuration

public bool HasDuration { get; }

Gets whether the "duration" field is set

Property Value
TypeDescription
Boolean

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
TypeDescription
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
TypeDescription
String