gogol-vault-0.4.0: Google G Suite Vault SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Contents

Description

Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.

See: G Suite Vault API Reference for vault.matters.holds.addHeldAccounts.

Synopsis

REST Resource

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

A resource alias for vault.matters.holds.addHeldAccounts method which the MattersHoldsAddHeldAccounts request conforms to.

Creating a Request

data MattersHoldsAddHeldAccounts Source #

Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.

See: mattersHoldsAddHeldAccounts smart constructor.

Instances
Eq MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Data MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MattersHoldsAddHeldAccounts -> c MattersHoldsAddHeldAccounts #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MattersHoldsAddHeldAccounts #

toConstr :: MattersHoldsAddHeldAccounts -> Constr #

dataTypeOf :: MattersHoldsAddHeldAccounts -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MattersHoldsAddHeldAccounts) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MattersHoldsAddHeldAccounts) #

gmapT :: (forall b. Data b => b -> b) -> MattersHoldsAddHeldAccounts -> MattersHoldsAddHeldAccounts #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MattersHoldsAddHeldAccounts -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MattersHoldsAddHeldAccounts -> r #

gmapQ :: (forall d. Data d => d -> u) -> MattersHoldsAddHeldAccounts -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MattersHoldsAddHeldAccounts -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MattersHoldsAddHeldAccounts -> m MattersHoldsAddHeldAccounts #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MattersHoldsAddHeldAccounts -> m MattersHoldsAddHeldAccounts #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MattersHoldsAddHeldAccounts -> m MattersHoldsAddHeldAccounts #

Show MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Generic MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Associated Types

type Rep MattersHoldsAddHeldAccounts :: Type -> Type #

GoogleRequest MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

type Rep MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

type Rep MattersHoldsAddHeldAccounts = D1 (MetaData "MattersHoldsAddHeldAccounts" "Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts" "gogol-vault-0.4.0-EgDnYDp2TSnGyXDp2UEGmS" False) (C1 (MetaCons "MattersHoldsAddHeldAccounts'" PrefixI True) (((S1 (MetaSel (Just "_mhahaXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_mhahaUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mhahaHoldId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhahaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_mhahaUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mhahaPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 AddHeldAccountsRequest)) :*: (S1 (MetaSel (Just "_mhahaMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhahaCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

type Scopes MattersHoldsAddHeldAccounts = "https://www.googleapis.com/auth/ediscovery" ': ([] :: [Symbol])
type Rs MattersHoldsAddHeldAccounts Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.AddHeldAccounts

Request Lenses

mhahaUploadProtocol :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

mhahaUploadType :: Lens' MattersHoldsAddHeldAccounts (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").