Merge pull request #1138 from theseyi/purge-na

5489 adds option for purge not applicable
This commit is contained in:
Seyi Adebajo 2018-05-03 10:00:46 -07:00 committed by GitHub
commit b2da5ea0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,8 @@ enum PurgePolicy {
ManualPurge = 'MANUAL_PURGE',
AutoLimitedRetention = 'LIMITED_RETENTION',
ManualLimitedRetention = 'MANUAL_LIMITED_RETENTION',
PurgeExempt = 'PURGE_EXEMPTED'
PurgeExempt = 'PURGE_EXEMPTED',
NotApplicable = 'PURGE_NOT_APPLICABLE'
}
/**
@ -46,8 +47,12 @@ const purgePolicyProps: PurgePolicyProperties = {
displayAs: 'Manual Limited Retention'
},
PURGE_EXEMPTED: {
desc: 'Choose this option only if the dataset is explicitly exempted from purging',
desc: 'Choose this option only if the dataset is explicitly exempted from purging.',
displayAs: 'Purge Exempt'
},
PURGE_NOT_APPLICABLE: {
desc: 'Choose this option only if none of the purge policies are applicable.',
displayAs: 'Purge Not Applicable'
}
};