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

public static class ContextRetrievalService

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

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.

Inheritance

object > ContextRetrievalService

Namespace

Google.Cloud.GeminiDataAnalytics.V1Beta

Assembly

Google.Cloud.GeminiDataAnalytics.V1Beta.dll

Methods

BindService(ContextRetrievalServiceBase)

public static ServerServiceDefinition BindService(ContextRetrievalService.ContextRetrievalServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl ContextRetrievalServiceContextRetrievalServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, ContextRetrievalServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ContextRetrievalService.ContextRetrievalServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
Name Description
serviceBinder ServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImpl ContextRetrievalServiceContextRetrievalServiceBase

An object implementing the server-side handling logic.