public class ErrorStatsServiceClient : ClientBase<ErrorStatsService.ErrorStatsServiceClient>
Client for ErrorStatsService
Inheritance
Object > ClientBase > ClientBase<ErrorStatsService.ErrorStatsServiceClient> > ErrorStatsService.ErrorStatsServiceClientNamespace
Google.Cloud.ErrorReporting.V1Beta1Assembly
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(ClientBase.ClientBaseConfiguration)
protected ErrorStatsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, Nullable<DateTime>, CancellationToken)
public virtual DeleteEventsResponse DeleteEvents(DeleteEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DeleteEventsResponse> | The call object. |
DeleteEventsAsync(DeleteEventsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<DeleteEventsResponse> DeleteEventsAsync(DeleteEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DeleteEventsResponse> | 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, Nullable<DateTime>, CancellationToken)
public virtual ListEventsResponse ListEvents(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListEventsResponse> | The call object. |
ListEventsAsync(ListEventsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListEventsResponse> ListEventsAsync(ListEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListEventsResponse> | 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, Nullable<DateTime>, CancellationToken)
public virtual ListGroupStatsResponse ListGroupStats(ListGroupStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<ListGroupStatsResponse> | The call object. |
ListGroupStatsAsync(ListGroupStatsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListGroupStatsResponse> ListGroupStatsAsync(ListGroupStatsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ErrorStatsService.ErrorStatsServiceClient |