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 |
Deletes a saved query by Id.
See: G Suite Vault API Reference for vault.matters.savedQueries.delete
.
Synopsis
- type MattersSavedQueriesDeleteResource = "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 :> Delete '[JSON] Empty))))))))))
- mattersSavedQueriesDelete :: Text -> Text -> MattersSavedQueriesDelete
- data MattersSavedQueriesDelete
- msqdXgafv :: Lens' MattersSavedQueriesDelete (Maybe Xgafv)
- msqdSavedQueryId :: Lens' MattersSavedQueriesDelete Text
- msqdUploadProtocol :: Lens' MattersSavedQueriesDelete (Maybe Text)
- msqdAccessToken :: Lens' MattersSavedQueriesDelete (Maybe Text)
- msqdUploadType :: Lens' MattersSavedQueriesDelete (Maybe Text)
- msqdMatterId :: Lens' MattersSavedQueriesDelete Text
- msqdCallback :: Lens' MattersSavedQueriesDelete (Maybe Text)
REST Resource
type MattersSavedQueriesDeleteResource = "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 :> Delete '[JSON] Empty)))))))))) Source #
A resource alias for vault.matters.savedQueries.delete
method which the
MattersSavedQueriesDelete
request conforms to.
Creating a Request
mattersSavedQueriesDelete Source #
Creates a value of MattersSavedQueriesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MattersSavedQueriesDelete Source #
Deletes a saved query by Id.
See: mattersSavedQueriesDelete
smart constructor.
Instances
Request Lenses
msqdSavedQueryId :: Lens' MattersSavedQueriesDelete Text Source #
Id of the saved query to be deleted.
msqdUploadProtocol :: Lens' MattersSavedQueriesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
msqdAccessToken :: Lens' MattersSavedQueriesDelete (Maybe Text) Source #
OAuth access token.
msqdUploadType :: Lens' MattersSavedQueriesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
msqdMatterId :: Lens' MattersSavedQueriesDelete Text Source #
The matter id of the parent matter for which the saved query is to be deleted.
msqdCallback :: Lens' MattersSavedQueriesDelete (Maybe Text) Source #
JSONP