Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class TemporaryHold.
Options for handling temporary holds for Google Cloud Storage objects.
Protobuf type google.storagetransfer.v1.MetadataOptions.TemporaryHold
Methods
name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
TEMPORARY_HOLD_UNSPECIFIED
Value: 0
Temporary hold behavior is unspecified.
Generated from protobuf enum TEMPORARY_HOLD_UNSPECIFIED = 0;
TEMPORARY_HOLD_SKIP
Value: 1
Do not set a temporary hold on the destination object.
Generated from protobuf enum TEMPORARY_HOLD_SKIP = 1;
TEMPORARY_HOLD_PRESERVE
Value: 2
Preserve the object's original temporary hold status.
Generated from protobuf enum TEMPORARY_HOLD_PRESERVE = 2;