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
-
(::Google::Cloud::Dialogflow::CX::V3::Page) — The current Page. Some, not all fields are filled in this message,
including but not limited to
name
anddisplay_name
.
#current_page=
def current_page=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Page
Parameter
-
value (::Google::Cloud::Dialogflow::CX::V3::Page) — The current Page. Some, not all fields are filled in this message,
including but not limited to
name
anddisplay_name
.
Returns
-
(::Google::Cloud::Dialogflow::CX::V3::Page) — The current Page. Some, not all fields are filled in this message,
including but not limited to
name
anddisplay_name
.
#matches
def matches() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Returns
- (::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.
#matches=
def matches=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::Match>
Parameter
- value (::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.
Returns
- (::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
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 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 was provided as input, this field will contain the transcript for the audio.
Returns
- (::String) — If natural language speech audio 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>
.