Class: Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#expiration_time::String

Returns 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.



26744
26745
26746
26747
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26744

class ResourcePolicyInstanceSchedulePolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#start_time::String

Returns 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.



26744
26745
26746
26747
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26744

class ResourcePolicyInstanceSchedulePolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#time_zone::String

Returns 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.



26744
26745
26746
26747
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26744

class ResourcePolicyInstanceSchedulePolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#vm_start_schedule::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule

Returns Specifies the schedule for starting instances.

Returns:



26744
26745
26746
26747
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26744

class ResourcePolicyInstanceSchedulePolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#vm_stop_schedule::Google::Cloud::Compute::V1::ResourcePolicyInstanceSchedulePolicySchedule

Returns Specifies the schedule for stopping instances.

Returns:



26744
26745
26746
26747
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 26744

class ResourcePolicyInstanceSchedulePolicy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end