Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match
- 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
-
#confidence ⇒ Float
Corresponds to the JSON property
confidence. -
#event ⇒ String
Corresponds to the JSON property
event. -
#intent ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
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) ⇒ GoogleCloudDialogflowCxV3beta1Match
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Match.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Match
Returns a new instance of GoogleCloudDialogflowCxV3beta1Match.
9762 9763 9764 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Corresponds to the JSON property confidence
9735 9736 9737 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9735 def confidence @confidence end |
#event ⇒ String
Corresponds to the JSON property event
9740 9741 9742 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9740 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
Corresponds to the JSON property intent
9745 9746 9747 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9745 def intent @intent end |
#match_type ⇒ String
Corresponds to the JSON property matchType
9750 9751 9752 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9750 def match_type @match_type end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
9755 9756 9757 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9755 def parameters @parameters end |
#resolved_input ⇒ String
Corresponds to the JSON property resolvedInput
9760 9761 9762 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9760 def resolved_input @resolved_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9767 9768 9769 9770 9771 9772 9773 9774 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9767 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 |