Class: Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse

Inherits:
Object
  • Object
show all
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

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.

Returns:



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

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.

Returns:



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

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.

Note: The following fields are mutually exclusive: text, trigger_intent, transcript, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    If natural language text was provided as input, this field will contain a copy of the text.

    Note: The following fields are mutually exclusive: text, trigger_intent, transcript, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

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.

Note: The following fields are mutually exclusive: transcript, text, trigger_intent, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::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.

    Note: The following fields are mutually exclusive: transcript, text, trigger_intent, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

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.

Note: The following fields are mutually exclusive: trigger_event, text, trigger_intent, transcript. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    If an event was provided as input, this field will contain a copy of the event name.

    Note: The following fields are mutually exclusive: trigger_event, text, trigger_intent, transcript. If a field in that set is populated, all other fields in the set will automatically be cleared.



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

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>.

Note: The following fields are mutually exclusive: trigger_intent, text, transcript, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::String)

    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>.

    Note: The following fields are mutually exclusive: trigger_intent, text, transcript, trigger_event. If a field in that set is populated, all other fields in the set will automatically be cleared.



1235
1236
1237
1238
# File 'proto_docs/google/cloud/dialogflow/cx/v3/session.rb', line 1235

class MatchIntentResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end