gogol-vault-0.5.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.Create

Contents

Description

Creates a hold in the given matter.

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

Synopsis

REST Resource

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

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

Creating a Request

mattersHoldsCreate Source #

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

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

data MattersHoldsCreate Source #

Creates a hold in the given matter.

See: mattersHoldsCreate smart constructor.

Instances
Eq MattersHoldsCreate Source # 
Instance details

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

Data MattersHoldsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: MattersHoldsCreate -> Constr #

dataTypeOf :: MattersHoldsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersHoldsCreate Source # 
Instance details

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

Generic MattersHoldsCreate Source # 
Instance details

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

Associated Types

type Rep MattersHoldsCreate :: Type -> Type #

GoogleRequest MattersHoldsCreate Source # 
Instance details

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

Associated Types

type Rs MattersHoldsCreate :: Type #

type Scopes MattersHoldsCreate :: [Symbol] #

type Rep MattersHoldsCreate Source # 
Instance details

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

type Rep MattersHoldsCreate = D1 (MetaData "MattersHoldsCreate" "Network.Google.Resource.Vault.Matters.Holds.Create" "gogol-vault-0.5.0-HWB6Is83zxh9P8XothbhLi" False) (C1 (MetaCons "MattersHoldsCreate'" PrefixI True) ((S1 (MetaSel (Just "_mhcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_mhcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mhcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_mhcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mhcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Hold)) :*: (S1 (MetaSel (Just "_mhcMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersHoldsCreate Source # 
Instance details

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

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

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

Request Lenses

mhcUploadProtocol :: Lens' MattersHoldsCreate (Maybe Text) Source #

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

mhcUploadType :: Lens' MattersHoldsCreate (Maybe Text) Source #

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

mhcPayload :: Lens' MattersHoldsCreate Hold Source #

Multipart request metadata.