REST Resource: services.projects.global.networks.dnsZones

Resource: GetDnsZoneResponse

Represents managed DNS zones created in the shared Producer host and consumer projects.

JSON representation
{
  "producerPrivateZone": {
    object (DnsZone)
  },
  "consumerPeeringZone": {
    object (DnsZone)
  }
}
Fields
producerPrivateZone

object (DnsZone)

The private DNS zone created in the shared producer host project.

consumerPeeringZone

object (DnsZone)

The DNS peering zone created in the consumer project.

DnsZone

Represents a DNS zone resource.

JSON representation
{
  "name": string,
  "dnsSuffix": string
}
Fields
name

string

User assigned name for this resource. Must be unique within the project. 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.

dnsSuffix

string

The DNS name suffix of this zone e.g. example.com.. Cloud DNS requires that a DNS suffix ends with a trailing dot.

Methods

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

list

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.