class Matters extends Resource (View source)

The "matters" collection of methods.

Typical usage is:

 $vaultService = new Google\Service\Vault(...);
 $matters = $vaultService->matters;

Methods

addPermissions(string $matterId, AddMatterPermissionsRequest $postBody, array $optParams = [])

Adds an account as a matter collaborator. (matters.addPermissions)

close(string $matterId, CloseMatterRequest $postBody, array $optParams = [])

Closes the specified matter. Returns the matter with updated state.

count(string $matterId, CountArtifactsRequest $postBody, array $optParams = [])

Counts the accounts processed by the specified query. (matters.count)

create(Matter $postBody, array $optParams = [])

Creates a matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view. (matters.create)

delete(string $matterId, array $optParams = [])

Deletes the specified matter. Returns the matter with updated state.

get(string $matterId, array $optParams = [])

Gets the specified matter. (matters.get)

listMatters(array $optParams = [])

Lists matters the requestor has access to. (matters.listMatters)

removePermissions(string $matterId, RemoveMatterPermissionsRequest $postBody, array $optParams = [])

Removes an account as a matter collaborator. (matters.removePermissions)

reopen(string $matterId, ReopenMatterRequest $postBody, array $optParams = [])

Reopens the specified matter. Returns the matter with updated state.

undelete(string $matterId, UndeleteMatterRequest $postBody, array $optParams = [])

Undeletes the specified matter. Returns the matter with updated state.

update(string $matterId, Matter $postBody, array $optParams = [])

Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored.

Details

MatterPermission addPermissions(string $matterId, AddMatterPermissionsRequest $postBody, array $optParams = [])

Adds an account as a matter collaborator. (matters.addPermissions)

Parameters

string $matterId

The matter ID.

AddMatterPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

MatterPermission

Exceptions

Exception

CloseMatterResponse close(string $matterId, CloseMatterRequest $postBody, array $optParams = [])

Closes the specified matter. Returns the matter with updated state.

(matters.close)

Parameters

string $matterId

The matter ID.

CloseMatterRequest $postBody
array $optParams

Optional parameters.

Return Value

CloseMatterResponse

Exceptions

Exception

Operation count(string $matterId, CountArtifactsRequest $postBody, array $optParams = [])

Counts the accounts processed by the specified query. (matters.count)

Parameters

string $matterId

The matter ID.

CountArtifactsRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Matter create(Matter $postBody, array $optParams = [])

Creates a matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view. (matters.create)

Parameters

Matter $postBody
array $optParams

Optional parameters.

Return Value

Matter

Exceptions

Exception

Matter delete(string $matterId, array $optParams = [])

Deletes the specified matter. Returns the matter with updated state.

(matters.delete)

Parameters

string $matterId

The matter ID

array $optParams

Optional parameters.

Return Value

Matter

Exceptions

Exception

Matter get(string $matterId, array $optParams = [])

Gets the specified matter. (matters.get)

Parameters

string $matterId

The matter ID.

array $optParams

Optional parameters.

Return Value

Matter

Exceptions

Exception

ListMattersResponse listMatters(array $optParams = [])

Lists matters the requestor has access to. (matters.listMatters)

Parameters

array $optParams

Optional parameters.

Return Value

ListMattersResponse

Exceptions

Exception

VaultEmpty removePermissions(string $matterId, RemoveMatterPermissionsRequest $postBody, array $optParams = [])

Removes an account as a matter collaborator. (matters.removePermissions)

Parameters

string $matterId

The matter ID.

RemoveMatterPermissionsRequest $postBody
array $optParams

Optional parameters.

Return Value

VaultEmpty

Exceptions

Exception

ReopenMatterResponse reopen(string $matterId, ReopenMatterRequest $postBody, array $optParams = [])

Reopens the specified matter. Returns the matter with updated state.

(matters.reopen)

Parameters

string $matterId

The matter ID.

ReopenMatterRequest $postBody
array $optParams

Optional parameters.

Return Value

ReopenMatterResponse

Exceptions

Exception

Matter undelete(string $matterId, UndeleteMatterRequest $postBody, array $optParams = [])

Undeletes the specified matter. Returns the matter with updated state.

(matters.undelete)

Parameters

string $matterId

The matter ID.

UndeleteMatterRequest $postBody
array $optParams

Optional parameters.

Return Value

Matter

Exceptions

Exception

Matter update(string $matterId, Matter $postBody, array $optParams = [])

Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored.

Returns the default view of the matter. (matters.update)

Parameters

string $matterId

The matter ID.

Matter $postBody
array $optParams

Optional parameters.

Return Value

Matter

Exceptions

Exception