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

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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

ErrorGroupServiceClient(ChannelBase)

public ErrorGroupServiceClient(ChannelBase channel)

Creates a new client for ErrorGroupService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

ErrorGroupServiceClient(ClientBaseConfiguration)

protected ErrorGroupServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

GetGroup(GetGroupRequest, CallOptions)

public virtual ErrorGroup GetGroup(GetGroupRequest request, CallOptions options)

Get the specified group.

Parameters
Name Description
request GetGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGroupRequest

The request to send to the server.

headers Metadata

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

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

The response received from the server.

GetGroupAsync(GetGroupRequest, CallOptions)

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

Get the specified group.

Parameters
Name Description
request GetGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetGroupRequest

The request to send to the server.

headers Metadata

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

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

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
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
Name Description
request UpdateGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateGroupRequest

The request to send to the server.

headers Metadata

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

deadline 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
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
Name Description
request UpdateGroupRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request UpdateGroupRequest

The request to send to the server.

headers Metadata

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

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

The call object.