public sealed class InstanceServiceClientImpl : InstanceServiceClientReference documentation and code samples for the Chronicle v1 API class InstanceServiceClientImpl.
InstanceService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Chronicle.V1Assembly
Google.Cloud.Chronicle.V1.dll
Remarks
InstanceService provides the entry interface for the Chronicle API.
Constructors
InstanceServiceClientImpl(InstanceServiceClient, InstanceServiceSettings, ILogger)
public InstanceServiceClientImpl(InstanceService.InstanceServiceClient grpcClient, InstanceServiceSettings settings, ILogger logger)Constructs a client wrapper for the InstanceService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
InstanceServiceInstanceServiceClientThe underlying gRPC client. |
settings |
InstanceServiceSettingsThe base InstanceServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override InstanceService.InstanceServiceClient GrpcClient { get; }The underlying gRPC InstanceService client
| Property Value | |
|---|---|
| Type | Description |
InstanceServiceInstanceServiceClient |
|
Methods
GetInstance(GetInstanceRequest, CallSettings)
public override Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)Gets a Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Instance |
The RPC response. |
GetInstanceAsync(GetInstanceRequest, CallSettings)
public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)Gets a Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskInstance |
A Task containing the RPC response. |