Class QueryServiceClientImpl (3.0.0)

public sealed class QueryServiceClientImpl : QueryServiceClient

QueryService client wrapper implementation, for convenient use.

Inheritance

Object > QueryServiceClient > QueryServiceClientImpl

Namespace

Google.Cloud.Monitoring.V3

Assembly

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
NameDescription
grpcClientQueryService.QueryServiceClient

The underlying gRPC client.

settingsQueryServiceSettings

The base QueryServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override QueryService.QueryServiceClient GrpcClient { get; }

The underlying gRPC QueryService client

Property Value
TypeDescription
QueryService.QueryServiceClient
Overrides

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
NameDescription
requestQueryTimeSeriesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<QueryTimeSeriesResponse, TimeSeriesData>

A pageable sequence of TimeSeriesData resources.

Overrides

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
NameDescription
requestQueryTimeSeriesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<QueryTimeSeriesResponse, TimeSeriesData>

A pageable asynchronous sequence of TimeSeriesData resources.

Overrides