class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion

Represents a suggestion for a human agent.

Attributes

articles[RW]

Output only. Articles ordered by score in descending order. Corresponds to the JSON property `articles` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle>]

create_time[RW]

Output only. The time the suggestion was created. Corresponds to the JSON property `createTime` @return [String]

faq_answers[RW]

Output only. Answers extracted from FAQ documents. Corresponds to the JSON property `faqAnswers` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer>]

latest_message[RW]

Output only. Latest message used as context to compile this suggestion. Format: `projects//locations//conversations//messages/`. Corresponds to the JSON property `latestMessage` @return [String]

name[RW]

Output only. The name of this suggestion. Format: `projects//locations// conversations//participants/*/suggestions/`. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13882
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_v2beta1/classes.rb, line 13887
def update!(**args)
  @articles = args[:articles] if args.key?(:articles)
  @create_time = args[:create_time] if args.key?(:create_time)
  @faq_answers = args[:faq_answers] if args.key?(:faq_answers)
  @latest_message = args[:latest_message] if args.key?(:latest_message)
  @name = args[:name] if args.key?(:name)
end