Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
- 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
Instance Attribute Summary collapse
-
#answer_text ⇒ String
Corresponds to the JSON property
answerText. -
#event_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource
Corresponds to the JSON property
eventSource. -
#faq_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
Corresponds to the JSON property
faqSource. -
#generative_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property
generativeSource. -
#playbook_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property
playbookSource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer.
13140 13141 13142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_text ⇒ String
Corresponds to the JSON property answerText
13118 13119 13120 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13118 def answer_text @answer_text end |
#event_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerEventSource
Corresponds to the JSON property eventSource
13123 13124 13125 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13123 def event_source @event_source end |
#faq_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
Corresponds to the JSON property faqSource
13128 13129 13130 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13128 def faq_source @faq_source end |
#generative_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property generativeSource
13133 13134 13135 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13133 def generative_source @generative_source end |
#playbook_source ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
Corresponds to the JSON property playbookSource
13138 13139 13140 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13138 def playbook_source @playbook_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13145 13146 13147 13148 13149 13150 13151 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13145 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 |