Class AutomatedAgentConfig (2.27.0)

AutomatedAgentConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines the Automated Agent to connect to a conversation.

Attributes

NameDescription
agent str
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- the Dialogflow API Service Agent role in this project. - For ES agents, use format: projects/. If environment is not specified, the default draft environment is used. Refer to DetectIntentRequest __ for more details. - For CX agents, use format projects/. If environment is not specified, the default draft environment is used.
session_ttl google.protobuf.duration_pb2.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.