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

Contents

Description

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

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

Synopsis

REST Resource

type ProjectsNotificationChannelsGetResource = "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] NotificationChannel))))))) Source #

A resource alias for monitoring.projects.notificationChannels.get method which the ProjectsNotificationChannelsGet request conforms to.

Creating a Request

projectsNotificationChannelsGet Source #

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

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

data ProjectsNotificationChannelsGet Source #

Gets a single notification channel. The channel includes the relevant configuration details with which the channel was created. However, the response may truncate or omit passwords, API keys, or other private key matter and thus the response may not be 100% identical to the information that was supplied in the call to the create method.

See: projectsNotificationChannelsGet smart constructor.

Instances
Eq ProjectsNotificationChannelsGet Source # 
Instance details

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

Data ProjectsNotificationChannelsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotificationChannelsGet -> Constr #

dataTypeOf :: ProjectsNotificationChannelsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotificationChannelsGet Source # 
Instance details

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

Generic ProjectsNotificationChannelsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsNotificationChannelsGet :: Type -> Type #

GoogleRequest ProjectsNotificationChannelsGet Source # 
Instance details

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

type Rep ProjectsNotificationChannelsGet Source # 
Instance details

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

type Rep ProjectsNotificationChannelsGet = D1 (MetaData "ProjectsNotificationChannelsGet" "Network.Google.Resource.Monitoring.Projects.NotificationChannels.Get" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsNotificationChannelsGet'" PrefixI True) ((S1 (MetaSel (Just "_pncgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pncgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pncgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pncgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotificationChannelsGet Source # 
Instance details

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

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

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

Request Lenses

pncgUploadProtocol :: Lens' ProjectsNotificationChannelsGet (Maybe Text) Source #

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

pncgUploadType :: Lens' ProjectsNotificationChannelsGet (Maybe Text) Source #

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

pncgName :: Lens' ProjectsNotificationChannelsGet Text Source #

The channel for which to execute the request. The format is projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID].