Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Stores the matched intent, which is the result of the intent match action.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the matched intent.
-
#generative_fallback ⇒ Hash<String,Object>
The generative fallback response of the matched intent.
-
#intent_id ⇒ String
The ID of the matched intent.
-
#score ⇒ Float
The score of the matched intent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent
Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionIntentMatchMatchedIntent.
4251 4252 4253 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the matched intent.
Corresponds to the JSON property displayName
4234 4235 4236 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4234 def display_name @display_name end |
#generative_fallback ⇒ Hash<String,Object>
The generative fallback response of the matched intent.
Corresponds to the JSON property generativeFallback
4239 4240 4241 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4239 def generative_fallback @generative_fallback end |
#intent_id ⇒ String
The ID of the matched intent.
Corresponds to the JSON property intentId
4244 4245 4246 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4244 def intent_id @intent_id end |
#score ⇒ Float
The score of the matched intent.
Corresponds to the JSON property score
4249 4250 4251 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4249 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4256 4257 4258 4259 4260 4261 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4256 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @generative_fallback = args[:generative_fallback] if args.key?(:generative_fallback) @intent_id = args[:intent_id] if args.key?(:intent_id) @score = args[:score] if args.key?(:score) end |