final case class PersistenceConfig(persistenceMode: PersistenceMode = com.google.cloud.redis.v1.cloud_redis.PersistenceConfig.PersistenceMode.PERSISTENCE_MODE_UNSPECIFIED, rdbSnapshotPeriod: SnapshotPeriod = com.google.cloud.redis.v1.cloud_redis.PersistenceConfig.SnapshotPeriod.SNAPSHOT_PERIOD_UNSPECIFIED, rdbNextSnapshotTime: Option[Timestamp] = _root_.scala.None, rdbSnapshotStartTime: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[PersistenceConfig] with Product with Serializable
Configuration of the persistence functionality.
- persistenceMode
Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdbSnapshotPeriod
Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdbNextSnapshotTime
Output only. The next time that a snapshot attempt is scheduled to occur.
- rdbSnapshotStartTime
Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
- Annotations
- @SerialVersionUID()
- Source
- PersistenceConfig.scala
- Alphabetic
- By Inheritance
- PersistenceConfig
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PersistenceConfig(persistenceMode: PersistenceMode = com.google.cloud.redis.v1.cloud_redis.PersistenceConfig.PersistenceMode.PERSISTENCE_MODE_UNSPECIFIED, rdbSnapshotPeriod: SnapshotPeriod = com.google.cloud.redis.v1.cloud_redis.PersistenceConfig.SnapshotPeriod.SNAPSHOT_PERIOD_UNSPECIFIED, rdbNextSnapshotTime: Option[Timestamp] = _root_.scala.None, rdbSnapshotStartTime: Option[Timestamp] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- persistenceMode
Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.
- rdbSnapshotPeriod
Optional. Period between RDB snapshots. Snapshots will be attempted every period starting from the provided snapshot start time. For example, a start time of 01/01/2033 06:45 and SIX_HOURS snapshot period will do nothing until 01/01/2033, and then trigger snapshots every day at 06:45, 12:45, 18:45, and 00:45 the next day, and so on. If not provided, TWENTY_FOUR_HOURS will be used as default.
- rdbNextSnapshotTime
Output only. The next time that a snapshot attempt is scheduled to occur.
- rdbSnapshotStartTime
Optional. Date and time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearRdbNextSnapshotTime: PersistenceConfig
- def clearRdbSnapshotStartTime: PersistenceConfig
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: PersistenceConfig.type
- Definition Classes
- PersistenceConfig → GeneratedMessage
- def discardUnknownFields: PersistenceConfig
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- PersistenceConfig → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PersistenceConfig → GeneratedMessage
- def getRdbNextSnapshotTime: Timestamp
- def getRdbSnapshotStartTime: Timestamp
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val persistenceMode: PersistenceMode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val rdbNextSnapshotTime: Option[Timestamp]
- val rdbSnapshotPeriod: SnapshotPeriod
- val rdbSnapshotStartTime: Option[Timestamp]
- def serializedSize: Int
- Definition Classes
- PersistenceConfig → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- PersistenceConfig → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[PersistenceConfig, PersistenceConfig]) => Mutation[PersistenceConfig]*): PersistenceConfig
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withPersistenceMode(__v: PersistenceMode): PersistenceConfig
- def withRdbNextSnapshotTime(__v: Timestamp): PersistenceConfig
- def withRdbSnapshotPeriod(__v: SnapshotPeriod): PersistenceConfig
- def withRdbSnapshotStartTime(__v: Timestamp): PersistenceConfig
- def withUnknownFields(__v: UnknownFieldSet): PersistenceConfig
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PersistenceConfig → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage