Google Cloud Storage Batch Operations V1 Client - Class RetentionMode (0.3.0)

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 \ ObjectRetention

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

RETENTION_MODE_UNSPECIFIED

Value: 0

If set and retain_until_time is empty, clears the retention.

Generated from protobuf enum RETENTION_MODE_UNSPECIFIED = 0;

LOCKED

Value: 1

Sets the retention mode to locked.

Generated from protobuf enum LOCKED = 1;

UNLOCKED

Value: 2

Sets the retention mode to unlocked.

Generated from protobuf enum UNLOCKED = 2;