PersistenceConfig

com.google.cloud.redis.v1.cloud_redis.PersistenceConfig
See thePersistenceConfig companion object
final case class PersistenceConfig(persistenceMode: PersistenceMode, rdbSnapshotPeriod: SnapshotPeriod, rdbNextSnapshotTime: Option[Timestamp], rdbSnapshotStartTime: Option[Timestamp], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PersistenceConfig]

Configuration of the persistence functionality.

Value parameters

persistenceMode

Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used.

rdbNextSnapshotTime

Output only. The next time that a snapshot attempt is scheduled to occur.

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.

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.

Attributes

Companion
object
Source
PersistenceConfig.scala
Graph
Supertypes
trait Updatable[PersistenceConfig]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
PersistenceConfig.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
PersistenceConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
PersistenceConfig.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
PersistenceConfig.scala
def withUnknownFields(`__v`: UnknownFieldSet): PersistenceConfig

Attributes

Source
PersistenceConfig.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
PersistenceConfig.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala