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

Contents

Description

Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.

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

Synopsis

REST Resource

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

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

Creating a Request

mattersHoldsUpdate Source #

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

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

data MattersHoldsUpdate Source #

Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.

See: mattersHoldsUpdate smart constructor.

Instances
Eq MattersHoldsUpdate Source # 
Instance details

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

Data MattersHoldsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: MattersHoldsUpdate -> Constr #

dataTypeOf :: MattersHoldsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersHoldsUpdate Source # 
Instance details

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

Generic MattersHoldsUpdate Source # 
Instance details

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

Associated Types

type Rep MattersHoldsUpdate :: Type -> Type #

GoogleRequest MattersHoldsUpdate Source # 
Instance details

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

Associated Types

type Rs MattersHoldsUpdate :: Type #

type Scopes MattersHoldsUpdate :: [Symbol] #

type Rep MattersHoldsUpdate Source # 
Instance details

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

type Rep MattersHoldsUpdate = D1 (MetaData "MattersHoldsUpdate" "Network.Google.Resource.Vault.Matters.Holds.Update" "gogol-vault-0.4.0-EgDnYDp2TSnGyXDp2UEGmS" False) (C1 (MetaCons "MattersHoldsUpdate'" PrefixI True) (((S1 (MetaSel (Just "_mhuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_mhuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mhuHoldId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_mhuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mhuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Hold)) :*: (S1 (MetaSel (Just "_mhuMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mhuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersHoldsUpdate Source # 
Instance details

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

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

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

Request Lenses

mhuUploadProtocol :: Lens' MattersHoldsUpdate (Maybe Text) Source #

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

mhuUploadType :: Lens' MattersHoldsUpdate (Maybe Text) Source #

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

mhuPayload :: Lens' MattersHoldsUpdate Hold Source #

Multipart request metadata.