Class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource
The "suggestions" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource
Constructors
SuggestionsResource(IClientService)
Constructs a new resource.
Declaration
public SuggestionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Compile(GoogleCloudDialogflowV2beta1CompileSuggestionRequest, string)
Deprecated. use SuggestArticles and SuggestFaqAnswers instead. Gets suggestions for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.CompileRequest Compile(GoogleCloudDialogflowV2beta1CompileSuggestionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1CompileSuggestionRequest | body | The body of the request. |
string | parent | Required. The name of the participant to fetch suggestion for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.CompileRequest |
List(string)
Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See
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.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The name of the participant to fetch suggestions for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.ListRequest |
SuggestArticles(GoogleCloudDialogflowV2beta1SuggestArticlesRequest, string)
Gets suggested articles for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestArticlesRequest SuggestArticles(GoogleCloudDialogflowV2beta1SuggestArticlesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1SuggestArticlesRequest | body | The body of the request. |
string | parent | Required. The name of the participant to fetch suggestion for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestArticlesRequest |
SuggestFaqAnswers(GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest, string)
Gets suggested faq answers for a participant based on specific historical messages.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestFaqAnswersRequest SuggestFaqAnswers(GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest | body | The body of the request. |
string | parent | Required. The name of the participant to fetch suggestion for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestFaqAnswersRequest |
SuggestKnowledgeAssist(GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest, string)
Gets knowledge assist suggestions based on historical messages.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestKnowledgeAssistRequest SuggestKnowledgeAssist(GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest | body | The body of the request. |
string | parent | Required. The name of the participant to fetch suggestions for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestKnowledgeAssistRequest |
SuggestSmartReplies(GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest, string)
Gets smart replies for a participant based on specific historical messages.
Declaration
public virtual ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestSmartRepliesRequest SuggestSmartReplies(GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest | body | The body of the request. |
string | parent | Required. The name of the participant to fetch suggestion for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationsResource.ParticipantsResource.SuggestionsResource.SuggestSmartRepliesRequest |