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

FilesCreateOptions

import type { FilesCreateOptions } from "https://googleapis.deno.dev/v1/drive:v3.ts";

Additional options for Drive#filesCreate.

interface FilesCreateOptions {
enforceSingleParent?: boolean;
ignoreDefaultVisibility?: boolean;
includeLabels?: string;
includePermissionsForView?: string;
keepRevisionForever?: boolean;
ocrLanguage?: string;
supportsAllDrives?: boolean;
supportsTeamDrives?: boolean;
useContentAsIndexableText?: boolean;
}

§Properties

§
enforceSingleParent?: boolean
[src]

Deprecated. Creating files in multiple folders is no longer supported.

§
ignoreDefaultVisibility?: boolean
[src]

Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.

§
includeLabels?: string
[src]

A comma-separated list of IDs of labels to include in the labelInfo part of the response.

§
includePermissionsForView?: string
[src]

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

§
keepRevisionForever?: boolean
[src]

Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions.

§
ocrLanguage?: string
[src]

A language hint for OCR processing during image import (ISO 639-1 code).

§
supportsAllDrives?: boolean
[src]

Whether the requesting application supports both My Drives and shared drives.

§
supportsTeamDrives?: boolean
[src]

Deprecated: Use supportsAllDrives instead.

§
useContentAsIndexableText?: boolean
[src]

Whether to use the uploaded content as indexable text.