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

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

The callInvoker to use to make remote calls.

ErrorStatsServiceClient(ChannelBase)

public ErrorStatsServiceClient(ChannelBase channel)

Creates a new client for ErrorStatsService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ErrorStatsServiceClient(ClientBaseConfiguration)

protected ErrorStatsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

DeleteEvents(DeleteEventsRequest, CallOptions)

public virtual DeleteEventsResponse DeleteEvents(DeleteEventsRequest request, CallOptions options)

Deletes all error events of a given project.

Parameters
NameDescription
requestDeleteEventsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallDeleteEventsResponse

The call object.

ListEvents(ListEventsRequest, CallOptions)

public virtual ListEventsResponse ListEvents(ListEventsRequest request, CallOptions options)

Lists the specified events.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListEventsResponse

The response received from the server.

ListEventsAsync(ListEventsRequest, CallOptions)

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

Lists the specified events.

Parameters
NameDescription
requestListEventsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListEventsResponse

The call object.

ListGroupStats(ListGroupStatsRequest, CallOptions)

public virtual ListGroupStatsResponse ListGroupStats(ListGroupStatsRequest request, CallOptions options)

Lists the specified groups.

Parameters
NameDescription
requestListGroupStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListGroupStatsResponse

The response received from the server.

ListGroupStatsAsync(ListGroupStatsRequest, CallOptions)

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

Lists the specified groups.

Parameters
NameDescription
requestListGroupStatsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListGroupStatsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ErrorStatsServiceErrorStatsServiceClient
Overrides