Class MattersResource.HoldsResource.AccountsResource
The "accounts" collection of methods.
Inherited Members
Namespace: Google.Apis.Vault.v1
Assembly: Google.Apis.Vault.v1.dll
Syntax
public class MattersResource.HoldsResource.AccountsResource
Constructors
AccountsResource(IClientService)
Constructs a new resource.
Declaration
public AccountsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(HeldAccount, string, string)
Adds an account to a hold. Accounts can be added only to a hold that does not have an organizational unit set. If you try to add an account to an organizational unit-based hold, an error is returned.
Declaration
public virtual MattersResource.HoldsResource.AccountsResource.CreateRequest Create(HeldAccount body, string matterId, string holdId)
Parameters
Type | Name | Description |
---|---|---|
HeldAccount | body | The body of the request. |
string | matterId | The matter ID. |
string | holdId | The hold ID. |
Returns
Type | Description |
---|---|
MattersResource.HoldsResource.AccountsResource.CreateRequest |
Delete(string, string, string)
Removes an account from a hold.
Declaration
public virtual MattersResource.HoldsResource.AccountsResource.DeleteRequest Delete(string matterId, string holdId, string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | matterId | The matter ID. |
string | holdId | The hold ID. |
string | accountId | The ID of the account to remove from the hold. |
Returns
Type | Description |
---|---|
MattersResource.HoldsResource.AccountsResource.DeleteRequest |
List(string, string)
Lists the accounts covered by a hold. This can list only individually-specified accounts covered by the hold. If the hold covers an organizational unit, use the Admin SDK. to list the members of the organizational unit on hold.
Declaration
public virtual MattersResource.HoldsResource.AccountsResource.ListRequest List(string matterId, string holdId)
Parameters
Type | Name | Description |
---|---|---|
string | matterId | The matter ID. |
string | holdId | The hold ID. |
Returns
Type | Description |
---|---|
MattersResource.HoldsResource.AccountsResource.ListRequest |