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 existing alerting policies for the project.
See: Stackdriver Monitoring API Reference for monitoring.projects.alertPolicies.list
.
Synopsis
- type ProjectsAlertPoliciesListResource = "v3" :> (Capture "name" Text :> ("alertPolicies" :> (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] ListAlertPoliciesResponse))))))))))))
- projectsAlertPoliciesList :: Text -> ProjectsAlertPoliciesList
- data ProjectsAlertPoliciesList
- paplXgafv :: Lens' ProjectsAlertPoliciesList (Maybe Xgafv)
- paplUploadProtocol :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplOrderBy :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplAccessToken :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplUploadType :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplName :: Lens' ProjectsAlertPoliciesList Text
- paplFilter :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplPageToken :: Lens' ProjectsAlertPoliciesList (Maybe Text)
- paplPageSize :: Lens' ProjectsAlertPoliciesList (Maybe Int32)
- paplCallback :: Lens' ProjectsAlertPoliciesList (Maybe Text)
REST Resource
type ProjectsAlertPoliciesListResource = "v3" :> (Capture "name" Text :> ("alertPolicies" :> (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] ListAlertPoliciesResponse)))))))))))) Source #
A resource alias for monitoring.projects.alertPolicies.list
method which the
ProjectsAlertPoliciesList
request conforms to.
Creating a Request
projectsAlertPoliciesList Source #
Creates a value of ProjectsAlertPoliciesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAlertPoliciesList Source #
Lists the existing alerting policies for the project.
See: projectsAlertPoliciesList
smart constructor.
Instances
Request Lenses
paplUploadProtocol :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
paplOrderBy :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
A comma-separated list of fields by which to sort the result. Supports the same set of field references as the filter field. Entries can be prefixed with a minus sign to sort by the field in descending order.For more details, see sorting and filtering.
paplAccessToken :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
OAuth access token.
paplUploadType :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
paplName :: Lens' ProjectsAlertPoliciesList Text Source #
The project whose alert policies are to be listed. The format is projects/[PROJECT_ID] Note that this field names the parent container in which the alerting policies to be listed are stored. To retrieve a single alerting policy by name, use the GetAlertPolicy operation, instead.
paplFilter :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
If provided, this field specifies the criteria that must be met by alert policies to be included in the response.For more details, see sorting and filtering.
paplPageToken :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return more results from the previous method call.
paplPageSize :: Lens' ProjectsAlertPoliciesList (Maybe Int32) Source #
The maximum number of results to return in a single response.
paplCallback :: Lens' ProjectsAlertPoliciesList (Maybe Text) Source #
JSONP