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

Contents

Description

Closes the specified matter. Returns matter with updated state.

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

Synopsis

REST Resource

type MattersCloseResource = "v1" :> ("matters" :> (CaptureMode "matterId" "close" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CloseMatterRequest :> Post '[JSON] CloseMatterResponse))))))))) Source #

A resource alias for vault.matters.close method which the MattersClose request conforms to.

Creating a Request

mattersClose Source #

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

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

data MattersClose Source #

Closes the specified matter. Returns matter with updated state.

See: mattersClose smart constructor.

Instances
Eq MattersClose Source # 
Instance details

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

Data MattersClose Source # 
Instance details

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

Methods

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

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

toConstr :: MattersClose -> Constr #

dataTypeOf :: MattersClose -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersClose Source # 
Instance details

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

Generic MattersClose Source # 
Instance details

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

Associated Types

type Rep MattersClose :: Type -> Type #

GoogleRequest MattersClose Source # 
Instance details

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

Associated Types

type Rs MattersClose :: Type #

type Scopes MattersClose :: [Symbol] #

type Rep MattersClose Source # 
Instance details

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

type Scopes MattersClose Source # 
Instance details

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

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

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

Request Lenses

mcUploadProtocol :: Lens' MattersClose (Maybe Text) Source #

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

mcUploadType :: Lens' MattersClose (Maybe Text) Source #

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

mcPayload :: Lens' MattersClose CloseMatterRequest Source #

Multipart request metadata.