Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a saved query.
See: G Suite Vault API Reference for vault.matters.savedQueries.create
.
Synopsis
- 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))))))))))
- mattersSavedQueriesCreate :: SavedQuery -> Text -> MattersSavedQueriesCreate
- data MattersSavedQueriesCreate
- msqcXgafv :: Lens' MattersSavedQueriesCreate (Maybe Xgafv)
- msqcUploadProtocol :: Lens' MattersSavedQueriesCreate (Maybe Text)
- msqcAccessToken :: Lens' MattersSavedQueriesCreate (Maybe Text)
- msqcUploadType :: Lens' MattersSavedQueriesCreate (Maybe Text)
- msqcPayload :: Lens' MattersSavedQueriesCreate SavedQuery
- msqcMatterId :: Lens' MattersSavedQueriesCreate Text
- msqcCallback :: Lens' MattersSavedQueriesCreate (Maybe Text)
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
Request Lenses
msqcUploadProtocol :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
msqcAccessToken :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #
OAuth access token.
msqcUploadType :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
msqcPayload :: Lens' MattersSavedQueriesCreate SavedQuery Source #
Multipart request metadata.
msqcMatterId :: Lens' MattersSavedQueriesCreate Text Source #
The matter id of the parent matter for which the saved query is to be created.
msqcCallback :: Lens' MattersSavedQueriesCreate (Maybe Text) Source #
JSONP