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