public sealed class SessionEntityType : IMessage<SessionEntityType>, IEquatable<SessionEntityType>, IDeepCloneable<SessionEntityType>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SessionEntityType.
A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes.
For more information, see the session entity guide.
Implements
IMessage<SessionEntityType>, IEquatable<SessionEntityType>, IDeepCloneable<SessionEntityType>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SessionEntityType()
public SessionEntityType()
SessionEntityType(SessionEntityType)
public SessionEntityType(SessionEntityType other)
Parameter | |
---|---|
Name | Description |
other | SessionEntityType |
Properties
Entities
public RepeatedField<EntityType.Types.Entity> Entities { get; }
Required. The collection of entities associated with this session entity type.
Property Value | |
---|---|
Type | Description |
RepeatedField<EntityType.Types.Entity> |
EntityOverrideMode
public SessionEntityType.Types.EntityOverrideMode EntityOverrideMode { get; set; }
Required. Indicates whether the additional data should override or supplement the custom entity type definition.
Property Value | |
---|---|
Type | Description |
SessionEntityType.Types.EntityOverrideMode |
Name
public string Name { get; set; }
Required. The unique identifier of this session entity type. Format:
projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
Display Name>
, or projects/<Project ID>/agent/environments/<Environment
ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
Name>
.
If Environment ID
is not specified, we assume default 'draft'
environment. If User ID
is not specified, we assume default '-' user.
<Entity Type Display Name>
must be the display name of an existing entity
type in the same agent that will be overridden or supplemented.
Property Value | |
---|---|
Type | Description |
String |
SessionEntityTypeName
public SessionEntityTypeName SessionEntityTypeName { get; set; }
SessionEntityTypeName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SessionEntityTypeName |