Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicy (v2.4.0)

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

An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expiration_time

def expiration_time() -> ::String
Returns
  • (::String) — The expiration time of the schedule. The timestamp is an RFC3339 string.

#expiration_time=

def expiration_time=(value) -> ::String
Parameter
  • value (::String) — The expiration time of the schedule. The timestamp is an RFC3339 string.
Returns
  • (::String) — The expiration time of the schedule. The timestamp is an RFC3339 string.

#start_time

def start_time() -> ::String
Returns
  • (::String) — The start time of the schedule. The timestamp is an RFC3339 string.

#start_time=

def start_time=(value) -> ::String
Parameter
  • value (::String) — The start time of the schedule. The timestamp is an RFC3339 string.
Returns
  • (::String) — The start time of the schedule. The timestamp is an RFC3339 string.

#time_zone

def time_zone() -> ::String
Returns
  • (::String) — Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.

#time_zone=

def time_zone=(value) -> ::String
Parameter
  • value (::String) — Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.
Returns
  • (::String) — Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: https://wikipedia.org/wiki/Tz_database.

#vm_start_schedule

def vm_start_schedule() -> ::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule
Returns

#vm_start_schedule=

def vm_start_schedule=(value) -> ::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule
Parameter
Returns

#vm_stop_schedule

def vm_stop_schedule() -> ::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule
Returns

#vm_stop_schedule=

def vm_stop_schedule=(value) -> ::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule
Parameter
Returns