Data Analytics API with Gemini v1beta API - Class ContextRetrievalServiceClientImpl (1.0.0-beta01)

public sealed class ContextRetrievalServiceClientImpl : ContextRetrievalServiceClient

Reference documentation and code samples for the Data Analytics API with Gemini v1beta API class ContextRetrievalServiceClientImpl.

ContextRetrievalService client wrapper implementation, for convenient use.

Inheritance

object > ContextRetrievalServiceClient > ContextRetrievalServiceClientImpl

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Remarks

Service to ask a natural language question with a provided project, returns BigQuery tables that are relevant to the question within the project scope that is accessible to the user, along with contextual data including table schema information as well as sample values.

Constructors

ContextRetrievalServiceClientImpl(ContextRetrievalServiceClient, ContextRetrievalServiceSettings, ILogger)

public ContextRetrievalServiceClientImpl(ContextRetrievalService.ContextRetrievalServiceClient grpcClient, ContextRetrievalServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ContextRetrievalService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ContextRetrievalServiceContextRetrievalServiceClient

The underlying gRPC client.

settings ContextRetrievalServiceSettings

The base ContextRetrievalServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ContextRetrievalService.ContextRetrievalServiceClient GrpcClient { get; }

The underlying gRPC ContextRetrievalService client

Property Value
Type Description
ContextRetrievalServiceContextRetrievalServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

RetrieveBigQueryRecentRelevantTables(RetrieveBigQueryRecentRelevantTablesRequest, CallSettings)

public override RetrieveBigQueryRecentRelevantTablesResponse RetrieveBigQueryRecentRelevantTables(RetrieveBigQueryRecentRelevantTablesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table references from recently accessed tables.

Parameters
Name Description
request RetrieveBigQueryRecentRelevantTablesRequest

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
RetrieveBigQueryRecentRelevantTablesResponse

The RPC response.

Overrides

RetrieveBigQueryRecentRelevantTablesAsync(RetrieveBigQueryRecentRelevantTablesRequest, CallSettings)

public override Task<RetrieveBigQueryRecentRelevantTablesResponse> RetrieveBigQueryRecentRelevantTablesAsync(RetrieveBigQueryRecentRelevantTablesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table references from recently accessed tables.

Parameters
Name Description
request RetrieveBigQueryRecentRelevantTablesRequest

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
TaskRetrieveBigQueryRecentRelevantTablesResponse

A Task containing the RPC response.

Overrides

RetrieveBigQueryTableContext(RetrieveBigQueryTableContextRequest, CallSettings)

public override RetrieveBigQueryTableContextResponse RetrieveBigQueryTableContext(RetrieveBigQueryTableContextRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data for provided table references. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextRequest

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
RetrieveBigQueryTableContextResponse

The RPC response.

Overrides

RetrieveBigQueryTableContextAsync(RetrieveBigQueryTableContextRequest, CallSettings)

public override Task<RetrieveBigQueryTableContextResponse> RetrieveBigQueryTableContextAsync(RetrieveBigQueryTableContextRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data for provided table references. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextRequest

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
TaskRetrieveBigQueryTableContextResponse

A Task containing the RPC response.

Overrides

RetrieveBigQueryTableContexts(RetrieveBigQueryTableContextsRequest, CallSettings)

public override RetrieveBigQueryTableContextsResponse RetrieveBigQueryTableContexts(RetrieveBigQueryTableContextsRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data for provided table references. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextsRequest

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
RetrieveBigQueryTableContextsResponse

The RPC response.

Overrides

RetrieveBigQueryTableContextsAsync(RetrieveBigQueryTableContextsRequest, CallSettings)

public override Task<RetrieveBigQueryTableContextsResponse> RetrieveBigQueryTableContextsAsync(RetrieveBigQueryTableContextsRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data for provided table references. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextsRequest

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
TaskRetrieveBigQueryTableContextsResponse

A Task containing the RPC response.

Overrides

RetrieveBigQueryTableContextsFromRecentTables(RetrieveBigQueryTableContextsFromRecentTablesRequest, CallSettings)

public override RetrieveBigQueryTableContextsFromRecentTablesResponse RetrieveBigQueryTableContextsFromRecentTables(RetrieveBigQueryTableContextsFromRecentTablesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data from recently accessed tables. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextsFromRecentTablesRequest

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
RetrieveBigQueryTableContextsFromRecentTablesResponse

The RPC response.

Overrides

RetrieveBigQueryTableContextsFromRecentTablesAsync(RetrieveBigQueryTableContextsFromRecentTablesRequest, CallSettings)

public override Task<RetrieveBigQueryTableContextsFromRecentTablesResponse> RetrieveBigQueryTableContextsFromRecentTablesAsync(RetrieveBigQueryTableContextsFromRecentTablesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table contextual data from recently accessed tables. Contextual data includes table schema information as well as sample values.

Parameters
Name Description
request RetrieveBigQueryTableContextsFromRecentTablesRequest

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
TaskRetrieveBigQueryTableContextsFromRecentTablesResponse

A Task containing the RPC response.

Overrides

RetrieveBigQueryTableSuggestedDescriptions(RetrieveBigQueryTableSuggestedDescriptionsRequest, CallSettings)

public override RetrieveBigQueryTableSuggestedDescriptionsResponse RetrieveBigQueryTableSuggestedDescriptions(RetrieveBigQueryTableSuggestedDescriptionsRequest request, CallSettings callSettings = null)

Retrieves BigQuery table schema with suggested table and column descriptions.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedDescriptionsRequest

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
RetrieveBigQueryTableSuggestedDescriptionsResponse

The RPC response.

Overrides

RetrieveBigQueryTableSuggestedDescriptionsAsync(RetrieveBigQueryTableSuggestedDescriptionsRequest, CallSettings)

public override Task<RetrieveBigQueryTableSuggestedDescriptionsResponse> RetrieveBigQueryTableSuggestedDescriptionsAsync(RetrieveBigQueryTableSuggestedDescriptionsRequest request, CallSettings callSettings = null)

Retrieves BigQuery table schema with suggested table and column descriptions.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedDescriptionsRequest

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
TaskRetrieveBigQueryTableSuggestedDescriptionsResponse

A Task containing the RPC response.

Overrides

RetrieveBigQueryTableSuggestedExamples(RetrieveBigQueryTableSuggestedExamplesRequest, CallSettings)

public override RetrieveBigQueryTableSuggestedExamplesResponse RetrieveBigQueryTableSuggestedExamples(RetrieveBigQueryTableSuggestedExamplesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table schema with suggested NL-SQL examples.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedExamplesRequest

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
RetrieveBigQueryTableSuggestedExamplesResponse

The RPC response.

Overrides

RetrieveBigQueryTableSuggestedExamplesAsync(RetrieveBigQueryTableSuggestedExamplesRequest, CallSettings)

public override Task<RetrieveBigQueryTableSuggestedExamplesResponse> RetrieveBigQueryTableSuggestedExamplesAsync(RetrieveBigQueryTableSuggestedExamplesRequest request, CallSettings callSettings = null)

Retrieves BigQuery table schema with suggested NL-SQL examples.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedExamplesRequest

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
TaskRetrieveBigQueryTableSuggestedExamplesResponse

A Task containing the RPC response.

Overrides