Class ProjectsResource.TimeSeriesResource
The "timeSeries" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class TimeSeriesResource
Constructors
TimeSeriesResource(IClientService)
Constructs a new resource.
Declaration
public TimeSeriesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(CreateTimeSeriesRequest, String)
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.
Declaration
public virtual ProjectsResource.TimeSeriesResource.CreateRequest Create(CreateTimeSeriesRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTimeSeriesRequest | body | The body of the request. |
| System.String | name | Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
Returns
| Type | Description |
|---|---|
| ProjectsResource.TimeSeriesResource.CreateRequest |
List(String)
Lists time series that match a filter. This method does not require a Workspace.
Declaration
public virtual ProjectsResource.TimeSeriesResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
Returns
| Type | Description |
|---|---|
| ProjectsResource.TimeSeriesResource.ListRequest |
Query(QueryTimeSeriesRequest, String)
Queries time series using Monitoring Query Language. This method does not require a Workspace.
Declaration
public virtual ProjectsResource.TimeSeriesResource.QueryRequest Query(QueryTimeSeriesRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryTimeSeriesRequest | body | The body of the request. |
| System.String | name | Required. The project on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] |
Returns
| Type | Description |
|---|---|
| ProjectsResource.TimeSeriesResource.QueryRequest |