DatasetPolicy

data class DatasetPolicy(val database: String = DatasetCompiler.DEFAULT_DATABASE, val retention: Duration = 7.days, val approvePublications: Boolean = false, val approveSources: Boolean = false)

How the catalog publishes datasets: the warehouse database their views are created in (wow_datasets), how long a retired dataset's views are kept (retention, 7 days, -2), and the approval switches (③b; off by default): whether every publication takes an approver (approvePublications; one that computes from sensitive values or lowers a protection always does) and whether a dataset reads only the sources an approver approved (approveSources).

Constructors

Link copied to clipboard
constructor(database: String = DatasetCompiler.DEFAULT_DATABASE, retention: Duration = 7.days, approvePublications: Boolean = false, approveSources: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard