gogol-vault-1.0.0: Google Vault SDK.
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.Vault.Matters.Holds.Accounts.Create

Description

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.

See: Google Vault API Reference for vault.matters.holds.accounts.create.

Synopsis

Resource

type VaultMattersHoldsAccountsCreateResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("holds" :> (Capture "holdId" Text :> ("accounts" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] HeldAccount :> Post '[JSON] HeldAccount)))))))))))) Source #

A resource alias for vault.matters.holds.accounts.create method which the VaultMattersHoldsAccountsCreate request conforms to.

Constructing a Request

data VaultMattersHoldsAccountsCreate Source #

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.

See: newVaultMattersHoldsAccountsCreate smart constructor.

Constructors

VaultMattersHoldsAccountsCreate 

Fields

Instances

Instances details
Generic VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

Show VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

Eq VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

GoogleRequest VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

type Rep VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

type Rs VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

type Scopes VaultMattersHoldsAccountsCreate Source # 
Instance details

Defined in Gogol.Vault.Matters.Holds.Accounts.Create

newVaultMattersHoldsAccountsCreate Source #

Arguments

:: Text

The hold ID. See holdId.

-> Text

The matter ID. See matterId.

-> HeldAccount

Multipart request metadata. See payload.

-> VaultMattersHoldsAccountsCreate 

Creates a value of VaultMattersHoldsAccountsCreate with the minimum fields required to make a request.