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

Contents

Description

Lists logs-based metrics.

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

Synopsis

REST Resource

type ProjectsMetricsListResource = "v2" :> (Capture "parent" Text :> ("metrics" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLogMetricsResponse)))))))))) Source #

A resource alias for logging.projects.metrics.list method which the ProjectsMetricsList request conforms to.

Creating a Request

projectsMetricsList Source #

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

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

data ProjectsMetricsList Source #

Lists logs-based metrics.

See: projectsMetricsList smart constructor.

Instances
Eq ProjectsMetricsList Source # 
Instance details

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

Data ProjectsMetricsList Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsMetricsList -> Constr #

dataTypeOf :: ProjectsMetricsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsMetricsList Source # 
Instance details

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

Generic ProjectsMetricsList Source # 
Instance details

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

Associated Types

type Rep ProjectsMetricsList :: Type -> Type #

GoogleRequest ProjectsMetricsList Source # 
Instance details

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

Associated Types

type Rs ProjectsMetricsList :: Type #

type Scopes ProjectsMetricsList :: [Symbol] #

type Rep ProjectsMetricsList Source # 
Instance details

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

type Rep ProjectsMetricsList = D1 (MetaData "ProjectsMetricsList" "Network.Google.Resource.Logging.Projects.Metrics.List" "gogol-logging-0.4.0-Fkqxms3wLZh247ErmYpvHr" False) (C1 (MetaCons "ProjectsMetricsList'" PrefixI True) (((S1 (MetaSel (Just "_pmlParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_pmlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pmlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pmlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pmlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsMetricsList Source # 
Instance details

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

type Scopes ProjectsMetricsList = "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 ProjectsMetricsList Source # 
Instance details

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

Request Lenses

pmlParent :: Lens' ProjectsMetricsList Text Source #

Required. The name of the project containing the metrics: "projects/[PROJECT_ID]"

pmlUploadProtocol :: Lens' ProjectsMetricsList (Maybe Text) Source #

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

pmlUploadType :: Lens' ProjectsMetricsList (Maybe Text) Source #

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

pmlPageToken :: Lens' ProjectsMetricsList (Maybe Text) Source #

Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.

pmlPageSize :: Lens' ProjectsMetricsList (Maybe Int32) Source #

Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.