RetentionPeriod

RetentionPeriod
RetentionPeriod

The RetentionPeriod structure contains fields that define the duration for which each snapshot must be retained.

JSON Example
{
    "unit": "string",
    "duration": 0
}
unit
Required

The TimeUnit enumerated type contains the supported values for how often snapshots are taken.
MINUTE : Minutes.
HOUR : Hours.
DAY : Day.
WEEK : Weeks.
MONTH : Months.

integer As int64
duration
Required

Duration for the snapshot to be retained