# Class Domain (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.2 1.11.0 1.10.1 1.9.5 1.8.0 1.7.2 1.6.0 1.5.4 1.4.2 1.3.1 1.2.0 1.1.3 1.0.0 0.2.2 0.1.0

    Domain(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a managed Microsoft Active Directory domain.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The unique name of the domain using the form: `projects/{project_id}/locations/global/domains/{domain_name}`. |
| `labels` | `MutableMapping[str, str]` Optional. Resource labels that can contain user-provided metadata. |
| `authorized_networks` | `MutableSequence[str]` Optional. The full names of the Google Compute Engine `networks `__ the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in `authorized_networks`. If CIDR subnets overlap between networks, domain creation will fail. |
| `reserved_ip_range` | `str` Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in \[Domain\].\[authorized_networks\]. |
| `locations` | `MutableSequence[str]` Required. Locations where domain needs to be provisioned. \[regions\]\[compute/docs/regions-zones/\] e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block. |
| `admin` | `str` Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, `setupadmin` will be used. |
| `fqdn` | `str` Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the instance was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last update time. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Domain.State` Output only. The current state of this domain. |
| `status_message` | `str` Output only. Additional information about the current status of this domain, if available. |
| `trusts` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/managedidentities/latest/google.cloud.managedidentities_v1.types.Trust]` Output only. The current trusts associated with the domain. |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

Represents the different states of a managed domain.