Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1MatchIntentResponse
- 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
-
#current_page ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page
Corresponds to the JSON property
currentPage. -
#matches ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match>
Corresponds to the JSON property
matches. -
#text ⇒ String
Corresponds to the JSON property
text. -
#transcript ⇒ String
Corresponds to the JSON property
transcript. -
#trigger_event ⇒ String
Corresponds to the JSON property
triggerEvent. -
#trigger_intent ⇒ String
Corresponds to the JSON property
triggerIntent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentResponse
constructor
A new instance of GoogleCloudDialogflowCxV3beta1MatchIntentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1MatchIntentResponse
Returns a new instance of GoogleCloudDialogflowCxV3beta1MatchIntentResponse.
9843 9844 9845 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_page ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page
Corresponds to the JSON property currentPage
9816 9817 9818 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9816 def current_page @current_page end |
#matches ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Match>
Corresponds to the JSON property matches
9821 9822 9823 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9821 def matches @matches end |
#text ⇒ String
Corresponds to the JSON property text
9826 9827 9828 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9826 def text @text end |
#transcript ⇒ String
Corresponds to the JSON property transcript
9831 9832 9833 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9831 def transcript @transcript end |
#trigger_event ⇒ String
Corresponds to the JSON property triggerEvent
9836 9837 9838 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9836 def trigger_event @trigger_event end |
#trigger_intent ⇒ String
Corresponds to the JSON property triggerIntent
9841 9842 9843 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9841 def trigger_intent @trigger_intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9848 9849 9850 9851 9852 9853 9854 9855 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9848 def update!(**args) @current_page = args[:current_page] if args.key?(:current_page) @matches = args[:matches] if args.key?(:matches) @text = args[:text] if args.key?(:text) @transcript = args[:transcript] if args.key?(:transcript) @trigger_event = args[:trigger_event] if args.key?(:trigger_event) @trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent) end |