v1

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

Creates a new AgentGateway in a given project and location.

post/v1/{+parent}/agentGateways

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

namestring

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

createTimestring google-datetime

Output only. The timestamp when the resource was created.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

labelsobject

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

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.

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}/

Response

Successful response