Storage Batch Operations V1 API - Module Google::Cloud::StorageBatchOperations::V1::ObjectRetention::RetentionMode (v0.5.0)

Reference documentation and code samples for the Storage Batch Operations V1 API module Google::Cloud::StorageBatchOperations::V1::ObjectRetention::RetentionMode.

Describes the retention mode.

Constants

RETENTION_MODE_UNSPECIFIED

value: 0
If set and retain_until_time is empty, clears the retention.

LOCKED

value: 1
Sets the retention mode to locked.

UNLOCKED

value: 2
Sets the retention mode to unlocked.