gogol-logging-0.1.0: Google Cloud 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: Google Cloud Logging API Reference for logging.projects.metrics.list.

Synopsis

REST Resource

type ProjectsMetricsListResource = "v2beta1" :> (Capture "projectName" Text :> ("metrics" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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 # 
Data ProjectsMetricsList Source # 

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 # 
Generic ProjectsMetricsList Source # 
GoogleRequest ProjectsMetricsList Source # 
type Rep ProjectsMetricsList Source # 
type Scopes ProjectsMetricsList Source # 
type Scopes ProjectsMetricsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ((:) Symbol "https://www.googleapis.com/auth/logging.admin" ((:) Symbol "https://www.googleapis.com/auth/logging.read" ([] Symbol))))
type Rs ProjectsMetricsList Source # 

Request Lenses

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

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

pmlPp :: Lens' ProjectsMetricsList Bool Source #

Pretty-print response.

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

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

pmlProjectName :: Lens' ProjectsMetricsList Text Source #

Required. The resource name of the project containing the metrics. Example: `"projects/my-project-id"`.

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

Optional. If the `pageToken` parameter is supplied, then the next page of results is retrieved. The `pageToken` parameter must be set to the value of the `nextPageToken` from the previous response. The value of `projectName` must be the same as in the previous request.

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

Optional. The maximum number of results to return from this request. You must check for presence of `nextPageToken` to determine if additional results are available, which you can retrieve by passing the `nextPageToken` value as the `pageToken` parameter in the next request.