# Class Connection (1.22.0)

1.22.0 (latest) 1.21.0 1.20.0 1.19.0 1.18.3 1.17.0 1.16.1 1.15.5 1.14.0 1.13.2 1.12.1 1.11.0 1.10.0 1.9.1 1.8.0 1.7.3 1.6.0 1.5.1 1.4.0 1.3.4 1.2.3 1.1.1 1.0.1 0.3.2 0.2.0 0.1.0

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

Configuration parameters to establish connection with an
external data source, except the credential attributes.

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 resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/connections/{connection_id}` |
| `friendly_name` | `str` User provided display name for the connection. |
| `description` | `str` User provided description. |
| `cloud_sql` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.CloudSqlProperties` Cloud SQL properties. This field is a member of `oneof`_ `properties`. |
| `aws` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.AwsProperties` Amazon Web Services (AWS) properties. This field is a member of `oneof`_ `properties`. |
| `azure` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.AzureProperties` Azure properties. This field is a member of `oneof`_ `properties`. |
| `cloud_spanner` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.CloudSpannerProperties` Cloud Spanner properties. This field is a member of `oneof`_ `properties`. |
| `cloud_resource` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.CloudResourceProperties` Cloud Resource properties. This field is a member of `oneof`_ `properties`. |
| `spark` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.SparkProperties` Spark properties. This field is a member of `oneof`_ `properties`. |
| `salesforce_data_cloud` | `https://docs.cloud.google.com/python/docs/reference/bigqueryconnection/latest/google.cloud.bigquery_connection_v1.types.SalesforceDataCloudProperties` Optional. Salesforce DataCloud properties. This field is intended for use only by Salesforce partner projects. This field contains properties for your Salesforce DataCloud connection. This field is a member of `oneof`_ `properties`. |
| `creation_time` | `int` Output only. The creation timestamp of the connection. |
| `last_modified_time` | `int` Output only. The last update timestamp of the connection. |
| `has_credential` | `bool` Output only. True, if credential is configured for this connection. |