/** * Google Drive Node - Version 2 * Discriminator: resource=drive, operation=list */ interface Credentials { googleApi: CredentialReference; googleDriveOAuth2Api: CredentialReference; } /** List files and folders */ export type GoogleDriveV2DriveListParams = { resource: 'drive'; operation: 'list'; /** * Authentication * @default oAuth2 */ authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Options * @default {} */ options?: { /** Query string for searching shared drives. See the <a href="https://developers.google.com/drive/api/v3/search-shareddrives">"Search for shared drives"</a> guide for supported syntax. */ q?: string | Expression | PlaceholderValue; /** Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false). * @default false */ useDomainAdminAccess?: boolean | Expression; }; }; export type GoogleDriveV2DriveListNode = { type: 'n8n-nodes-base.googleDrive'; version: 2; credentials?: Credentials; config: NodeConfig; };