Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ClusterPersistenceConfig.
Configuration of the persistence functionality.
Generated from protobuf message google.cloud.redis.cluster.v1.ClusterPersistenceConfig
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mode
int
Optional. The mode of persistence.
↳ rdb_config
ClusterPersistenceConfig\RDBConfig
Optional. RDB configuration. This field will be ignored if mode is not RDB.
↳ aof_config
ClusterPersistenceConfig\AOFConfig
Optional. AOF configuration. This field will be ignored if mode is not AOF.
getMode
Optional. The mode of persistence.
int
setMode
Optional. The mode of persistence.
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