Class ProjectsResource.TimeSeriesResource.QueryRequest
Queries time series by using Monitoring Query Language (MQL). We recommend using PromQL instead of MQL. For more information about the status of MQL, see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql).
Inheritance
ProjectsResource.TimeSeriesResource.QueryRequest
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.TimeSeriesResource.QueryRequest : MonitoringBaseServiceRequest<QueryTimeSeriesResponse>, IClientServiceRequest<QueryTimeSeriesResponse>, IClientServiceRequest
Constructors
QueryRequest(IClientService, QueryTimeSeriesRequest, string)
Constructs a new Query request.
Declaration
public QueryRequest(IClientService service, QueryTimeSeriesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
QueryTimeSeriesRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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]
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Query parameter list.
Declaration
protected override void InitParameters()