# Class ConnectionProfile (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

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

A connection profile definition.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". |
| `labels` | `MutableMapping[str, str]` The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.ConnectionProfile.State` The current connection profile state (e.g. DRAFT, READY, or FAILED). |
| `display_name` | `str` The connection profile display name. |
| `mysql` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.MySqlConnectionProfile` A MySQL database connection profile. This field is a member of `oneof`_ `connection_profile`. |
| `postgresql` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.PostgreSqlConnectionProfile` A PostgreSQL database connection profile. This field is a member of `oneof`_ `connection_profile`. |
| `oracle` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.OracleConnectionProfile` An Oracle database connection profile. This field is a member of `oneof`_ `connection_profile`. |
| `cloudsql` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.CloudSqlConnectionProfile` A CloudSQL database connection profile. This field is a member of `oneof`_ `connection_profile`. |
| `alloydb` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.AlloyDbConnectionProfile` An AlloyDB cluster connection profile. This field is a member of `oneof`_ `connection_profile`. |
| `error` | `google.rpc.status_pb2.Status` Output only. The error details in case of state FAILED. |
| `provider` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.DatabaseProvider` The database provider. |

## Classes

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

### State

    State(value)

The current connection profile state (e.g. DRAFT, READY, or
FAILED).