Cloud DNS API

Service: dns.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://dns.googleapis.com

REST Resource: v1beta2.changes

Methods
create POST /dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes
Atomically updates the ResourceRecordSet collection.
get GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}
Fetches the representation of an existing Change.
list GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes
Enumerates Changes to a ResourceRecordSet collection.

REST Resource: v1beta2.dnsKeys

Methods
get GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}
Fetches the representation of an existing DnsKey.
list GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys
Enumerates DnsKeys to a ResourceRecordSet collection.

REST Resource: v1beta2.managedZoneOperations

Methods
get GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}
Fetches the representation of an existing Operation.
list GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations
Enumerates Operations for the given ManagedZone.

REST Resource: v1beta2.managedZones

Methods
create POST /dns/v1beta2/projects/{project}/managedZones
Creates a new ManagedZone.
delete DELETE /dns/v1beta2/projects/{project}/managedZones/{managedZone}
Deletes a previously created ManagedZone.
get GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}
Fetches the representation of an existing ManagedZone.
getIamPolicy POST /dns/v1beta2/{resource=projects/*/managedZones/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /dns/v1beta2/projects/{project}/managedZones
Enumerates ManagedZones that have been created but not yet deleted.
patch PATCH /dns/v1beta2/projects/{project}/managedZones/{managedZone}
Applies a partial update to an existing ManagedZone.
setIamPolicy POST /dns/v1beta2/{resource=projects/*/managedZones/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /dns/v1beta2/{resource=projects/*/managedZones/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.
update PUT /dns/v1beta2/projects/{project}/managedZones/{managedZone}
Updates an existing ManagedZone.

REST Resource: v1beta2.policies

Methods
create POST /dns/v1beta2/projects/{project}/policies
Creates a new Policy.
delete DELETE /dns/v1beta2/projects/{project}/policies/{policy}
Deletes a previously created Policy.
get GET /dns/v1beta2/projects/{project}/policies/{policy}
Fetches the representation of an existing Policy.
list GET /dns/v1beta2/projects/{project}/policies
Enumerates all Policies associated with a project.
patch PATCH /dns/v1beta2/projects/{project}/policies/{policy}
Applies a partial update to an existing Policy.
update PUT /dns/v1beta2/projects/{project}/policies/{policy}
Updates an existing Policy.

REST Resource: v1beta2.projects

Methods
get GET /dns/v1beta2/projects/{project}
Fetches the representation of an existing Project.

REST Resource: v1beta2.resourceRecordSets

Methods
create POST /dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets
Creates a new ResourceRecordSet.
delete DELETE /dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}
Deletes a previously created ResourceRecordSet.
get GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}
Fetches the representation of an existing ResourceRecordSet.
list GET /dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets
Enumerates ResourceRecordSets that you have created but not yet deleted.
patch PATCH /dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets/{name}/{type}
Applies a partial update to an existing ResourceRecordSet.

REST Resource: v1beta2.responsePolicies

Methods
create POST /dns/v1beta2/projects/{project}/responsePolicies
Creates a new Response Policy
delete DELETE /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}
Deletes a previously created Response Policy.
get GET /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}
Fetches the representation of an existing Response Policy.
list GET /dns/v1beta2/projects/{project}/responsePolicies
Enumerates all Response Policies associated with a project.
patch PATCH /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}
Applies a partial update to an existing Response Policy.
update PUT /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}
Updates an existing Response Policy.

REST Resource: v1beta2.responsePolicyRules

Methods
create POST /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules
Creates a new Response Policy Rule.
delete DELETE /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}
Deletes a previously created Response Policy Rule.
get GET /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}
Fetches the representation of an existing Response Policy Rule.
list GET /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules
Enumerates all Response Policy Rules associated with a project.
patch PATCH /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}
Applies a partial update to an existing Response Policy Rule.
update PUT /dns/v1beta2/projects/{project}/responsePolicies/{responsePolicy}/rules/{responsePolicyRule}
Updates an existing Response Policy Rule.