Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourcePolicyHourlyCycle (v1.5.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ResourcePolicyHourlyCycle.

Time window specified for hourly operations.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#duration

def duration() -> ::String
Returns
  • (::String) — [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

#duration=

def duration=(value) -> ::String
Parameter
  • value (::String) — [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
Returns
  • (::String) — [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.

#hours_in_cycle

def hours_in_cycle() -> ::Integer
Returns
  • (::Integer) — Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.

#hours_in_cycle=

def hours_in_cycle=(value) -> ::Integer
Parameter
  • value (::Integer) — Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
Returns
  • (::Integer) — Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.

#start_time

def start_time() -> ::String
Returns
  • (::String) — Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.

#start_time=

def start_time=(value) -> ::String
Parameter
  • value (::String) — Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
Returns
  • (::String) — Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.