Compute Engine v1 API - Class ResourcePolicyDailyCycle (2.13.0)

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

Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicyDailyCycle.

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
int

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
bool

HasDuration

public bool HasDuration { get; }

Gets whether the "duration" field is set

Property Value
TypeDescription
bool

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
TypeDescription
bool

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