Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class RetentionMode.
Describes the retention mode.
Protobuf type google.cloud.storagebatchoperations.v1.ObjectRetention.RetentionMode
Namespace
Google \ Cloud \ StorageBatchOperations \ V1 \ ObjectRetentionMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
RETENTION_MODE_UNSPECIFIED
Value: 0If set and retain_until_time is empty, clears the retention.
Generated from protobuf enum RETENTION_MODE_UNSPECIFIED = 0;
LOCKED
Value: 1Sets the retention mode to locked.
Generated from protobuf enum LOCKED = 1;
UNLOCKED
Value: 2Sets the retention mode to unlocked.
Generated from protobuf enum UNLOCKED = 2;