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 API endpoint retrieves a list of DnsKeys within a specified managed zone of a project using a GET HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying \u003ccode\u003eproject\u003c/code\u003e and \u003ccode\u003emanagedZone\u003c/code\u003e as path parameters and can utilize optional query parameters like \u003ccode\u003emaxResults\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003edigestType\u003c/code\u003e to refine the results.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, but the successful response will include a JSON payload containing an array of \u003ccode\u003ednsKeys\u003c/code\u003e, a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and a \u003ccode\u003ekind\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires one of four specified OAuth scopes related to cloud platform and DNS access, either read-only or read/write.\u003c/p\u003e\n"],["\u003cp\u003eThe API utilizes gRPC Transcoding for its URL syntax, enabling a RESTful interface for interacting with gRPC services.\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/v1beta2/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)."]]