Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#answer_text ⇒ String
Corresponds to the JSON property
answerText. -
#event_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource
Corresponds to the JSON property
eventSource. -
#faq_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
Corresponds to the JSON property
faqSource. -
#generative_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property
generativeSource. -
#playbook_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property
playbookSource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer.
17221 17222 17223 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_text ⇒ String
Corresponds to the JSON property answerText
17199 17200 17201 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17199 def answer_text @answer_text end |
#event_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerEventSource
Corresponds to the JSON property eventSource
17204 17205 17206 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17204 def event_source @event_source end |
#faq_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
Corresponds to the JSON property faqSource
17209 17210 17211 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17209 def faq_source @faq_source end |
#generative_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property generativeSource
17214 17215 17216 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17214 def generative_source @generative_source end |
#playbook_source ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property playbookSource
17219 17220 17221 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17219 def playbook_source @playbook_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17226 17227 17228 17229 17230 17231 17232 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17226 def update!(**args) @answer_text = args[:answer_text] if args.key?(:answer_text) @event_source = args[:event_source] if args.key?(:event_source) @faq_source = args[:faq_source] if args.key?(:faq_source) @generative_source = args[:generative_source] if args.key?(:generative_source) @playbook_source = args[:playbook_source] if args.key?(:playbook_source) end |