retentionMode property

String? retentionMode
getter/setter pair

The retention mode of the object.

Required. Possible string values are:

  • "RETENTION_MODE_UNSPECIFIED" : If set and retain_until_time is empty, clears the retention.
  • "LOCKED" : Sets the retention mode to locked.
  • "UNLOCKED" : Sets the retention mode to unlocked.

Implementation

core.String? retentionMode;