gogol-logging-0.2.0: Google Stackdriver Logging SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Logging.Projects.Metrics.Delete

Contents

Description

Deletes a logs-based metric.

See: Stackdriver Logging API Reference for logging.projects.metrics.delete.

Synopsis

REST Resource

type ProjectsMetricsDeleteResource = "v2" :> (Capture "metricName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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

Eq ProjectsMetricsDelete Source # 
Data ProjectsMetricsDelete Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsMetricsDelete -> c ProjectsMetricsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsMetricsDelete #

toConstr :: ProjectsMetricsDelete -> Constr #

dataTypeOf :: ProjectsMetricsDelete -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsMetricsDelete) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsMetricsDelete) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsMetricsDelete -> ProjectsMetricsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsMetricsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsMetricsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsMetricsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsMetricsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsMetricsDelete -> m ProjectsMetricsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsMetricsDelete -> m ProjectsMetricsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsMetricsDelete -> m ProjectsMetricsDelete #

Show ProjectsMetricsDelete Source # 
Generic ProjectsMetricsDelete Source # 
GoogleRequest ProjectsMetricsDelete Source # 
type Rep ProjectsMetricsDelete Source # 
type Rep ProjectsMetricsDelete = D1 (MetaData "ProjectsMetricsDelete" "Network.Google.Resource.Logging.Projects.Metrics.Delete" "gogol-logging-0.2.0-BZURF0G1h2O9fo4gJmkmAd" False) (C1 (MetaCons "ProjectsMetricsDelete'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pmdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_pmdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pmdPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_pmdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pmdMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pmdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pmdBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pmdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsMetricsDelete Source # 
type Scopes ProjectsMetricsDelete = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ((:) Symbol "https://www.googleapis.com/auth/logging.write" ([] Symbol)))
type Rs ProjectsMetricsDelete Source # 

Request Lenses

pmdUploadProtocol :: Lens' ProjectsMetricsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pmdPp :: Lens' ProjectsMetricsDelete Bool Source #

Pretty-print response.

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").