Class: Google::Cloud::Dialogflow::V2::CreateIntentRequest

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::CreateIntent.

Instance Attribute Summary collapse

Instance Attribute Details

#intentGoogle::Cloud::Dialogflow::V2::Intent

Returns Required. The intent to create.

Returns:



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

class CreateIntentRequest; end

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

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

Returns:



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

class CreateIntentRequest; end

#language_codeString

Returns Optional. The language of training phrases, parameters and rich messages defined in +intent+. 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 of training phrases, parameters and rich messages defined in +intent+. 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.



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

class CreateIntentRequest; end

#parentString

Returns Required. The agent to create a intent for. Format: +projects//agent+.

Returns:

  • (String)

    Required. The agent to create a intent for. Format: +projects//agent+.



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

class CreateIntentRequest; end