DataRetentionSettings
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"name": string,
"eventDataRetention": enum (RetentionDuration ),
"resetUserDataOnNewActivity": boolean
} |
字段 |
name |
string
仅限输出。此 DataRetentionSetting 资源的资源名称。格式:property/{property}/dataRetentionSettings
|
eventDataRetention |
enum (RetentionDuration )
事件级数据的保留时长。
|
resetUserDataOnNewActivity |
boolean
如果为 true,请为该用户的每个事件重置用户标识符的保留期限。
|
RetentionDuration
枚举 |
RETENTION_DURATION_UNSPECIFIED |
未指定数据保留时长。 |
TWO_MONTHS |
数据保留时长为 2 个月。 |
FOURTEEN_MONTHS |
数据保留时长为 14 个月。 |
TWENTY_SIX_MONTHS |
数据保留时长为 26 个月。仅适用于 360 媒体资源。 |
THIRTY_EIGHT_MONTHS |
数据保留时长为 38 个月。仅适用于 360 媒体资源。 |
FIFTY_MONTHS |
数据保留时长为 50 个月。仅适用于 360 媒体资源。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-08。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-09-08。"],[[["Data Retention Settings control how long Google Analytics 4 properties retain event-level data and offer options ranging from 2 to 50 months."],["These settings include the ability to reset user data retention periods with each new event."],["This is a singleton resource, meaning there's only one Data Retention Settings configuration per Google Analytics 4 property."],["360 properties have access to extended retention durations of 26, 38, and 50 months."]]],[]]