v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1346116213.0 KB
projects

Creates a new TcpRoute in a given project and location.

post/v1/{+parent}/tcpRoutes

Path parameters

parentstring required

Required. The parent resource of the TcpRoute. Must be in the format projects/*/locations/*.

Query parameters

tcpRouteIdstring

Required. Short name of the TcpRoute resource to be created.

Request body

namestring

Identifier. Name of the TcpRoute resource. It matches pattern projects/*/locations/*/tcpRoutes/tcp_route_name>.

selfLinkstring

Output only. Server-defined URL of this resource

createTimestring google-datetime

Output only. The timestamp when the resource was created.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

descriptionstring

Optional. A free-text description of the resource. Max length 1024 characters.

meshesstring[]

Optional. Meshes defines a list of meshes this TcpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/*/meshes/ The attached Mesh should be of a type SIDECAR

gatewaysstring[]

Optional. Gateways defines a list of gateways this TcpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/*/gateways/

labelsobject

Optional. Set of label tags associated with the TcpRoute resource.

Response

Successful response