Class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRangeRequest
Evaluate a PromQL query with start, end time range.
Inheritance
ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRangeRequest
Inherited Members
Namespace: Google.Apis.Monitoring.v1
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class ProjectsResource.LocationResource.PrometheusResource.ApiResource.V1Resource.QueryRangeRequest : MonitoringBaseServiceRequest<HttpBody>, IClientServiceRequest<HttpBody>, IClientServiceRequest
Constructors
QueryRangeRequest(IClientService, QueryRangeRequest, string, string)
Constructs a new QueryRange request.
Declaration
public QueryRangeRequest(IClientService service, QueryRangeRequest body, string name, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
QueryRangeRequest | body | |
string | name | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
Location of the resource information. Has to be "global" now.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The project on which to execute the request. Data associcated with the project's workspace stored under the The format is: projects/PROJECT_ID_OR_NUMBER. Open source API but used as a request path prefix to distinguish different virtual Prometheus instances of Google Prometheus Engine.
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 QueryRange parameter list.
Declaration
protected override void InitParameters()