Data Analytics API with Gemini v1beta API - Class ContextRetrievalService.ContextRetrievalServiceBase (1.0.0-beta01)

[BindServiceMethod(typeof(ContextRetrievalService), "BindService")]
public abstract class ContextRetrievalService.ContextRetrievalServiceBase

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

Base class for server-side implementations of ContextRetrievalService

Inheritance

object > ContextRetrievalService.ContextRetrievalServiceBase

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Methods

RetrieveBigQueryRecentRelevantTables(RetrieveBigQueryRecentRelevantTablesRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryRecentRelevantTablesResponse> RetrieveBigQueryRecentRelevantTables(RetrieveBigQueryRecentRelevantTablesRequest request, ServerCallContext context)

Retrieves BigQuery table references from recently accessed tables.

Parameters
Name Description
request RetrieveBigQueryRecentRelevantTablesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryRecentRelevantTablesResponse

The response to send back to the client (wrapped by a task).

RetrieveBigQueryTableContext(RetrieveBigQueryTableContextRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryTableContextResponse> RetrieveBigQueryTableContext(RetrieveBigQueryTableContextRequest request, ServerCallContext context)

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 received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryTableContextResponse

The response to send back to the client (wrapped by a task).

RetrieveBigQueryTableContexts(RetrieveBigQueryTableContextsRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryTableContextsResponse> RetrieveBigQueryTableContexts(RetrieveBigQueryTableContextsRequest request, ServerCallContext context)

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 received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryTableContextsResponse

The response to send back to the client (wrapped by a task).

RetrieveBigQueryTableContextsFromRecentTables(RetrieveBigQueryTableContextsFromRecentTablesRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryTableContextsFromRecentTablesResponse> RetrieveBigQueryTableContextsFromRecentTables(RetrieveBigQueryTableContextsFromRecentTablesRequest request, ServerCallContext context)

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 received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryTableContextsFromRecentTablesResponse

The response to send back to the client (wrapped by a task).

RetrieveBigQueryTableSuggestedDescriptions(RetrieveBigQueryTableSuggestedDescriptionsRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryTableSuggestedDescriptionsResponse> RetrieveBigQueryTableSuggestedDescriptions(RetrieveBigQueryTableSuggestedDescriptionsRequest request, ServerCallContext context)

Retrieves BigQuery table schema with suggested table and column descriptions.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedDescriptionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryTableSuggestedDescriptionsResponse

The response to send back to the client (wrapped by a task).

RetrieveBigQueryTableSuggestedExamples(RetrieveBigQueryTableSuggestedExamplesRequest, ServerCallContext)

public virtual Task<RetrieveBigQueryTableSuggestedExamplesResponse> RetrieveBigQueryTableSuggestedExamples(RetrieveBigQueryTableSuggestedExamplesRequest request, ServerCallContext context)

Retrieves BigQuery table schema with suggested NL-SQL examples.

Parameters
Name Description
request RetrieveBigQueryTableSuggestedExamplesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskRetrieveBigQueryTableSuggestedExamplesResponse

The response to send back to the client (wrapped by a task).