projects

Creates a new AgentGateway in a given project and location.

post/v1/{+parent}/agentGateways

Request

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

Query parameters

agentGatewayIdstring

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

Request body

agentConnectivityTemplatestring

Optional. The resource name of the AgentConnectivityTemplate. Format: projects/{project}/locations/{location}/agentConnectivityTemplates/{template}

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.

etagstring

Optional. Etag of the resource. If this is provided, it must match the server's etag. If the provided etag does not match the server's etag, the request will fail with a 409 ABORTED error.

labelsobject

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

namestring

Identifier. Name of the AgentGateway resource. It matches pattern projects/*/locations/*/agentGateways/.

protocolsstring[]

Optional. Deprecated.

registriesstring[]

Optional. A list of Agent registries containing the agents, MCP servers and tools governed by the Agent Gateway. Note: Currently limited to project-scoped registries Must be of format //agentregistry.googleapis.com/projects/{project}/locations/{location}/

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

    • info

      added the new optional request property

    • info

      added the new optional request property /