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 metric descriptor. Only user-created custom metrics can be deleted.
See: Stackdriver Monitoring API Reference for monitoring.projects.metricDescriptors.delete
.
Synopsis
- type ProjectsMetricDescriptorsDeleteResource = "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)))))))
- projectsMetricDescriptorsDelete :: Text -> ProjectsMetricDescriptorsDelete
- data ProjectsMetricDescriptorsDelete
- pmddXgafv :: Lens' ProjectsMetricDescriptorsDelete (Maybe Xgafv)
- pmddUploadProtocol :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text)
- pmddAccessToken :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text)
- pmddUploadType :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text)
- pmddName :: Lens' ProjectsMetricDescriptorsDelete Text
- pmddCallback :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text)
REST Resource
type ProjectsMetricDescriptorsDeleteResource = "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.metricDescriptors.delete
method which the
ProjectsMetricDescriptorsDelete
request conforms to.
Creating a Request
projectsMetricDescriptorsDelete Source #
Creates a value of ProjectsMetricDescriptorsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsMetricDescriptorsDelete Source #
Deletes a metric descriptor. Only user-created custom metrics can be deleted.
See: projectsMetricDescriptorsDelete
smart constructor.
Instances
Request Lenses
pmddUploadProtocol :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmddAccessToken :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text) Source #
OAuth access token.
pmddUploadType :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmddName :: Lens' ProjectsMetricDescriptorsDelete Text Source #
The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example of {metric_id} is: "custom.googleapis.com/my_test_metric".
pmddCallback :: Lens' ProjectsMetricDescriptorsDelete (Maybe Text) Source #
JSONP