Google Cloud Dialogflow v2beta1 API - Class SessionEntityType (1.0.0-beta12)

public sealed class SessionEntityType : IMessage<SessionEntityType>, IEquatable<SessionEntityType>, IDeepCloneable<SessionEntityType>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 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.

Inheritance

object > SessionEntityType

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SessionEntityType()

public SessionEntityType()

SessionEntityType(SessionEntityType)

public SessionEntityType(SessionEntityType other)
Parameter
NameDescription
otherSessionEntityType

Properties

Entities

public RepeatedField<EntityType.Types.Entity> Entities { get; }

Required. The collection of entities associated with this session entity type.

Property Value
TypeDescription
RepeatedFieldEntityTypeTypesEntity

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
TypeDescription
SessionEntityTypeTypesEntityOverrideMode

Name

public string Name { get; set; }

Required. The unique identifier of this session entity type. Supported formats:

  • projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>
  • projects/<Project ID>/locations/<Location ID>/agent/environments/ <Environment ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>

If Location ID is not specified we assume default 'us' location. 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
TypeDescription
string

SessionEntityTypeName

public SessionEntityTypeName SessionEntityTypeName { get; set; }

SessionEntityTypeName-typed view over the Name resource name property.

Property Value
TypeDescription
SessionEntityTypeName