# Class AlloyDbSettings (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.4 1.11.0 1.10.1 1.9.5 1.8.0 1.7.1 1.6.2 1.5.0 1.4.3 1.3.2 1.2.1 1.1.0 1.0.2 0.2.4 0.1.0

    AlloyDbSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for creating an AlloyDB cluster.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `initial_user` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.AlloyDbSettings.UserPassword` Required. Input only. Initial user to setup during cluster creation. Required. |
| `vpc_network` | `str` 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. |
| `labels` | `MutableMapping[str, str]` Labels for the AlloyDB cluster created by DMS. An object containing a list of 'key', 'value' pairs. |
| `encryption_config` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.AlloyDbSettings.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. |

## Classes

### EncryptionConfig

    EncryptionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

EncryptionConfig describes the encryption config of a cluster
that is encrypted with a CMEK (customer-managed encryption key).

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### PrimaryInstanceSettings

    PrimaryInstanceSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for the cluster's primary instance

### UserPassword

    UserPassword(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The username/password for a database user. Used for
specifying initial users at cluster creation time.