[−][src]Struct google_dialogflow2::GoogleCloudDialogflowV2Agent
Represents a conversational agent.
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 projects (request|response)
- get agent projects (response)
Fields
avatar_uri: Option<String>
Optional. The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
display_name: Option<String>
Required. The name of this agent.
description: Option<String>
Optional. The description of this agent. The maximum length is 500 characters. If exceeded, the request is rejected.
parent: Option<String>
Required. The project of this agent.
Format: projects/<Project ID>
.
default_language_code: Option<String>
Required. The default language of the agent as a language tag. See
Language
Support
for a list of the currently supported language codes. This field cannot be
set by the Update
method.
api_version: Option<String>
Optional. API version displayed in Dialogflow console. If not specified, V2 API is assumed. Clients are free to query different service endpoints for different API versions. However, bots connectors and webhook calls will follow the specified API version.
enable_logging: Option<bool>
Optional. Determines whether this agent should log conversation queries.
match_mode: Option<String>
Optional. Determines how intents are detected from user queries.
supported_language_codes: Option<Vec<String>>
Optional. The list of all languages supported by this agent (except for the
default_language_code
).
tier: Option<String>
Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
time_zone: Option<String>
Required. The time zone of this agent from the time zone database, e.g., America/New_York, Europe/Paris.
classification_threshold: Option<f32>
Optional. To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a fallback intent will be triggered or, if there are no fallback intents defined, no intent will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
Trait Implementations
impl ResponseResult for GoogleCloudDialogflowV2Agent
[src]
impl RequestValue for GoogleCloudDialogflowV2Agent
[src]
impl Default for GoogleCloudDialogflowV2Agent
[src]
impl Clone for GoogleCloudDialogflowV2Agent
[src]
fn clone(&self) -> GoogleCloudDialogflowV2Agent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2Agent
[src]
impl Serialize for GoogleCloudDialogflowV2Agent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2Agent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GoogleCloudDialogflowV2Agent
impl Unpin for GoogleCloudDialogflowV2Agent
impl Sync for GoogleCloudDialogflowV2Agent
impl UnwindSafe for GoogleCloudDialogflowV2Agent
impl RefUnwindSafe for GoogleCloudDialogflowV2Agent
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,