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

Contents

Description

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

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

Synopsis

REST Resource

type ProjectsMonitoredResourceDescriptorsGetResource = "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] MonitoredResourceDescriptor))))))) Source #

A resource alias for monitoring.projects.monitoredResourceDescriptors.get method which the ProjectsMonitoredResourceDescriptorsGet request conforms to.

Creating a Request

projectsMonitoredResourceDescriptorsGet Source #

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

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

data ProjectsMonitoredResourceDescriptorsGet Source #

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

See: projectsMonitoredResourceDescriptorsGet smart constructor.

Instances
Eq ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

Data ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsMonitoredResourceDescriptorsGet -> Constr #

dataTypeOf :: ProjectsMonitoredResourceDescriptorsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

Generic ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

GoogleRequest ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

type Rep ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

type Rep ProjectsMonitoredResourceDescriptorsGet = D1 (MetaData "ProjectsMonitoredResourceDescriptorsGet" "Network.Google.Resource.Monitoring.Projects.MonitoredResourceDescriptors.Get" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsMonitoredResourceDescriptorsGet'" PrefixI True) ((S1 (MetaSel (Just "_pmrdgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmrdgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmrdgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pmrdgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pmrdgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmrdgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsMonitoredResourceDescriptorsGet Source # 
Instance details

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

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

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

Request Lenses

pmrdgUploadProtocol :: Lens' ProjectsMonitoredResourceDescriptorsGet (Maybe Text) Source #

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

pmrdgUploadType :: Lens' ProjectsMonitoredResourceDescriptorsGet (Maybe Text) Source #

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

pmrdgName :: Lens' ProjectsMonitoredResourceDescriptorsGet Text Source #

The monitored resource descriptor to get. The format is "projects/{project_id_or_number}/monitoredResourceDescriptors/{resource_type}". The {resource_type} is a predefined type, such as cloudsql_database.