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

ObjectsMoveOptions

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

Additional options for Storage#objectsMove.

interface ObjectsMoveOptions {
ifGenerationMatch?: bigint;
ifGenerationNotMatch?: bigint;
ifMetagenerationMatch?: bigint;
ifMetagenerationNotMatch?: bigint;
ifSourceGenerationMatch?: bigint;
ifSourceGenerationNotMatch?: bigint;
ifSourceMetagenerationMatch?: bigint;
ifSourceMetagenerationNotMatch?: bigint;
projection?: "full" | "noAcl";
userProject?: string;
}

§Properties

§
ifGenerationMatch?: bigint
[src]

Makes the operation conditional on whether the destination object's current generation matches the given value. Setting to 0 makes the operation succeed only if there are no live versions of the object. ifGenerationMatch and ifGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifGenerationNotMatch?: bigint
[src]

Makes the operation conditional on whether the destination object's current generation does not match the given value. If no live object exists, the precondition fails. Setting to 0 makes the operation succeed only if there is a live version of the object.ifGenerationMatch and ifGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifMetagenerationMatch?: bigint
[src]

Makes the operation conditional on whether the destination object's current metageneration matches the given value. ifMetagenerationMatch and ifMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifMetagenerationNotMatch?: bigint
[src]

Makes the operation conditional on whether the destination object's current metageneration does not match the given value. ifMetagenerationMatch and ifMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifSourceGenerationMatch?: bigint
[src]

Makes the operation conditional on whether the source object's current generation matches the given value. ifSourceGenerationMatch and ifSourceGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifSourceGenerationNotMatch?: bigint
[src]

Makes the operation conditional on whether the source object's current generation does not match the given value. ifSourceGenerationMatch and ifSourceGenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifSourceMetagenerationMatch?: bigint
[src]

Makes the operation conditional on whether the source object's current metageneration matches the given value. ifSourceMetagenerationMatch and ifSourceMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

§
ifSourceMetagenerationNotMatch?: bigint
[src]

Makes the operation conditional on whether the source object's current metageneration does not match the given value. ifSourceMetagenerationMatch and ifSourceMetagenerationNotMatch conditions are mutually exclusive: it's an error for both of them to be set in the request.

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

Set of properties to return. Defaults to noAcl.

§
userProject?: string
[src]

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