Class QueryInstantRequest
QueryInstantRequest holds all parameters of the Prometheus upstream instant query API plus GCM specific parameters.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class QueryInstantRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Query
A PromQL query string. Query language documentation: https://prometheus.io/docs/prometheus/latest/querying/basics/.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
Time
The single point in time to evaluate the query for. Either floating point UNIX seconds or RFC3339 formatted timestamp.
Declaration
[JsonProperty("time")]
public virtual string Time { get; set; }
Property Value
Type | Description |
---|---|
string |
Timeout
An upper bound timeout for the query. Either a Prometheus duration string (https://prometheus.io/docs/prometheus/latest/querying/basics/#time-durations) or floating point seconds. This non-standard encoding must be used for compatibility with the open source API. Clients may still implement timeouts at the connection level while ignoring this field.
Declaration
[JsonProperty("timeout")]
public virtual string Timeout { get; set; }
Property Value
Type | Description |
---|---|
string |