Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class PutObjectHold.
Describes options to update object hold.
Generated from protobuf message google.cloud.storagebatchoperations.v1.PutObjectHold
Namespace
Google \ Cloud \ StorageBatchOperations \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ temporary_hold
int
Required. Updates object temporary holds state. When object temporary hold is set, object cannot be deleted or replaced.
↳ event_based_hold
int
Required. Updates object event based holds state. When object event based hold is set, object cannot be deleted or replaced. Resets object's time in the bucket for the purposes of the retention period.
getTemporaryHold
Required. Updates object temporary holds state. When object temporary hold is set, object cannot be deleted or replaced.
int
setTemporaryHold
Required. Updates object temporary holds state. When object temporary hold is set, object cannot be deleted or replaced.
var
int
$this
getEventBasedHold
Required. Updates object event based holds state. When object event based hold is set, object cannot be deleted or replaced. Resets object's time in the bucket for the purposes of the retention period.
int
setEventBasedHold
Required. Updates object event based holds state. When object event based hold is set, object cannot be deleted or replaced. Resets object's time in the bucket for the purposes of the retention period.
var
int
$this