Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Represents a Knowledge Assist answer.
Instance Attribute Summary collapse
-
#answer_record ⇒ String
The name of the answer record.
-
#suggested_query ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
Represents a suggested query.
-
#suggested_query_answer ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
Represents an answer from Knowledge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswer
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswer
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswer.
14931 14932 14933 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
The name of the answer record. Format: projects//locations//answer Records/
.
Corresponds to the JSON property answerRecord
14918 14919 14920 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14918 def answer_record @answer_record end |
#suggested_query ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
Represents a suggested query.
Corresponds to the JSON property suggestedQuery
14923 14924 14925 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14923 def suggested_query @suggested_query end |
#suggested_query_answer ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
Represents an answer from Knowledge. Currently supports FAQ and Generative
answers.
Corresponds to the JSON property suggestedQueryAnswer
14929 14930 14931 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14929 def suggested_query_answer @suggested_query_answer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14936 14937 14938 14939 14940 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14936 def update!(**args) @answer_record = args[:answer_record] if args.key?(:answer_record) @suggested_query = args[:suggested_query] if args.key?(:suggested_query) @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer) end |