Google Cloud Dialogflow v2beta1 API - Class Participants.ParticipantsClient (1.0.0-beta14)

public class Participants.ParticipantsClient : ClientBase<Participants.ParticipantsClient>

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Participants.ParticipantsClient.

Client for Participants

Inheritance

object > ClientBase > ClientBaseParticipantsParticipantsClient > Participants.ParticipantsClient

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

ParticipantsClient()

protected ParticipantsClient()

Protected parameterless constructor to allow creation of test doubles.

ParticipantsClient(CallInvoker)

public ParticipantsClient(CallInvoker callInvoker)

Creates a new client for Participants that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ParticipantsClient(ChannelBase)

public ParticipantsClient(ChannelBase channel)

Creates a new client for Participants

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ParticipantsClient(ClientBaseConfiguration)

protected ParticipantsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AnalyzeContent(AnalyzeContentRequest, CallOptions)

public virtual AnalyzeContentResponse AnalyzeContent(AnalyzeContentRequest request, CallOptions options)

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameters
NameDescription
requestAnalyzeContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnalyzeContentResponse

The response received from the server.

AnalyzeContent(AnalyzeContentRequest, Metadata, DateTime?, CancellationToken)

public virtual AnalyzeContentResponse AnalyzeContent(AnalyzeContentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameters
NameDescription
requestAnalyzeContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AnalyzeContentResponse

The response received from the server.

AnalyzeContentAsync(AnalyzeContentRequest, CallOptions)

public virtual AsyncUnaryCall<AnalyzeContentResponse> AnalyzeContentAsync(AnalyzeContentRequest request, CallOptions options)

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameters
NameDescription
requestAnalyzeContentRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeContentResponse

The call object.

AnalyzeContentAsync(AnalyzeContentRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AnalyzeContentResponse> AnalyzeContentAsync(AnalyzeContentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameters
NameDescription
requestAnalyzeContentRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAnalyzeContentResponse

The call object.

CompileSuggestion(CompileSuggestionRequest, CallOptions)

[Obsolete]
public virtual CompileSuggestionResponse CompileSuggestion(CompileSuggestionRequest request, CallOptions options)

Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.

Gets suggestions for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestCompileSuggestionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
CompileSuggestionResponse

The response received from the server.

CompileSuggestion(CompileSuggestionRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual CompileSuggestionResponse CompileSuggestion(CompileSuggestionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.

Gets suggestions for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestCompileSuggestionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
CompileSuggestionResponse

The response received from the server.

CompileSuggestionAsync(CompileSuggestionRequest, CallOptions)

[Obsolete]
public virtual AsyncUnaryCall<CompileSuggestionResponse> CompileSuggestionAsync(CompileSuggestionRequest request, CallOptions options)

Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.

Gets suggestions for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestCompileSuggestionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallCompileSuggestionResponse

The call object.

CompileSuggestionAsync(CompileSuggestionRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual AsyncUnaryCall<CompileSuggestionResponse> CompileSuggestionAsync(CompileSuggestionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated. use [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] and [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] instead.

Gets suggestions for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestCompileSuggestionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallCompileSuggestionResponse

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
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateParticipant(CreateParticipantRequest, CallOptions)

public virtual Participant CreateParticipant(CreateParticipantRequest request, CallOptions options)

Creates a new participant in a conversation.

Parameters
NameDescription
requestCreateParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Participant

The response received from the server.

CreateParticipant(CreateParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual Participant CreateParticipant(CreateParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new participant in a conversation.

Parameters
NameDescription
requestCreateParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Participant

The response received from the server.

CreateParticipantAsync(CreateParticipantRequest, CallOptions)

public virtual AsyncUnaryCall<Participant> CreateParticipantAsync(CreateParticipantRequest request, CallOptions options)

Creates a new participant in a conversation.

Parameters
NameDescription
requestCreateParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.

CreateParticipantAsync(CreateParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Participant> CreateParticipantAsync(CreateParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new participant in a conversation.

Parameters
NameDescription
requestCreateParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.

GetParticipant(GetParticipantRequest, CallOptions)

public virtual Participant GetParticipant(GetParticipantRequest request, CallOptions options)

Retrieves a conversation participant.

Parameters
NameDescription
requestGetParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Participant

The response received from the server.

GetParticipant(GetParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual Participant GetParticipant(GetParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a conversation participant.

Parameters
NameDescription
requestGetParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Participant

The response received from the server.

GetParticipantAsync(GetParticipantRequest, CallOptions)

public virtual AsyncUnaryCall<Participant> GetParticipantAsync(GetParticipantRequest request, CallOptions options)

Retrieves a conversation participant.

Parameters
NameDescription
requestGetParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.

GetParticipantAsync(GetParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Participant> GetParticipantAsync(GetParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a conversation participant.

Parameters
NameDescription
requestGetParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.

ListParticipants(ListParticipantsRequest, CallOptions)

public virtual ListParticipantsResponse ListParticipants(ListParticipantsRequest request, CallOptions options)

Returns the list of all participants in the specified conversation.

Parameters
NameDescription
requestListParticipantsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListParticipantsResponse

The response received from the server.

ListParticipants(ListParticipantsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListParticipantsResponse ListParticipants(ListParticipantsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all participants in the specified conversation.

Parameters
NameDescription
requestListParticipantsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListParticipantsResponse

The response received from the server.

ListParticipantsAsync(ListParticipantsRequest, CallOptions)

public virtual AsyncUnaryCall<ListParticipantsResponse> ListParticipantsAsync(ListParticipantsRequest request, CallOptions options)

Returns the list of all participants in the specified conversation.

Parameters
NameDescription
requestListParticipantsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListParticipantsResponse

The call object.

ListParticipantsAsync(ListParticipantsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListParticipantsResponse> ListParticipantsAsync(ListParticipantsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the list of all participants in the specified conversation.

Parameters
NameDescription
requestListParticipantsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListParticipantsResponse

The call object.

ListSuggestions(ListSuggestionsRequest, CallOptions)

[Obsolete]
public virtual ListSuggestionsResponse ListSuggestions(ListSuggestionsRequest request, CallOptions options)

Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01.

Retrieves suggestions for live agents.

This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the list pagination design pattern. The client app should use the next_page_token field to fetch the next batch of suggestions. suggestions are sorted by create_time in descending order. To fetch latest suggestion, just set page_size to 1. To fetch new suggestions without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.

Parameters
NameDescription
requestListSuggestionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListSuggestionsResponse

The response received from the server.

ListSuggestions(ListSuggestionsRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual ListSuggestionsResponse ListSuggestions(ListSuggestionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01.

Retrieves suggestions for live agents.

This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the list pagination design pattern. The client app should use the next_page_token field to fetch the next batch of suggestions. suggestions are sorted by create_time in descending order. To fetch latest suggestion, just set page_size to 1. To fetch new suggestions without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.

Parameters
NameDescription
requestListSuggestionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListSuggestionsResponse

The response received from the server.

ListSuggestionsAsync(ListSuggestionsRequest, CallOptions)

[Obsolete]
public virtual AsyncUnaryCall<ListSuggestionsResponse> ListSuggestionsAsync(ListSuggestionsRequest request, CallOptions options)

Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01.

Retrieves suggestions for live agents.

This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the list pagination design pattern. The client app should use the next_page_token field to fetch the next batch of suggestions. suggestions are sorted by create_time in descending order. To fetch latest suggestion, just set page_size to 1. To fetch new suggestions without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.

Parameters
NameDescription
requestListSuggestionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListSuggestionsResponse

The call object.

ListSuggestionsAsync(ListSuggestionsRequest, Metadata, DateTime?, CancellationToken)

[Obsolete]
public virtual AsyncUnaryCall<ListSuggestionsResponse> ListSuggestionsAsync(ListSuggestionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more details. Removal Date: 2020-09-01.

Retrieves suggestions for live agents.

This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the list pagination design pattern. The client app should use the next_page_token field to fetch the next batch of suggestions. suggestions are sorted by create_time in descending order. To fetch latest suggestion, just set page_size to 1. To fetch new suggestions without duplication, send request with filter create_time_epoch_microseconds > [first item's create_time of previous request] and empty page_token.

Parameters
NameDescription
requestListSuggestionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListSuggestionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Participants.ParticipantsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ParticipantsParticipantsClient
Overrides

StreamingAnalyzeContent(CallOptions)

public virtual AsyncDuplexStreamingCall<StreamingAnalyzeContentRequest, StreamingAnalyzeContentResponse> StreamingAnalyzeContent(CallOptions options)

Adds a text (e.g., chat) or audio (e.g., phone recording) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST).

The top-level message sent to the client by the server is StreamingAnalyzeContentResponse. Multiple response messages can be returned in order. The first one or more messages contain the recognition_result field. Each result represents a more complete transcript of what the user said. The next message contains the reply_text field, and potentially the reply_audio and/or the automated_agent_reply fields.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameter
NameDescription
optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncDuplexStreamingCallStreamingAnalyzeContentRequestStreamingAnalyzeContentResponse

The call object.

StreamingAnalyzeContent(Metadata, DateTime?, CancellationToken)

public virtual AsyncDuplexStreamingCall<StreamingAnalyzeContentRequest, StreamingAnalyzeContentResponse> StreamingAnalyzeContent(Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Adds a text (e.g., chat) or audio (e.g., phone recording) message from a participant into the conversation. Note: This method is only available through the gRPC API (not REST).

The top-level message sent to the client by the server is StreamingAnalyzeContentResponse. Multiple response messages can be returned in order. The first one or more messages contain the recognition_result field. Each result represents a more complete transcript of what the user said. The next message contains the reply_text field, and potentially the reply_audio and/or the automated_agent_reply fields.

Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.

Parameters
NameDescription
headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncDuplexStreamingCallStreamingAnalyzeContentRequestStreamingAnalyzeContentResponse

The call object.

SuggestArticles(SuggestArticlesRequest, CallOptions)

public virtual SuggestArticlesResponse SuggestArticles(SuggestArticlesRequest request, CallOptions options)

Gets suggested articles for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestSuggestArticlesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SuggestArticlesResponse

The response received from the server.

SuggestArticles(SuggestArticlesRequest, Metadata, DateTime?, CancellationToken)

public virtual SuggestArticlesResponse SuggestArticles(SuggestArticlesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets suggested articles for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestSuggestArticlesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SuggestArticlesResponse

The response received from the server.

SuggestArticlesAsync(SuggestArticlesRequest, CallOptions)

public virtual AsyncUnaryCall<SuggestArticlesResponse> SuggestArticlesAsync(SuggestArticlesRequest request, CallOptions options)

Gets suggested articles for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestSuggestArticlesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSuggestArticlesResponse

The call object.

SuggestArticlesAsync(SuggestArticlesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SuggestArticlesResponse> SuggestArticlesAsync(SuggestArticlesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets suggested articles for a participant based on specific historical messages.

Note that [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] will only list the auto-generated suggestions, while [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] will try to compile suggestion based on the provided conversation context in the real time.

Parameters
NameDescription
requestSuggestArticlesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSuggestArticlesResponse

The call object.

SuggestFaqAnswers(SuggestFaqAnswersRequest, CallOptions)

public virtual SuggestFaqAnswersResponse SuggestFaqAnswers(SuggestFaqAnswersRequest request, CallOptions options)

Gets suggested faq answers for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestFaqAnswersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SuggestFaqAnswersResponse

The response received from the server.

SuggestFaqAnswers(SuggestFaqAnswersRequest, Metadata, DateTime?, CancellationToken)

public virtual SuggestFaqAnswersResponse SuggestFaqAnswers(SuggestFaqAnswersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets suggested faq answers for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestFaqAnswersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SuggestFaqAnswersResponse

The response received from the server.

SuggestFaqAnswersAsync(SuggestFaqAnswersRequest, CallOptions)

public virtual AsyncUnaryCall<SuggestFaqAnswersResponse> SuggestFaqAnswersAsync(SuggestFaqAnswersRequest request, CallOptions options)

Gets suggested faq answers for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestFaqAnswersRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSuggestFaqAnswersResponse

The call object.

SuggestFaqAnswersAsync(SuggestFaqAnswersRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SuggestFaqAnswersResponse> SuggestFaqAnswersAsync(SuggestFaqAnswersRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets suggested faq answers for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestFaqAnswersRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSuggestFaqAnswersResponse

The call object.

SuggestSmartReplies(SuggestSmartRepliesRequest, CallOptions)

public virtual SuggestSmartRepliesResponse SuggestSmartReplies(SuggestSmartRepliesRequest request, CallOptions options)

Gets smart replies for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestSmartRepliesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SuggestSmartRepliesResponse

The response received from the server.

SuggestSmartReplies(SuggestSmartRepliesRequest, Metadata, DateTime?, CancellationToken)

public virtual SuggestSmartRepliesResponse SuggestSmartReplies(SuggestSmartRepliesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets smart replies for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestSmartRepliesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SuggestSmartRepliesResponse

The response received from the server.

SuggestSmartRepliesAsync(SuggestSmartRepliesRequest, CallOptions)

public virtual AsyncUnaryCall<SuggestSmartRepliesResponse> SuggestSmartRepliesAsync(SuggestSmartRepliesRequest request, CallOptions options)

Gets smart replies for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestSmartRepliesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSuggestSmartRepliesResponse

The call object.

SuggestSmartRepliesAsync(SuggestSmartRepliesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SuggestSmartRepliesResponse> SuggestSmartRepliesAsync(SuggestSmartRepliesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets smart replies for a participant based on specific historical messages.

Parameters
NameDescription
requestSuggestSmartRepliesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSuggestSmartRepliesResponse

The call object.

UpdateParticipant(UpdateParticipantRequest, CallOptions)

public virtual Participant UpdateParticipant(UpdateParticipantRequest request, CallOptions options)

Updates the specified participant.

Parameters
NameDescription
requestUpdateParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Participant

The response received from the server.

UpdateParticipant(UpdateParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual Participant UpdateParticipant(UpdateParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified participant.

Parameters
NameDescription
requestUpdateParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Participant

The response received from the server.

UpdateParticipantAsync(UpdateParticipantRequest, CallOptions)

public virtual AsyncUnaryCall<Participant> UpdateParticipantAsync(UpdateParticipantRequest request, CallOptions options)

Updates the specified participant.

Parameters
NameDescription
requestUpdateParticipantRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.

UpdateParticipantAsync(UpdateParticipantRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Participant> UpdateParticipantAsync(UpdateParticipantRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates the specified participant.

Parameters
NameDescription
requestUpdateParticipantRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineSystem.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallParticipant

The call object.