DataRetentionSettings
데이터 보관 설정 값입니다. 싱글톤 리소스입니다.
필드 |
name |
string
출력 전용입니다. 이 DataRetentionSetting 리소스의 리소스 이름입니다. 형식: properties/{property}/dataRetentionSettings
|
eventDataRetention |
enum (RetentionDuration )
필수 항목입니다. 이벤트 수준 데이터가 보관되는 기간입니다.
|
userDataRetention |
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 속성에서만 사용할 수 있습니다. 이벤트 데이터에만 사용할 수 있습니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-30(UTC)
[null,null,["최종 업데이트: 2025-01-30(UTC)"],[[["Data Retention Settings control how long event-level data is stored for a Google Analytics 4 property and are configured as a singleton resource."],["You can set the retention duration for event data to 2, 14, 26, 38, or 50 months, with longer durations available for 360 properties."],["The `resetUserDataOnNewActivity` setting determines whether the user identifier retention period resets with each new event."],["Data Retention Settings use a JSON representation and include fields for name, event data retention duration, and user data reset behavior."]]],["Data retention settings are managed through a singleton resource, defining the duration for retaining event-level and user-level data. Key actions include setting `eventDataRetention` and `userDataRetention` using enumerated values like `TWO_MONTHS`, `FOURTEEN_MONTHS`, `TWENTY_SIX_MONTHS`, `THIRTY_EIGHT_MONTHS`, or `FIFTY_MONTHS`. Another key action is the definition of the reset retention period for each new activity with `resetUserDataOnNewActivity`. The name of the resource is a string value with the format `properties/{property}/dataRetentionSettings`.\n"]]