final case class Cluster(source: Source = com.google.cloud.alloydb.v1.resources.Cluster.Source.Empty, 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.Cluster.State.STATE_UNSPECIFIED, clusterType: ClusterType = com.google.cloud.alloydb.v1.resources.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED, databaseVersion: DatabaseVersion = com.google.cloud.alloydb.v1.resources.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED, network: String = "", etag: String = "", annotations: Map[String, String] = _root_.scala.collection.immutable.Map.empty, reconciling: Boolean = false, initialUser: Option[UserPassword] = _root_.scala.None, automatedBackupPolicy: Option[AutomatedBackupPolicy] = _root_.scala.None, sslConfig: Option[SslConfig] = _root_.scala.None, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, encryptionInfo: Option[EncryptionInfo] = _root_.scala.None, continuousBackupConfig: Option[ContinuousBackupConfig] = _root_.scala.None, continuousBackupInfo: Option[ContinuousBackupInfo] = _root_.scala.None, secondaryConfig: Option[SecondaryConfig] = _root_.scala.None, primaryConfig: Option[PrimaryConfig] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Cluster] with Product with Serializable

A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.

name

Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression [a-z0-9-]+. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}

displayName

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

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 serving state of the cluster.

clusterType

Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. CreateCluster vs. CreateSecondaryCluster

databaseVersion

Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.

network

Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.

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

reconciling

Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.

initialUser

Input only. Initial user to setup during cluster creation. Required. If used in RestoreCluster this is ignored.

automatedBackupPolicy

The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.

sslConfig

SSL configuration for this AlloyDB cluster.

encryptionConfig

Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.

encryptionInfo

Output only. The encryption information for the cluster.

continuousBackupConfig

Optional. Continuous backup configuration for this cluster.

continuousBackupInfo

Output only. Continuous backup properties for this cluster.

secondaryConfig

Cross Region replication config specific to SECONDARY cluster.

primaryConfig

Output only. Cross Region replication config specific to PRIMARY cluster.

Annotations
@SerialVersionUID()
Source
Cluster.scala
Linear Supertypes
Updatable[Cluster], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Cluster
  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 Cluster(source: Source = com.google.cloud.alloydb.v1.resources.Cluster.Source.Empty, 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.Cluster.State.STATE_UNSPECIFIED, clusterType: ClusterType = com.google.cloud.alloydb.v1.resources.Cluster.ClusterType.CLUSTER_TYPE_UNSPECIFIED, databaseVersion: DatabaseVersion = com.google.cloud.alloydb.v1.resources.DatabaseVersion.DATABASE_VERSION_UNSPECIFIED, network: String = "", etag: String = "", annotations: Map[String, String] = _root_.scala.collection.immutable.Map.empty, reconciling: Boolean = false, initialUser: Option[UserPassword] = _root_.scala.None, automatedBackupPolicy: Option[AutomatedBackupPolicy] = _root_.scala.None, sslConfig: Option[SslConfig] = _root_.scala.None, encryptionConfig: Option[EncryptionConfig] = _root_.scala.None, encryptionInfo: Option[EncryptionInfo] = _root_.scala.None, continuousBackupConfig: Option[ContinuousBackupConfig] = _root_.scala.None, continuousBackupInfo: Option[ContinuousBackupInfo] = _root_.scala.None, secondaryConfig: Option[SecondaryConfig] = _root_.scala.None, primaryConfig: Option[PrimaryConfig] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    name

    Output only. The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression [a-z0-9-]+. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}

    displayName

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

    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 serving state of the cluster.

    clusterType

    Output only. The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. CreateCluster vs. CreateSecondaryCluster

    databaseVersion

    Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.

    network

    Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.

    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

    reconciling

    Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.

    initialUser

    Input only. Initial user to setup during cluster creation. Required. If used in RestoreCluster this is ignored.

    automatedBackupPolicy

    The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.

    sslConfig

    SSL configuration for this AlloyDB cluster.

    encryptionConfig

    Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.

    encryptionInfo

    Output only. The encryption information for the cluster.

    continuousBackupConfig

    Optional. Continuous backup configuration for this cluster.

    continuousBackupInfo

    Output only. Continuous backup properties for this cluster.

    secondaryConfig

    Cross Region replication config specific to SECONDARY cluster.

    primaryConfig

    Output only. Cross Region replication config specific to PRIMARY cluster.

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)]): Cluster
  5. def addAllLabels(__vs: Iterable[(String, String)]): Cluster
  6. def addAnnotations(__vs: (String, String)*): Cluster
  7. def addLabels(__vs: (String, String)*): Cluster
  8. val annotations: Map[String, String]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val automatedBackupPolicy: Option[AutomatedBackupPolicy]
  11. def clearAnnotations: Cluster
  12. def clearAutomatedBackupPolicy: Cluster
  13. def clearContinuousBackupConfig: Cluster
  14. def clearContinuousBackupInfo: Cluster
  15. def clearCreateTime: Cluster
  16. def clearDeleteTime: Cluster
  17. def clearEncryptionConfig: Cluster
  18. def clearEncryptionInfo: Cluster
  19. def clearInitialUser: Cluster
  20. def clearLabels: Cluster
  21. def clearPrimaryConfig: Cluster
  22. def clearSecondaryConfig: Cluster
  23. def clearSource: Cluster
  24. def clearSslConfig: Cluster
  25. def clearUpdateTime: Cluster
  26. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  27. val clusterType: ClusterType
  28. def companion: Cluster.type
    Definition Classes
    Cluster → GeneratedMessage
  29. val continuousBackupConfig: Option[ContinuousBackupConfig]
  30. val continuousBackupInfo: Option[ContinuousBackupInfo]
  31. val createTime: Option[Timestamp]
  32. val databaseVersion: DatabaseVersion
  33. val deleteTime: Option[Timestamp]
  34. def discardUnknownFields: Cluster
  35. val displayName: String
  36. val encryptionConfig: Option[EncryptionConfig]
  37. val encryptionInfo: Option[EncryptionInfo]
  38. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. val etag: String
  40. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  41. def getAutomatedBackupPolicy: AutomatedBackupPolicy
  42. def getBackupSource: BackupSource
  43. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def getContinuousBackupConfig: ContinuousBackupConfig
  45. def getContinuousBackupInfo: ContinuousBackupInfo
  46. def getCreateTime: Timestamp
  47. def getDeleteTime: Timestamp
  48. def getEncryptionConfig: EncryptionConfig
  49. def getEncryptionInfo: EncryptionInfo
  50. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Cluster → GeneratedMessage
  51. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Cluster → GeneratedMessage
  52. def getInitialUser: UserPassword
  53. def getMigrationSource: MigrationSource
  54. def getPrimaryConfig: PrimaryConfig
  55. def getSecondaryConfig: SecondaryConfig
  56. def getSslConfig: SslConfig
  57. def getUpdateTime: Timestamp
  58. val initialUser: Option[UserPassword]
  59. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  60. val labels: Map[String, String]
  61. val name: String
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. val network: String
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. val primaryConfig: Option[PrimaryConfig]
  67. def productElementNames: Iterator[String]
    Definition Classes
    Product
  68. val reconciling: Boolean
  69. val secondaryConfig: Option[SecondaryConfig]
  70. def serializedSize: Int
    Definition Classes
    Cluster → GeneratedMessage
  71. val source: Source
  72. val state: State
  73. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  74. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  75. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  76. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  77. def toProtoString: String
    Definition Classes
    Cluster → GeneratedMessage
  78. val uid: String
  79. val unknownFields: UnknownFieldSet
  80. def update(ms: (Lens[Cluster, Cluster]) => Mutation[Cluster]*): Cluster
    Definition Classes
    Updatable
  81. val updateTime: Option[Timestamp]
  82. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  84. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  85. def withAnnotations(__v: Map[String, String]): Cluster
  86. def withAutomatedBackupPolicy(__v: AutomatedBackupPolicy): Cluster
  87. def withBackupSource(__v: BackupSource): Cluster
  88. def withClusterType(__v: ClusterType): Cluster
  89. def withContinuousBackupConfig(__v: ContinuousBackupConfig): Cluster
  90. def withContinuousBackupInfo(__v: ContinuousBackupInfo): Cluster
  91. def withCreateTime(__v: Timestamp): Cluster
  92. def withDatabaseVersion(__v: DatabaseVersion): Cluster
  93. def withDeleteTime(__v: Timestamp): Cluster
  94. def withDisplayName(__v: String): Cluster
  95. def withEncryptionConfig(__v: EncryptionConfig): Cluster
  96. def withEncryptionInfo(__v: EncryptionInfo): Cluster
  97. def withEtag(__v: String): Cluster
  98. def withInitialUser(__v: UserPassword): Cluster
  99. def withLabels(__v: Map[String, String]): Cluster
  100. def withMigrationSource(__v: MigrationSource): Cluster
  101. def withName(__v: String): Cluster
  102. def withNetwork(__v: String): Cluster
  103. def withPrimaryConfig(__v: PrimaryConfig): Cluster
  104. def withReconciling(__v: Boolean): Cluster
  105. def withSecondaryConfig(__v: SecondaryConfig): Cluster
  106. def withSource(__v: Source): Cluster
  107. def withSslConfig(__v: SslConfig): Cluster
  108. def withState(__v: State): Cluster
  109. def withUid(__v: String): Cluster
  110. def withUnknownFields(__v: UnknownFieldSet): Cluster
  111. def withUpdateTime(__v: Timestamp): Cluster
  112. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  113. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Cluster → GeneratedMessage
  114. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. val sslConfig: Option[SslConfig]
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[Cluster]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped