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.
-
#dialogflow_assist_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer
Represents a Dialogflow assist answer.
-
#faq_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer
Represents answer from "frequently asked questions".
-
#generator_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Suggestion generated using a Generator.
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.
8227 8228 8229 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8227 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
8210 8211 8212 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8210 def article_suggestion_answer @article_suggestion_answer end |
#dialogflow_assist_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer
Represents a Dialogflow assist answer.
Corresponds to the JSON property dialogflowAssistAnswer
8215 8216 8217 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8215 def dialogflow_assist_answer @dialogflow_assist_answer end |
#faq_answer ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer
Represents answer from "frequently asked questions".
Corresponds to the JSON property faqAnswer
8220 8221 8222 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8220 def faq_answer @faq_answer end |
#generator_suggestion ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion
Suggestion generated using a Generator.
Corresponds to the JSON property generatorSuggestion
8225 8226 8227 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8225 def generator_suggestion @generator_suggestion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8232 8233 8234 8235 8236 8237 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8232 def update!(**args) @article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer) @dialogflow_assist_answer = args[:dialogflow_assist_answer] if args.key?(:dialogflow_assist_answer) @faq_answer = args[:faq_answer] if args.key?(:faq_answer) @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion) end |