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 |
Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a `NOT_FOUND` error.
See: G Suite Alert Center API Reference for alertcenter.alerts.delete
.
Synopsis
- type AlertsDeleteResource = "v1beta1" :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))
- alertsDelete :: Text -> AlertsDelete
- data AlertsDelete
- adXgafv :: Lens' AlertsDelete (Maybe Xgafv)
- adUploadProtocol :: Lens' AlertsDelete (Maybe Text)
- adAccessToken :: Lens' AlertsDelete (Maybe Text)
- adAlertId :: Lens' AlertsDelete Text
- adUploadType :: Lens' AlertsDelete (Maybe Text)
- adCustomerId :: Lens' AlertsDelete (Maybe Text)
- adCallback :: Lens' AlertsDelete (Maybe Text)
REST Resource
type AlertsDeleteResource = "v1beta1" :> ("alerts" :> (Capture "alertId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "customerId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))) Source #
A resource alias for alertcenter.alerts.delete
method which the
AlertsDelete
request conforms to.
Creating a Request
Creates a value of AlertsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AlertsDelete Source #
Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a `NOT_FOUND` error.
See: alertsDelete
smart constructor.
Instances
Request Lenses
adUploadProtocol :: Lens' AlertsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
adAccessToken :: Lens' AlertsDelete (Maybe Text) Source #
OAuth access token.
adUploadType :: Lens' AlertsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
adCustomerId :: Lens' AlertsDelete (Maybe Text) Source #
Optional. The unique identifier of the G Suite organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.
adCallback :: Lens' AlertsDelete (Maybe Text) Source #
JSONP