class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Suggestion
Represents a suggestion for a human agent.
Attributes
Output only. Articles ordered by score in descending order. Corresponds to the JSON property `articles` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionArticle>]
Output only. The time the suggestion was created. Corresponds to the JSON property `createTime` @return [String]
Output only. Answers extracted from FAQ documents. Corresponds to the JSON property `faqAnswers` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFaqAnswer>]
Output only. Latest message used as context to compile this suggestion. Format: `projects//locations//conversations//messages/`. Corresponds to the JSON property `latestMessage` @return [String]
Output only. The name of this suggestion. Format: `projects//locations// conversations//participants/*/suggestions/`. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 13882 def initialize(**args) update!(**args) end
Public Instance Methods
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