Skip to main content

tcp_routes

Overview

Nametcp_routes
TypeResource
Idgoogle.networkservices.tcp_routes

Fields

NameDatatypeDescription
namestringRequired. Name of the TcpRoute resource. It matches pattern projects/*/locations/global/tcpRoutes/tcp_route_name>.
descriptionstringOptional. A free-text description of the resource. Max length 1024 characters.
updateTimestringOutput only. The timestamp when the resource was updated.
rulesarrayRequired. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
labelsobjectOptional. Set of label tags associated with the TcpRoute resource.
selfLinkstringOutput only. Server-defined URL of this resource
gatewaysarrayOptional. 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/global/gateways/
createTimestringOutput only. The timestamp when the resource was created.
meshesarrayOptional. 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/global/meshes/ The attached Mesh should be of a type SIDECAR

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, tcpRoutesIdGets details of a single TcpRoute.
listSELECTlocationsId, projectsIdLists TcpRoute in a given project and location.
createINSERTlocationsId, projectsIdCreates a new TcpRoute in a given project and location.
deleteDELETElocationsId, projectsId, tcpRoutesIdDeletes a single TcpRoute.
_listEXEClocationsId, projectsIdLists TcpRoute in a given project and location.
patchEXEClocationsId, projectsId, tcpRoutesIdUpdates the parameters of a single TcpRoute.