# Class PrivateConnection (1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.0 1.8.3 1.7.0 1.6.1 1.5.0 1.4.4 1.3.0 1.2.0 1.1.1 1.0.1 0.2.2 0.1.1

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

Private connection resource that provides connectivity for
VMware Engine private clouds.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: `projects/my-project/locations/us-central1/privateConnections/my-connection` |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Creation time of this resource. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Last update time of this resource. |
| `description` | `str` Optional. User-provided description for this private connection. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.PrivateConnection.State` Output only. State of the private connection. |
| `vmware_engine_network` | `str` Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` where `{project}`, `{location}` will be same as specified in private connection resource name and `{vmware_engine_network_id}` will be in the form of `{location}`-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. |
| `vmware_engine_network_canonical` | `str` Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}` |
| `type_` | `https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.PrivateConnection.Type` Required. Private connection type. |
| `peering_id` | `str` Output only. VPC network peering id between given network VPC and VMwareEngineNetwork. |
| `routing_mode` | `https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.PrivateConnection.RoutingMode` Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported. |
| `uid` | `str` Output only. System-generated unique identifier for the resource. |
| `service_network` | `str` Required. Service network to create private connection. Specify the name in the following form: `projects/{project}/global/networks/{network_id}` For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. |
| `peering_state` | `https://docs.cloud.google.com/python/docs/reference/vmwareengine/latest/google.cloud.vmwareengine_v1.types.PrivateConnection.PeeringState` Output only. Peering state between service network and VMware Engine network. |

## Classes

### PeeringState

    PeeringState(value)

Enum PeeringState defines the possible states of peering
between service network and the vpc network peered to service
network

### RoutingMode

    RoutingMode(value)

Possible types for RoutingMode

### State

    State(value)

Enum State defines possible states of private connection.

### Type

    Type(value)

Enum Type defines possible types of private connection.