- [Resource: Quarantine](https://developers.google.com/workspace/gmail/admin-quarantine/reference/rest/v1/customers.quarantines.md.txt#Quarantine)
  - [JSON representation](https://developers.google.com/workspace/gmail/admin-quarantine/reference/rest/v1/customers.quarantines.md.txt#Quarantine.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/workspace/gmail/admin-quarantine/reference/rest/v1/customers.quarantines.md.txt#METHODS_SUMMARY)

## Resource: Quarantine

A quarantine used to label and hold quarantined messages.

> [!WARNING]
> **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview.md.txt), which grants early access to certain features.

<br />

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the quarantine. Format: customers/{customer_id}/quarantines/{quarantine_id} |
| `displayName` | `string` Optional. The display name of the quarantine as shown in Admin Console. |
| `description` | `string` Optional. The description of a quarantine. |

| ## Methods ||
|---|---|
| ### `get` | > [!WARNING] > **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview.md.txt), which grants early access to certain features. Gets a quarantine. |
| ### `list` | > [!WARNING] > **Developer Preview:** Available as part of the [Google Workspace Developer Preview Program](https://developers.google.com/workspace/preview.md.txt), which grants early access to certain features. Returns a list of all quarantines defined by this customer. |