DataProtectionMode

com.google.cloud.redis.v1.cloud_redis.FailoverInstanceRequest$.DataProtectionMode$
See theDataProtectionMode companion class
object DataProtectionMode extends GeneratedEnumCompanion[DataProtectionMode]

Attributes

Companion
class
Source
FailoverInstanceRequest.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[DataProtectionMode]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.

Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified.

Attributes

Source
FailoverInstanceRequest.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Instance failover will be performed without data loss control.

Instance failover will be performed without data loss control.

Attributes

Source
FailoverInstanceRequest.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold.

Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold.

Attributes

Source
FailoverInstanceRequest.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
sealed trait Recognized extends DataProtectionMode

Attributes

Source
FailoverInstanceRequest.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
final case class Unrecognized(unrecognizedValue: Int) extends DataProtectionMode, UnrecognizedEnum

Attributes

Source
FailoverInstanceRequest.scala
Supertypes
trait UnrecognizedEnum
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): DataProtectionMode

Attributes

Source
FailoverInstanceRequest.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
FailoverInstanceRequest.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
FailoverInstanceRequest.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[DataProtectionMode]

Attributes

Source
FailoverInstanceRequest.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[DataProtectionMode]

Attributes

Source
FailoverInstanceRequest.scala