public sealed class QueryServiceClientImpl : QueryServiceClientQueryService 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 Stackdriver Monitoring. Time series data is a collection of data points that describes the time-varying values of a metric.
Constructors
QueryServiceClientImpl(QueryService.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 | QueryService.QueryServiceClientThe 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 | 
| QueryService.QueryServiceClient | |
Methods
QueryTimeSeries(QueryTimeSeriesRequest, CallSettings)
public override PagedEnumerable<QueryTimeSeriesResponse, TimeSeriesData> QueryTimeSeries(QueryTimeSeriesRequest request, CallSettings callSettings = null)Queries time series using Monitoring Query Language. This method does not require a Workspace.
| 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 | 
| PagedEnumerable<QueryTimeSeriesResponse, TimeSeriesData> | A pageable sequence of TimeSeriesData resources. | 
QueryTimeSeriesAsync(QueryTimeSeriesRequest, CallSettings)
public override PagedAsyncEnumerable<QueryTimeSeriesResponse, TimeSeriesData> QueryTimeSeriesAsync(QueryTimeSeriesRequest request, CallSettings callSettings = null)Queries time series using Monitoring Query Language. This method does not require a Workspace.
| 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 | 
| PagedAsyncEnumerable<QueryTimeSeriesResponse, TimeSeriesData> | A pageable asynchronous sequence of TimeSeriesData resources. |