Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantRecord
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantRecord
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Represents a record of a human agent assist answer.
Instance Attribute Summary collapse
-
#article_suggestion_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer
Represents article answer.
-
#faq_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer
Represents answer from "frequently asked questions".
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantRecord
constructor
A new instance of GoogleCloudDialogflowV2AgentAssistantRecord.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentAssistantRecord
Returns a new instance of GoogleCloudDialogflowV2AgentAssistantRecord.
5658 5659 5660 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#article_suggestion_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer
Represents article answer.
Corresponds to the JSON property articleSuggestionAnswer
5651 5652 5653 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5651 def article_suggestion_answer @article_suggestion_answer end |
#faq_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer
Represents answer from "frequently asked questions".
Corresponds to the JSON property faqAnswer
5656 5657 5658 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5656 def faq_answer @faq_answer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5663 5664 5665 5666 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5663 def update!(**args) @article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer) @faq_answer = args[:faq_answer] if args.key?(:faq_answer) end |