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.
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(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 | |
---|---|
Name | Description |
grpcClient | ErrorStatsService.ErrorStatsServiceClient 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 |
ErrorStatsService.ErrorStatsServiceClient |
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. |
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 |
Task<DeleteEventsResponse> | 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 | 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 |
PagedEnumerable<ListEventsResponse, ErrorEvent> | 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 | 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 |
PagedAsyncEnumerable<ListEventsResponse, ErrorEvent> | 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 | 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 |
PagedEnumerable<ListGroupStatsResponse, ErrorGroupStats> | 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 | 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 |
PagedAsyncEnumerable<ListGroupStatsResponse, ErrorGroupStats> | A pageable asynchronous sequence of ErrorGroupStats resources. |