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][google.cloud.dialogflow.cx.v3.AudioInput] 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
.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 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.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 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.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#transcript ⇒ ::String
Returns If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 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.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>
.
1200 1201 1202 1203 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1200 class MatchIntentResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |