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.SavedQueries.Create

Contents

Description

Creates a saved query.

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

Synopsis

REST Resource

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

A resource alias for vault.matters.savedQueries.create method which the MattersSavedQueriesCreate request conforms to.

Creating a Request

mattersSavedQueriesCreate Source #

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

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

data MattersSavedQueriesCreate Source #

Creates a saved query.

See: mattersSavedQueriesCreate smart constructor.

Instances
Eq MattersSavedQueriesCreate Source # 
Instance details

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

Data MattersSavedQueriesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: MattersSavedQueriesCreate -> Constr #

dataTypeOf :: MattersSavedQueriesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MattersSavedQueriesCreate Source # 
Instance details

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

Generic MattersSavedQueriesCreate Source # 
Instance details

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

Associated Types

type Rep MattersSavedQueriesCreate :: Type -> Type #

GoogleRequest MattersSavedQueriesCreate Source # 
Instance details

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

type Rep MattersSavedQueriesCreate Source # 
Instance details

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

type Rep MattersSavedQueriesCreate = D1 (MetaData "MattersSavedQueriesCreate" "Network.Google.Resource.Vault.Matters.SavedQueries.Create" "gogol-vault-0.4.0-EgDnYDp2TSnGyXDp2UEGmS" False) (C1 (MetaCons "MattersSavedQueriesCreate'" PrefixI True) ((S1 (MetaSel (Just "_msqcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_msqcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_msqcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_msqcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_msqcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SavedQuery)) :*: (S1 (MetaSel (Just "_msqcMatterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_msqcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes MattersSavedQueriesCreate Source # 
Instance details

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

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

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

Request Lenses

msqcUploadProtocol :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #

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

msqcUploadType :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #

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

msqcMatterId :: Lens' MattersSavedQueriesCreate Text Source #

The matter id of the parent matter for which the saved query is to be created.