Class ErrorStatsServiceClientImpl (3.0.0-beta01)

public sealed class ErrorStatsServiceClientImpl : ErrorStatsServiceClient

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(ErrorStatsService.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
NameDescription
grpcClientErrorStatsService.ErrorStatsServiceClient

The underlying gRPC client.

settingsErrorStatsServiceSettings

The base ErrorStatsServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ErrorStatsService.ErrorStatsServiceClient GrpcClient { get; }

The underlying gRPC ErrorStatsService client

Property Value
TypeDescription
ErrorStatsService.ErrorStatsServiceClient
Overrides

Methods

DeleteEvents(DeleteEventsRequest, CallSettings)

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

Deletes all error events of a given project.

Parameters
NameDescription
requestDeleteEventsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteEventsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DeleteEventsResponse>

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

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<ListEventsResponse, ErrorEvent>

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

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<ListEventsResponse, ErrorEvent>

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

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<ListGroupStatsResponse, ErrorGroupStats>

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

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<ListGroupStatsResponse, ErrorGroupStats>

A pageable asynchronous sequence of ErrorGroupStats resources.

Overrides