Reference documentation and code samples for the Memorystore V1BETA API class Google::Cloud::Memorystore::V1beta::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::V1beta::PersistenceConfig::AOFConfig
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
#aof_config=
def aof_config=(value) -> ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig
Parameter
- value (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig) — Optional. AOF configuration. This field will be ignored if mode is not AOF.
#mode
def mode() -> ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::PersistenceMode
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::PersistenceMode) — Optional. Current persistence mode.
#mode=
def mode=(value) -> ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::PersistenceMode
Parameter
- value (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::PersistenceMode) — Optional. Current persistence mode.
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::PersistenceMode) — Optional. Current persistence mode.
#rdb_config
def rdb_config() -> ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::RDBConfig
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.
#rdb_config=
def rdb_config=(value) -> ::Google::Cloud::Memorystore::V1beta::PersistenceConfig::RDBConfig
Parameter
- value (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.
Returns
- (::Google::Cloud::Memorystore::V1beta::PersistenceConfig::RDBConfig) — Optional. RDB configuration. This field will be ignored if mode is not RDB.