Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
Query parameters
Parameters
maxResults
integer
Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
pageToken
string
Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
digestType
string
An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.
Request body
The request body must be empty.
Response body
The response to a request to enumerate DnsKeys in a ManagedZone.
If successful, the response body contains data with the following structure:
This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time.
However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis endpoint retrieves a list of DnsKeys for a specified managed zone within a project using a \u003ccode\u003eGET\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL requires \u003ccode\u003eproject\u003c/code\u003e and \u003ccode\u003emanagedZone\u003c/code\u003e as path parameters to identify the relevant project and managed zone.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters such as \u003ccode\u003emaxResults\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003edigestType\u003c/code\u003e can be used to refine the result set, including pagination and specific digest types.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a JSON structure containing an array of \u003ccode\u003ednsKeys\u003c/code\u003e, a \u003ccode\u003enextPageToken\u003c/code\u003e for paginated results, and a \u003ccode\u003ekind\u003c/code\u003e field indicating the resource type.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires one of the specified OAuth scopes, which include options for full or read-only access to cloud platform or Cloud DNS.\u003c/p\u003e\n"]]],[],null,["# Method: dnsKeys.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DnsKeysListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nEnumerates DnsKeys to a ResourceRecordSet collection.\n\n### HTTP request\n\n`GET https://dns.googleapis.com/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response to a request to enumerate DnsKeys in a ManagedZone.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n- `\n https://www.googleapis.com/auth/ndev.clouddns.readonly`\n- `\n https://www.googleapis.com/auth/ndev.clouddns.readwrite`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/external/authorization-gcp)."]]