Defines the Automated Agent to connect to a conversation.
.. attribute:: agent
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-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com
the Dialogflow API Service Agent role in this project.
Format:
projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID or '-'>.
If environment is not specified, the default draft
environment is used. Refer to
DetectIntentRequest </dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2#google.cloud.dialogflow.v2.DetectIntentRequest>__
for more details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-31 UTC."],[],[]]