{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-vmware-engine/json-schema/google-cloud-vmware-engine-private-connection-schema.json",
  "title": "PrivateConnection",
  "description": "Private connection resource that provides connectivity for VMware Engine private clouds.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-vmware-engine-projects-api-openapi.yml#/components/schemas/PrivateConnection",
  "properties": {
    "type": {
      "type": "string",
      "description": "Required. Private connection type.",
      "enum": [
        "TYPE_UNSPECIFIED",
        "PRIVATE_SERVICE_ACCESS",
        "NETAPP_CLOUD_VOLUMES",
        "DELL_POWERSCALE",
        "THIRD_PARTY_SERVICE"
      ]
    },
    "state": {
      "enum": [
        "STATE_UNSPECIFIED",
        "CREATING",
        "ACTIVE",
        "UPDATING",
        "DELETING",
        "UNPROVISIONED",
        "FAILED"
      ],
      "readOnly": true,
      "description": "Output only. State of the private connection.",
      "type": "string"
    },
    "name": {
      "description": "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`",
      "type": "string",
      "readOnly": true
    },
    "uid": {
      "readOnly": true,
      "description": "Output only. System-generated unique identifier for the resource.",
      "type": "string"
    },
    "routingMode": {
      "type": "string",
      "description": "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.",
      "enum": [
        "ROUTING_MODE_UNSPECIFIED",
        "GLOBAL",
        "REGIONAL"
      ]
    },
    "description": {
      "type": "string",
      "description": "Optional. User-provided description for this private connection."
    },
    "updateTime": {
      "type": "string",
      "readOnly": true,
      "format": "google-datetime",
      "description": "Output only. Last update time of this resource."
    },
    "peeringState": {
      "readOnly": true,
      "enum": [
        "PEERING_STATE_UNSPECIFIED",
        "PEERING_ACTIVE",
        "PEERING_INACTIVE"
      ],
      "type": "string",
      "description": "Output only. Peering state between service network and VMware Engine network."
    },
    "vmwareEngineNetwork": {
      "type": "string",
      "description": "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."
    },
    "createTime": {
      "description": "Output only. Creation time of this resource.",
      "format": "google-datetime",
      "type": "string",
      "readOnly": true
    },
    "serviceNetwork": {
      "description": "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.",
      "type": "string"
    },
    "peeringId": {
      "description": "Output only. VPC network peering id between given network VPC and VMwareEngineNetwork.",
      "type": "string",
      "readOnly": true
    },
    "vmwareEngineNetworkCanonical": {
      "readOnly": true,
      "description": "Output only. The canonical name of the VMware Engine network in the form: `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`",
      "type": "string"
    }
  },
  "type": "object"
}