* Service producers can use this method to retrieve a list of available DNS zones in the shared producer host project and the matching peering zones in the consumer project.
HTTP request
GET https://servicenetworking.googleapis.com/v1/{parent=services/*/projects/*/global/networks/*}/dnsZones:list
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent resource identifying the connection that owns this collection of DNS zones in the format services/{service}/projects/{project}/global/networks/{network} Service: The service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
Represents all DNS zones in the shared producer host project and the matching peering zones in the consumer project.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"dnsZonePairs": [
{
object ( |
Fields | |
---|---|
dnsZonePairs[] |
All pairs of private DNS zones in the shared producer host project and the matching peering zones in the consumer project.. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/service.management
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
DnsZonePair
- Represents a pair of private and peering DNS zone resources. *
JSON representation |
---|
{ "producerPrivateZone": { object ( |
Fields | |
---|---|
producerPrivateZone |
The private DNS zone in the shared producer host project. |
consumerPeeringZone |
The DNS peering zone in the consumer project. |