class ProjectsCollectdTimeSeries extends Resource (View source)

The "collectdTimeSeries" collection of methods.

Typical usage is:

 $monitoringService = new Google\Service\Monitoring(...);
 $collectdTimeSeries = $monitoringService->projects_collectdTimeSeries;

Methods

create(string $name, CreateCollectdTimeSeriesRequest $postBody, array $optParams = [])

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. (collectdTimeSeries.create)

Details

CreateCollectdTimeSeriesResponse create(string $name, CreateCollectdTimeSeriesRequest $postBody, array $optParams = [])

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. (collectdTimeSeries.create)

Parameters

string $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]

CreateCollectdTimeSeriesRequest $postBody
array $optParams

Optional parameters.

Return Value

CreateCollectdTimeSeriesResponse

Exceptions

Exception