Struct google_dialogflow2_beta1::EntityType
[−]
[src]
pub struct EntityType { pub auto_expansion_mode: Option<String>, pub entities: Option<Vec<EntityTypeEntity>>, pub kind: Option<String>, pub display_name: Option<String>, pub name: Option<String>, }
Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- agent entity types get projects (response)
- agent entity types patch projects (request|response)
- agent entity types create projects (request|response)
Fields
auto_expansion_mode: Option<String>
Optional. Indicates whether the entity type can be automatically expanded.
entities: Option<Vec<EntityTypeEntity>>
Optional. The collection of entities associated with the entity type.
kind: Option<String>
Required. Indicates the kind of entity type.
display_name: Option<String>
Required. The name of the entity.
name: Option<String>
Required for all methods except create
(create
populates the name
automatically.
The unique identifier of the entity type. Format:
projects/<Project ID>/agent/entityTypes/<Entity Type ID>
.
Trait Implementations
impl Default for EntityType
[src]
fn default() -> EntityType
[src]
Returns the "default value" for a type. Read more
impl Clone for EntityType
[src]
fn clone(&self) -> EntityType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more