public class Monitoring.Projects.TimeSeries extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Monitoring.Projects.TimeSeries.Create |
class |
Monitoring.Projects.TimeSeries.CreateService |
class |
Monitoring.Projects.TimeSeries.List |
class |
Monitoring.Projects.TimeSeries.Query |
| Constructor and Description |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
Monitoring.Projects.TimeSeries.Create |
create(String name,
CreateTimeSeriesRequest content)
Creates or adds data to one or more time series.
|
Monitoring.Projects.TimeSeries.CreateService |
createService(String name,
CreateTimeSeriesRequest content)
Creates or adds data to one or more service time series.
|
Monitoring.Projects.TimeSeries.List |
list(String name)
Lists time series that match a filter.
|
Monitoring.Projects.TimeSeries.Query |
query(String name,
QueryTimeSeriesRequest content)
Queries time series by using Monitoring Query Language (MQL).
|
public Monitoring.Projects.TimeSeries.Create create(String name, CreateTimeSeriesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute
the request. The format is: projects/[PROJECT_ID_OR_NUMBER]content - the CreateTimeSeriesRequestIOExceptionpublic Monitoring.Projects.TimeSeries.CreateService createService(String name, CreateTimeSeriesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute
the request. The format is: projects/[PROJECT_ID_OR_NUMBER]content - the CreateTimeSeriesRequestIOExceptionpublic Monitoring.Projects.TimeSeries.List list(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name), organization or
folder on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER]
organizations/[ORGANIZATION_ID] folders/[FOLDER_ID]IOExceptionpublic Monitoring.Projects.TimeSeries.Query query(String name, QueryTimeSeriesRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) on which to execute
the request. The format is: projects/[PROJECT_ID_OR_NUMBER]content - the QueryTimeSeriesRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.