Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Float
Corresponds to the JSON property
confidence. -
#event ⇒ String
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property
intent. -
#match_type ⇒ String
Corresponds to the JSON property
matchType. -
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property
parameters. -
#resolved_input ⇒ String
Corresponds to the JSON property
resolvedInput.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Match
constructor
A new instance of GoogleCloudDialogflowCxV3Match.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Match
Returns a new instance of GoogleCloudDialogflowCxV3Match.
5380 5381 5382 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Corresponds to the JSON property confidence
5353 5354 5355 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5353 def confidence @confidence end |
#event ⇒ String
Corresponds to the JSON property event
5358 5359 5360 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5358 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property intent
5363 5364 5365 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5363 def intent @intent end |
#match_type ⇒ String
Corresponds to the JSON property matchType
5368 5369 5370 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5368 def match_type @match_type end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
5373 5374 5375 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5373 def parameters @parameters end |
#resolved_input ⇒ String
Corresponds to the JSON property resolvedInput
5378 5379 5380 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5378 def resolved_input @resolved_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5385 5386 5387 5388 5389 5390 5391 5392 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5385 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @event = args[:event] if args.key?(:event) @intent = args[:intent] if args.key?(:intent) @match_type = args[:match_type] if args.key?(:match_type) @parameters = args[:parameters] if args.key?(:parameters) @resolved_input = args[:resolved_input] if args.key?(:resolved_input) end |