gogol-monitoring-0.4.0: Google Stackdriver Monitoring 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.Monitoring.Projects.MetricDescriptors.List

Contents

Description

Lists metric descriptors that match a filter. This method does not require a Stackdriver account.

See: Stackdriver Monitoring API Reference for monitoring.projects.metricDescriptors.list.

Synopsis

REST Resource

type ProjectsMetricDescriptorsListResource = "v3" :> (Capture "name" Text :> ("metricDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMetricDescriptorsResponse))))))))))) Source #

A resource alias for monitoring.projects.metricDescriptors.list method which the ProjectsMetricDescriptorsList request conforms to.

Creating a Request

projectsMetricDescriptorsList Source #

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

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

data ProjectsMetricDescriptorsList Source #

Lists metric descriptors that match a filter. This method does not require a Stackdriver account.

See: projectsMetricDescriptorsList smart constructor.

Instances
Eq ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

Data ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

Methods

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

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

toConstr :: ProjectsMetricDescriptorsList -> Constr #

dataTypeOf :: ProjectsMetricDescriptorsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

Generic ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

Associated Types

type Rep ProjectsMetricDescriptorsList :: Type -> Type #

GoogleRequest ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

type Rep ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

type Rep ProjectsMetricDescriptorsList = D1 (MetaData "ProjectsMetricDescriptorsList" "Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsMetricDescriptorsList'" PrefixI True) (((S1 (MetaSel (Just "_pmdlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pmdlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pmdlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmdlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pmdlName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmdlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pmdlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmdlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pmdlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsMetricDescriptorsList Source # 
Instance details

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

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

Defined in Network.Google.Resource.Monitoring.Projects.MetricDescriptors.List

Request Lenses

pmdlUploadProtocol :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #

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

pmdlUploadType :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #

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

pmdlName :: Lens' ProjectsMetricDescriptorsList Text Source #

The project on which to execute the request. The format is "projects/{project_id_or_number}".

pmdlFilter :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #

If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/")

pmdlPageToken :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

pmdlPageSize :: Lens' ProjectsMetricDescriptorsList (Maybe Int32) Source #

A positive number that is the maximum number of results to return.