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.Undelete

Contents

Description

Undeletes the specified matter. Returns matter with updated state.

See: G Suite Vault API Reference for vault.matters.undelete.

Synopsis

REST Resource

type MattersUndeleteResource = "v1" :> ("matters" :> (CaptureMode "matterId" "undelete" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UndeleteMatterRequest :> Post '[JSON] Matter))))))))) Source #

A resource alias for vault.matters.undelete method which the MattersUndelete request conforms to.

Creating a Request

mattersUndelete Source #

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

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

data MattersUndelete Source #

Undeletes the specified matter. Returns matter with updated state.

See: mattersUndelete smart constructor.

Instances
Eq MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

Data MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

Methods

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

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

toConstr :: MattersUndelete -> Constr #

dataTypeOf :: MattersUndelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

Generic MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

Associated Types

type Rep MattersUndelete :: Type -> Type #

GoogleRequest MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

Associated Types

type Rs MattersUndelete :: Type #

type Scopes MattersUndelete :: [Symbol] #

type Rep MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

type Rep MattersUndelete = D1 (MetaData "MattersUndelete" "Network.Google.Resource.Vault.Matters.Undelete" "gogol-vault-0.4.0-EgDnYDp2TSnGyXDp2UEGmS" False) (C1 (MetaCons "MattersUndelete'" PrefixI True) ((S1 (MetaSel (Just "_muXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_muUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_muAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_muUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_muPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UndeleteMatterRequest)) :*: (S1 (MetaSel (Just "_muMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_muCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersUndelete Source # 
Instance details

Defined in Network.Google.Resource.Vault.Matters.Undelete

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

Defined in Network.Google.Resource.Vault.Matters.Undelete

Request Lenses

muUploadProtocol :: Lens' MattersUndelete (Maybe Text) Source #

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

muUploadType :: Lens' MattersUndelete (Maybe Text) Source #

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