create
public Monitoring.Projects.CollectdTimeSeries.Create create(String name,
CreateCollectdTimeSeriesRequest content)
throws IOException
Cloud Monitoring Agent only: Creates a new time series.This method is only for use by the Cloud
Monitoring Agent. Use projects.timeSeries.create instead.
Create a request for the method "collectdTimeSeries.create".
This request holds the parameters needed by the monitoring server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
- Parameters:
name - The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the time
series. The format is: projects/[PROJECT_ID_OR_NUMBER]
content - the CreateCollectdTimeSeriesRequest
- Returns:
- the request
- Throws:
IOException