Class: Google::Cloud::Dialogflow::V2::CreateEntityTypeRequest

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

Overview

The request message for EntityTypes.CreateEntityType.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_type::Google::Cloud::Dialogflow::V2::EntityType

Returns Required. The entity type to create.

Returns:



200
201
202
203
# File 'proto_docs/google/cloud/dialogflow/v2/entity_type.rb', line 200

class CreateEntityTypeRequest
  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.



200
201
202
203
# File 'proto_docs/google/cloud/dialogflow/v2/entity_type.rb', line 200

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

#parent::String

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

Returns:

  • (::String)

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



200
201
202
203
# File 'proto_docs/google/cloud/dialogflow/v2/entity_type.rb', line 200

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