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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/intent.rb

Overview

The request message for Intents.CreateIntent.

Instance Attribute Summary collapse

Instance Attribute Details

#intent::Google::Cloud::Dialogflow::V2::Intent

Returns Required. The intent to create.

Returns:



936
937
938
939
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 936

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#intent_view::Google::Cloud::Dialogflow::V2::IntentView

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

Returns:



936
937
938
939
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 936

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

Returns 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.



936
937
938
939
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 936

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The agent to create a intent for. Format: projects/<Project ID>/agent.

Returns:

  • (::String)

    Required. The agent to create a intent for. Format: projects/<Project ID>/agent.



936
937
938
939
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 936

class CreateIntentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end