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 more