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 logs-based metric.
See: Stackdriver Logging API Reference for logging.projects.metrics.delete
.
Synopsis
- type ProjectsMetricsDeleteResource = "v2" :> (Capture "metricName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsMetricsDelete :: Text -> ProjectsMetricsDelete
- data ProjectsMetricsDelete
- pmdXgafv :: Lens' ProjectsMetricsDelete (Maybe Xgafv)
- pmdUploadProtocol :: Lens' ProjectsMetricsDelete (Maybe Text)
- pmdAccessToken :: Lens' ProjectsMetricsDelete (Maybe Text)
- pmdMetricName :: Lens' ProjectsMetricsDelete Text
- pmdUploadType :: Lens' ProjectsMetricsDelete (Maybe Text)
- pmdCallback :: Lens' ProjectsMetricsDelete (Maybe Text)
REST Resource
type ProjectsMetricsDeleteResource = "v2" :> (Capture "metricName" 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 logging.projects.metrics.delete
method which the
ProjectsMetricsDelete
request conforms to.
Creating a Request
projectsMetricsDelete Source #
Creates a value of ProjectsMetricsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsMetricsDelete Source #
Deletes a logs-based metric.
See: projectsMetricsDelete
smart constructor.
Instances
Request Lenses
pmdUploadProtocol :: Lens' ProjectsMetricsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmdAccessToken :: Lens' ProjectsMetricsDelete (Maybe Text) Source #
OAuth access token.
pmdMetricName :: Lens' ProjectsMetricsDelete Text Source #
The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
pmdUploadType :: Lens' ProjectsMetricsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmdCallback :: Lens' ProjectsMetricsDelete (Maybe Text) Source #
JSONP