Reference documentation and code samples for the Google Cloud Memorystore V1 Client class PersistenceConfig.
Represents persistence configuration for a instance.
Generated from protobuf message google.cloud.memorystore.v1.PersistenceConfig
Namespace
Google \ Cloud \ Memorystore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mode
int
Optional. Current persistence mode.
↳ rdb_config
PersistenceConfig\RDBConfig
Optional. RDB configuration. This field will be ignored if mode is not RDB.
↳ aof_config
PersistenceConfig\AOFConfig
Optional. AOF configuration. This field will be ignored if mode is not AOF.
getMode
Optional. Current persistence mode.
int
setMode
Optional. Current persistence mode.
var
int
$this
getRdbConfig
Optional. RDB configuration. This field will be ignored if mode is not RDB.
hasRdbConfig
clearRdbConfig
setRdbConfig
Optional. RDB configuration. This field will be ignored if mode is not RDB.
$this
getAofConfig
Optional. AOF configuration. This field will be ignored if mode is not AOF.
hasAofConfig
clearAofConfig
setAofConfig
Optional. AOF configuration. This field will be ignored if mode is not AOF.
$this