Google Cloud Error Reporting v1beta1 API - Class ErrorGroupService.ErrorGroupServiceClient (3.0.0-beta03)

public class ErrorGroupService.ErrorGroupServiceClient : ClientBase<ErrorGroupService.ErrorGroupServiceClient>

Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ErrorGroupService.ErrorGroupServiceClient.

Client for ErrorGroupService

Inheritance

object > ClientBase > ClientBaseErrorGroupServiceErrorGroupServiceClient > 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(ClientBaseConfiguration)

protected ErrorGroupServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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

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

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.

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

The call object.

GetGroupAsync(GetGroupRequest, Metadata, DateTime?, CancellationToken)

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

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.

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
AsyncUnaryCallErrorGroup

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ErrorGroupServiceErrorGroupServiceClient
Overrides

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

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

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.

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

The call object.

UpdateGroupAsync(UpdateGroupRequest, Metadata, DateTime?, CancellationToken)

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

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.

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
AsyncUnaryCallErrorGroup

The call object.