public sealed class InstanceServiceClientImpl : InstanceServiceClient
Reference 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 |
InstanceServiceInstanceServiceClient The underlying gRPC client. |
settings |
InstanceServiceSettings The base InstanceServiceSettings used within this client. |
logger |
ILogger Optional 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 |
GetInstanceRequest 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 |
Instance |
The RPC response. |
GetInstanceAsync(GetInstanceRequest, CallSettings)
public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)
Gets a Instance.
Parameters | |
---|---|
Name | Description |
request |
GetInstanceRequest 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 |
TaskInstance |
A Task containing the RPC response. |