Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ListIntentsRequest (v0.31.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ListIntentsRequest.

The request message for Intents.ListIntents.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#intent_view

def intent_view() -> ::Google::Cloud::Dialogflow::V2::IntentView
Returns

#intent_view=

def intent_view=(value) -> ::Google::Cloud::Dialogflow::V2::IntentView
Parameter
Returns

#language_code

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

#language_code=

def language_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

def page_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=

def page_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

def page_token() -> ::String
Returns
  • (::String) — Optional. The next_page_token value returned from a previous list request.

#page_token=

def page_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

def parent() -> ::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=

def parent=(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.