Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::CreateEntityTypeRequest.
The request message for EntityTypes.CreateEntityType.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#entity_type
def entity_type() -> ::Google::Cloud::Dialogflow::CX::V3::EntityType
- (::Google::Cloud::Dialogflow::CX::V3::EntityType) — Required. The entity type to create.
#entity_type=
def entity_type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::EntityType
- value (::Google::Cloud::Dialogflow::CX::V3::EntityType) — Required. The entity type to create.
- (::Google::Cloud::Dialogflow::CX::V3::EntityType) — Required. The entity type to create.
#language_code
def language_code() -> ::String
-
(::String) — The language of the following fields in
entity_type
:-
EntityType.entities.value
-
EntityType.entities.synonyms
-
EntityType.excluded_phrases.value
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
#language_code=
def language_code=(value) -> ::String
-
value (::String) — The language of the following fields in
entity_type
:-
EntityType.entities.value
-
EntityType.entities.synonyms
-
EntityType.excluded_phrases.value
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
-
(::String) — The language of the following fields in
entity_type
:-
EntityType.entities.value
-
EntityType.entities.synonyms
-
EntityType.excluded_phrases.value
If not specified, the agent's default language is used. Many languages are supported. Note: languages must be enabled in the agent before they can be used.
-
#parent
def parent() -> ::String
-
(::String) — Required. The agent to create a entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The agent to create a entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
-
(::String) — Required. The agent to create a entity type for.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.