Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse (v1.4.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse.

Response of [MatchIntent][].

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#current_page

def current_page() -> ::Google::Cloud::Dialogflow::CX::V3::Page
Returns

#current_page=

def current_page=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Page
Parameter
Returns

#matches

def matches() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Returns

#matches=

def matches=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Parameter
Returns

#text

def text() -> ::String
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.

#text=

def text=(value) -> ::String
Parameter
  • value (::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.

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.

#transcript

def transcript() -> ::String
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.

#transcript=

def transcript=(value) -> ::String
Parameter
  • value (::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.

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.

#trigger_event

def trigger_event() -> ::String
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.

#trigger_event=

def trigger_event=(value) -> ::String
Parameter
  • value (::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.

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.

#trigger_intent

def trigger_intent() -> ::String
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.

#trigger_intent=

def trigger_intent=(value) -> ::String
Parameter
  • value (::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.

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.