# Class PrivateConnection (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

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

The PrivateConnection resource is used to establish private
connectivity between Datastream and a customer's network.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource's name. |
| `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 update time of the resource. |
| `labels` | `MutableMapping[str, str]` Labels. |
| `display_name` | `str` Required. Display name. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1alpha1.types.PrivateConnection.State` Output only. The state of the Private Connection. |
| `error` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1alpha1.types.Error` Output only. In case of error, the details of the error in a user-friendly format. |
| `vpc_peering_config` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1alpha1.types.VpcPeeringConfig` VPC Peering Config |

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