Google Cloud Error Reporting v1beta1 API - Class ErrorStatsService.ErrorStatsServiceClient (3.0.0-beta04)

public class ErrorStatsService.ErrorStatsServiceClient : ClientBase<ErrorStatsService.ErrorStatsServiceClient>

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

Client for ErrorStatsService

Inheritance

object > ClientBase > ClientBaseErrorStatsServiceErrorStatsServiceClient > ErrorStatsService.ErrorStatsServiceClient

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Constructors

ErrorStatsServiceClient()

protected ErrorStatsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ErrorStatsServiceClient(CallInvoker)

public ErrorStatsServiceClient(CallInvoker callInvoker)

Creates a new client for ErrorStatsService that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ErrorStatsServiceClient(ChannelBase)

public ErrorStatsServiceClient(ChannelBase channel)

Creates a new client for ErrorStatsService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ErrorStatsServiceClient(ClientBaseConfiguration)

protected ErrorStatsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

DeleteEvents(DeleteEventsRequest, CallOptions)

public virtual DeleteEventsResponse DeleteEvents(DeleteEventsRequest request, CallOptions options)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DeleteEventsResponse

The response received from the server.

DeleteEvents(DeleteEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual DeleteEventsResponse DeleteEvents(DeleteEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DeleteEventsResponse

The response received from the server.

DeleteEventsAsync(DeleteEventsRequest, CallOptions)

public virtual AsyncUnaryCall<DeleteEventsResponse> DeleteEventsAsync(DeleteEventsRequest request, CallOptions options)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallDeleteEventsResponse

The call object.

DeleteEventsAsync(DeleteEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DeleteEventsResponse> DeleteEventsAsync(DeleteEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes all error events of a given project.

Parameters
Name Description
request DeleteEventsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallDeleteEventsResponse

The call object.

ListEvents(ListEventsRequest, CallOptions)

public virtual ListEventsResponse ListEvents(ListEventsRequest request, CallOptions options)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListEventsResponse

The response received from the server.

ListEvents(ListEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEventsResponse ListEvents(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListEventsResponse

The response received from the server.

ListEventsAsync(ListEventsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEventsResponse> ListEventsAsync(ListEventsRequest request, CallOptions options)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListEventsResponse

The call object.

ListEventsAsync(ListEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEventsResponse> ListEventsAsync(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the specified events.

Parameters
Name Description
request ListEventsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListEventsResponse

The call object.

ListGroupStats(ListGroupStatsRequest, CallOptions)

public virtual ListGroupStatsResponse ListGroupStats(ListGroupStatsRequest request, CallOptions options)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListGroupStatsResponse

The response received from the server.

ListGroupStats(ListGroupStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListGroupStatsResponse ListGroupStats(ListGroupStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListGroupStatsResponse

The response received from the server.

ListGroupStatsAsync(ListGroupStatsRequest, CallOptions)

public virtual AsyncUnaryCall<ListGroupStatsResponse> ListGroupStatsAsync(ListGroupStatsRequest request, CallOptions options)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListGroupStatsResponse

The call object.

ListGroupStatsAsync(ListGroupStatsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListGroupStatsResponse> ListGroupStatsAsync(ListGroupStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the specified groups.

Parameters
Name Description
request ListGroupStatsRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListGroupStatsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override ErrorStatsService.ErrorStatsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
ErrorStatsServiceErrorStatsServiceClient
Overrides