2.16.0 (latest) 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.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](https://learn.microsoft.com/dotnet/api/system.object) \> GenerativeQuestionService.GenerativeQuestionServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Retail.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.md.txt)

## 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). |