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 |
List the MetricAssociations in a given Category.
See: Stackdriver Monitoring API Reference for monitoring.projects.categories.metricAssociations.list
.
- type ProjectsCategoriesMetricAssociationsListResource = "v3" :> (Capture "parent" Text :> ("metricAssociations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMetricAssociationsResponse)))))))))))))
- projectsCategoriesMetricAssociationsList :: Text -> ProjectsCategoriesMetricAssociationsList
- data ProjectsCategoriesMetricAssociationsList
- pcmalParent :: Lens' ProjectsCategoriesMetricAssociationsList Text
- pcmalXgafv :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Xgafv)
- pcmalUploadProtocol :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalPp :: Lens' ProjectsCategoriesMetricAssociationsList Bool
- pcmalAccessToken :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalUploadType :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalBearerToken :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalFilter :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalPageToken :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
- pcmalPageSize :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Int32)
- pcmalCallback :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text)
REST Resource
type ProjectsCategoriesMetricAssociationsListResource = "v3" :> (Capture "parent" Text :> ("metricAssociations" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListMetricAssociationsResponse))))))))))))) Source #
A resource alias for monitoring.projects.categories.metricAssociations.list
method which the
ProjectsCategoriesMetricAssociationsList
request conforms to.
Creating a Request
projectsCategoriesMetricAssociationsList Source #
Creates a value of ProjectsCategoriesMetricAssociationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsCategoriesMetricAssociationsList Source #
List the MetricAssociations in a given Category.
See: projectsCategoriesMetricAssociationsList
smart constructor.
Request Lenses
pcmalParent :: Lens' ProjectsCategoriesMetricAssociationsList Text Source #
Resource parent of the category to get. Resource parent form is projects/{project_id_or_number}/categories/{short_name}.
pcmalXgafv :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Xgafv) Source #
V1 error format.
pcmalUploadProtocol :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pcmalAccessToken :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text) Source #
OAuth access token.
pcmalUploadType :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pcmalBearerToken :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text) Source #
OAuth bearer token.
pcmalFilter :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Text) Source #
A filter that specifies what MetricAssociations to return.
pcmalPageToken :: Lens' ProjectsCategoriesMetricAssociationsList (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 additional results from the previous method call.
pcmalPageSize :: Lens' ProjectsCategoriesMetricAssociationsList (Maybe Int32) Source #
A positive number that is the maximum number of results to return. When 0, use default page size.