Show / Hide Table of Contents

Class ProjectsResource.ConversationsResource.SuggestionsResource

The "suggestions" collection of methods.

Inheritance
object
ProjectsResource.ConversationsResource.SuggestionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationsResource.SuggestionsResource

Constructors

SuggestionsResource(IClientService)

Constructs a new resource.

Declaration
public SuggestionsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Generate(GoogleCloudDialogflowV2GenerateSuggestionsRequest, 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.ConversationsResource.SuggestionsResource.GenerateRequest Generate(GoogleCloudDialogflowV2GenerateSuggestionsRequest body, string conversation)
Parameters
Type Name Description
GoogleCloudDialogflowV2GenerateSuggestionsRequest body

The body of the request.

string conversation

Required. The conversation for which the suggestions are generated. Format: projects//locations//conversations/. The conversation must be created with a conversation profile which has generators configured in it to be able to get suggestions.

Returns
Type Description
ProjectsResource.ConversationsResource.SuggestionsResource.GenerateRequest

SearchKnowledge(GoogleCloudDialogflowV2SearchKnowledgeRequest, string)

Get answers for the given query based on knowledge documents.

Declaration
public virtual ProjectsResource.ConversationsResource.SuggestionsResource.SearchKnowledgeRequest SearchKnowledge(GoogleCloudDialogflowV2SearchKnowledgeRequest body, string conversation)
Parameters
Type Name Description
GoogleCloudDialogflowV2SearchKnowledgeRequest body

The body of the request.

string conversation

Optional. The conversation (between human agent and end user) where the search request is triggered. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.ConversationsResource.SuggestionsResource.SearchKnowledgeRequest

SuggestConversationSummary(GoogleCloudDialogflowV2SuggestConversationSummaryRequest, string)

Suggests 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.ConversationsResource.SuggestionsResource.SuggestConversationSummaryRequest SuggestConversationSummary(GoogleCloudDialogflowV2SuggestConversationSummaryRequest body, string conversation)
Parameters
Type Name Description
GoogleCloudDialogflowV2SuggestConversationSummaryRequest body

The body of the request.

string conversation

Required. The conversation to fetch suggestion for. Format: projects//locations//conversations/.

Returns
Type Description
ProjectsResource.ConversationsResource.SuggestionsResource.SuggestConversationSummaryRequest
In this article
Back to top Generated by DocFX