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.
9750 9751 9752 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9750 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
Corresponds to the JSON property confidence
9723 9724 9725 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9723 def confidence @confidence end |
#event ⇒ String
Corresponds to the JSON property event
9728 9729 9730 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9728 def event @event end |
#intent ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Intent
Corresponds to the JSON property intent
9733 9734 9735 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9733 def intent @intent end |
#match_type ⇒ String
Corresponds to the JSON property matchType
9738 9739 9740 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9738 def match_type @match_type end |
#parameters ⇒ Hash<String,Object>
Corresponds to the JSON property parameters
9743 9744 9745 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9743 def parameters @parameters end |
#resolved_input ⇒ String
Corresponds to the JSON property resolvedInput
9748 9749 9750 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9748 def resolved_input @resolved_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9755 9756 9757 9758 9759 9760 9761 9762 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9755 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 |