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

BucketsInsertOptions

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

Additional options for Storage#bucketsInsert.

interface BucketsInsertOptions {
enableObjectRetention?: boolean;
predefinedAcl?:
| "authenticatedRead"
| "private"
| "projectPrivate"
| "publicRead"
| "publicReadWrite";
predefinedDefaultObjectAcl?:
| "authenticatedRead"
| "bucketOwnerFullControl"
| "bucketOwnerRead"
| "private"
| "projectPrivate"
| "publicRead";
project: string;
projection?: "full" | "noAcl";
userProject?: string;
}

§Properties

§
enableObjectRetention?: boolean
[src]

When set to true, object retention is enabled for this bucket.

§
predefinedAcl?: "authenticatedRead" | "private" | "projectPrivate" | "publicRead" | "publicReadWrite"
[src]

Apply a predefined set of access controls to this bucket.

§
predefinedDefaultObjectAcl?: "authenticatedRead" | "bucketOwnerFullControl" | "bucketOwnerRead" | "private" | "projectPrivate" | "publicRead"
[src]

Apply a predefined set of default object access controls to this bucket.

§
project: string
[src]

A valid API project identifier.

§
projection?: "full" | "noAcl"
[src]

Set of properties to return. Defaults to noAcl, unless the bucket resource specifies acl or defaultObjectAcl properties, when it defaults to full.

§
userProject?: string
[src]

The project to be billed for this request.