Packages

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
Linear Supertypes
Updatable[AutomatedBackupPolicy], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AutomatedBackupPolicy
  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 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

  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. def addAllLabels(__vs: Iterable[(String, String)]): AutomatedBackupPolicy
  5. def addLabels(__vs: (String, String)*): AutomatedBackupPolicy
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val backupWindow: Option[Duration]
  8. def clearBackupWindow: AutomatedBackupPolicy
  9. def clearEnabled: AutomatedBackupPolicy
  10. def clearEncryptionConfig: AutomatedBackupPolicy
  11. def clearLabels: AutomatedBackupPolicy
  12. def clearRetention: AutomatedBackupPolicy
  13. def clearSchedule: AutomatedBackupPolicy
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. def companion: AutomatedBackupPolicy.type
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  16. def discardUnknownFields: AutomatedBackupPolicy
  17. val enabled: Option[Boolean]
  18. val encryptionConfig: Option[EncryptionConfig]
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. def getBackupWindow: Duration
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getEnabled: Boolean
  24. def getEncryptionConfig: EncryptionConfig
  25. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  26. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  27. def getQuantityBasedRetention: QuantityBasedRetention
  28. def getTimeBasedRetention: TimeBasedRetention
  29. def getWeeklySchedule: WeeklySchedule
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. val labels: Map[String, String]
  32. val location: String
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. val retention: Retention
  38. val schedule: Schedule
  39. def serializedSize: Int
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  42. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  43. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  44. def toProtoString: String
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  45. val unknownFields: UnknownFieldSet
  46. def update(ms: (Lens[AutomatedBackupPolicy, AutomatedBackupPolicy]) => Mutation[AutomatedBackupPolicy]*): AutomatedBackupPolicy
    Definition Classes
    Updatable
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  50. def withBackupWindow(__v: Duration): AutomatedBackupPolicy
  51. def withEnabled(__v: Boolean): AutomatedBackupPolicy
  52. def withEncryptionConfig(__v: EncryptionConfig): AutomatedBackupPolicy
  53. def withLabels(__v: Map[String, String]): AutomatedBackupPolicy
  54. def withLocation(__v: String): AutomatedBackupPolicy
  55. def withQuantityBasedRetention(__v: QuantityBasedRetention): AutomatedBackupPolicy
  56. def withRetention(__v: Retention): AutomatedBackupPolicy
  57. def withSchedule(__v: Schedule): AutomatedBackupPolicy
  58. def withTimeBasedRetention(__v: TimeBasedRetention): AutomatedBackupPolicy
  59. def withUnknownFields(__v: UnknownFieldSet): AutomatedBackupPolicy
  60. def withWeeklySchedule(__v: WeeklySchedule): AutomatedBackupPolicy
  61. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  62. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    AutomatedBackupPolicy → GeneratedMessage
  63. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[AutomatedBackupPolicy]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped