# Module zone (0.37.0)

0.37.0 (latest) 0.36.1 0.35.1 0.34.2 0.33.1 0.32.3 0.31.0 0.30.2 Define API ManagedZones.

## Classes

### [ManagedZone](https://docs.cloud.google.com/python/docs/reference/dns/latest/google.cloud.dns.zone.ManagedZone)

    ManagedZone(name, dns_name=None, client=None, description=None)

ManagedZones are containers for DNS resource records.

See
<https://cloud.google.com/dns/api/v1/managedZones>

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `str` the name of the zone |
| `dns_name` | `str` (Optional) the DNS name of the zone. If not passed, then calls to `create` will fail. |
| `client` | `https://docs.cloud.google.com/python/docs/reference/dns/latest/google.cloud.dns.client.Client` A client which holds credentials and project configuration for the zone (which requires a project). |
| `description` | `str` (Optional) the description for the zone. If not passed, defaults to the value of 'dns_name'. |