Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
- 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 ⇒ String
Corresponds to the JSON property
answer. -
#faq_question ⇒ String
Corresponds to the JSON property
faqQuestion. -
#match_confidence ⇒ Float
Corresponds to the JSON property
matchConfidence. -
#match_confidence_level ⇒ String
Corresponds to the JSON property
matchConfidenceLevel. -
#source ⇒ String
Corresponds to the JSON property
source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer.
17141 17142 17143 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer ⇒ String
Corresponds to the JSON property answer
17119 17120 17121 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17119 def answer @answer end |
#faq_question ⇒ String
Corresponds to the JSON property faqQuestion
17124 17125 17126 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17124 def faq_question @faq_question end |
#match_confidence ⇒ Float
Corresponds to the JSON property matchConfidence
17129 17130 17131 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17129 def match_confidence @match_confidence end |
#match_confidence_level ⇒ String
Corresponds to the JSON property matchConfidenceLevel
17134 17135 17136 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17134 def match_confidence_level @match_confidence_level end |
#source ⇒ String
Corresponds to the JSON property source
17139 17140 17141 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17139 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17146 17147 17148 17149 17150 17151 17152 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17146 def update!(**args) @answer = args[:answer] if args.key?(:answer) @faq_question = args[:faq_question] if args.key?(:faq_question) @match_confidence = args[:match_confidence] if args.key?(:match_confidence) @match_confidence_level = args[:match_confidence_level] if args.key?(:match_confidence_level) @source = args[:source] if args.key?(:source) end |