Memorystore v1 API - Class PersistenceConfig (1.0.0-beta01)

public sealed class PersistenceConfig : IMessage<PersistenceConfig>, IEquatable<PersistenceConfig>, IDeepCloneable<PersistenceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Memorystore v1 API class PersistenceConfig.

Represents persistence configuration for a instance.

Inheritance

object > PersistenceConfig

Namespace

Google.Cloud.Memorystore.V1

Assembly

Google.Cloud.Memorystore.V1.dll

Constructors

PersistenceConfig()

public PersistenceConfig()

PersistenceConfig(PersistenceConfig)

public PersistenceConfig(PersistenceConfig other)
Parameter
Name Description
other PersistenceConfig

Properties

AofConfig

public PersistenceConfig.Types.AOFConfig AofConfig { get; set; }

Optional. AOF configuration. This field will be ignored if mode is not AOF.

Property Value
Type Description
PersistenceConfigTypesAOFConfig

Mode

public PersistenceConfig.Types.PersistenceMode Mode { get; set; }

Optional. Current persistence mode.

Property Value
Type Description
PersistenceConfigTypesPersistenceMode

RdbConfig

public PersistenceConfig.Types.RDBConfig RdbConfig { get; set; }

Optional. RDB configuration. This field will be ignored if mode is not RDB.

Property Value
Type Description
PersistenceConfigTypesRDBConfig