public sealed class ErrorGroupServiceClientImpl : ErrorGroupServiceClient
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(ErrorGroupService.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 | ErrorGroupService.ErrorGroupServiceClient The underlying gRPC client. |
settings | ErrorGroupServiceSettings The base ErrorGroupServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override ErrorGroupService.ErrorGroupServiceClient GrpcClient { get; }
The underlying gRPC ErrorGroupService client
Property Value | |
---|---|
Type | Description |
ErrorGroupService.ErrorGroupServiceClient |
Methods
GetGroup(GetGroupRequest, CallSettings)
public override ErrorGroup GetGroup(GetGroupRequest request, CallSettings callSettings = null)
Get the specified group.
Parameters | |
---|---|
Name | Description |
request | GetGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | GetGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ErrorGroup> | 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 | UpdateGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If 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 | UpdateGroupRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<ErrorGroup> | A Task containing the RPC response. |