Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- projectsNotificationChannelsSendVerificationCode :: SendNotificationChannelVerificationCodeRequest -> Text -> ProjectsNotificationChannelsSendVerificationCode
- data ProjectsNotificationChannelsSendVerificationCode
- pncsvcXgafv :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Xgafv)
- pncsvcUploadProtocol :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text)
- pncsvcAccessToken :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text)
- pncsvcUploadType :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text)
- pncsvcPayload :: Lens' ProjectsNotificationChannelsSendVerificationCode SendNotificationChannelVerificationCodeRequest
- pncsvcName :: Lens' ProjectsNotificationChannelsSendVerificationCode Text
- pncsvcCallback :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text)
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
projectsNotificationChannelsSendVerificationCode Source #
:: SendNotificationChannelVerificationCodeRequest | |
-> Text | |
-> ProjectsNotificationChannelsSendVerificationCode |
Creates a value of ProjectsNotificationChannelsSendVerificationCode
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
Request Lenses
pncsvcXgafv :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Xgafv) Source #
V1 error format.
pncsvcUploadProtocol :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncsvcAccessToken :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text) Source #
OAuth access token.
pncsvcUploadType :: Lens' ProjectsNotificationChannelsSendVerificationCode (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pncsvcPayload :: Lens' ProjectsNotificationChannelsSendVerificationCode SendNotificationChannelVerificationCodeRequest Source #
Multipart request metadata.
pncsvcName :: Lens' ProjectsNotificationChannelsSendVerificationCode Text Source #
The notification channel to which to send a verification code.