Retail v2 API - Class GenerativeQuestionService.GenerativeQuestionServiceBase (2.12.0)

[BindServiceMethod(typeof(GenerativeQuestionService), "BindService")]
public abstract class GenerativeQuestionService.GenerativeQuestionServiceBase

Reference documentation and code samples for the Retail v2 API class GenerativeQuestionService.GenerativeQuestionServiceBase.

Base class for server-side implementations of GenerativeQuestionService

Inheritance

object > GenerativeQuestionService.GenerativeQuestionServiceBase

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Methods

BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest, ServerCallContext)

public virtual Task<BatchUpdateGenerativeQuestionConfigsResponse> BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, ServerCallContext context)

Allows management of multiple questions.

Parameters
Name Description
request BatchUpdateGenerativeQuestionConfigsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskBatchUpdateGenerativeQuestionConfigsResponse

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

GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest, ServerCallContext)

public virtual Task<GenerativeQuestionsFeatureConfig> GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, ServerCallContext context)

Manages overal generative question feature state -- enables toggling feature on and off.

Parameters
Name Description
request GetGenerativeQuestionsFeatureConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGenerativeQuestionsFeatureConfig

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

ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest, ServerCallContext)

public virtual Task<ListGenerativeQuestionConfigsResponse> ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, ServerCallContext context)

Returns all questions for a given catalog.

Parameters
Name Description
request ListGenerativeQuestionConfigsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListGenerativeQuestionConfigsResponse

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

UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest, ServerCallContext)

public virtual Task<GenerativeQuestionConfig> UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, ServerCallContext context)

Allows management of individual questions.

Parameters
Name Description
request UpdateGenerativeQuestionConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGenerativeQuestionConfig

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

UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest, ServerCallContext)

public virtual Task<GenerativeQuestionsFeatureConfig> UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, ServerCallContext context)

Manages overal generative question feature state -- enables toggling feature on and off.

Parameters
Name Description
request UpdateGenerativeQuestionsFeatureConfigRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskGenerativeQuestionsFeatureConfig

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