Class: Google::Cloud::NetApp::V1::WeeklySchedule

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

Overview

Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50

Instance Attribute Summary collapse

Instance Attribute Details

#day::String

Returns Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

Returns:

  • (::String)

    Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.



428
429
430
431
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 428

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

#hour::Float

Returns Set the hour to start the snapshot (0-23), defaults to midnight (0).

Returns:

  • (::Float)

    Set the hour to start the snapshot (0-23), defaults to midnight (0).



428
429
430
431
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 428

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

#minute::Float

Returns Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

Returns:

  • (::Float)

    Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).



428
429
430
431
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 428

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

#snapshots_to_keep::Float

Returns The maximum number of Snapshots to keep for the hourly schedule.

Returns:

  • (::Float)

    The maximum number of Snapshots to keep for the hourly schedule



428
429
430
431
# File 'proto_docs/google/cloud/netapp/v1/volume.rb', line 428

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