public sealed class QueryServiceClientImpl : QueryServiceClientReference documentation and code samples for the Google Cloud Monitoring v3 API class QueryServiceClientImpl.
QueryService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Remarks
The QueryService API is used to manage time series data in Cloud Monitoring. Time series data is a collection of data points that describes the time-varying values of a metric.
Constructors
QueryServiceClientImpl(QueryServiceClient, QueryServiceSettings, ILogger)
public QueryServiceClientImpl(QueryService.QueryServiceClient grpcClient, QueryServiceSettings settings, ILogger logger)Constructs a client wrapper for the QueryService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
QueryServiceQueryServiceClientThe underlying gRPC client. |
settings |
QueryServiceSettingsThe base QueryServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override QueryService.QueryServiceClient GrpcClient { get; }The underlying gRPC QueryService client
| Property Value | |
|---|---|
| Type | Description |
QueryServiceQueryServiceClient |
|
Methods
QueryTimeSeries(QueryTimeSeriesRequest, CallSettings)
[Obsolete]
public override PagedEnumerable<QueryTimeSeriesResponse, TimeSeriesData> QueryTimeSeries(QueryTimeSeriesRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryTimeSeriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableQueryTimeSeriesResponseTimeSeriesData |
A pageable sequence of TimeSeriesData resources. |
QueryTimeSeriesAsync(QueryTimeSeriesRequest, CallSettings)
[Obsolete]
public override PagedAsyncEnumerable<QueryTimeSeriesResponse, TimeSeriesData> QueryTimeSeriesAsync(QueryTimeSeriesRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
QueryTimeSeriesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableQueryTimeSeriesResponseTimeSeriesData |
A pageable asynchronous sequence of TimeSeriesData resources. |