projects

Creates a new TlsRoute in a given project and location.

post/v1/{+parent}/tlsRoutes

Request

  • Base URL: https://networkservices.googleapis.com
  • URL: https://networkservices.googleapis.com/v1/{+parent}/tlsRoutes
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

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

Query parameters

tlsRouteIdstring

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

Request body

createTimestring google-datetime

Output only. The timestamp when the resource was created.

descriptionstring

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

gatewaysstring[]

Optional. Gateways defines a list of gateways this TlsRoute 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 TlsRoute resource.

meshesstring[]

Optional. Meshes defines a list of meshes this TlsRoute 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

namestring

Identifier. Name of the TlsRoute resource. It matches pattern projects/*/locations/*/tlsRoutes/tls_route_name>.

selfLinkstring

Output only. Server-defined URL of this resource

targetProxiesstring[]

Optional. TargetProxies defines a list of TargetTcpProxies this TlsRoute is attached to, as one of the routing rules to route the requests served by the TargetTcpProxy. Each TargetTcpProxy reference should match the pattern: projects/*/locations/*/targetTcpProxies/

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status