gogol-logging-0.4.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 "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
Eq ProjectsMetricsDelete Source # 
Instance details

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

Data ProjectsMetricsDelete Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsMetricsDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsMetricsDelete :: Type -> Type #

GoogleRequest ProjectsMetricsDelete Source # 
Instance details

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

type Rep ProjectsMetricsDelete Source # 
Instance details

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

type Rep ProjectsMetricsDelete = D1 (MetaData "ProjectsMetricsDelete" "Network.Google.Resource.Logging.Projects.Metrics.Delete" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsMetricsDelete'" PrefixI True) ((S1 (MetaSel (Just "_pmdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmdMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pmdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsMetricsDelete Source # 
Instance details

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

type Scopes ProjectsMetricsDelete = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/logging.admin" ': ("https://www.googleapis.com/auth/logging.write" ': ([] :: [Symbol])))
type Rs ProjectsMetricsDelete Source # 
Instance details

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

Request Lenses

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

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

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