Google Cloud DNS Outbound Endpoints API
The OutboundEndpoints API from Google Cloud DNS — 2 operation(s) for outboundendpoints.
The OutboundEndpoints API from Google Cloud DNS — 2 operation(s) for outboundendpoints.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-cloud-dns:google-cloud-dns-outboundendpoints-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cloud DNS Outbound Endpoints API
version: v1
description: Generated from Google's published Discovery document for Cloud DNS API (dns v1, revision 20261106). 5 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
servers:
- url: https://dns.googleapis.com
tags:
- name: OutboundEndpoints
paths:
/dns/v1/projects/{projectsId}/locations/{locationsId}/outboundEndpoints/{outboundEndpointsId}:
patch:
operationId: dns.outboundEndpoints.patch
summary: Patch outboundEndpoints
description: Updates an existing Outbound Endpoint.
parameters:
- name: projectsId
in: path
required: true
description: Resource name segment (projectsId).
schema:
type: string
- name: locationsId
in: path
required: true
description: Resource name segment (locationsId).
schema:
type: string
- name: outboundEndpointsId
in: path
required: true
description: Resource name segment (outboundEndpointsId).
schema:
type: string
- name: clientOperationId
in: query
required: false
description: For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
schema:
type: string
- name: requestId
in: query
required: false
description: Optional. An optional request ID to identify requests.
schema:
type: string
- name: updateMask
in: query
required: false
description: Required. The list of fields to be updated.
schema:
type: string
format: google-fieldmask
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OutboundEndpoint'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleLongrunningOperation'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
- apiKey: []
tags:
- OutboundEndpoints
delete:
operationId: dns.outboundEndpoints.delete
summary: Delete outboundEndpoints
description: Deletes a previously created Outbound Endpoint.
parameters:
- name: projectsId
in: path
required: true
description: Resource name segment (projectsId).
schema:
type: string
- name: locationsId
in: path
required: true
description: Resource name segment (locationsId).
schema:
type: string
- name: outboundEndpointsId
in: path
required: true
description: Resource name segment (outboundEndpointsId).
schema:
type: string
- name: clientOperationId
in: query
required: false
description: For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
schema:
type: string
- name: requestId
in: query
required: false
description: Optional. An optional request ID to identify requests.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleLongrunningOperation'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
- apiKey: []
tags:
- OutboundEndpoints
get:
operationId: dns.outboundEndpoints.get
summary: Get outboundEndpoints
description: Fetches the representation of an existing Outbound Endpoint.
parameters:
- name: projectsId
in: path
required: true
description: Resource name segment (projectsId).
schema:
type: string
- name: locationsId
in: path
required: true
description: Resource name segment (locationsId).
schema:
type: string
- name: outboundEndpointsId
in: path
required: true
description: Resource name segment (outboundEndpointsId).
schema:
type: string
- name: clientOperationId
in: query
required: false
description: For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/OutboundEndpoint'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/ndev.clouddns.readonly
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
- apiKey: []
tags:
- OutboundEndpoints
/dns/v1/projects/{projectsId}/locations/{locationsId}/outboundEndpoints:
post:
operationId: dns.outboundEndpoints.create
summary: Create outboundEndpoints
description: Creates a new Outbound Endpoint.
parameters:
- name: projectsId
in: path
required: true
description: Resource name segment (projectsId).
schema:
type: string
- name: locationsId
in: path
required: true
description: Resource name segment (locationsId).
schema:
type: string
- name: clientOperationId
in: query
required: false
description: For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
schema:
type: string
- name: outboundEndpointId
in: query
required: false
description: Required. The ID to use for the OutboundEndpoint, which will become the final component of the OutboundEndpoint's resource name.
schema:
type: string
- name: requestId
in: query
required: false
description: Optional. An optional request ID to identify requests.
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/OutboundEndpoint'
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleLongrunningOperation'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
- apiKey: []
tags:
- OutboundEndpoints
get:
operationId: dns.outboundEndpoints.list
summary: List outboundEndpoints
description: Enumerates all Outbound Endpoints associated with a project.
parameters:
- name: projectsId
in: path
required: true
description: Resource name segment (projectsId).
schema:
type: string
- name: locationsId
in: path
required: true
description: Resource name segment (locationsId).
schema:
type: string
- name: clientOperationId
in: query
required: false
schema:
type: string
- name: pageSize
in: query
required: false
description: Optional. The maximum number of results to return.
schema:
type: integer
format: int32
- name: pageToken
in: query
required: false
description: Optional. A page token received from a previous List call.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/ListOutboundEndpointsResponse'
4XX:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content:
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
- https://www.googleapis.com/auth/ndev.clouddns.readonly
- https://www.googleapis.com/auth/ndev.clouddns.readwrite
- apiKey: []
tags:
- OutboundEndpoints
components:
schemas:
GoogleLongrunningOperation:
description: This resource represents a long-running operation that is the result of a network API call.
properties:
name:
type: string
description: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
done:
type: boolean
description: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
error:
$ref: '#/components/schemas/Status'
description: The error result of the operation in case of failure or cancellation.
response:
additionalProperties:
description: Properties of the object. Contains field @type with type URL.
description: The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
format: google.protobuf.Any
type: object
metadata:
type: object
additionalProperties:
description: Properties of the object. Contains field @type with type URL.
format: google.protobuf.Any
description: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
type: object
Status:
description: 'The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).'
type: object
properties:
details:
type: array
items:
type: object
additionalProperties:
description: Properties of the object. Contains field @type with type URL.
format: google.protobuf.Any
description: A list of messages that carry the error details. There is a common set of message types for APIs to use.
code:
description: The status code, which should be an enum value of google.rpc.Code.
type: integer
format: int32
message:
description: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
type: string
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
ListOutboundEndpointsResponse:
type: object
description: Response message for OutboundEndpointsService.ListOutboundEndpoints
properties:
unreachable:
items:
type: string
type: array
description: 'Unordered list. The resource names of the unreachable locations. Format: `projects/{project}/locations/{location}`'
outboundEndpoints:
type: array
items:
$ref: '#/components/schemas/OutboundEndpoint'
description: The list of OutboundEndpoints.
nextPageToken:
type: string
description: A token to retrieve the next page of results. Set to empty if there are no remaining results.
OutboundEndpoint:
description: An OutboundEndpoint is a regional resource to enable outbound forwarding from a private IP range in VPCs to on-premise or other networks.
properties:
labels:
additionalProperties:
type: string
description: Optional. Labels as key value pairs
type: object
subnetwork:
description: Required. Immutable. The subnetwork holding the endpoint_ip, specified as full path.
type: string
endpointIp:
description: Optional. Immutable. User provided IP address to use for outbound DNS forwarding. This address must be a free address on the subnetwork. If omitted, a free IP address from the subnetwork is automatically allocated.
type: string
tags:
description: Optional. Tag bindings as key value pairs
additionalProperties:
type: string
type: object
description:
type: string
description: Optional. User provided description.
annotations:
type: object
additionalProperties:
type: string
description: Optional. Annotations as key value pairs
network:
type: string
description: Required. Immutable. The VPC network containing the outbound endpoint, specified as full path.
name:
description: 'Identifier. The resource name of the OutboundEndpoint. Format: `projects/{project}/locations/{location}/outboundEndpoints/{outboundEndpoint}`'
type: string
createTime:
description: Output only. [Output only] Create time stamp
readOnly: true
format: google-datetime
type: string
updateTime:
description: Output only. [Output only] Update time stamp
format: google-datetime
readOnly: true
type: string
type: object
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/ndev.clouddns.readonly: View your DNS records hosted by Google Cloud DNS
https://www.googleapis.com/auth/ndev.clouddns.readwrite: View and manage your DNS records hosted by Google Cloud DNS
https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
https://www.googleapis.com/auth/cloud-platform.read-only: View your data across Google Cloud services and see the email address of your Google Account
externalDocs:
url: https://cloud.google.com/dns/docs
x-provenance:
method: harvested
publisher: Google
source: https://dns.googleapis.com/$discovery/rest?version=v1
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)