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 | |
---|---|
matter |
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. |
matter |
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 |
Optional. The requested data region for 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. |
account |
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. |
MatterRegion
The data region for the matter.
Enums | |
---|---|
MATTER_REGION_UNSPECIFIED |
The region is unspecified. Defaults to ANY. |
ANY |
Any region. |
US |
United States region. |
EUROPE |
Europe 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. |