ManagedZone class

A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.


ManagedZone.fromJson(Map _json)


creationTime String
The time that this resource was created on the server. This is in RFC3339 text format. Output only.
read / write
description String
A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function.
read / write
dnsName String
The DNS name of this managed zone, for instance "".
read / write
dnssecConfig ManagedZoneDnsSecConfig
DNSSEC configuration.
read / write
forwardingConfig ManagedZoneForwardingConfig
The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Unique identifier for the resource; defined by the server (output only)
read / write
kind String
Identifies what kind of resource this is. Value: the fixed string "dns#managedZone".
read / write
labels Map<String, String>
User labels.
read / write
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.
read / write
nameServers List<String>
Delegate your managed_zone to these virtual name servers; defined by the server (output only)
read / write
nameServerSet String
Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users will leave this field unset.
read / write
peeringConfig ManagedZonePeeringConfig
The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.
read / write
privateVisibilityConfig ManagedZonePrivateVisibilityConfig
For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
visibility String
The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. Possible string values are: [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]