Google Cloud Monitoring v3 API - Class QueryServiceClientImpl (3.9.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 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 QueryServiceQueryServiceClient

The underlying gRPC client.

settings QueryServiceSettings

The base QueryServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override QueryService.QueryServiceClient GrpcClient { get; }

The underlying gRPC QueryService client

Property Value
Type Description
QueryServiceQueryServiceClient
Overrides

Methods

QueryTimeSeries(QueryTimeSeriesRequest, CallSettings)

public override PagedEnumerable<QueryTimeSeriesResponse, TimeSeriesData> QueryTimeSeries(QueryTimeSeriesRequest request, CallSettings callSettings = null)

Queries time series using Monitoring Query Language.

Parameters
Name Description
request QueryTimeSeriesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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.

Parameters
Name Description
request QueryTimeSeriesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableQueryTimeSeriesResponseTimeSeriesData

A pageable asynchronous sequence of TimeSeriesData resources.

Overrides