Struct gapi_grpc::google::cloud::dialogflow::cx::v3::Agent[][src]

pub struct Agent {
    pub name: String,
    pub display_name: String,
    pub default_language_code: String,
    pub supported_language_codes: Vec<String>,
    pub time_zone: String,
    pub description: String,
    pub avatar_uri: String,
    pub speech_to_text_settings: Option<SpeechToTextSettings>,
    pub start_flow: String,
    pub security_settings: String,
    pub enable_stackdriver_logging: bool,
    pub enable_spell_correction: bool,
}

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the conversation flows..

Fields

name: String

The unique identifier of the agent. Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent] populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

display_name: String

Required. The human-readable name of the agent, unique within the location.

default_language_code: String

Immutable. 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 [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.

supported_language_codes: Vec<String>

The list of all languages supported by the agent (except for the default_language_code).

time_zone: String

Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.

description: String

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

avatar_uri: String

The URI of the agent’s avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

speech_to_text_settings: Option<SpeechToTextSettings>

Speech recognition related settings.

start_flow: String

Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

security_settings: String

Name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

enable_stackdriver_logging: bool

Indicates if stackdriver logging is enabled for the agent.

enable_spell_correction: bool

Indicates if automatic spell correction is enabled in detect intent requests.

Trait Implementations

impl Clone for Agent[src]

impl Debug for Agent[src]

impl Default for Agent[src]

impl Message for Agent[src]

impl PartialEq<Agent> for Agent[src]

impl StructuralPartialEq for Agent[src]

Auto Trait Implementations

impl RefUnwindSafe for Agent

impl Send for Agent

impl Sync for Agent

impl Unpin for Agent

impl UnwindSafe for Agent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]