---
title: "POST /v1/{+parent}/transports"
method: POST
path: "/v1/{+parent}/transports"
tags: ["projects"]
---

# POST /v1/{+parent}/transports

`POST /v1/{+parent}/transports`

Creates a new Transport in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `requestId` string
- `transportId` string

## Request body

- Transport — Message describing Transport object.
  - `providedActivationKey` string — Optional. Immutable. Key used for establishing a connection with the remote transport. This key can only be provided if the profile supports an INPUT key flow and the resource is in the PENDING_KEY state.
  - `generatedActivationKey` string — Output only. Google-generated activation key. This is only output if the selected profile supports an OUTPUT key flow. Inputting this to the provider is only valid while the resource is in a PENDING_KEY state. Once the provider has accepted the key, the resource will move to the CONFIGURING state.
  - `updateTime` string, google-datetime — Output only. Update time stamp.
  - `remoteProfile` string — Optional. Immutable. Name of the remoteTransportProfile that this Transport is connecting to.
  - `mtuLimit` integer — Output only. The maximum transmission unit (MTU) of a packet that can be sent over this transport.
  - `bandwidth` 'BANDWIDTH_UNSPECIFIED' | 'BPS_50M' | 'BPS_100M' | 'BPS_200M' | 'BPS_300M' | 'BPS_400M' | 'BPS_500M' | 'BPS_1G' | 'BPS_2G' | 'BPS_5G' | 'BPS_10G' | 'BPS_20G' | 'BPS_50G' | 'BPS_100G' — Optional. Bandwidth of the Transport. This must be one of the supported bandwidths for the remote profile, and must be set when no activation key is being provided.
  - `advertisedRoutes` string[] — Optional. List of IP Prefixes that will be advertised to the remote provider. Both IPv4 and IPv6 addresses are supported.
  - `remoteAccountId` string — Optional. Immutable. The user supplied account id for the CSP associated with the remote profile.
  - `name` string — Identifier. Name of the resource.
  - `network` string — Optional. Immutable. Resource URI of the Network that will be peered with this Transport. This field must be provided during resource creation and cannot be changed.
  - `createTime` string, google-datetime — Output only. Create time stamp.
  - `description` string — Optional. Description of the Transport.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'PENDING_CONFIG' | 'PENDING_KEY' | 'ACTIVE' | 'DELETING' | 'DEPROVISIONED' — Output only. State of the underlying connectivity.
  - `stackType` 'STACK_TYPE_UNSPECIFIED' | 'IPV4_ONLY' | 'IPV4_IPV6' — Optional. IP version stack for the established connectivity.
  - `peeringNetwork` string — Output only. VPC Network URI that was created for the VPC Peering connection to the provided `network`. If VPC Peering is disconnected, this can be used to re-establish.
  - `labels` object — Optional. Labels as key value pairs.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networkconnectivity.md) · [All operations](https://skmtc.net/google/apis/networkconnectivity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networkconnectivity/versions/778637dee420/schema)
