@@ -23,6 +23,7 @@ import "google/api/resource.proto";
2323import "google/cloud/dialogflow/v2/audio_config.proto" ;
2424import "google/cloud/dialogflow/v2/participant.proto" ;
2525import "google/longrunning/operations.proto" ;
26+ import "google/protobuf/duration.proto" ;
2627import "google/protobuf/empty.proto" ;
2728import "google/protobuf/field_mask.proto" ;
2829import "google/protobuf/timestamp.proto" ;
@@ -381,6 +382,13 @@ message AutomatedAgentConfig {
381382 type : "dialogflow.googleapis.com/Agent"
382383 }
383384 ];
385+
386+ // Optional. Sets Dialogflow CX session life time.
387+ // By default, a Dialogflow CX session remains active and its data is stored
388+ // for 30 minutes after the last request is sent for the session. This value
389+ // should be no longer than 1 day.
390+ google.protobuf.Duration session_ttl = 3
391+ [(google.api.field_behavior ) = OPTIONAL ];
384392}
385393
386394// Defines the Human Agent Assist to connect to a conversation.
@@ -479,7 +487,7 @@ message HumanAgentAssistantConfig {
479487 // Supported feature: DIALOGFLOW_ASSIST.
480488 message DialogflowQuerySource {
481489 // Required. The name of a Dialogflow virtual agent used for end user side
482- // intent detection and suggestion. Format: `projects/<Project Number/
490+ // intent detection and suggestion. Format: `projects/<Project
483491 // ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
484492 // the same Dialogflow project.
485493 string agent = 1 [
@@ -540,7 +548,8 @@ message HumanAgentAssistantConfig {
540548 // If this field is not set, it defaults to 0.0, which means that all
541549 // suggestions are returned.
542550 //
543- // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
551+ // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE,
552+ // KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
544553 float confidence_threshold = 5 ;
545554
546555 // Determines how recent conversation context is filtered when generating
0 commit comments