public class ConversationalSearchService.ConversationalSearchServiceClient : ClientBase<ConversationalSearchService.ConversationalSearchServiceClient>
Reference documentation and code samples for the Discovery Engine v1 API class ConversationalSearchService.ConversationalSearchServiceClient.
Client for ConversationalSearchService
Inheritance
object > ClientBase > ClientBaseConversationalSearchServiceConversationalSearchServiceClient > ConversationalSearchService.ConversationalSearchServiceClientNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
ConversationalSearchServiceClient()
protected ConversationalSearchServiceClient()
Protected parameterless constructor to allow creation of test doubles.
ConversationalSearchServiceClient(CallInvoker)
public ConversationalSearchServiceClient(CallInvoker callInvoker)
Creates a new client for ConversationalSearchService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
ConversationalSearchServiceClient(ChannelBase)
public ConversationalSearchServiceClient(ChannelBase channel)
Creates a new client for ConversationalSearchService
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
ConversationalSearchServiceClient(ClientBaseConfiguration)
protected ConversationalSearchServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
AnswerQuery(AnswerQueryRequest, CallOptions)
public virtual AnswerQueryResponse AnswerQuery(AnswerQueryRequest request, CallOptions options)
Answer query method.
Parameters | |
---|---|
Name | Description |
request |
AnswerQueryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnswerQueryResponse |
The response received from the server. |
AnswerQuery(AnswerQueryRequest, Metadata, DateTime?, CancellationToken)
public virtual AnswerQueryResponse AnswerQuery(AnswerQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Answer query method.
Parameters | |
---|---|
Name | Description |
request |
AnswerQueryRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AnswerQueryResponse |
The response received from the server. |
AnswerQueryAsync(AnswerQueryRequest, CallOptions)
public virtual AsyncUnaryCall<AnswerQueryResponse> AnswerQueryAsync(AnswerQueryRequest request, CallOptions options)
Answer query method.
Parameters | |
---|---|
Name | Description |
request |
AnswerQueryRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnswerQueryResponse |
The call object. |
AnswerQueryAsync(AnswerQueryRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnswerQueryResponse> AnswerQueryAsync(AnswerQueryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Answer query method.
Parameters | |
---|---|
Name | Description |
request |
AnswerQueryRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallAnswerQueryResponse |
The call object. |
ConverseConversation(ConverseConversationRequest, CallOptions)
public virtual ConverseConversationResponse ConverseConversation(ConverseConversationRequest request, CallOptions options)
Converses a conversation.
Parameters | |
---|---|
Name | Description |
request |
ConverseConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ConverseConversationResponse |
The response received from the server. |
ConverseConversation(ConverseConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual ConverseConversationResponse ConverseConversation(ConverseConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Converses a conversation.
Parameters | |
---|---|
Name | Description |
request |
ConverseConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ConverseConversationResponse |
The response received from the server. |
ConverseConversationAsync(ConverseConversationRequest, CallOptions)
public virtual AsyncUnaryCall<ConverseConversationResponse> ConverseConversationAsync(ConverseConversationRequest request, CallOptions options)
Converses a conversation.
Parameters | |
---|---|
Name | Description |
request |
ConverseConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConverseConversationResponse |
The call object. |
ConverseConversationAsync(ConverseConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ConverseConversationResponse> ConverseConversationAsync(ConverseConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Converses a conversation.
Parameters | |
---|---|
Name | Description |
request |
ConverseConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallConverseConversationResponse |
The call object. |
CreateConversation(CreateConversationRequest, CallOptions)
public virtual Conversation CreateConversation(CreateConversationRequest request, CallOptions options)
Creates a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Conversation |
The response received from the server. |
CreateConversation(CreateConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual Conversation CreateConversation(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Conversation |
The response received from the server. |
CreateConversationAsync(CreateConversationRequest, CallOptions)
public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, CallOptions options)
Creates a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConversation |
The call object. |
CreateConversationAsync(CreateConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Conversation> CreateConversationAsync(CreateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallConversation |
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. |
CreateSession(CreateSessionRequest, CallOptions)
public virtual Session CreateSession(CreateSessionRequest request, CallOptions options)
Creates a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Session |
The response received from the server. |
CreateSession(CreateSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual Session CreateSession(CreateSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Session |
The response received from the server. |
CreateSessionAsync(CreateSessionRequest, CallOptions)
public virtual AsyncUnaryCall<Session> CreateSessionAsync(CreateSessionRequest request, CallOptions options)
Creates a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSession |
The call object. |
CreateSessionAsync(CreateSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Session> CreateSessionAsync(CreateSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to create already exists, an ALREADY_EXISTS error is returned.
Parameters | |
---|---|
Name | Description |
request |
CreateSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallSession |
The call object. |
DeleteConversation(DeleteConversationRequest, CallOptions)
public virtual Empty DeleteConversation(DeleteConversationRequest request, CallOptions options)
Deletes a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteConversation(DeleteConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteConversation(DeleteConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Empty |
The response received from the server. |
DeleteConversationAsync(DeleteConversationRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteConversationAsync(DeleteConversationRequest request, CallOptions options)
Deletes a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteConversationAsync(DeleteConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteConversationAsync(DeleteConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Conversation.
If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallEmpty |
The call object. |
DeleteSession(DeleteSessionRequest, CallOptions)
public virtual Empty DeleteSession(DeleteSessionRequest request, CallOptions options)
Deletes a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Empty |
The response received from the server. |
DeleteSession(DeleteSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual Empty DeleteSession(DeleteSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Empty |
The response received from the server. |
DeleteSessionAsync(DeleteSessionRequest, CallOptions)
public virtual AsyncUnaryCall<Empty> DeleteSessionAsync(DeleteSessionRequest request, CallOptions options)
Deletes a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallEmpty |
The call object. |
DeleteSessionAsync(DeleteSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Empty> DeleteSessionAsync(DeleteSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes a Session.
If the [Session][google.cloud.discoveryengine.v1.Session] to delete does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
DeleteSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallEmpty |
The call object. |
GetAnswer(GetAnswerRequest, CallOptions)
public virtual Answer GetAnswer(GetAnswerRequest request, CallOptions options)
Gets a Answer.
Parameters | |
---|---|
Name | Description |
request |
GetAnswerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Answer |
The response received from the server. |
GetAnswer(GetAnswerRequest, Metadata, DateTime?, CancellationToken)
public virtual Answer GetAnswer(GetAnswerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Answer.
Parameters | |
---|---|
Name | Description |
request |
GetAnswerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Answer |
The response received from the server. |
GetAnswerAsync(GetAnswerRequest, CallOptions)
public virtual AsyncUnaryCall<Answer> GetAnswerAsync(GetAnswerRequest request, CallOptions options)
Gets a Answer.
Parameters | |
---|---|
Name | Description |
request |
GetAnswerRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnswer |
The call object. |
GetAnswerAsync(GetAnswerRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Answer> GetAnswerAsync(GetAnswerRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Answer.
Parameters | |
---|---|
Name | Description |
request |
GetAnswerRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallAnswer |
The call object. |
GetConversation(GetConversationRequest, CallOptions)
public virtual Conversation GetConversation(GetConversationRequest request, CallOptions options)
Gets a Conversation.
Parameters | |
---|---|
Name | Description |
request |
GetConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Conversation |
The response received from the server. |
GetConversation(GetConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual Conversation GetConversation(GetConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Conversation.
Parameters | |
---|---|
Name | Description |
request |
GetConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Conversation |
The response received from the server. |
GetConversationAsync(GetConversationRequest, CallOptions)
public virtual AsyncUnaryCall<Conversation> GetConversationAsync(GetConversationRequest request, CallOptions options)
Gets a Conversation.
Parameters | |
---|---|
Name | Description |
request |
GetConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConversation |
The call object. |
GetConversationAsync(GetConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Conversation> GetConversationAsync(GetConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Conversation.
Parameters | |
---|---|
Name | Description |
request |
GetConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallConversation |
The call object. |
GetSession(GetSessionRequest, CallOptions)
public virtual Session GetSession(GetSessionRequest request, CallOptions options)
Gets a Session.
Parameters | |
---|---|
Name | Description |
request |
GetSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Session |
The response received from the server. |
GetSession(GetSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual Session GetSession(GetSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Session.
Parameters | |
---|---|
Name | Description |
request |
GetSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Session |
The response received from the server. |
GetSessionAsync(GetSessionRequest, CallOptions)
public virtual AsyncUnaryCall<Session> GetSessionAsync(GetSessionRequest request, CallOptions options)
Gets a Session.
Parameters | |
---|---|
Name | Description |
request |
GetSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSession |
The call object. |
GetSessionAsync(GetSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Session> GetSessionAsync(GetSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Gets a Session.
Parameters | |
---|---|
Name | Description |
request |
GetSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallSession |
The call object. |
ListConversations(ListConversationsRequest, CallOptions)
public virtual ListConversationsResponse ListConversations(ListConversationsRequest request, CallOptions options)
Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListConversationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListConversationsResponse |
The response received from the server. |
ListConversations(ListConversationsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListConversationsResponse ListConversations(ListConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListConversationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ListConversationsResponse |
The response received from the server. |
ListConversationsAsync(ListConversationsRequest, CallOptions)
public virtual AsyncUnaryCall<ListConversationsResponse> ListConversationsAsync(ListConversationsRequest request, CallOptions options)
Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListConversationsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListConversationsResponse |
The call object. |
ListConversationsAsync(ListConversationsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListConversationsResponse> ListConversationsAsync(ListConversationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all Conversations by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListConversationsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallListConversationsResponse |
The call object. |
ListSessions(ListSessionsRequest, CallOptions)
public virtual ListSessionsResponse ListSessions(ListSessionsRequest request, CallOptions options)
Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListSessionsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListSessionsResponse |
The response received from the server. |
ListSessions(ListSessionsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListSessionsResponse ListSessions(ListSessionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListSessionsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
ListSessionsResponse |
The response received from the server. |
ListSessionsAsync(ListSessionsRequest, CallOptions)
public virtual AsyncUnaryCall<ListSessionsResponse> ListSessionsAsync(ListSessionsRequest request, CallOptions options)
Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListSessionsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallListSessionsResponse |
The call object. |
ListSessionsAsync(ListSessionsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListSessionsResponse> ListSessionsAsync(ListSessionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Lists all Sessions by their parent [DataStore][google.cloud.discoveryengine.v1.DataStore].
Parameters | |
---|---|
Name | Description |
request |
ListSessionsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallListSessionsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override ConversationalSearchService.ConversationalSearchServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
ConversationalSearchServiceConversationalSearchServiceClient |
UpdateConversation(UpdateConversationRequest, CallOptions)
public virtual Conversation UpdateConversation(UpdateConversationRequest request, CallOptions options)
Updates a Conversation.
[Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Conversation |
The response received from the server. |
UpdateConversation(UpdateConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual Conversation UpdateConversation(UpdateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a Conversation.
[Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Conversation |
The response received from the server. |
UpdateConversationAsync(UpdateConversationRequest, CallOptions)
public virtual AsyncUnaryCall<Conversation> UpdateConversationAsync(UpdateConversationRequest request, CallOptions options)
Updates a Conversation.
[Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateConversationRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallConversation |
The call object. |
UpdateConversationAsync(UpdateConversationRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Conversation> UpdateConversationAsync(UpdateConversationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a Conversation.
[Conversation][google.cloud.discoveryengine.v1.Conversation] action type cannot be changed. If the [Conversation][google.cloud.discoveryengine.v1.Conversation] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateConversationRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallConversation |
The call object. |
UpdateSession(UpdateSessionRequest, CallOptions)
public virtual Session UpdateSession(UpdateSessionRequest request, CallOptions options)
Updates a Session.
[Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Session |
The response received from the server. |
UpdateSession(UpdateSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual Session UpdateSession(UpdateSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a Session.
[Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
Session |
The response received from the server. |
UpdateSessionAsync(UpdateSessionRequest, CallOptions)
public virtual AsyncUnaryCall<Session> UpdateSessionAsync(UpdateSessionRequest request, CallOptions options)
Updates a Session.
[Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallSession |
The call object. |
UpdateSessionAsync(UpdateSessionRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Session> UpdateSessionAsync(UpdateSessionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Updates a Session.
[Session][google.cloud.discoveryengine.v1.Session] action type cannot be changed. If the [Session][google.cloud.discoveryengine.v1.Session] to update does not exist, a NOT_FOUND error is returned.
Parameters | |
---|---|
Name | Description |
request |
UpdateSessionRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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 |
AsyncUnaryCallSession |
The call object. |