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
Instance Attribute Summary collapse
-
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#generative_fallback ⇒ Hash<String,Object>
Corresponds to the JSON property
generativeFallback. -
#intent_id ⇒ String
Corresponds to the JSON property
intentId. -
#score ⇒ Float
Corresponds to the JSON property
score.
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.
3662 3663 3664 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3662 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Corresponds to the JSON property displayName
3645 3646 3647 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3645 def display_name @display_name end |
#generative_fallback ⇒ Hash<String,Object>
Corresponds to the JSON property generativeFallback
3650 3651 3652 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3650 def generative_fallback @generative_fallback end |
#intent_id ⇒ String
Corresponds to the JSON property intentId
3655 3656 3657 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3655 def intent_id @intent_id end |
#score ⇒ Float
Corresponds to the JSON property score
3660 3661 3662 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3660 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3667 3668 3669 3670 3671 3672 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3667 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 |