final case class Backup(name: String = "", displayName: String = "", uid: String = "", createTime: Option[Timestamp] = _root_.scala.None, updateTime: Option[Timestamp] = _root_.scala.None, deleteTime: Option[Timestamp] = _root_.scala.None, labels: Map[String, String] = _root_.scala.collection.immutable.Map.empty, state: State = com.google.cloud.alloydb.v1.resources.Backup.State.STATE_UNSPECIFIED, type: Type = com.google.cloud.alloydb.v1.resources.Backup.Type.TYPE_UNSPECIFIED, description: String = "", clusterUid: String = "", clusterName: String = "", reconciling: Boolean = false, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, encryptionInfo: Option[EncryptionInfo] = _root_.scala.None, etag: String = "", annotations: Map[String, String] = _root_.scala.collection.immutable.Map.empty, sizeBytes: Long = 0L, expiryTime: Option[Timestamp] = _root_.scala.None, expiryQuantity: Option[QuantityBasedExpiry] = _root_.scala.None, databaseVersion: DatabaseVersion = com.google.cloud.alloydb.v1.resources.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Backup] with Product with Serializable

Message describing Backup object

name

Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}

displayName

User-settable and human-readable display name for the Backup.

uid

Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.

createTime

Output only. Create time stamp

updateTime

Output only. Update time stamp

deleteTime

Output only. Delete time stamp

labels

Labels as key value pairs

state

Output only. The current state of the backup.

type

The backup type, which suggests the trigger for the backup.

description

User-provided description of the backup.

clusterUid

Output only. The system-generated UID of the cluster which was used to create this resource.

clusterName

Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).

reconciling

Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.

encryptionConfig

Optional. The encryption config can be specified to encrypt the backup 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.

encryptionInfo

Output only. The encryption information for the backup.

etag

For Resource freshness validation (https://google.aip.dev/154)

annotations

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

sizeBytes

Output only. The size of the backup in bytes.

expiryTime

Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.

expiryQuantity

Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.

databaseVersion

Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.

Annotations
@SerialVersionUID()
Source
Backup.scala
Linear Supertypes
Updatable[Backup], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Backup
  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 Backup(name: String = "", displayName: String = "", uid: String = "", createTime: Option[Timestamp] = _root_.scala.None, updateTime: Option[Timestamp] = _root_.scala.None, deleteTime: Option[Timestamp] = _root_.scala.None, labels: Map[String, String] = _root_.scala.collection.immutable.Map.empty, state: State = com.google.cloud.alloydb.v1.resources.Backup.State.STATE_UNSPECIFIED, type: Type = com.google.cloud.alloydb.v1.resources.Backup.Type.TYPE_UNSPECIFIED, description: String = "", clusterUid: String = "", clusterName: String = "", reconciling: Boolean = false, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, encryptionInfo: Option[EncryptionInfo] = _root_.scala.None, etag: String = "", annotations: Map[String, String] = _root_.scala.collection.immutable.Map.empty, sizeBytes: Long = 0L, expiryTime: Option[Timestamp] = _root_.scala.None, expiryQuantity: Option[QuantityBasedExpiry] = _root_.scala.None, databaseVersion: DatabaseVersion = com.google.cloud.alloydb.v1.resources.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    name

    Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}

    displayName

    User-settable and human-readable display name for the Backup.

    uid

    Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.

    createTime

    Output only. Create time stamp

    updateTime

    Output only. Update time stamp

    deleteTime

    Output only. Delete time stamp

    labels

    Labels as key value pairs

    state

    Output only. The current state of the backup.

    type

    The backup type, which suggests the trigger for the backup.

    description

    User-provided description of the backup.

    clusterUid

    Output only. The system-generated UID of the cluster which was used to create this resource.

    clusterName

    Required. The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).

    reconciling

    Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.

    encryptionConfig

    Optional. The encryption config can be specified to encrypt the backup 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.

    encryptionInfo

    Output only. The encryption information for the backup.

    etag

    For Resource freshness validation (https://google.aip.dev/154)

    annotations

    Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

    sizeBytes

    Output only. The size of the backup in bytes.

    expiryTime

    Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.

    expiryQuantity

    Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.

    databaseVersion

    Output only. The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.

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 addAllAnnotations(__vs: Iterable[(String, String)]): Backup
  5. def addAllLabels(__vs: Iterable[(String, String)]): Backup
  6. def addAnnotations(__vs: (String, String)*): Backup
  7. def addLabels(__vs: (String, String)*): Backup
  8. val annotations: Map[String, String]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clearAnnotations: Backup
  11. def clearCreateTime: Backup
  12. def clearDeleteTime: Backup
  13. def clearEncryptionConfig: Backup
  14. def clearEncryptionInfo: Backup
  15. def clearExpiryQuantity: Backup
  16. def clearExpiryTime: Backup
  17. def clearLabels: Backup
  18. def clearUpdateTime: Backup
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. val clusterName: String
  21. val clusterUid: String
  22. def companion: Backup.type
    Definition Classes
    Backup → GeneratedMessage
  23. val createTime: Option[Timestamp]
  24. val databaseVersion: DatabaseVersion
  25. val deleteTime: Option[Timestamp]
  26. val description: String
  27. def discardUnknownFields: Backup
  28. val displayName: String
  29. val encryptionConfig: Option[EncryptionConfig]
  30. val encryptionInfo: Option[EncryptionInfo]
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. val etag: String
  33. val expiryQuantity: Option[QuantityBasedExpiry]
  34. val expiryTime: Option[Timestamp]
  35. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  36. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def getCreateTime: Timestamp
  38. def getDeleteTime: Timestamp
  39. def getEncryptionConfig: EncryptionConfig
  40. def getEncryptionInfo: EncryptionInfo
  41. def getExpiryQuantity: QuantityBasedExpiry
  42. def getExpiryTime: Timestamp
  43. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Backup → GeneratedMessage
  44. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Backup → GeneratedMessage
  45. def getUpdateTime: Timestamp
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. val labels: Map[String, String]
  48. val name: String
  49. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  50. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  51. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. def productElementNames: Iterator[String]
    Definition Classes
    Product
  53. val reconciling: Boolean
  54. def serializedSize: Int
    Definition Classes
    Backup → GeneratedMessage
  55. val sizeBytes: Long
  56. val state: State
  57. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  58. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  59. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  60. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  61. def toProtoString: String
    Definition Classes
    Backup → GeneratedMessage
  62. val type: Type
  63. val uid: String
  64. val unknownFields: UnknownFieldSet
  65. def update(ms: (Lens[Backup, Backup]) => Mutation[Backup]*): Backup
    Definition Classes
    Updatable
  66. val updateTime: Option[Timestamp]
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  70. def withAnnotations(__v: Map[String, String]): Backup
  71. def withClusterName(__v: String): Backup
  72. def withClusterUid(__v: String): Backup
  73. def withCreateTime(__v: Timestamp): Backup
  74. def withDatabaseVersion(__v: DatabaseVersion): Backup
  75. def withDeleteTime(__v: Timestamp): Backup
  76. def withDescription(__v: String): Backup
  77. def withDisplayName(__v: String): Backup
  78. def withEncryptionConfig(__v: EncryptionConfig): Backup
  79. def withEncryptionInfo(__v: EncryptionInfo): Backup
  80. def withEtag(__v: String): Backup
  81. def withExpiryQuantity(__v: QuantityBasedExpiry): Backup
  82. def withExpiryTime(__v: Timestamp): Backup
  83. def withLabels(__v: Map[String, String]): Backup
  84. def withName(__v: String): Backup
  85. def withReconciling(__v: Boolean): Backup
  86. def withSizeBytes(__v: Long): Backup
  87. def withState(__v: State): Backup
  88. def withType(__v: Type): Backup
  89. def withUid(__v: String): Backup
  90. def withUnknownFields(__v: UnknownFieldSet): Backup
  91. def withUpdateTime(__v: Timestamp): Backup
  92. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  93. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Backup → GeneratedMessage
  94. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[Backup]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped