v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1325131186.2 KB
services

Service producers can use this method to add private DNS zones in the shared producer host project and matching peering zones in the consumer project.

post/v1/{+parent}/dnsZones:add

Path parameters

parentstring required

Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is services/servicenetworking.googleapis.com.

Request body

namestring

Required. The name for both the private zone in the shared producer host project and the peering zone in the consumer project. Must be unique within both projects. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.

dnsSuffixstring

Required. The DNS name suffix for the zones e.g. example.com.. Cloud DNS requires that a DNS suffix ends with a trailing dot.

consumerNetworkstring

Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.

Response

Successful response