public sealed class GroundedGenerationServiceClientImpl : GroundedGenerationServiceClientReference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationServiceClientImpl.
GroundedGenerationService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Remarks
Service for grounded generation.
Constructors
GroundedGenerationServiceClientImpl(GroundedGenerationServiceClient, GroundedGenerationServiceSettings, ILogger)
public GroundedGenerationServiceClientImpl(GroundedGenerationService.GroundedGenerationServiceClient grpcClient, GroundedGenerationServiceSettings settings, ILogger logger)Constructs a client wrapper for the GroundedGenerationService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
GroundedGenerationServiceGroundedGenerationServiceClientThe underlying gRPC client. |
settings |
GroundedGenerationServiceSettingsThe base GroundedGenerationServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override GroundedGenerationService.GroundedGenerationServiceClient GrpcClient { get; }The underlying gRPC GroundedGenerationService client
| Property Value | |
|---|---|
| Type | Description |
GroundedGenerationServiceGroundedGenerationServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CheckGrounding(CheckGroundingRequest, CallSettings)
public override CheckGroundingResponse CheckGrounding(CheckGroundingRequest request, CallSettings callSettings = null)Performs a grounding check.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckGroundingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
CheckGroundingResponse |
The RPC response. |
CheckGroundingAsync(CheckGroundingRequest, CallSettings)
public override Task<CheckGroundingResponse> CheckGroundingAsync(CheckGroundingRequest request, CallSettings callSettings = null)Performs a grounding check.
| Parameters | |
|---|---|
| Name | Description |
request |
CheckGroundingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCheckGroundingResponse |
A Task containing the RPC response. |