Google Cloud Monitoring v3 API - Class QueryServiceClientImpl (3.7.0)

public sealed class QueryServiceClientImpl : QueryServiceClient

Reference documentation and code samples for the Google Cloud Monitoring v3 API class QueryServiceClientImpl.

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(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
grpcClientQueryServiceQueryServiceClient

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
QueryServiceQueryServiceClient
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
PagedEnumerableQueryTimeSeriesResponseTimeSeriesData

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
PagedAsyncEnumerableQueryTimeSeriesResponseTimeSeriesData

A pageable asynchronous sequence of TimeSeriesData resources.

Overrides