public sealed class ErrorGroupServiceClientImpl : ErrorGroupServiceClientReference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ErrorGroupServiceClientImpl.
ErrorGroupService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.ErrorReporting.V1Beta1Assembly
Google.Cloud.ErrorReporting.V1Beta1.dll
Remarks
Service for retrieving and updating individual error groups.
Constructors
ErrorGroupServiceClientImpl(ErrorGroupServiceClient, ErrorGroupServiceSettings, ILogger)
public ErrorGroupServiceClientImpl(ErrorGroupService.ErrorGroupServiceClient grpcClient, ErrorGroupServiceSettings settings, ILogger logger)Constructs a client wrapper for the ErrorGroupService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
ErrorGroupServiceErrorGroupServiceClientThe underlying gRPC client. |
settings |
ErrorGroupServiceSettingsThe base ErrorGroupServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override ErrorGroupService.ErrorGroupServiceClient GrpcClient { get; }The underlying gRPC ErrorGroupService client
| Property Value | |
|---|---|
| Type | Description |
ErrorGroupServiceErrorGroupServiceClient |
|
Methods
GetGroup(GetGroupRequest, CallSettings)
public override ErrorGroup GetGroup(GetGroupRequest request, CallSettings callSettings = null)Get the specified group.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ErrorGroup |
The RPC response. |
GetGroupAsync(GetGroupRequest, CallSettings)
public override Task<ErrorGroup> GetGroupAsync(GetGroupRequest request, CallSettings callSettings = null)Get the specified group.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskErrorGroup |
A Task containing the RPC response. |
UpdateGroup(UpdateGroupRequest, CallSettings)
public override ErrorGroup UpdateGroup(UpdateGroupRequest request, CallSettings callSettings = null)Replace the data for the specified group. Fails if the group does not exist.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ErrorGroup |
The RPC response. |
UpdateGroupAsync(UpdateGroupRequest, CallSettings)
public override Task<ErrorGroup> UpdateGroupAsync(UpdateGroupRequest request, CallSettings callSettings = null)Replace the data for the specified group. Fails if the group does not exist.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGroupRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskErrorGroup |
A Task containing the RPC response. |