Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
- 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
-
#question ⇒ String
Corresponds to the JSON property
question.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource.
20540 20541 20542 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20540 def initialize(**args) update!(**args) end |
Instance Attribute Details
#question ⇒ String
Corresponds to the JSON property question
20538 20539 20540 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20538 def question @question end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20545 20546 20547 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20545 def update!(**args) @question = args[:question] if args.key?(:question) end |