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

ObjectsListOptions

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

Additional options for Storage#objectsList.

interface ObjectsListOptions {
delimiter?: string;
endOffset?: string;
includeFoldersAsPrefixes?: boolean;
includeTrailingDelimiter?: boolean;
matchGlob?: string;
maxResults?: number;
pageToken?: string;
prefix?: string;
projection?: "full" | "noAcl";
softDeleted?: boolean;
startOffset?: string;
userProject?: string;
versions?: boolean;
}

§Properties

§
delimiter?: string
[src]

Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted.

§
endOffset?: string
[src]

Filter results to objects whose names are lexicographically before endOffset. If startOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).

§
includeFoldersAsPrefixes?: boolean
[src]

Only applicable if delimiter is set to '/'. If true, will also include folders and managed folders (besides objects) in the returned prefixes.

§
includeTrailingDelimiter?: boolean
[src]

If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes.

§
matchGlob?: string
[src]

Filter results to objects and prefixes that match this glob pattern.

§
maxResults?: number
[src]

Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller.

§
pageToken?: string
[src]

A previously-returned page token representing part of the larger set of results to view.

§
prefix?: string
[src]

Filter results to objects whose names begin with this prefix.

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

Set of properties to return. Defaults to noAcl.

§
softDeleted?: boolean
[src]

If true, only soft-deleted object versions will be listed. The default is false. For more information, see Soft Delete.

§
startOffset?: string
[src]

Filter results to objects whose names are lexicographically equal to or after startOffset. If endOffset is also set, the objects listed will have names between startOffset (inclusive) and endOffset (exclusive).

§
userProject?: string
[src]

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

§
versions?: boolean
[src]

If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning.