pub struct GoogleCloudDialogflowV2AutomatedAgentConfig {
pub agent: Option<String>,
pub session_ttl: Option<Duration>,
}
Expand description
Defines the Automated Agent to connect to a conversation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§agent: Option<String>
Required. ID of the Dialogflow agent environment to use. This project needs to either be the same project as the conversation or you need to grant service-@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow API Service Agent
role in this project. - For ES agents, use format: projects//locations//agent/environments/
. If environment is not specified, the default draft
environment is used. Refer to DetectIntentRequest for more details. - For CX agents, use format projects//locations//agents//environments/
. If environment is not specified, the default draft
environment is used.
session_ttl: Option<Duration>
Optional. Configure lifetime of the Dialogflow session. By default, a Dialogflow CX session remains active and its data is stored for 30 minutes after the last request is sent for the session. This value should be no longer than 1 day.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2AutomatedAgentConfig
impl Clone for GoogleCloudDialogflowV2AutomatedAgentConfig
Source§fn clone(&self) -> GoogleCloudDialogflowV2AutomatedAgentConfig
fn clone(&self) -> GoogleCloudDialogflowV2AutomatedAgentConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2AutomatedAgentConfig
impl Default for GoogleCloudDialogflowV2AutomatedAgentConfig
Source§fn default() -> GoogleCloudDialogflowV2AutomatedAgentConfig
fn default() -> GoogleCloudDialogflowV2AutomatedAgentConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AutomatedAgentConfig
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AutomatedAgentConfig
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 Part for GoogleCloudDialogflowV2AutomatedAgentConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2AutomatedAgentConfig
impl RefUnwindSafe for GoogleCloudDialogflowV2AutomatedAgentConfig
impl Send for GoogleCloudDialogflowV2AutomatedAgentConfig
impl Sync for GoogleCloudDialogflowV2AutomatedAgentConfig
impl Unpin for GoogleCloudDialogflowV2AutomatedAgentConfig
impl UnwindSafe for GoogleCloudDialogflowV2AutomatedAgentConfig
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