Resource: Matter
Represents a matter.
To work with Vault resources, the account must have the required Vault privileges and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.
JSON representation |
---|
{ "matterId": string, "name": string, "description": string, "state": enum ( |
Fields | |
---|---|
matterId |
The matter ID, which is generated by the server. Leave blank when creating a matter. |
name |
The name of the matter. |
description |
An optional description for the matter. |
state |
The state of the matter. |
matterPermissions[] |
Lists the users and their permission for the matter. Currently there is no programmer defined limit on the number of permissions a matter can have. |
matter_region |
The data region of the matter. |
State
The state of a matter.
Enums | |
---|---|
STATE_UNSPECIFIED |
The matter has no specified state. |
OPEN |
The matter is open. |
CLOSED |
The matter is closed. |
DELETED |
The matter is deleted. |
MatterPermission
Users can be matter owners or collaborators. Each matter has only one owner. All others users who can access the matter are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.
JSON representation |
---|
{
"role": enum ( |
Fields | |
---|---|
role |
The user's role for the matter. |
accountId |
The account ID, as provided by the Admin SDK. |
AclRole
The possible user permissions for a matter, in order of increasing permissions.
Enums | |
---|---|
ROLE_UNSPECIFIED |
No role assigned. |
COLLABORATOR |
A collaborator on the matter. |
OWNER |
The owner of the matter. |
Matter Region
The data region of a matter.
Enums | |
---|---|
MATTER_REGION_UNSPECIFIED |
The matter has no specified data region. |
ANY |
The matter has no specified data region. |
US |
The matter has a US data region. |
EU |
The matter has a EU data region. |
Methods |
|
---|---|
|
Adds an account as a matter collaborator. |
|
Closes the specified matter. |
|
Counts the accounts processed by the specified query. |
|
Creates a matter with the given name and description. |
|
Deletes the specified matter. |
|
Gets the specified matter. |
|
Lists matters the requestor has access to. |
|
Removes an account as a matter collaborator. |
|
Reopens the specified matter. |
|
Undeletes the specified matter. |
|
Updates the specified matter. |