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
Linear Supertypes
Updatable[PersistenceConfig], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistenceConfig
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearRdbNextSnapshotTime: PersistenceConfig
  6. def clearRdbSnapshotStartTime: PersistenceConfig
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def companion: PersistenceConfig.type
    Definition Classes
    PersistenceConfig → GeneratedMessage
  9. def discardUnknownFields: PersistenceConfig
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    PersistenceConfig → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    PersistenceConfig → GeneratedMessage
  15. def getRdbNextSnapshotTime: Timestamp
  16. def getRdbSnapshotStartTime: Timestamp
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val persistenceMode: PersistenceMode
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. val rdbNextSnapshotTime: Option[Timestamp]
  24. val rdbSnapshotPeriod: SnapshotPeriod
  25. val rdbSnapshotStartTime: Option[Timestamp]
  26. def serializedSize: Int
    Definition Classes
    PersistenceConfig → GeneratedMessage
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  29. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  30. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  31. def toProtoString: String
    Definition Classes
    PersistenceConfig → GeneratedMessage
  32. val unknownFields: UnknownFieldSet
  33. def update(ms: (Lens[PersistenceConfig, PersistenceConfig]) => Mutation[PersistenceConfig]*): PersistenceConfig
    Definition Classes
    Updatable
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. def withPersistenceMode(__v: PersistenceMode): PersistenceConfig
  38. def withRdbNextSnapshotTime(__v: Timestamp): PersistenceConfig
  39. def withRdbSnapshotPeriod(__v: SnapshotPeriod): PersistenceConfig
  40. def withRdbSnapshotStartTime(__v: Timestamp): PersistenceConfig
  41. def withUnknownFields(__v: UnknownFieldSet): PersistenceConfig
  42. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  43. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    PersistenceConfig → GeneratedMessage
  44. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[PersistenceConfig]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped