public sealed class ErrorStatsServiceClientImpl : ErrorStatsServiceClientReference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ErrorStatsServiceClientImpl.
ErrorStatsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ErrorReporting.V1Beta1Assembly
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 |
ErrorStatsServiceErrorStatsServiceClientThe underlying gRPC client. |
settings |
ErrorStatsServiceSettingsThe base ErrorStatsServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ErrorStatsService.ErrorStatsServiceClient GrpcClient { get; }The underlying gRPC ErrorStatsService client
| Property Value | |
|---|---|
| Type | Description |
ErrorStatsServiceErrorStatsServiceClient |
|
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 |
DeleteEventsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DeleteEventsResponse |
The RPC response. |
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 |
DeleteEventsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDeleteEventsResponse |
A Task containing the RPC response. |
ListEvents(ListEventsRequest, CallSettings)
public override PagedEnumerable<ListEventsResponse, ErrorEvent> ListEvents(ListEventsRequest request, CallSettings callSettings = null)Lists the specified events.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEventsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListEventsResponseErrorEvent |
A pageable sequence of ErrorEvent resources. |
ListEventsAsync(ListEventsRequest, CallSettings)
public override PagedAsyncEnumerable<ListEventsResponse, ErrorEvent> ListEventsAsync(ListEventsRequest request, CallSettings callSettings = null)Lists the specified events.
| Parameters | |
|---|---|
| Name | Description |
request |
ListEventsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListEventsResponseErrorEvent |
A pageable asynchronous sequence of ErrorEvent resources. |
ListGroupStats(ListGroupStatsRequest, CallSettings)
public override PagedEnumerable<ListGroupStatsResponse, ErrorGroupStats> ListGroupStats(ListGroupStatsRequest request, CallSettings callSettings = null)Lists the specified groups.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGroupStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListGroupStatsResponseErrorGroupStats |
A pageable sequence of ErrorGroupStats resources. |
ListGroupStatsAsync(ListGroupStatsRequest, CallSettings)
public override PagedAsyncEnumerable<ListGroupStatsResponse, ErrorGroupStats> ListGroupStatsAsync(ListGroupStatsRequest request, CallSettings callSettings = null)Lists the specified groups.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGroupStatsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListGroupStatsResponseErrorGroupStats |
A pageable asynchronous sequence of ErrorGroupStats resources. |