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 metric descriptors that match a filter. This method does not require a Stackdriver account.
See: Stackdriver Monitoring API Reference for monitoring.projects.metricDescriptors.list
.
Synopsis
- type ProjectsMetricDescriptorsListResource = "v3" :> (Capture "name" Text :> ("metricDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" 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] ListMetricDescriptorsResponse)))))))))))
- projectsMetricDescriptorsList :: Text -> ProjectsMetricDescriptorsList
- data ProjectsMetricDescriptorsList
- pmdlXgafv :: Lens' ProjectsMetricDescriptorsList (Maybe Xgafv)
- pmdlUploadProtocol :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
- pmdlAccessToken :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
- pmdlUploadType :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
- pmdlName :: Lens' ProjectsMetricDescriptorsList Text
- pmdlFilter :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
- pmdlPageToken :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
- pmdlPageSize :: Lens' ProjectsMetricDescriptorsList (Maybe Int32)
- pmdlCallback :: Lens' ProjectsMetricDescriptorsList (Maybe Text)
REST Resource
type ProjectsMetricDescriptorsListResource = "v3" :> (Capture "name" Text :> ("metricDescriptors" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" 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] ListMetricDescriptorsResponse))))))))))) Source #
A resource alias for monitoring.projects.metricDescriptors.list
method which the
ProjectsMetricDescriptorsList
request conforms to.
Creating a Request
projectsMetricDescriptorsList Source #
Creates a value of ProjectsMetricDescriptorsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsMetricDescriptorsList Source #
Lists metric descriptors that match a filter. This method does not require a Stackdriver account.
See: projectsMetricDescriptorsList
smart constructor.
Instances
Request Lenses
pmdlUploadProtocol :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmdlAccessToken :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #
OAuth access token.
pmdlUploadType :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmdlName :: Lens' ProjectsMetricDescriptorsList Text Source #
The project on which to execute the request. The format is "projects/{project_id_or_number}".
pmdlFilter :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #
If this field is empty, all custom and system-defined metric descriptors are returned. Otherwise, the filter specifies which metric descriptors are to be returned. For example, the following filter matches all custom metrics: metric.type = starts_with("custom.googleapis.com/")
pmdlPageToken :: Lens' ProjectsMetricDescriptorsList (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.
pmdlPageSize :: Lens' ProjectsMetricDescriptorsList (Maybe Int32) Source #
A positive number that is the maximum number of results to return.
pmdlCallback :: Lens' ProjectsMetricDescriptorsList (Maybe Text) Source #
JSONP