App
import type { App } from "https://googleapis.deno.dev/v1/drive:v3.ts";
The apps
resource provides a list of apps that a user has installed, with
information about each app's supported MIME types, file extensions, and other
details. Some resource methods (such as apps.get
) require an appId
. Use
the apps.list
method to retrieve the ID for an installed application.
interface App {
authorized?: boolean;
createInFolderTemplate?: string;
createUrl?: string;
hasDriveWideScope?: boolean;
icons?: AppIcons[];
id?: string;
installed?: boolean;
kind?: string;
longDescription?: string;
name?: string;
objectType?: string;
openUrlTemplate?: string;
primaryFileExtensions?: string[];
primaryMimeTypes?: string[];
productId?: string;
productUrl?: string;
secondaryFileExtensions?: string[];
secondaryMimeTypes?: string[];
shortDescription?: string;
supportsCreate?: boolean;
supportsImport?: boolean;
supportsMultiOpen?: boolean;
supportsOfflineCreate?: boolean;
useByDefault?: boolean;
}§Properties
§
createInFolderTemplate?: string
[src]The template URL to create a file with this app in a given folder. The template contains the {folderId} to be replaced by the folder ID house the new file.
§
hasDriveWideScope?: boolean
[src]Whether the app has Drive-wide scope. An app with Drive-wide scope can access all files in the user's Drive.
§
kind?: string
[src]Output only. Identifies what kind of resource this is. Value: the fixed string "drive#app".
§
objectType?: string
[src]The type of object this app creates such as a Chart. If empty, the app name should be used instead.