class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse

The request message for Participants.SuggestFaqAnswers.

Attributes

context_size[RW]

Number of messages prior to and including latest_message to compile the suggestion. It may be smaller than the SuggestFaqAnswersRequest.context_size field in the request if there aren't that many messages in the conversation. Corresponds to the JSON property `contextSize` @return [Fixnum]

faq_answers[RW]

Answers extracted from FAQ documents. Corresponds to the JSON property `faqAnswers` @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FaqAnswer>]

latest_message[RW]

The name of the latest conversation message used to compile suggestion for. Format: `projects//locations//conversations//messages/`. Corresponds to the JSON property `latestMessage` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 10634
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 10639
def update!(**args)
  @context_size = args[:context_size] if args.key?(:context_size)
  @faq_answers = args[:faq_answers] if args.key?(:faq_answers)
  @latest_message = args[:latest_message] if args.key?(:latest_message)
end