Google Cloud Error Reporting v1beta1 API - Class ErrorStatsServiceClientImpl (3.0.0-beta04)

public sealed class ErrorStatsServiceClientImpl : ErrorStatsServiceClient

Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ErrorStatsServiceClientImpl.

ErrorStatsService client wrapper implementation, for convenient use.

Inheritance

object > ErrorStatsServiceClient > ErrorStatsServiceClientImpl

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Remarks

An API for retrieving and managing error statistics as well as data for individual events.

Constructors

ErrorStatsServiceClientImpl(ErrorStatsServiceClient, ErrorStatsServiceSettings, ILogger)

public ErrorStatsServiceClientImpl(ErrorStatsService.ErrorStatsServiceClient grpcClient, ErrorStatsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ErrorStatsService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ErrorStatsServiceErrorStatsServiceClient

The underlying gRPC client.

settings ErrorStatsServiceSettings

The base ErrorStatsServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ErrorStatsService.ErrorStatsServiceClient GrpcClient { get; }

The underlying gRPC ErrorStatsService client

Property Value
Type Description
ErrorStatsServiceErrorStatsServiceClient
Overrides

Methods

DeleteEvents(DeleteEventsRequest, CallSettings)

public override DeleteEventsResponse DeleteEvents(DeleteEventsRequest request, CallSettings callSettings = null)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

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
DeleteEventsResponse

The RPC response.

Overrides

DeleteEventsAsync(DeleteEventsRequest, CallSettings)

public override Task<DeleteEventsResponse> DeleteEventsAsync(DeleteEventsRequest request, CallSettings callSettings = null)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

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
TaskDeleteEventsResponse

A Task containing the RPC response.

Overrides

ListEvents(ListEventsRequest, CallSettings)

public override PagedEnumerable<ListEventsResponse, ErrorEvent> ListEvents(ListEventsRequest request, CallSettings callSettings = null)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

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
PagedEnumerableListEventsResponseErrorEvent

A pageable sequence of ErrorEvent resources.

Overrides

ListEventsAsync(ListEventsRequest, CallSettings)

public override PagedAsyncEnumerable<ListEventsResponse, ErrorEvent> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

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
PagedAsyncEnumerableListEventsResponseErrorEvent

A pageable asynchronous sequence of ErrorEvent resources.

Overrides

ListGroupStats(ListGroupStatsRequest, CallSettings)

public override PagedEnumerable<ListGroupStatsResponse, ErrorGroupStats> ListGroupStats(ListGroupStatsRequest request, CallSettings callSettings = null)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

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
PagedEnumerableListGroupStatsResponseErrorGroupStats

A pageable sequence of ErrorGroupStats resources.

Overrides

ListGroupStatsAsync(ListGroupStatsRequest, CallSettings)

public override PagedAsyncEnumerable<ListGroupStatsResponse, ErrorGroupStats> ListGroupStatsAsync(ListGroupStatsRequest request, CallSettings callSettings = null)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

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
PagedAsyncEnumerableListGroupStatsResponseErrorGroupStats

A pageable asynchronous sequence of ErrorGroupStats resources.

Overrides