Class ErrorGroupService.ErrorGroupServiceClient (2.0.0-beta05)

public class ErrorGroupServiceClient : ClientBase<ErrorGroupService.ErrorGroupServiceClient>

Client for ErrorGroupService

Inheritance

Object > ClientBase > ClientBase<ErrorGroupService.ErrorGroupServiceClient> > ErrorGroupService.ErrorGroupServiceClient

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Constructors

ErrorGroupServiceClient()

protected ErrorGroupServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ErrorGroupServiceClient(CallInvoker)

public ErrorGroupServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ErrorGroupServiceClient(ChannelBase)

public ErrorGroupServiceClient(ChannelBase channel)

Creates a new client for ErrorGroupService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ErrorGroupServiceClient(ClientBase.ClientBaseConfiguration)

protected ErrorGroupServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

GetGroup(GetGroupRequest, CallOptions)

public virtual ErrorGroup GetGroup(GetGroupRequest request, CallOptions options)

Get the specified group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ErrorGroup

The response received from the server.

GetGroup(GetGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ErrorGroup GetGroup(GetGroupRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get the specified group.

Parameters
NameDescription
requestGetGroupRequest

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
ErrorGroup

The response received from the server.

GetGroupAsync(GetGroupRequest, CallOptions)

public virtual AsyncUnaryCall<ErrorGroup> GetGroupAsync(GetGroupRequest request, CallOptions options)

Get the specified group.

Parameters
NameDescription
requestGetGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ErrorGroup>

The call object.

GetGroupAsync(GetGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ErrorGroup> GetGroupAsync(GetGroupRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get the specified group.

Parameters
NameDescription
requestGetGroupRequest

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<ErrorGroup>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override ErrorGroupService.ErrorGroupServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

UpdateGroup(UpdateGroupRequest, CallOptions)

public virtual ErrorGroup UpdateGroup(UpdateGroupRequest request, CallOptions options)

Replace the data for the specified group. Fails if the group does not exist.

Parameters
NameDescription
requestUpdateGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ErrorGroup

The response received from the server.

UpdateGroup(UpdateGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ErrorGroup UpdateGroup(UpdateGroupRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Replace the data for the specified group. Fails if the group does not exist.

Parameters
NameDescription
requestUpdateGroupRequest

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
ErrorGroup

The response received from the server.

UpdateGroupAsync(UpdateGroupRequest, CallOptions)

public virtual AsyncUnaryCall<ErrorGroup> UpdateGroupAsync(UpdateGroupRequest request, CallOptions options)

Replace the data for the specified group. Fails if the group does not exist.

Parameters
NameDescription
requestUpdateGroupRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ErrorGroup>

The call object.

UpdateGroupAsync(UpdateGroupRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ErrorGroup> UpdateGroupAsync(UpdateGroupRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Replace the data for the specified group. Fails if the group does not exist.

Parameters
NameDescription
requestUpdateGroupRequest

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<ErrorGroup>

The call object.