Method: services.projects.global.networks.dnsZones.get

Service producers can use this method to retrieve a DNS zone in the shared producer host project and the matching peering zones in consumer project

HTTP request

GET https://servicenetworking.googleapis.com/v1/{name=services/*/projects/*/global/networks/*/dnsZones/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The network that the consumer is using to connect with services. Must be in the form of services/{service}/projects/{project}/global/networks/{network}/dnsZones/{zoneName} Where {service} is the service that is managing connectivity for the service producer's organization. For Google services that support this {project} is the project number, as in '12345' {network} is the network name. {zoneName} is the DNS zone name

Authorization requires the following IAM permission on the specified resource name:

  • servicenetworking.services.getDnsZone

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of GetDnsZoneResponse.

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.