(::String) — Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
#language_code=
deflanguage_code=(value)->::String
Parameter
value (::String) — Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
Returns
(::String) — Optional. The language used to access language-specific data.
If not specified, the agent's default language is used.
For more information, see
Multilingual intent and entity
data.
#page_size
defpage_size()->::Integer
Returns
(::Integer) — Optional. The maximum number of items to return in a single page. By
default 100 and at most 1000.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — Optional. The maximum number of items to return in a single page. By
default 100 and at most 1000.
Returns
(::Integer) — Optional. The maximum number of items to return in a single page. By
default 100 and at most 1000.
#page_token
defpage_token()->::String
Returns
(::String) — Optional. The next_page_token value returned from a previous list request.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — Optional. The next_page_token value returned from a previous list request.
Returns
(::String) — Optional. The next_page_token value returned from a previous list request.
#parent
defparent()->::String
Returns
(::String) — Required. The agent to list all intents from.
Format: projects/<Project ID>/agent or projects/<Project
ID>/locations/<Location ID>/agent.
Alternatively, you can specify the environment to list intents for.
Format: projects/<Project ID>/agent/environments/<Environment ID>
or projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID>.
Note: training phrases of the intents will not be returned for non-draft
environment.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The agent to list all intents from.
Format: projects/<Project ID>/agent or projects/<Project
ID>/locations/<Location ID>/agent.
Alternatively, you can specify the environment to list intents for.
Format: projects/<Project ID>/agent/environments/<Environment ID>
or projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID>.
Note: training phrases of the intents will not be returned for non-draft
environment.
Returns
(::String) — Required. The agent to list all intents from.
Format: projects/<Project ID>/agent or projects/<Project
ID>/locations/<Location ID>/agent.
Alternatively, you can specify the environment to list intents for.
Format: projects/<Project ID>/agent/environments/<Environment ID>
or projects/<Project ID>/locations/<Location
ID>/agent/environments/<Environment ID>.
Note: training phrases of the intents will not be returned for non-draft
environment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ListIntentsRequest (v1.10.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.1 (latest)](/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.10.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.10.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.9.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.9.1/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.8.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.8.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.7.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.7.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.6.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.6.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.5.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.5.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.4.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.4.1/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.3.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.2.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.1.1](/ruby/docs/reference/google-cloud-dialogflow-v2/1.1.1/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [1.0.0](/ruby/docs/reference/google-cloud-dialogflow-v2/1.0.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.34.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.34.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.33.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.33.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.32.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.32.2/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.31.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.31.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.30.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.30.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.29.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.29.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.28.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.28.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.27.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.27.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.26.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.26.2/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.25.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.24.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.24.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.23.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.22.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.21.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.20.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.19.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.18.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.17.1](/ruby/docs/reference/google-cloud-dialogflow-v2/0.17.1/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.16.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.15.2](/ruby/docs/reference/google-cloud-dialogflow-v2/0.15.2/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.14.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.13.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-dialogflow-v2/0.12.0/Google-Cloud-Dialogflow-V2-ListIntentsRequest) \nReference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ListIntentsRequest.\n\nThe request message for\n[Intents.ListIntents](/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-Intents-Client#Google__Cloud__Dialogflow__V2__Intents__Client_list_intents_instance_ \"Google::Cloud::Dialogflow::V2::Intents::Client#list_intents (method)\"). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #intent_view\n\n def intent_view() -\u003e ::Google::Cloud::Dialogflow::V2::IntentView\n\n**Returns**\n\n- ([::Google::Cloud::Dialogflow::V2::IntentView](./Google-Cloud-Dialogflow-V2-IntentView)) --- Optional. The resource view to apply to the returned intent.\n\n### #intent_view=\n\n def intent_view=(value) -\u003e ::Google::Cloud::Dialogflow::V2::IntentView\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Dialogflow::V2::IntentView](./Google-Cloud-Dialogflow-V2-IntentView)) --- Optional. The resource view to apply to the returned intent. \n**Returns**\n\n- ([::Google::Cloud::Dialogflow::V2::IntentView](./Google-Cloud-Dialogflow-V2-IntentView)) --- Optional. The resource view to apply to the returned intent.\n\n### #language_code\n\n def language_code() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity\n data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).\n\n### #language_code=\n\n def language_code=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity\ndata](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). \n**Returns**\n\n- (::String) --- Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity\n data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Optional. The maximum number of items to return in a single page. By default 100 and at most 1000. \n**Returns**\n\n- (::Integer) --- Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The next_page_token value returned from a previous list request.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The next_page_token value returned from a previous list request. \n**Returns**\n\n- (::String) --- Optional. The next_page_token value returned from a previous list request.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The agent to list all intents from. Format: `projects/\u003cProject ID\u003e/agent` or `projects/\u003cProject\n ID\u003e/locations/\u003cLocation ID\u003e/agent`.\n\n\n Alternatively, you can specify the environment to list intents for.\n Format: `projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e`\n or `projects/\u003cProject ID\u003e/locations/\u003cLocation\n ID\u003e/agent/environments/\u003cEnvironment ID\u003e`.\n Note: training phrases of the intents will not be returned for non-draft\n environment.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The agent to list all intents from. Format: `projects/\u003cProject ID\u003e/agent` or `projects/\u003cProject\n ID\u003e/locations/\u003cLocation ID\u003e/agent`.\n\n\n Alternatively, you can specify the environment to list intents for.\n Format: `projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e`\n or `projects/\u003cProject ID\u003e/locations/\u003cLocation\n ID\u003e/agent/environments/\u003cEnvironment ID\u003e`.\n Note: training phrases of the intents will not be returned for non-draft\nenvironment. \n**Returns**\n\n- (::String) --- Required. The agent to list all intents from. Format: `projects/\u003cProject ID\u003e/agent` or `projects/\u003cProject\n ID\u003e/locations/\u003cLocation ID\u003e/agent`.\n\n\n Alternatively, you can specify the environment to list intents for.\n Format: `projects/\u003cProject ID\u003e/agent/environments/\u003cEnvironment ID\u003e`\n or `projects/\u003cProject ID\u003e/locations/\u003cLocation\n ID\u003e/agent/environments/\u003cEnvironment ID\u003e`.\n Note: training phrases of the intents will not be returned for non-draft\n environment."]]