Compute Engine v1 API - Class ResourcePolicyDailyCycle (3.2.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
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
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
Type Description
string

HasDaysInCycle

public bool HasDaysInCycle { get; }

Gets whether the "days_in_cycle" field is set

Property Value
Type Description
bool

HasDuration

public bool HasDuration { get; }

Gets whether the "duration" 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; }

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