Class ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource
The "suggestions" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource
Constructors
SuggestionsResource(IClientService)
Constructs a new resource.
Declaration
public SuggestionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
service |
Methods
Generate(GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest, string)
Generates all the suggestions using generators configured in the conversation profile. A generator is used only if its trigger event is matched.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.GenerateRequest Generate(GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest body, string conversation)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | conversation | Required. The conversation for which the suggestions are generated. Format:
|
Returns
Type | Description |
---|---|
Projects |
SearchKnowledge(GoogleCloudDialogflowV2beta1SearchKnowledgeRequest, string)
Get answers for the given query based on knowledge documents.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.SearchKnowledgeRequest SearchKnowledge(GoogleCloudDialogflowV2beta1SearchKnowledgeRequest body, string conversation)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | conversation | Optional. The conversation (between human agent and end user) where the search request is
triggered. Format: |
Returns
Type | Description |
---|---|
Projects |
SuggestConversationSummary(GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest, string)
Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource.SuggestionsResource.SuggestConversationSummaryRequest SuggestConversationSummary(GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest body, string conversation)
Parameters
Type | Name | Description |
---|---|---|
Google |
body | The body of the request. |
string | conversation | Required. The conversation to fetch suggestion for. Format:
|