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 channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.
See: Stackdriver Monitoring API Reference for monitoring.projects.notificationChannelDescriptors.get
.
Synopsis
- type ProjectsNotificationChannelDescriptorsGetResource = "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] NotificationChannelDescriptor)))))))
- projectsNotificationChannelDescriptorsGet :: Text -> ProjectsNotificationChannelDescriptorsGet
- data ProjectsNotificationChannelDescriptorsGet
- pncdgXgafv :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Xgafv)
- pncdgUploadProtocol :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text)
- pncdgAccessToken :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text)
- pncdgUploadType :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text)
- pncdgName :: Lens' ProjectsNotificationChannelDescriptorsGet Text
- pncdgCallback :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text)
REST Resource
type ProjectsNotificationChannelDescriptorsGetResource = "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] NotificationChannelDescriptor))))))) Source #
A resource alias for monitoring.projects.notificationChannelDescriptors.get
method which the
ProjectsNotificationChannelDescriptorsGet
request conforms to.
Creating a Request
projectsNotificationChannelDescriptorsGet Source #
Creates a value of ProjectsNotificationChannelDescriptorsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotificationChannelDescriptorsGet Source #
Gets a single channel descriptor. The descriptor indicates which fields are expected / permitted for a notification channel of the given type.
See: projectsNotificationChannelDescriptorsGet
smart constructor.
Instances
Request Lenses
pncdgXgafv :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Xgafv) Source #
V1 error format.
pncdgUploadProtocol :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncdgAccessToken :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text) Source #
OAuth access token.
pncdgUploadType :: Lens' ProjectsNotificationChannelDescriptorsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").