Settings

@JsonClass(generateAdapter = true)
data class Settings(val createdTime: String, val modifiedTime: String, val historyEnabled: Boolean?, val deviceSettings: List<DeviceSettings> = emptyList(), val retentionWindowDays: Int?, val hasReportedLocations: Boolean, val hasSetRetention: Boolean)

The Settings.json file in a Google Takeout Location History extraction. Contains information about the Google account settings related to Location History, information about the devices associated, and other auxiliary metadata.

Constructors

Link copied to clipboard
constructor(createdTime: String, modifiedTime: String, historyEnabled: Boolean?, deviceSettings: List<DeviceSettings> = emptyList(), retentionWindowDays: Int?, hasReportedLocations: Boolean, hasSetRetention: Boolean)

Properties

Link copied to clipboard

Timestamp (as an ISO 8601 string) when Location History was first available on this Google account.

Link copied to clipboard

List of devices associated with the Location History information on this Google account.

Link copied to clipboard

Whether this Google account has any reported Location History information.

Link copied to clipboard

Whether this Google account has configured the auto-delete setting (retention) for the Location History data. Corresponds to the Auto-delete setting in the Activity Controls page. See also #/properties/retentionWindowDays.

Link copied to clipboard

Whether Location History is enabled on this Google account (controlled in the Activity Controls page).

Link copied to clipboard

Timestamp (as an ISO 8601 string) when any Location History setting was last modified on this Google account.

Link copied to clipboard

Number of days the Location History information is retained in this Google account. Corresponds to the Auto-delete setting in the Activity Controls page. This value should be ignored if #/properties/hasSetRetention is false.