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 time series that match a filter. This method does not require a Stackdriver account.
See: Stackdriver Monitoring API Reference for monitoring.projects.timeSeries.list
.
Synopsis
- type ProjectsTimeSeriesListResource = "v3" :> (Capture "name" Text :> ("timeSeries" :> (QueryParam "interval.startTime" DateTime' :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "aggregation.perSeriesAligner" Text :> (QueryParams "aggregation.groupByFields" Text :> (QueryParam "view" Text :> (QueryParam "aggregation.crossSeriesReducer" Text :> (QueryParam "filter" Text :> (QueryParam "aggregation.alignmentPeriod" GDuration :> (QueryParam "pageToken" Text :> (QueryParam "interval.endTime" DateTime' :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTimeSeriesResponse)))))))))))))))))))
- projectsTimeSeriesList :: Text -> ProjectsTimeSeriesList
- data ProjectsTimeSeriesList
- ptslIntervalStartTime :: Lens' ProjectsTimeSeriesList (Maybe UTCTime)
- ptslXgafv :: Lens' ProjectsTimeSeriesList (Maybe Xgafv)
- ptslUploadProtocol :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslOrderBy :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslAccessToken :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslUploadType :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslAggregationPerSeriesAligner :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslName :: Lens' ProjectsTimeSeriesList Text
- ptslAggregationGroupByFields :: Lens' ProjectsTimeSeriesList [Text]
- ptslView :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslAggregationCrossSeriesReducer :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslFilter :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslAggregationAlignmentPeriod :: Lens' ProjectsTimeSeriesList (Maybe Scientific)
- ptslPageToken :: Lens' ProjectsTimeSeriesList (Maybe Text)
- ptslIntervalEndTime :: Lens' ProjectsTimeSeriesList (Maybe UTCTime)
- ptslPageSize :: Lens' ProjectsTimeSeriesList (Maybe Int32)
- ptslCallback :: Lens' ProjectsTimeSeriesList (Maybe Text)
REST Resource
type ProjectsTimeSeriesListResource = "v3" :> (Capture "name" Text :> ("timeSeries" :> (QueryParam "interval.startTime" DateTime' :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "orderBy" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "aggregation.perSeriesAligner" Text :> (QueryParams "aggregation.groupByFields" Text :> (QueryParam "view" Text :> (QueryParam "aggregation.crossSeriesReducer" Text :> (QueryParam "filter" Text :> (QueryParam "aggregation.alignmentPeriod" GDuration :> (QueryParam "pageToken" Text :> (QueryParam "interval.endTime" DateTime' :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTimeSeriesResponse))))))))))))))))))) Source #
A resource alias for monitoring.projects.timeSeries.list
method which the
ProjectsTimeSeriesList
request conforms to.
Creating a Request
projectsTimeSeriesList Source #
Creates a value of ProjectsTimeSeriesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTimeSeriesList Source #
Lists time series that match a filter. This method does not require a Stackdriver account.
See: projectsTimeSeriesList
smart constructor.
Instances
Request Lenses
ptslIntervalStartTime :: Lens' ProjectsTimeSeriesList (Maybe UTCTime) Source #
Optional. The beginning of the time interval. The default value for the start time is the end time. The start time must not be later than the end time.
ptslUploadProtocol :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ptslOrderBy :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
Unsupported: must be left blank. The points in each time series are returned in reverse time order.
ptslAccessToken :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
OAuth access token.
ptslUploadType :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ptslAggregationPerSeriesAligner :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
ptslName :: Lens' ProjectsTimeSeriesList Text Source #
The project on which to execute the request. The format is "projects/{project_id_or_number}".
ptslAggregationGroupByFields :: Lens' ProjectsTimeSeriesList [Text] Source #
The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.
ptslView :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
Specifies which information is returned about the time series.
ptslAggregationCrossSeriesReducer :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross-time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned.
ptslFilter :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
A monitoring filter that specifies which time series should be returned. The filter must specify a single metric type, and can additionally specify metric labels and other information. For example: metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND metric.label.instance_name = "my-instance-name"
ptslAggregationAlignmentPeriod :: Lens' ProjectsTimeSeriesList (Maybe Scientific) Source #
The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.
ptslPageToken :: Lens' ProjectsTimeSeriesList (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.
ptslIntervalEndTime :: Lens' ProjectsTimeSeriesList (Maybe UTCTime) Source #
Required. The end of the time interval.
ptslPageSize :: Lens' ProjectsTimeSeriesList (Maybe Int32) Source #
A positive number that is the maximum number of results to return. If page_size is empty or more than 100,000 results, the effective page_size is 100,000 results. If view is set to FULL, this is the maximum number of Points returned. If view is set to HEADERS, this is the maximum number of TimeSeries returned.
ptslCallback :: Lens' ProjectsTimeSeriesList (Maybe Text) Source #
JSONP