How to enable Dialogflow runtime integration into into CCAI Insights?
As per Google documentation you call this API to enable the export feature
curl -H "Content-Type: application/json" \ -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \ -X PATCH https://LOCATION-dialogflow.googleapis.com/v3/projects/PROJECT/locations/LOCATION/securitySettings/SECURITY_SETTINGS?update_mask=insights_export_settings \ --data '{"insights_export_settings": {"enable_insights_export": true}}'
In my case, the virtual agent is hosted in global region and using a DLP template to redact sensitive data from the Dialogflow conversation logs.
curl -H "Content-Type: application/json" \ -H "Authorization: Bearer $(gcloud auth application-default print-access-token)" \ -X PATCH https://dialogflow.googleapis.com/v3/projects/xxxxxx/locations/LOCATION/global/ecuritySettings/xxxxxxxxx?update_mask=insights_export_settings \ --data '{"insights_export_settings": {"enable_insights_export": true}}'
But it returns the following error - no matches found: https://dialogflow.googleapis.com/v3/projects/xxxxxx/locations/global/securitySettings/xxxxxxxxx?upd...
Am i missing something here?