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

Contents

Description

Gets a single metric descriptor. This method does not require a Stackdriver account.

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

Synopsis

REST Resource

type ProjectsMetricDescriptorsGetResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] MetricDescriptor))))))) Source #

A resource alias for monitoring.projects.metricDescriptors.get method which the ProjectsMetricDescriptorsGet request conforms to.

Creating a Request

projectsMetricDescriptorsGet Source #

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

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

data ProjectsMetricDescriptorsGet Source #

Gets a single metric descriptor. This method does not require a Stackdriver account.

See: projectsMetricDescriptorsGet smart constructor.

Instances
Eq ProjectsMetricDescriptorsGet Source # 
Instance details

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

Data ProjectsMetricDescriptorsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsMetricDescriptorsGet -> Constr #

dataTypeOf :: ProjectsMetricDescriptorsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsMetricDescriptorsGet Source # 
Instance details

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

Generic ProjectsMetricDescriptorsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsMetricDescriptorsGet :: Type -> Type #

GoogleRequest ProjectsMetricDescriptorsGet Source # 
Instance details

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

type Rep ProjectsMetricDescriptorsGet Source # 
Instance details

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

type Rep ProjectsMetricDescriptorsGet = D1 (MetaData "ProjectsMetricDescriptorsGet" "Network.Google.Resource.Monitoring.Projects.MetricDescriptors.Get" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsMetricDescriptorsGet'" PrefixI True) ((S1 (MetaSel (Just "_pmdgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmdgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmdgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmdgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmdgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmdgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsMetricDescriptorsGet Source # 
Instance details

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

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

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

Request Lenses

pmdgUploadProtocol :: Lens' ProjectsMetricDescriptorsGet (Maybe Text) Source #

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

pmdgUploadType :: Lens' ProjectsMetricDescriptorsGet (Maybe Text) Source #

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

pmdgName :: Lens' ProjectsMetricDescriptorsGet Text Source #

The metric descriptor on which to execute the request. The format is "projects/{project_id_or_number}/metricDescriptors/{metric_id}". An example value of {metric_id} is "compute.googleapis.com/instance/disk/read_bytes_count".