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

BucketsPatchOptions

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

Additional options for Storage#bucketsPatch.

interface BucketsPatchOptions {
ifMetagenerationMatch?: bigint;
ifMetagenerationNotMatch?: bigint;
predefinedAcl?:
| "authenticatedRead"
| "private"
| "projectPrivate"
| "publicRead"
| "publicReadWrite";
predefinedDefaultObjectAcl?:
| "authenticatedRead"
| "bucketOwnerFullControl"
| "bucketOwnerRead"
| "private"
| "projectPrivate"
| "publicRead";
projection?: "full" | "noAcl";
userProject?: string;
}

§Properties

§
ifMetagenerationMatch?: bigint
[src]

Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.

§
ifMetagenerationNotMatch?: bigint
[src]

Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.

§
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.

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

Set of properties to return. Defaults to full.

§
userProject?: string
[src]

The project to be billed for this request. Required for Requester Pays buckets.