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

1.12.1 (latest) 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.26.0 0.25.0 0.24.2 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.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**

- ([::Google::Cloud::Dialogflow::CX::V3::Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The current [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)"). Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.

### #current_page=

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

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::CX::V3::Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The current [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)"). Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The current [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)"). Some, not all fields are filled in this message, including but not limited to `name` and `display_name`.

### #matches

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

**Returns**

- (::Array\<[::Google::Cloud::Dialogflow::CX::V3::Match](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-TextInput "Google::Cloud::Dialogflow::CX::V3::TextInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-TextInput "Google::Cloud::Dialogflow::CX::V3::TextInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-TextInput "Google::Cloud::Dialogflow::CX::V3::TextInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-EventInput "Google::Cloud::Dialogflow::CX::V3::EventInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-EventInput "Google::Cloud::Dialogflow::CX::V3::EventInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-EventInput "Google::Cloud::Dialogflow::CX::V3::EventInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-IntentInput "Google::Cloud::Dialogflow::CX::V3::IntentInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-IntentInput "Google::Cloud::Dialogflow::CX::V3::IntentInput (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-IntentInput "Google::Cloud::Dialogflow::CX::V3::IntentInput (class)") 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.