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 an alerting policy.
See: Stackdriver Monitoring API Reference for monitoring.projects.alertPolicies.delete
.
Synopsis
- type ProjectsAlertPoliciesDeleteResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsAlertPoliciesDelete :: Text -> ProjectsAlertPoliciesDelete
- data ProjectsAlertPoliciesDelete
- papdXgafv :: Lens' ProjectsAlertPoliciesDelete (Maybe Xgafv)
- papdUploadProtocol :: Lens' ProjectsAlertPoliciesDelete (Maybe Text)
- papdAccessToken :: Lens' ProjectsAlertPoliciesDelete (Maybe Text)
- papdUploadType :: Lens' ProjectsAlertPoliciesDelete (Maybe Text)
- papdName :: Lens' ProjectsAlertPoliciesDelete Text
- papdCallback :: Lens' ProjectsAlertPoliciesDelete (Maybe Text)
REST Resource
type ProjectsAlertPoliciesDeleteResource = "v3" :> (Capture "name" 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 monitoring.projects.alertPolicies.delete
method which the
ProjectsAlertPoliciesDelete
request conforms to.
Creating a Request
projectsAlertPoliciesDelete Source #
Creates a value of ProjectsAlertPoliciesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAlertPoliciesDelete Source #
Deletes an alerting policy.
See: projectsAlertPoliciesDelete
smart constructor.
Instances
Request Lenses
papdUploadProtocol :: Lens' ProjectsAlertPoliciesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
papdAccessToken :: Lens' ProjectsAlertPoliciesDelete (Maybe Text) Source #
OAuth access token.
papdUploadType :: Lens' ProjectsAlertPoliciesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
papdName :: Lens' ProjectsAlertPoliciesDelete Text Source #
The alerting policy to delete. The format is: projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID] For more information, see AlertPolicy.
papdCallback :: Lens' ProjectsAlertPoliciesDelete (Maybe Text) Source #
JSONP