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:



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.

Returns:



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.

Returns:

  • (::String)

    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.

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.



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.

Returns:

  • (::String)

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

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



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