Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PutObjectHold

import type { PutObjectHold } from "https://googleapis.deno.dev/v1/storagebatchoperations:v1.ts";

Describes options to update object hold.

interface PutObjectHold {
eventBasedHold?: "HOLD_STATUS_UNSPECIFIED" | "SET" | "UNSET";
temporaryHold?: "HOLD_STATUS_UNSPECIFIED" | "SET" | "UNSET";
}

§Properties

§
eventBasedHold?: "HOLD_STATUS_UNSPECIFIED" | "SET" | "UNSET"
[src]

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.

§
temporaryHold?: "HOLD_STATUS_UNSPECIFIED" | "SET" | "UNSET"
[src]

Required. Updates object temporary holds state. When object temporary hold is set, object cannot be deleted or replaced.