public sealed class GenerativeQuestionServiceClientImpl : GenerativeQuestionServiceClient
Reference documentation and code samples for the Retail v2 API class GenerativeQuestionServiceClientImpl.
GenerativeQuestionService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Remarks
Service for managing LLM generated questions in search serving.
Constructors
GenerativeQuestionServiceClientImpl(GenerativeQuestionServiceClient, GenerativeQuestionServiceSettings, ILogger)
public GenerativeQuestionServiceClientImpl(GenerativeQuestionService.GenerativeQuestionServiceClient grpcClient, GenerativeQuestionServiceSettings settings, ILogger logger)
Constructs a client wrapper for the GenerativeQuestionService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
GenerativeQuestionServiceGenerativeQuestionServiceClient The underlying gRPC client. |
settings |
GenerativeQuestionServiceSettings The base GenerativeQuestionServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override GenerativeQuestionService.GenerativeQuestionServiceClient GrpcClient { get; }
The underlying gRPC GenerativeQuestionService client
Property Value | |
---|---|
Type | Description |
GenerativeQuestionServiceGenerativeQuestionServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest, CallSettings)
public override BatchUpdateGenerativeQuestionConfigsResponse BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, CallSettings callSettings = null)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest 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 |
BatchUpdateGenerativeQuestionConfigsResponse |
The RPC response. |
BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest, CallSettings)
public override Task<BatchUpdateGenerativeQuestionConfigsResponse> BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest request, CallSettings callSettings = null)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest 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 |
TaskBatchUpdateGenerativeQuestionConfigsResponse |
A Task containing the RPC response. |
GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest, CallSettings)
public override GenerativeQuestionsFeatureConfig GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, CallSettings callSettings = null)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest 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 |
GenerativeQuestionsFeatureConfig |
The RPC response. |
GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest, CallSettings)
public override Task<GenerativeQuestionsFeatureConfig> GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest request, CallSettings callSettings = null)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest 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 |
TaskGenerativeQuestionsFeatureConfig |
A Task containing the RPC response. |
ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest, CallSettings)
public override ListGenerativeQuestionConfigsResponse ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, CallSettings callSettings = null)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest 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 |
ListGenerativeQuestionConfigsResponse |
The RPC response. |
ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest, CallSettings)
public override Task<ListGenerativeQuestionConfigsResponse> ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest request, CallSettings callSettings = null)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest 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 |
TaskListGenerativeQuestionConfigsResponse |
A Task containing the RPC response. |
UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest, CallSettings)
public override GenerativeQuestionConfig UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, CallSettings callSettings = null)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest 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 |
GenerativeQuestionConfig |
The RPC response. |
UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest, CallSettings)
public override Task<GenerativeQuestionConfig> UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest request, CallSettings callSettings = null)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest 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 |
TaskGenerativeQuestionConfig |
A Task containing the RPC response. |
UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest, CallSettings)
public override GenerativeQuestionsFeatureConfig UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, CallSettings callSettings = null)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest 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 |
GenerativeQuestionsFeatureConfig |
The RPC response. |
UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest, CallSettings)
public override Task<GenerativeQuestionsFeatureConfig> UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest request, CallSettings callSettings = null)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest 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 |
TaskGenerativeQuestionsFeatureConfig |
A Task containing the RPC response. |