Compute Engine v1 API - Class ResourcePolicyHourlyCycle (2.13.0)

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

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

Time window specified for hourly operations.

Inheritance

object > ResourcePolicyHourlyCycle

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ResourcePolicyHourlyCycle()

public ResourcePolicyHourlyCycle()

ResourcePolicyHourlyCycle(ResourcePolicyHourlyCycle)

public ResourcePolicyHourlyCycle(ResourcePolicyHourlyCycle other)
Parameter
NameDescription
otherResourcePolicyHourlyCycle

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

HasDuration

public bool HasDuration { get; }

Gets whether the "duration" field is set

Property Value
TypeDescription
bool

HasHoursInCycle

public bool HasHoursInCycle { get; }

Gets whether the "hours_in_cycle" field is set

Property Value
TypeDescription
bool

HasStartTime

public bool HasStartTime { get; }

Gets whether the "start_time" field is set

Property Value
TypeDescription
bool

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

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