Discovery Engine v1beta API - Class GroundedGenerationServiceClientImpl (1.0.0-beta15)

public sealed class GroundedGenerationServiceClientImpl : GroundedGenerationServiceClient

Reference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationServiceClientImpl.

GroundedGenerationService client wrapper implementation, for convenient use.

Inheritance

object > GroundedGenerationServiceClient > GroundedGenerationServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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 GroundedGenerationServiceGroundedGenerationServiceClient

The underlying gRPC client.

settings GroundedGenerationServiceSettings

The base GroundedGenerationServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override GroundedGenerationService.GroundedGenerationServiceClient GrpcClient { get; }

The underlying gRPC GroundedGenerationService client

Property Value
Type Description
GroundedGenerationServiceGroundedGenerationServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CheckGrounding(CheckGroundingRequest, CallSettings)

public override CheckGroundingResponse CheckGrounding(CheckGroundingRequest request, CallSettings callSettings = null)

Performs a grounding check.

Parameters
Name Description
request CheckGroundingRequest

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
CheckGroundingResponse

The RPC response.

Overrides

CheckGroundingAsync(CheckGroundingRequest, CallSettings)

public override Task<CheckGroundingResponse> CheckGroundingAsync(CheckGroundingRequest request, CallSettings callSettings = null)

Performs a grounding check.

Parameters
Name Description
request CheckGroundingRequest

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
TaskCheckGroundingResponse

A Task containing the RPC response.

Overrides