ProjectsTimeSeries
class ProjectsTimeSeries extends Resource (View source)
The "timeSeries" collection of methods.
Typical usage is:
$monitoringService = new Google\Service\Monitoring(...);
$timeSeries = $monitoringService->projects_timeSeries;
Methods
Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.
Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics.
Lists time series that match a filter. (timeSeries.listProjectsTimeSeries)
Queries time series using Monitoring Query Language. (timeSeries.query)
Details
MonitoringEmpty
create(string $name, CreateTimeSeriesRequest $postBody, array $optParams = [])
Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response.
This method does not support resource locations constraint of an organization policy (https://cloud.google.com/resource-manager/docs/organization- policy/defining-locations#setting_the_organization_policy). (timeSeries.create)
MonitoringEmpty
createService(string $name, CreateTimeSeriesRequest $postBody, array $optParams = [])
Creates or adds data to one or more service time series. A service time series is a time series for a metric from a Google Cloud service. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. This endpoint rejects writes to user-defined metrics.
This method is only for use by Google Cloud services. Use projects.timeSeries.create instead. (timeSeries.createService)
ListTimeSeriesResponse
listProjectsTimeSeries(string $name, array $optParams = [])
Lists time series that match a filter. (timeSeries.listProjectsTimeSeries)
QueryTimeSeriesResponse
query(string $name, QueryTimeSeriesRequest $postBody, array $optParams = [])
Queries time series using Monitoring Query Language. (timeSeries.query)