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.Accounts.Delete

Contents

Description

Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.

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

Synopsis

REST Resource

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

A resource alias for vault.matters.holds.accounts.delete method which the MattersHoldsAccountsDelete request conforms to.

Creating a Request

mattersHoldsAccountsDelete Source #

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

Use one of the following lenses to modify other fields as desired:

data MattersHoldsAccountsDelete Source #

Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.

See: mattersHoldsAccountsDelete smart constructor.

Instances
Eq MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

Data MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

Methods

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

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

toConstr :: MattersHoldsAccountsDelete -> Constr #

dataTypeOf :: MattersHoldsAccountsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

Generic MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

Associated Types

type Rep MattersHoldsAccountsDelete :: Type -> Type #

GoogleRequest MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

type Rep MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

type Rep MattersHoldsAccountsDelete = D1 (MetaData "MattersHoldsAccountsDelete" "Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete" "gogol-vault-0.4.0-EgDnYDp2TSnGyXDp2UEGmS" False) (C1 (MetaCons "MattersHoldsAccountsDelete'" PrefixI True) (((S1 (MetaSel (Just "_mhadXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_mhadUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mhadHoldId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhadAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_mhadUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mhadMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mhadAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhadCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersHoldsAccountsDelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

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

Defined in Network.Google.Resource.Vault.Matters.Holds.Accounts.Delete

Request Lenses

mhadUploadProtocol :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #

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

mhadUploadType :: Lens' MattersHoldsAccountsDelete (Maybe Text) Source #

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

mhadAccountId :: Lens' MattersHoldsAccountsDelete Text Source #

The ID of the account to remove from the hold.