public class GenerativeQuestionService.GenerativeQuestionServiceClient : ClientBase<GenerativeQuestionService.GenerativeQuestionServiceClient>
Reference documentation and code samples for the Retail v2 API class GenerativeQuestionService.GenerativeQuestionServiceClient.
Client for GenerativeQuestionService
Inheritance
object > ClientBase > ClientBaseGenerativeQuestionServiceGenerativeQuestionServiceClient > GenerativeQuestionService.GenerativeQuestionServiceClientNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
GenerativeQuestionServiceClient()
protected GenerativeQuestionServiceClient()
Protected parameterless constructor to allow creation of test doubles.
GenerativeQuestionServiceClient(CallInvoker)
public GenerativeQuestionServiceClient(CallInvoker callInvoker)
Creates a new client for GenerativeQuestionService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
GenerativeQuestionServiceClient(ChannelBase)
public GenerativeQuestionServiceClient(ChannelBase channel)
Creates a new client for GenerativeQuestionService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
GenerativeQuestionServiceClient(ClientBaseConfiguration)
protected GenerativeQuestionServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest, CallOptions)
public virtual BatchUpdateGenerativeQuestionConfigsResponse BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, CallOptions options)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BatchUpdateGenerativeQuestionConfigsResponse |
The response received from the server. |
BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual BatchUpdateGenerativeQuestionConfigsResponse BatchUpdateGenerativeQuestionConfigs(BatchUpdateGenerativeQuestionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
BatchUpdateGenerativeQuestionConfigsResponse |
The response received from the server. |
BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<BatchUpdateGenerativeQuestionConfigsResponse> BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest request, CallOptions options)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchUpdateGenerativeQuestionConfigsResponse |
The call object. |
BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<BatchUpdateGenerativeQuestionConfigsResponse> BatchUpdateGenerativeQuestionConfigsAsync(BatchUpdateGenerativeQuestionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Allows management of multiple questions.
Parameters | |
---|---|
Name | Description |
request |
BatchUpdateGenerativeQuestionConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallBatchUpdateGenerativeQuestionConfigsResponse |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()
Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest, CallOptions)
public virtual GenerativeQuestionsFeatureConfig GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, CallOptions options)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionsFeatureConfig |
The response received from the server. |
GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual GenerativeQuestionsFeatureConfig GetGenerativeQuestionsFeatureConfig(GetGenerativeQuestionsFeatureConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionsFeatureConfig |
The response received from the server. |
GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest, CallOptions)
public virtual AsyncUnaryCall<GenerativeQuestionsFeatureConfig> GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest request, CallOptions options)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionsFeatureConfig |
The call object. |
GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GenerativeQuestionsFeatureConfig> GetGenerativeQuestionsFeatureConfigAsync(GetGenerativeQuestionsFeatureConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
GetGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionsFeatureConfig |
The call object. |
ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest, CallOptions)
public virtual ListGenerativeQuestionConfigsResponse ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, CallOptions options)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListGenerativeQuestionConfigsResponse |
The response received from the server. |
ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListGenerativeQuestionConfigsResponse ListGenerativeQuestionConfigs(ListGenerativeQuestionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListGenerativeQuestionConfigsResponse |
The response received from the server. |
ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListGenerativeQuestionConfigsResponse> ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest request, CallOptions options)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListGenerativeQuestionConfigsResponse |
The call object. |
ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListGenerativeQuestionConfigsResponse> ListGenerativeQuestionConfigsAsync(ListGenerativeQuestionConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns all questions for a given catalog.
Parameters | |
---|---|
Name | Description |
request |
ListGenerativeQuestionConfigsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListGenerativeQuestionConfigsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override GenerativeQuestionService.GenerativeQuestionServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
GenerativeQuestionServiceGenerativeQuestionServiceClient |
UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest, CallOptions)
public virtual GenerativeQuestionConfig UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, CallOptions options)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionConfig |
The response received from the server. |
UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual GenerativeQuestionConfig UpdateGenerativeQuestionConfig(UpdateGenerativeQuestionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionConfig |
The response received from the server. |
UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest, CallOptions)
public virtual AsyncUnaryCall<GenerativeQuestionConfig> UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest request, CallOptions options)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionConfig |
The call object. |
UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GenerativeQuestionConfig> UpdateGenerativeQuestionConfigAsync(UpdateGenerativeQuestionConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Allows management of individual questions.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionConfig |
The call object. |
UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest, CallOptions)
public virtual GenerativeQuestionsFeatureConfig UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, CallOptions options)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionsFeatureConfig |
The response received from the server. |
UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual GenerativeQuestionsFeatureConfig UpdateGenerativeQuestionsFeatureConfig(UpdateGenerativeQuestionsFeatureConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
GenerativeQuestionsFeatureConfig |
The response received from the server. |
UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest, CallOptions)
public virtual AsyncUnaryCall<GenerativeQuestionsFeatureConfig> UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest request, CallOptions options)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionsFeatureConfig |
The call object. |
UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<GenerativeQuestionsFeatureConfig> UpdateGenerativeQuestionsFeatureConfigAsync(UpdateGenerativeQuestionsFeatureConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Manages overal generative question feature state -- enables toggling feature on and off.
Parameters | |
---|---|
Name | Description |
request |
UpdateGenerativeQuestionsFeatureConfigRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallGenerativeQuestionsFeatureConfig |
The call object. |