ClusterPersistenceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of the persistence functionality.
Attributes |
|
---|---|
Name | Description |
mode |
google.cloud.redis_cluster_v1.types.ClusterPersistenceConfig.PersistenceMode
Optional. The mode of persistence. |
rdb_config |
google.cloud.redis_cluster_v1.types.ClusterPersistenceConfig.RDBConfig
Optional. RDB configuration. This field will be ignored if mode is not RDB. |
aof_config |
google.cloud.redis_cluster_v1.types.ClusterPersistenceConfig.AOFConfig
Optional. AOF configuration. This field will be ignored if mode is not AOF. |
Classes
AOFConfig
AOFConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of the AOF based persistence.
PersistenceMode
PersistenceMode(value)
Available persistence modes.
RDBConfig
RDBConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Configuration of the RDB based persistence.