Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentResponse
- 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
-
#current_page ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page
Corresponds to the JSON property
currentPage. -
#matches ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match>
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) ⇒ GoogleCloudDialogflowCxV3MatchIntentResponse
constructor
A new instance of GoogleCloudDialogflowCxV3MatchIntentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3MatchIntentResponse
Returns a new instance of GoogleCloudDialogflowCxV3MatchIntentResponse.
5461 5462 5463 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5461 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_page ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page
Corresponds to the JSON property currentPage
5434 5435 5436 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5434 def current_page @current_page end |
#matches ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match>
Corresponds to the JSON property matches
5439 5440 5441 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5439 def matches @matches end |
#text ⇒ String
Corresponds to the JSON property text
5444 5445 5446 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5444 def text @text end |
#transcript ⇒ String
Corresponds to the JSON property transcript
5449 5450 5451 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5449 def transcript @transcript end |
#trigger_event ⇒ String
Corresponds to the JSON property triggerEvent
5454 5455 5456 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5454 def trigger_event @trigger_event end |
#trigger_intent ⇒ String
Corresponds to the JSON property triggerIntent
5459 5460 5461 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5459 def trigger_intent @trigger_intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5466 5467 5468 5469 5470 5471 5472 5473 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5466 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 |