# REST Resource: domains

## Resource: Domain

| JSON representation |
|---|
| ``` { "kind": string, "domainAliases": [ { object (`https://developers.google.com/workspace/admin/directory/reference/rest/v1/domainAliases#DomainAlias`) } ], "verified": boolean, "etag": string, "creationTime": string, "isPrimary": boolean, "domainName": string } ``` |

| Fields ||
|---|---|
| `kind` | `string` Kind of resource this is. |
| `domainAliases[]` | ``object (`https://developers.google.com/workspace/admin/directory/reference/rest/v1/domainAliases#DomainAlias`)`` A list of domain alias objects. (Read-only) |
| `verified` | `boolean` Indicates the verification state of a domain. (Read-only). |
| `etag` | `string` ETag of the resource. |
| `creationTime` | `string (https://developers.google.com/discovery/v1/type-format format)` Creation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only). |
| `isPrimary` | `boolean` Indicates if the domain is a primary domain (Read-only). |
| `domainName` | `string` The domain name of the customer. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/delete` | Deletes a domain of the customer. |
| ### `https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/get` | Retrieves a domain of the customer. |
| ### `https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/insert` | Inserts a domain of the customer. |
| ### `https://developers.google.com/workspace/admin/directory/reference/rest/v1/domains/list` | Lists the domains of the customer. |