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

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

The PrivateConnection resource is used to establish private
connectivity with the customer's network.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The name of the resource. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The create time of the resource. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last update time of the resource. |
| `labels` | `MutableMapping[str, str]` The resource labels for private connections 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" }`. |
| `display_name` | `str` The private connection display name. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.PrivateConnection.State` Output only. The state of the private connection. |
| `error` | `google.rpc.status_pb2.Status` Output only. The error details in case of state FAILED. |
| `vpc_peering_config` | `https://docs.cloud.google.com/python/docs/reference/datamigration/latest/google.cloud.clouddms_v1.types.VpcPeeringConfig` VPC peering configuration. This field is a member of `oneof`_ `connectivity`. |

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

Private Connection state.