Method: services.projects.global.networks.peeredDnsDomains.list

Stay organized with collections Save and categorize content based on your preferences.

Lists peered DNS domains for a connection.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent resource identifying the connection which owns this collection of peered DNS domains in the format: services/{service}/projects/{project}/global/networks/{network}. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is servicenetworking.googleapis.com. {project} is a project number e.g. 12345 that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.

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

  • servicenetworking.services.listPeeredDnsDomains

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response to list peered DNS domains for a given connection.

JSON representation
{
  "peeredDnsDomains": [
    {
      object (PeeredDnsDomain)
    }
  ]
}
Fields
peeredDnsDomains[]

object (PeeredDnsDomain)

The list of peered DNS domains.

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.