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.
5374 5375 5376 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Corresponds to the JSON property confidence
5347 5348 5349 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5347 def confidence @confidence end |
#event ⇒ String
Corresponds to the JSON property event
5352 5353 5354 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5352 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Intent
Corresponds to the JSON property intent
5357 5358 5359 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5357 def intent @intent end |
#match_type ⇒ String
Corresponds to the JSON property matchType
5362 5363 5364 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5362 def match_type @match_type end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
5367 5368 5369 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5367 def parameters @parameters end |
#resolved_input ⇒ String
Corresponds to the JSON property resolvedInput
5372 5373 5374 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5372 def resolved_input @resolved_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5379 5380 5381 5382 5383 5384 5385 5386 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5379 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 |