Packages

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, 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.

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, 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.

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

Inherited from Updatable[Cluster]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped