Class ErrorStatsService.ErrorStatsServiceClient (2.0.0-beta05)

public class ErrorStatsServiceClient : ClientBase<ErrorStatsService.ErrorStatsServiceClient>

Client for ErrorStatsService

Inheritance

Object > ClientBase > ClientBase<ErrorStatsService.ErrorStatsServiceClient> > 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(ClientBase.ClientBaseConfiguration)

protected ErrorStatsServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<DeleteEventsResponse>

The call object.

DeleteEventsAsync(DeleteEventsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<DeleteEventsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListEventsResponse>

The call object.

ListEventsAsync(ListEventsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListEventsResponse>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListGroupStatsResponse>

The call object.

ListGroupStatsAsync(ListGroupStatsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListGroupStatsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ErrorStatsService.ErrorStatsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.ErrorReporting.V1Beta1.ErrorStatsService.ErrorStatsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)