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

Contents

Description

Updates the specified matter. This updates only the name and description of the matter, identified by matter id. Changes to any other fields are ignored. Returns the default view of the matter.

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

Synopsis

REST Resource

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

A resource alias for vault.matters.update method which the MattersUpdate request conforms to.

Creating a Request

mattersUpdate Source #

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

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

data MattersUpdate Source #

Updates the specified matter. This updates only the name and description of the matter, identified by matter id. Changes to any other fields are ignored. Returns the default view of the matter.

See: mattersUpdate smart constructor.

Instances
Eq MattersUpdate Source # 
Instance details

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

Data MattersUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: MattersUpdate -> Constr #

dataTypeOf :: MattersUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersUpdate Source # 
Instance details

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

Generic MattersUpdate Source # 
Instance details

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

Associated Types

type Rep MattersUpdate :: Type -> Type #

GoogleRequest MattersUpdate Source # 
Instance details

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

Associated Types

type Rs MattersUpdate :: Type #

type Scopes MattersUpdate :: [Symbol] #

type Rep MattersUpdate Source # 
Instance details

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

type Rep MattersUpdate = D1 (MetaData "MattersUpdate" "Network.Google.Resource.Vault.Matters.Update" "gogol-vault-0.5.0-HWB6Is83zxh9P8XothbhLi" False) (C1 (MetaCons "MattersUpdate'" PrefixI True) ((S1 (MetaSel (Just "_matXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_matUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_matAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_matUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_matPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Matter)) :*: (S1 (MetaSel (Just "_matMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_matCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersUpdate Source # 
Instance details

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

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

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

Request Lenses

matUploadProtocol :: Lens' MattersUpdate (Maybe Text) Source #

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

matUploadType :: Lens' MattersUpdate (Maybe Text) Source #

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

matPayload :: Lens' MattersUpdate Matter Source #

Multipart request metadata.