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 |
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
- 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))))))))
- projectsNotificationChannelsVerify :: VerifyNotificationChannelRequest -> Text -> ProjectsNotificationChannelsVerify
- data ProjectsNotificationChannelsVerify
- pncvXgafv :: Lens' ProjectsNotificationChannelsVerify (Maybe Xgafv)
- pncvUploadProtocol :: Lens' ProjectsNotificationChannelsVerify (Maybe Text)
- pncvAccessToken :: Lens' ProjectsNotificationChannelsVerify (Maybe Text)
- pncvUploadType :: Lens' ProjectsNotificationChannelsVerify (Maybe Text)
- pncvPayload :: Lens' ProjectsNotificationChannelsVerify VerifyNotificationChannelRequest
- pncvName :: Lens' ProjectsNotificationChannelsVerify Text
- pncvCallback :: Lens' ProjectsNotificationChannelsVerify (Maybe Text)
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
projectsNotificationChannelsVerify Source #
Creates a value of ProjectsNotificationChannelsVerify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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
Request Lenses
pncvUploadProtocol :: Lens' ProjectsNotificationChannelsVerify (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncvAccessToken :: Lens' ProjectsNotificationChannelsVerify (Maybe Text) Source #
OAuth access token.
pncvUploadType :: Lens' ProjectsNotificationChannelsVerify (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pncvPayload :: Lens' ProjectsNotificationChannelsVerify VerifyNotificationChannelRequest Source #
Multipart request metadata.