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 |
Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.
See: Stackdriver Monitoring API Reference for monitoring.projects.notificationChannelDescriptors.list
.
Synopsis
- type ProjectsNotificationChannelDescriptorsListResource = "v3" :> (Capture "name" Text :> ("notificationChannelDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotificationChannelDescriptorsResponse))))))))))
- projectsNotificationChannelDescriptorsList :: Text -> ProjectsNotificationChannelDescriptorsList
- data ProjectsNotificationChannelDescriptorsList
- pncdlXgafv :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Xgafv)
- pncdlUploadProtocol :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text)
- pncdlAccessToken :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text)
- pncdlUploadType :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text)
- pncdlName :: Lens' ProjectsNotificationChannelDescriptorsList Text
- pncdlPageToken :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text)
- pncdlPageSize :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Int32)
- pncdlCallback :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text)
REST Resource
type ProjectsNotificationChannelDescriptorsListResource = "v3" :> (Capture "name" Text :> ("notificationChannelDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotificationChannelDescriptorsResponse)))))))))) Source #
A resource alias for monitoring.projects.notificationChannelDescriptors.list
method which the
ProjectsNotificationChannelDescriptorsList
request conforms to.
Creating a Request
projectsNotificationChannelDescriptorsList Source #
Creates a value of ProjectsNotificationChannelDescriptorsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotificationChannelDescriptorsList Source #
Lists the descriptors for supported channel types. The use of descriptors makes it possible for new channel types to be dynamically added.
See: projectsNotificationChannelDescriptorsList
smart constructor.
Instances
Request Lenses
pncdlXgafv :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Xgafv) Source #
V1 error format.
pncdlUploadProtocol :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pncdlAccessToken :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text) Source #
OAuth access token.
pncdlUploadType :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pncdlName :: Lens' ProjectsNotificationChannelDescriptorsList Text Source #
The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID] Note that this names the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.
pncdlPageToken :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Text) Source #
If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.
pncdlPageSize :: Lens' ProjectsNotificationChannelDescriptorsList (Maybe Int32) Source #
The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.