Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::MatchIntentResponse (v0.12.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.

#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.
Returns
  • (::String) — If natural language text was provided as input, this field will contain a copy of the text.

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

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

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

#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.
Returns
  • (::String) — If an event was provided as input, this field will contain a copy of the event name.

#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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.

#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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/intents/<Intent ID>.
Returns
  • (::String) — 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>.