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 |
Retrieves a saved query by Id.
See: G Suite Vault API Reference for vault.matters.savedQueries.get
.
Synopsis
- type MattersSavedQueriesGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("savedQueries" :> (Capture "savedQueryId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedQuery))))))))))
- mattersSavedQueriesGet :: Text -> Text -> MattersSavedQueriesGet
- data MattersSavedQueriesGet
- msqgXgafv :: Lens' MattersSavedQueriesGet (Maybe Xgafv)
- msqgSavedQueryId :: Lens' MattersSavedQueriesGet Text
- msqgUploadProtocol :: Lens' MattersSavedQueriesGet (Maybe Text)
- msqgAccessToken :: Lens' MattersSavedQueriesGet (Maybe Text)
- msqgUploadType :: Lens' MattersSavedQueriesGet (Maybe Text)
- msqgMatterId :: Lens' MattersSavedQueriesGet Text
- msqgCallback :: Lens' MattersSavedQueriesGet (Maybe Text)
REST Resource
type MattersSavedQueriesGetResource = "v1" :> ("matters" :> (Capture "matterId" Text :> ("savedQueries" :> (Capture "savedQueryId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SavedQuery)))))))))) Source #
A resource alias for vault.matters.savedQueries.get
method which the
MattersSavedQueriesGet
request conforms to.
Creating a Request
mattersSavedQueriesGet Source #
Creates a value of MattersSavedQueriesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersSavedQueriesGet Source #
Retrieves a saved query by Id.
See: mattersSavedQueriesGet
smart constructor.
Instances
Request Lenses
msqgSavedQueryId :: Lens' MattersSavedQueriesGet Text Source #
Id of the saved query to be retrieved.
msqgUploadProtocol :: Lens' MattersSavedQueriesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
msqgAccessToken :: Lens' MattersSavedQueriesGet (Maybe Text) Source #
OAuth access token.
msqgUploadType :: Lens' MattersSavedQueriesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
msqgMatterId :: Lens' MattersSavedQueriesGet Text Source #
The matter id of the parent matter for which the saved query is to be retrieved.
msqgCallback :: Lens' MattersSavedQueriesGet (Maybe Text) Source #
JSONP