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.Get

Contents

Description

Gets a logs-based metric.

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

Synopsis

REST Resource

type ProjectsMetricsGetResource = "v2" :> (Capture "metricName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LogMetric))))))) Source #

A resource alias for logging.projects.metrics.get method which the ProjectsMetricsGet request conforms to.

Creating a Request

projectsMetricsGet Source #

Creates a value of ProjectsMetricsGet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsMetricsGet Source #

Gets a logs-based metric.

See: projectsMetricsGet smart constructor.

Instances
Eq ProjectsMetricsGet Source # 
Instance details

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

Data ProjectsMetricsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsMetricsGet -> Constr #

dataTypeOf :: ProjectsMetricsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsMetricsGet Source # 
Instance details

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

Generic ProjectsMetricsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsMetricsGet :: Type -> Type #

GoogleRequest ProjectsMetricsGet Source # 
Instance details

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

Associated Types

type Rs ProjectsMetricsGet :: Type #

type Scopes ProjectsMetricsGet :: [Symbol] #

type Rep ProjectsMetricsGet Source # 
Instance details

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

type Rep ProjectsMetricsGet = D1 (MetaData "ProjectsMetricsGet" "Network.Google.Resource.Logging.Projects.Metrics.Get" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsMetricsGet'" PrefixI True) ((S1 (MetaSel (Just "_pmgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmgMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pmgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsMetricsGet Source # 
Instance details

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

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

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

Request Lenses

pmgUploadProtocol :: Lens' ProjectsMetricsGet (Maybe Text) Source #

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

pmgMetricName :: Lens' ProjectsMetricsGet Text Source #

The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]"

pmgUploadType :: Lens' ProjectsMetricsGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").