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

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

Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved.

HTTP request

POST 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 for which the peered DNS domain will be created 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 the number of the project that contains the service consumer's VPC network e.g. 12345. {network} is the name of the service consumer's VPC network.

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

  • servicenetworking.services.createPeeredDnsDomain

Request body

The request body contains an instance of PeeredDnsDomain.

Response body

If successful, the response body contains a newly created instance of Operation.

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.