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 notification channels that have been created for the project.
See: Stackdriver Monitoring API Reference for monitoring.projects.notificationChannels.list
.
Synopsis
- type ProjectsNotificationChannelsListResource = "v3" :> (Capture "name" Text :> ("notificationChannels" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotificationChannelsResponse))))))))))))
- projectsNotificationChannelsList :: Text -> ProjectsNotificationChannelsList
- data ProjectsNotificationChannelsList
- pnclXgafv :: Lens' ProjectsNotificationChannelsList (Maybe Xgafv)
- pnclUploadProtocol :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclOrderBy :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclAccessToken :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclUploadType :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclName :: Lens' ProjectsNotificationChannelsList Text
- pnclFilter :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclPageToken :: Lens' ProjectsNotificationChannelsList (Maybe Text)
- pnclPageSize :: Lens' ProjectsNotificationChannelsList (Maybe Int32)
- pnclCallback :: Lens' ProjectsNotificationChannelsList (Maybe Text)
REST Resource
type ProjectsNotificationChannelsListResource = "v3" :> (Capture "name" Text :> ("notificationChannels" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListNotificationChannelsResponse)))))))))))) Source #
A resource alias for monitoring.projects.notificationChannels.list
method which the
ProjectsNotificationChannelsList
request conforms to.
Creating a Request
projectsNotificationChannelsList Source #
Creates a value of ProjectsNotificationChannelsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsNotificationChannelsList Source #
Lists the notification channels that have been created for the project.
See: projectsNotificationChannelsList
smart constructor.
Instances
Request Lenses
pnclUploadProtocol :: Lens' ProjectsNotificationChannelsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pnclOrderBy :: Lens' ProjectsNotificationChannelsList (Maybe Text) Source #
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in filter. Entries can be prefixed with a minus sign to sort in descending rather than ascending order.For more details, see sorting and filtering.
pnclAccessToken :: Lens' ProjectsNotificationChannelsList (Maybe Text) Source #
OAuth access token.
pnclUploadType :: Lens' ProjectsNotificationChannelsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pnclName :: Lens' ProjectsNotificationChannelsList Text Source #
The project on which to execute the request. The format is projects/[PROJECT_ID]. That is, this names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the GetNotificationChannel operation.
pnclFilter :: Lens' ProjectsNotificationChannelsList (Maybe Text) Source #
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.For more details, see sorting and filtering.
pnclPageToken :: Lens' ProjectsNotificationChannelsList (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.
pnclPageSize :: Lens' ProjectsNotificationChannelsList (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.