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

Contents

Description

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

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

Synopsis

REST Resource

type ProjectsNotificationChannelsVerifyResource = "v3" :> (CaptureMode "name" "verify" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] VerifyNotificationChannelRequest :> Post '[JSON] NotificationChannel)))))))) Source #

A resource alias for monitoring.projects.notificationChannels.verify method which the ProjectsNotificationChannelsVerify request conforms to.

Creating a Request

data ProjectsNotificationChannelsVerify Source #

Verifies a NotificationChannel by proving receipt of the code delivered to the channel as a result of calling SendNotificationChannelVerificationCode.

See: projectsNotificationChannelsVerify smart constructor.

Instances
Eq ProjectsNotificationChannelsVerify Source # 
Instance details

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

Data ProjectsNotificationChannelsVerify Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotificationChannelsVerify -> Constr #

dataTypeOf :: ProjectsNotificationChannelsVerify -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotificationChannelsVerify Source # 
Instance details

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

Generic ProjectsNotificationChannelsVerify Source # 
Instance details

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

Associated Types

type Rep ProjectsNotificationChannelsVerify :: Type -> Type #

GoogleRequest ProjectsNotificationChannelsVerify Source # 
Instance details

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

type Rep ProjectsNotificationChannelsVerify Source # 
Instance details

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

type Rep ProjectsNotificationChannelsVerify = D1 (MetaData "ProjectsNotificationChannelsVerify" "Network.Google.Resource.Monitoring.Projects.NotificationChannels.Verify" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsNotificationChannelsVerify'" PrefixI True) ((S1 (MetaSel (Just "_pncvXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pncvUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncvAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pncvUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncvPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VerifyNotificationChannelRequest)) :*: (S1 (MetaSel (Just "_pncvName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncvCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotificationChannelsVerify Source # 
Instance details

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

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

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

Request Lenses

pncvUploadProtocol :: Lens' ProjectsNotificationChannelsVerify (Maybe Text) Source #

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

pncvUploadType :: Lens' ProjectsNotificationChannelsVerify (Maybe Text) Source #

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

pncvName :: Lens' ProjectsNotificationChannelsVerify Text Source #

The notification channel to verify.