projects

Creates a new Mesh in a given project and location.

post/v1/{+parent}/meshes

Request

  • Base URL: https://networkservices.googleapis.com
  • URL: https://networkservices.googleapis.com/v1/{+parent}/meshes
  • 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 Mesh. Must be in the format projects/*/locations/*.

Query parameters

meshIdstring

Required. Short name of the Mesh 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.

envoyHeaders'ENVOY_HEADERS_UNSPECIFIED' | 'NONE' | 'DEBUG_HEADERS'

Optional. Determines if envoy will insert internal debug headers into upstream requests. Other Envoy headers may still be injected. By default, envoy will not insert any debug headers.

interceptionPortinteger

Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to be redirected to this port regardless of its actual ip:port destination. If unset, a port '15001' is used as the interception port. This is applicable only for sidecar proxy deployments.

labelsobject

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

namestring

Identifier. Name of the Mesh resource. It matches pattern projects/*/locations/*/meshes/.

selfLinkstring

Output only. Server-defined URL of this resource

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