3.2.0 (latest) 3.1.0 3.0.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Dialogflow v3 API class SessionEntityType.

Session entity types are referred to as **User** entity types and are
entities that are built for an individual user such as favorites,
preferences, playlists, and so on.

You can redefine a session entity type at the session level to extend or
replace a \[custom entity type\]\[google.cloud.dialogflow.cx.v3.EntityType\] at
the user session level (we refer to the entity types defined at the agent
level as "custom entity types").

Note: session entity types apply to all queries, regardless of the language.

For more information about entity types, see the [Dialogflow
documentation](https://cloud.google.com/dialogflow/docs/entities-overview).

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> SessionEntityType

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SessionEntityType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionEntityType.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SessionEntityType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionEntityType.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SessionEntityType](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionEntityType.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dialogflow.Cx.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.md.txt)

## Assembly

Google.Cloud.Dialogflow.Cx.V3.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 to override or supplement the custom
entity type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** ||
|---|---|
| **Type** | **Description** |
| `SessionEntityTypeTypesEntityOverrideMode` |   |

### Name

    public string Name { get; set; }

Required. The unique identifier of the session entity type.
Format:
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`
or
`projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/environments/<EnvironmentID>/sessions/<SessionID>/entityTypes/<EntityTypeID>`.
If `Environment ID` is not specified, we assume default 'draft'
environment.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SessionEntityTypeName

    public SessionEntityTypeName SessionEntityTypeName { get; set; }

[SessionEntityTypeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionEntityTypeName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dialogflow.Cx.V3/latest/Google.Cloud.Dialogflow.Cx.V3.SessionEntityType.md.txt#Google_Cloud_Dialogflow_Cx_V3_SessionEntityType_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SessionEntityTypeName` |   |