Object Lock Default Retention (ObjectLockDefaultRetention )
| Field name | Type | Required | Description |
|---|---|---|---|
| mode | Enum | yes |
This indicates the type of retention. The only valid values are "COMPLIANCE" and "GOVERNANCE". |
| days | Integer | yes, if years is absent | This indicates the number of days to retain a new object after write. |
| years | Integer | yes, if days is absent | This indicates the number of years to retain a new object after write. |