Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class EntityOverrideMode.
The types of modifications for a session entity type.
Protobuf type google.cloud.dialogflow.v2.SessionEntityType.EntityOverrideMode
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
ENTITY_OVERRIDE_MODE_UNSPECIFIED
Value: 0
Not specified. This value should be never used.
Generated from protobuf enum ENTITY_OVERRIDE_MODE_UNSPECIFIED = 0;
ENTITY_OVERRIDE_MODE_OVERRIDE
Value: 1
The collection of session entities overrides the collection of entities in the corresponding custom entity type.
Generated from protobuf enum ENTITY_OVERRIDE_MODE_OVERRIDE = 1;
ENTITY_OVERRIDE_MODE_SUPPLEMENT
Value: 2
The collection of session entities extends the collection of entities in the corresponding custom entity type.
Note: Even in this override mode calls to ListSessionEntityTypes
,
GetSessionEntityType
, CreateSessionEntityType
and
UpdateSessionEntityType
only return the additional entities added in
this session entity type. If you want to get the supplemented list,
please call
EntityTypes.GetEntityType
on the custom entity type and merge.
Generated from protobuf enum ENTITY_OVERRIDE_MODE_SUPPLEMENT = 2;