Class: Google::Cloud::Dialogflow::V2::GetIntentRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb

Overview

The request message for Intents::GetIntent.

Instance Attribute Summary collapse

Instance Attribute Details

#intent_viewGoogle::Cloud::Dialogflow::V2::IntentView

Returns Optional. The resource view to apply to the returned intent.

Returns:



591
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 591

class GetIntentRequest; end

#language_codeString

Returns Optional. The language to retrieve training phrases, parameters and rich messages for. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.

Returns:

  • (String)

    Optional. The language to retrieve training phrases, parameters and rich messages for. If not specified, the agent's default language is used. More than a dozen languages are supported. Note: languages must be enabled in the agent, before they can be used.



591
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 591

class GetIntentRequest; end

#nameString

Returns Required. The name of the intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.

Returns:

  • (String)

    Required. The name of the intent. Format: projects/<Project ID>/agent/intents/<Intent ID>.



591
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 591

class GetIntentRequest; end