Class MattersResource
The "matters" collection of methods.
Inherited Members
Namespace: Google.Apis.Vault.v1
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class MattersResource
Constructors
MattersResource(IClientService)
Constructs a new resource.
Declaration
public MattersResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Exports
Gets the Exports resource.
Declaration
public virtual MattersResource.ExportsResource Exports { get; }
Property Value
| Type | Description |
|---|---|
| MattersResource.ExportsResource |
Holds
Gets the Holds resource.
Declaration
public virtual MattersResource.HoldsResource Holds { get; }
Property Value
| Type | Description |
|---|---|
| MattersResource.HoldsResource |
SavedQueries
Gets the SavedQueries resource.
Declaration
public virtual MattersResource.SavedQueriesResource SavedQueries { get; }
Property Value
| Type | Description |
|---|---|
| MattersResource.SavedQueriesResource |
Methods
AddPermissions(AddMatterPermissionsRequest, string)
Adds an account as a matter collaborator.
Declaration
public virtual MattersResource.AddPermissionsRequest AddPermissions(AddMatterPermissionsRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| AddMatterPermissionsRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.AddPermissionsRequest |
Close(CloseMatterRequest, string)
Closes the specified matter. Returns the matter with updated state.
Declaration
public virtual MattersResource.CloseRequest Close(CloseMatterRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| CloseMatterRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.CloseRequest |
Count(CountArtifactsRequest, string)
Counts the accounts processed by the specified query.
Declaration
public virtual MattersResource.CountRequest Count(CountArtifactsRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| CountArtifactsRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.CountRequest |
Create(Matter)
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.
Declaration
public virtual MattersResource.CreateRequest Create(Matter body)
Parameters
| Type | Name | Description |
|---|---|---|
| Matter | body | The body of the request. |
Returns
| Type | Description |
|---|---|
| MattersResource.CreateRequest |
Delete(string)
Deletes the specified matter. Returns the matter with updated state.
Declaration
public virtual MattersResource.DeleteRequest Delete(string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | matterId | The matter ID |
Returns
| Type | Description |
|---|---|
| MattersResource.DeleteRequest |
Get(string)
Gets the specified matter.
Declaration
public virtual MattersResource.GetRequest Get(string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.GetRequest |
List()
Lists matters the requestor has access to.
Declaration
public virtual MattersResource.ListRequest List()
Returns
| Type | Description |
|---|---|
| MattersResource.ListRequest |
RemovePermissions(RemoveMatterPermissionsRequest, string)
Removes an account as a matter collaborator.
Declaration
public virtual MattersResource.RemovePermissionsRequest RemovePermissions(RemoveMatterPermissionsRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| RemoveMatterPermissionsRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.RemovePermissionsRequest |
Reopen(ReopenMatterRequest, string)
Reopens the specified matter. Returns the matter with updated state.
Declaration
public virtual MattersResource.ReopenRequest Reopen(ReopenMatterRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| ReopenMatterRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.ReopenRequest |
Undelete(UndeleteMatterRequest, string)
Undeletes the specified matter. Returns the matter with updated state.
Declaration
public virtual MattersResource.UndeleteRequest Undelete(UndeleteMatterRequest body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| UndeleteMatterRequest | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.UndeleteRequest |
Update(Matter, string)
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.
Declaration
public virtual MattersResource.UpdateRequest Update(Matter body, string matterId)
Parameters
| Type | Name | Description |
|---|---|---|
| Matter | body | The body of the request. |
| string | matterId | The matter ID. |
Returns
| Type | Description |
|---|---|
| MattersResource.UpdateRequest |