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 logs-based metrics.
See: Stackdriver Logging API Reference for logging.projects.metrics.list
.
Synopsis
- type ProjectsMetricsListResource = "v2" :> (Capture "parent" Text :> ("metrics" :> (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] ListLogMetricsResponse))))))))))
- projectsMetricsList :: Text -> ProjectsMetricsList
- data ProjectsMetricsList
- pmlParent :: Lens' ProjectsMetricsList Text
- pmlXgafv :: Lens' ProjectsMetricsList (Maybe Xgafv)
- pmlUploadProtocol :: Lens' ProjectsMetricsList (Maybe Text)
- pmlAccessToken :: Lens' ProjectsMetricsList (Maybe Text)
- pmlUploadType :: Lens' ProjectsMetricsList (Maybe Text)
- pmlPageToken :: Lens' ProjectsMetricsList (Maybe Text)
- pmlPageSize :: Lens' ProjectsMetricsList (Maybe Int32)
- pmlCallback :: Lens' ProjectsMetricsList (Maybe Text)
REST Resource
type ProjectsMetricsListResource = "v2" :> (Capture "parent" Text :> ("metrics" :> (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] ListLogMetricsResponse)))))))))) Source #
A resource alias for logging.projects.metrics.list
method which the
ProjectsMetricsList
request conforms to.
Creating a Request
Creates a value of ProjectsMetricsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsMetricsList Source #
Lists logs-based metrics.
See: projectsMetricsList
smart constructor.
Instances
Request Lenses
pmlParent :: Lens' ProjectsMetricsList Text Source #
Required. The name of the project containing the metrics: "projects/[PROJECT_ID]"
pmlUploadProtocol :: Lens' ProjectsMetricsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pmlAccessToken :: Lens' ProjectsMetricsList (Maybe Text) Source #
OAuth access token.
pmlUploadType :: Lens' ProjectsMetricsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pmlPageToken :: Lens' ProjectsMetricsList (Maybe Text) Source #
Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
pmlPageSize :: Lens' ProjectsMetricsList (Maybe Int32) Source #
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
pmlCallback :: Lens' ProjectsMetricsList (Maybe Text) Source #
JSONP