Class: Google::Cloud::Redis::Cluster::V1beta1::ClusterPersistenceConfig::RDBConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb

Overview

Configuration of the RDB based persistence.

Defined Under Namespace

Modules: SnapshotPeriod

Instance Attribute Summary collapse

Instance Attribute Details

#rdb_snapshot_period::Google::Cloud::Redis::Cluster::V1beta1::ClusterPersistenceConfig::RDBConfig::SnapshotPeriod

Returns Optional. Period between RDB snapshots.



1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
# File 'proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb', line 1037

class RDBConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Available snapshot periods.
  module SnapshotPeriod
    # Not set.
    SNAPSHOT_PERIOD_UNSPECIFIED = 0

    # One hour.
    ONE_HOUR = 1

    # Six hours.
    SIX_HOURS = 2

    # Twelve hours.
    TWELVE_HOURS = 3

    # Twenty four hours.
    TWENTY_FOUR_HOURS = 4
  end
end

#rdb_snapshot_start_time::Google::Protobuf::Timestamp

Returns Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.

Returns:

  • (::Google::Protobuf::Timestamp)

    Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.



1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
# File 'proto_docs/google/cloud/redis/cluster/v1beta1/cloud_redis_cluster.rb', line 1037

class RDBConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Available snapshot periods.
  module SnapshotPeriod
    # Not set.
    SNAPSHOT_PERIOD_UNSPECIFIED = 0

    # One hour.
    ONE_HOUR = 1

    # Six hours.
    SIX_HOURS = 2

    # Twelve hours.
    TWELVE_HOURS = 3

    # Twenty four hours.
    TWENTY_FOUR_HOURS = 4
  end
end