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 |
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
- 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)))))))
- projectsNotificationChannelsGet :: Text -> ProjectsNotificationChannelsGet
- data ProjectsNotificationChannelsGet
- pncgXgafv :: Lens' ProjectsNotificationChannelsGet (Maybe Xgafv)
- pncgUploadProtocol :: Lens' ProjectsNotificationChannelsGet (Maybe Text)
- pncgAccessToken :: Lens' ProjectsNotificationChannelsGet (Maybe Text)
- pncgUploadType :: Lens' ProjectsNotificationChannelsGet (Maybe Text)
- pncgName :: Lens' ProjectsNotificationChannelsGet Text
- pncgCallback :: Lens' ProjectsNotificationChannelsGet (Maybe Text)
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
Request Lenses
pncgUploadProtocol :: Lens' ProjectsNotificationChannelsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncgAccessToken :: Lens' ProjectsNotificationChannelsGet (Maybe Text) Source #
OAuth access token.
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].
pncgCallback :: Lens' ProjectsNotificationChannelsGet (Maybe Text) Source #
JSONP