Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig.
Configuration of the persistence functionality.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#aof_config
def aof_config() -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
#aof_config=
def aof_config=(value) -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
#mode
def mode() -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::PersistenceMode
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::PersistenceMode) — Optional. The mode of persistence.
#mode=
def mode=(value) -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::PersistenceMode
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::PersistenceMode) — Optional. The mode of persistence.
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::PersistenceMode) — Optional. The mode of persistence.
#rdb_config
def rdb_config() -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::RDBConfig
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.
#rdb_config=
def rdb_config=(value) -> ::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::RDBConfig
Parameter
- value (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.
Returns
- (::Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.