---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/agentGateways/{agentGatewaysId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/agentGateways/{agentGatewaysId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/agentGateways/{agentGatewaysId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/agentGateways/{agentGatewaysId}`

## Request

- Base URL: `https://networkservices.googleapis.com`
- URL: `https://networkservices.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/agentGateways/{agentGatewaysId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets details of a single AgentGateway.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `agentGatewaysId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- AgentGateway: AgentGateway represents the agent gateway resource.
  - `agentConnectivityTemplate` string: Optional. The resource name of the AgentConnectivityTemplate. Format: projects/{project}/locations/{location}/agentConnectivityTemplates/{template}
  - `agentGatewayCard` AgentGatewayAgentGatewayOutputCard: AgentGatewayOutputCard contains informational output-only fields
    - `mtlsEndpoint` string: Output only. mTLS Endpoint associated with this AgentGateway
    - `rootCertificates` string[]: Output only. Root Certificates for Agents to validate this AgentGateway
    - `serviceExtensionsServiceAccount` string: Output only. Service Account used by Service Extensions to operate.
  - `createTime` string, google-datetime: Output only. The timestamp when the resource was created.
  - `description` string: Optional. A free-text description of the resource. Max length 1024 characters.
  - `etag` string: 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.
  - `googleManaged` AgentGatewayGoogleManaged: Configuration for Google Managed deployment mode. Proxy is orchestrated and managed by GoogleCloud in a tenant project.
    - `governedAccessPath` 'GOVERNED_ACCESS_PATH_UNSPECIFIED' | 'AGENT_TO_ANYWHERE' | 'CLIENT_TO_AGENT': Optional. Operating Mode of Agent Gateway.
  - `labels` object: Optional. Set of label tags associated with the AgentGateway resource.
  - `name` string: Identifier. Name of the AgentGateway resource. It matches pattern `projects/*/locations/*/agentGateways/`.
  - `networkConfig` AgentGatewayNetworkConfig: NetworkConfig contains network configurations for the AgentGateway.
    - `dnsPeeringConfig` AgentGatewayNetworkConfigDnsPeeringConfig: DNS peering config for the user VPC network.
      - `domains` string[]: Required. Domain names for which DNS queries should be forwarded to the target network.
      - `targetNetwork` string: Required. Target network in 'target project' to which DNS queries should be forwarded to. Must be in format of `projects/{project}/global/networks/{network}`.
      - `targetProject` string: Required. Target project ID to which DNS queries should be forwarded to. This can be the same project that contains the AgentGateway or a different project.
    - `egress` AgentGatewayNetworkConfigEgress: Configuration for Egress
      - `networkAttachment` string: Optional. The URI of the Network Attachment resource.
  - `protocols` string[]: Optional. Deprecated.
  - `registries` string[]: 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}/`
  - `selfManaged` AgentGatewaySelfManaged: Configuration for Self Managed deployment mode. Attach to existing Application Load Balancers or Secure Web Proxies.
    - `resourceUri` string: Optional. A supported Google Cloud networking proxy in the Project and Location
    - `resourceUris` string[]: Optional. List of supported Google Cloud networking proxies in the Project and Location. resource_uris is mutually exclusive with resource_uri.
  - `updateTime` string, google-datetime: Output only. The timestamp when the resource was updated.

---

[API](https://skmtc.dev/google/apis/networkservices.md) - [All operations](https://skmtc.dev/google/apis/networkservices/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/networkservices/revisions/f0e603cd2d5d?raw)
