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 |
Stackdriver Monitoring Agent only: Creates a new time series. This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.
See: Stackdriver Monitoring API Reference for monitoring.projects.collectdTimeSeries.create
.
Synopsis
- type ProjectsCollectdTimeSeriesCreateResource = "v3" :> (Capture "name" Text :> ("collectdTimeSeries" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateCollectdTimeSeriesRequest :> Post '[JSON] CreateCollectdTimeSeriesResponse)))))))))
- projectsCollectdTimeSeriesCreate :: CreateCollectdTimeSeriesRequest -> Text -> ProjectsCollectdTimeSeriesCreate
- data ProjectsCollectdTimeSeriesCreate
- pctscXgafv :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Xgafv)
- pctscUploadProtocol :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text)
- pctscAccessToken :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text)
- pctscUploadType :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text)
- pctscPayload :: Lens' ProjectsCollectdTimeSeriesCreate CreateCollectdTimeSeriesRequest
- pctscName :: Lens' ProjectsCollectdTimeSeriesCreate Text
- pctscCallback :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text)
REST Resource
type ProjectsCollectdTimeSeriesCreateResource = "v3" :> (Capture "name" Text :> ("collectdTimeSeries" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CreateCollectdTimeSeriesRequest :> Post '[JSON] CreateCollectdTimeSeriesResponse))))))))) Source #
A resource alias for monitoring.projects.collectdTimeSeries.create
method which the
ProjectsCollectdTimeSeriesCreate
request conforms to.
Creating a Request
projectsCollectdTimeSeriesCreate Source #
Creates a value of ProjectsCollectdTimeSeriesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsCollectdTimeSeriesCreate Source #
Stackdriver Monitoring Agent only: Creates a new time series. This method is only for use by the Stackdriver Monitoring Agent. Use projects.timeSeries.create instead.
See: projectsCollectdTimeSeriesCreate
smart constructor.
Instances
Request Lenses
pctscXgafv :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Xgafv) Source #
V1 error format.
pctscUploadProtocol :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pctscAccessToken :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text) Source #
OAuth access token.
pctscUploadType :: Lens' ProjectsCollectdTimeSeriesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pctscPayload :: Lens' ProjectsCollectdTimeSeriesCreate CreateCollectdTimeSeriesRequest Source #
Multipart request metadata.