public class ErrorGroupServiceClient : ClientBase<ErrorGroupService.ErrorGroupServiceClient>
Client for ErrorGroupService
Inheritance
Object > ClientBase > ClientBase<ErrorGroupService.ErrorGroupServiceClient> > ErrorGroupService.ErrorGroupServiceClientNamespace
Google.Cloud.ErrorReporting.V1Beta1Assembly
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(ClientBase.ClientBaseConfiguration)
protected ErrorGroupServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ErrorGroupService.ErrorGroupServiceClient |
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<ErrorGroup> | The call object. |