Class: Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/session.rb
Overview
Response of [MatchIntent][].
Instance Attribute Summary collapse
-
#current_page ⇒ ::Google::Cloud::Dialogflow::CX::V3::Page
The current Page.
-
#matches ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
-
#text ⇒ ::String
If natural language text was provided as input, this field will contain a copy of the text.
-
#transcript ⇒ ::String
If natural language speech audio was provided as input, this field will contain the transcript for the audio.
-
#trigger_event ⇒ ::String
If an event was provided as input, this field will contain a copy of the event name.
-
#trigger_intent ⇒ ::String
If an intent was provided as input, this field will contain a copy of the intent identifier.
Instance Attribute Details
#current_page ⇒ ::Google::Cloud::Dialogflow::CX::V3::Page
Returns The current Page. Some, not all fields are filled in this message,
including but not limited to name and display_name.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#matches ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Returns Match results, if more than one, ordered descendingly by the confidence we have that the particular intent matches the query.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text ⇒ ::String
Returns If natural language text was provided as input, this field will contain a copy of the text.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transcript ⇒ ::String
Returns If natural language speech audio was provided as input, this field will contain the transcript for the audio.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trigger_event ⇒ ::String
Returns If an event was provided as input, this field will contain a copy of the event name.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#trigger_intent ⇒ ::String
Returns If an intent was provided as input, this field will
contain a copy of the intent identifier.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
ID>/intents/<Intent ID>.
746 747 748 749 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 746 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |