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

Contents

Description

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

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

Synopsis

REST Resource

type ProjectsNotificationChannelsSendVerificationCodeResource = "v3" :> (CaptureMode "name" "sendVerificationCode" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SendNotificationChannelVerificationCodeRequest :> Post '[JSON] Empty)))))))) Source #

A resource alias for monitoring.projects.notificationChannels.sendVerificationCode method which the ProjectsNotificationChannelsSendVerificationCode request conforms to.

Creating a Request

data ProjectsNotificationChannelsSendVerificationCode Source #

Causes a verification code to be delivered to the channel. The code can then be supplied in VerifyNotificationChannel to verify the channel.

See: projectsNotificationChannelsSendVerificationCode smart constructor.

Instances
Eq ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

Data ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsNotificationChannelsSendVerificationCode -> Constr #

dataTypeOf :: ProjectsNotificationChannelsSendVerificationCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

Generic ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

GoogleRequest ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

type Rep ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

type Rep ProjectsNotificationChannelsSendVerificationCode = D1 (MetaData "ProjectsNotificationChannelsSendVerificationCode" "Network.Google.Resource.Monitoring.Projects.NotificationChannels.SendVerificationCode" "gogol-monitoring-0.4.0-2c26UZAXxP5IDqve62RFQh" False) (C1 (MetaCons "ProjectsNotificationChannelsSendVerificationCode'" PrefixI True) ((S1 (MetaSel (Just "_pncsvcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pncsvcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncsvcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pncsvcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pncsvcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SendNotificationChannelVerificationCodeRequest)) :*: (S1 (MetaSel (Just "_pncsvcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pncsvcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsNotificationChannelsSendVerificationCode Source # 
Instance details

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

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

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

Request Lenses

pncsvcUploadProtocol :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text) Source #

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

pncsvcUploadType :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text) Source #

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

pncsvcName :: Lens' ProjectsNotificationChannelsSendVerificationCode Text Source #

The notification channel to which to send a verification code.