final case class AutomatedBackupPolicy(schedule: Schedule = com.google.cloud.alloydb.v1.resources.AutomatedBackupPolicy.Schedule.Empty, retention: Retention = com.google.cloud.alloydb.v1.resources.AutomatedBackupPolicy.Retention.Empty, enabled: Option[Boolean] = _root_.scala.None, backupWindow: Option[Duration] = _root_.scala.None, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, location: String = "", labels: Map[String, String] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[AutomatedBackupPolicy] with Product with Serializable
Message describing the user-specified automated backup policy.
All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.
- enabled
Whether automated automated backups are enabled. If not set, defaults to true.
- backupWindow
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
- encryptionConfig
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
- location
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
- labels
Labels to apply to backups created using this configuration.
- Annotations
- @SerialVersionUID()
- Source
- AutomatedBackupPolicy.scala
- Alphabetic
- By Inheritance
- AutomatedBackupPolicy
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AutomatedBackupPolicy(schedule: Schedule = com.google.cloud.alloydb.v1.resources.AutomatedBackupPolicy.Schedule.Empty, retention: Retention = com.google.cloud.alloydb.v1.resources.AutomatedBackupPolicy.Retention.Empty, enabled: Option[Boolean] = _root_.scala.None, backupWindow: Option[Duration] = _root_.scala.None, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, location: String = "", labels: Map[String, String] = _root_.scala.collection.immutable.Map.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- enabled
Whether automated automated backups are enabled. If not set, defaults to true.
- backupWindow
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
- encryptionConfig
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
- location
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
- labels
Labels to apply to backups created using this configuration.
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
- def addAllLabels(__vs: Iterable[(String, String)]): AutomatedBackupPolicy
- def addLabels(__vs: (String, String)*): AutomatedBackupPolicy
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backupWindow: Option[Duration]
- def clearBackupWindow: AutomatedBackupPolicy
- def clearEnabled: AutomatedBackupPolicy
- def clearEncryptionConfig: AutomatedBackupPolicy
- def clearLabels: AutomatedBackupPolicy
- def clearRetention: AutomatedBackupPolicy
- def clearSchedule: AutomatedBackupPolicy
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: AutomatedBackupPolicy.type
- Definition Classes
- AutomatedBackupPolicy → GeneratedMessage
- def discardUnknownFields: AutomatedBackupPolicy
- val enabled: Option[Boolean]
- val encryptionConfig: Option[EncryptionConfig]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getBackupWindow: Duration
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getEnabled: Boolean
- def getEncryptionConfig: EncryptionConfig
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- AutomatedBackupPolicy → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AutomatedBackupPolicy → GeneratedMessage
- def getQuantityBasedRetention: QuantityBasedRetention
- def getTimeBasedRetention: TimeBasedRetention
- def getWeeklySchedule: WeeklySchedule
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labels: Map[String, String]
- val location: String
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val retention: Retention
- val schedule: Schedule
- def serializedSize: Int
- Definition Classes
- AutomatedBackupPolicy → 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
- AutomatedBackupPolicy → GeneratedMessage
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[AutomatedBackupPolicy, AutomatedBackupPolicy]) => Mutation[AutomatedBackupPolicy]*): AutomatedBackupPolicy
- 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 withBackupWindow(__v: Duration): AutomatedBackupPolicy
- def withEnabled(__v: Boolean): AutomatedBackupPolicy
- def withEncryptionConfig(__v: EncryptionConfig): AutomatedBackupPolicy
- def withLabels(__v: Map[String, String]): AutomatedBackupPolicy
- def withLocation(__v: String): AutomatedBackupPolicy
- def withQuantityBasedRetention(__v: QuantityBasedRetention): AutomatedBackupPolicy
- def withRetention(__v: Retention): AutomatedBackupPolicy
- def withSchedule(__v: Schedule): AutomatedBackupPolicy
- def withTimeBasedRetention(__v: TimeBasedRetention): AutomatedBackupPolicy
- def withUnknownFields(__v: UnknownFieldSet): AutomatedBackupPolicy
- def withWeeklySchedule(__v: WeeklySchedule): AutomatedBackupPolicy
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AutomatedBackupPolicy → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage