public sealed class CreateEntityTypeRequest : IMessage<CreateEntityTypeRequest>, IEquatable<CreateEntityTypeRequest>, IDeepCloneable<CreateEntityTypeRequest>, IBufferMessage, IMessage
The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType].
Inheritance
System.Object > CreateEntityTypeRequestImplements
Google.Protobuf.IMessage<CreateEntityTypeRequest>, System.IEquatable<CreateEntityTypeRequest>, Google.Protobuf.IDeepCloneable<CreateEntityTypeRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
CreateEntityTypeRequest()
public CreateEntityTypeRequest()
CreateEntityTypeRequest(CreateEntityTypeRequest)
public CreateEntityTypeRequest(CreateEntityTypeRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateEntityTypeRequest |
Properties
EntityType
public EntityType EntityType { get; set; }
Required. The entity type to create.
Property Value | |
---|---|
Type | Description |
EntityType |
LanguageCode
public string LanguageCode { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.String |
Parent
public string Parent { get; set; }
Required. The agent to create a entity type for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>
.
Property Value | |
---|---|
Type | Description |
System.String |
ParentAsAgentName
public AgentName ParentAsAgentName { get; set; }
Property Value | |
---|---|
Type | Description |
AgentName |