pub struct GoogleCloudDialogflowCxV3SessionEntityType {
pub entities: Option<Vec<GoogleCloudDialogflowCxV3EntityTypeEntity>>,
pub entity_override_mode: Option<String>,
pub name: Option<String>,
}
Expand description
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 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.
§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).
- locations agents environments sessions entity types create projects (request|response)
- locations agents environments sessions entity types get projects (response)
- locations agents environments sessions entity types patch projects (request|response)
- locations agents sessions entity types create projects (request|response)
- locations agents sessions entity types get projects (response)
- locations agents sessions entity types patch projects (request|response)
Fields§
§entities: Option<Vec<GoogleCloudDialogflowCxV3EntityTypeEntity>>
Required. The collection of entities to override or supplement the custom entity type.
entity_override_mode: Option<String>
Required. Indicates whether the additional data should override or supplement the custom entity type definition.
name: Option<String>
Required. The unique identifier of the session entity type. Format: projects//locations//agents//sessions//entityTypes/
or projects//locations//agents//environments//sessions//entityTypes/
. If Environment ID
is not specified, we assume default ‘draft’ environment.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3SessionEntityType
impl Clone for GoogleCloudDialogflowCxV3SessionEntityType
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3SessionEntityType
fn clone(&self) -> GoogleCloudDialogflowCxV3SessionEntityType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowCxV3SessionEntityType
impl Default for GoogleCloudDialogflowCxV3SessionEntityType
Source§fn default() -> GoogleCloudDialogflowCxV3SessionEntityType
fn default() -> GoogleCloudDialogflowCxV3SessionEntityType
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3SessionEntityType
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3SessionEntityType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowCxV3SessionEntityType
impl ResponseResult for GoogleCloudDialogflowCxV3SessionEntityType
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3SessionEntityType
impl RefUnwindSafe for GoogleCloudDialogflowCxV3SessionEntityType
impl Send for GoogleCloudDialogflowCxV3SessionEntityType
impl Sync for GoogleCloudDialogflowCxV3SessionEntityType
impl Unpin for GoogleCloudDialogflowCxV3SessionEntityType
impl UnwindSafe for GoogleCloudDialogflowCxV3SessionEntityType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more