Reference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::SecuritySettings::RetentionStrategy.
Defines how long we retain persisted data that contains sensitive info.
Constants
RETENTION_STRATEGY_UNSPECIFIED
value: 0 Retains the persisted data with Dialogflow's internal default 365d TTLs.
REMOVE_AFTER_CONVERSATION
value: 1 Removes data when the conversation ends. If there is no [Conversation][]
explicitly established, a default conversation ends when the
corresponding Dialogflow session ends.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Dialogflow CX V3 API - Module Google::Cloud::Dialogflow::CX::V3::SecuritySettings::RetentionStrategy (v1.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.8.0 (latest)](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.7.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.7.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.6.1](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.6.1/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.5.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.5.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.4.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.4.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.3.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.3.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.2.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.2.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.1.1](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.1.1/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [1.0.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/1.0.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.26.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.26.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.25.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.25.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.24.2](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.24.2/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.23.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.23.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.22.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.22.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.21.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.21.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.20.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.20.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.19.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.19.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.18.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.18.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.17.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.17.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.16.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.16.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.15.1](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.15.1/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.14.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.14.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.13.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.13.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.12.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.12.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.11.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.11.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.10.2](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.10.2/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.9.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.9.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.8.1](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.8.1/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.7.1](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.7.1/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.6.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.6.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.5.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.5.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy)\n- [0.4.0](/ruby/docs/reference/google-cloud-dialogflow-cx-v3/0.4.0/Google-Cloud-Dialogflow-CX-V3-SecuritySettings-RetentionStrategy) \nReference documentation and code samples for the Dialogflow CX V3 API module Google::Cloud::Dialogflow::CX::V3::SecuritySettings::RetentionStrategy.\n\nDefines how long we retain persisted data that contains sensitive info.\n\nConstants\n---------\n\n### RETENTION_STRATEGY_UNSPECIFIED\n\n**value:** 0 \nRetains the persisted data with Dialogflow's internal default 365d TTLs.\n\n### REMOVE_AFTER_CONVERSATION\n\n**value:** 1 \nRemoves data when the conversation ends. If there is no \\[Conversation\\]\\[\\]\nexplicitly established, a default conversation ends when the\ncorresponding Dialogflow session ends."]]