Google Cloud Engine

Use the generic connection Create, Read, Update and Delete (CRUD) routes for searching, updating and deleting Layer 2 Google Cloud Engine Direct Connect Partner connections.

Create a new L2 Google Compute Engine Direct Connect Partner connection

Prerequisites

  • Your company has been verified on the Console Connect platform.

  • The authenticated user account has Network Admin permissions.

  • The source port is ACTIVE.

  • You are requesting paymentType "invoice", or, if requesting paymentType "plan", the subscription associated with the port has sufficient entitlements to complete the request.

Note: Google Direct Connect Partner connections require redundancy - you must specify two destination ports when creating the connection. You must also specify the region name and two pairing keys from that region.

Securityapi-key
Request
path Parameters
companyName
required
string

The username of the company creating the connection.

Example: Acme
Request Body schema: application/json
required
type
string

The connection type, typically 'LAYER_2'.

name
string

The name of the new connection.

srcPortId
string

The source port id.

destPortId
string

The destination port id

speed
number

The speed of the connection in Mbps.

paymentType
string

The payment method.

Enum: "creditcard" "invoice"
object
Responses
200

OK

put/api/company/{companyName}/connections/directConnectPartner/GCE/layer2
Request samples
application/json
{
  • "type": "LAYER2",
  • "name": "Google Connection",
  • "srcPortId": "5de874f10d83430256e31f8c",
  • "destPortId": "5de874ee0d83430256e31f88",
  • "paymentType": "invoice",
  • "speed": 500,
  • "partner": {
    }
}
Response samples
application/json
{
  • "id": "5de874f229177602561b2bb0",
  • "version": "1",
  • "srcPortId": "5de874f10d83430256e31f8c",
  • "destPortId": "5de874ee0d83430256e31f88",
  • "srcControllerId": null,
  • "destControllerId": null,
  • "srcCompanyId": "5de874ef9c84f90256ba370f",
  • "destCompanyId": "5de874e89c84f90256ba370d",
  • "srcCompany": {
    },
  • "destCompany": {
    },
  • "srcRegionId": "",
  • "destRegionId": "",
  • "name": "Google Connection",
  • "request": {
    },
  • "status": "ACTIVE",
  • "paymentType": "plan",
  • "type": "GROUP_LAYER2",
  • "partner": {
    },
  • "durationUnit": null,
  • "duration": null,
  • "tag": null,
  • "destTag": null,
  • "srcVlan": {
    },
  • "destVlan": {
    },
  • "srcUntagged": false,
  • "destUntagged": false,
  • "srcQinQ": false,
  • "destQinQ": false,
  • "srcConfigTag": null,
  • "destConfigTag": null,
  • "speed": {
    },
  • "errorReason": null,
  • "cdrBillingType": "METRO",
  • "parentId": null,
  • "subconnectionIds": {
    },
  • "importedAt": null,
  • "importer": null,
  • "statusChangedAt": "2019-12-05T03:09:38.796Z",
  • "activeChangedAt": null,
  • "firstActiveAt": null,
  • "maintenanceMode": false,
  • "updatedAt": "2019-12-05T03:09:38.861Z",
  • "createdAt": "2019-12-05T03:09:38.861Z",
  • "deleted": false,
  • "deletedAt": null,
  • "scheduled": false,
  • "scheduledTaskList": [ ],
  • "paymentTransactionId": null,
  • "salesRecordId": null,
  • "payg": false,
  • "billingType": null,
  • "classOfService": "BRONZE",
  • "typeFriendly": "Google Direct Connect",
  • "isReceiver": false,
  • "isCreator": true,
  • "subconnections": [
    ],
  • "destPort": {
    },
  • "srcTag": null,
  • "destPorts": [
    ],
  • "srcPorts": [ ],
  • "port": {
    }
}