/** * Google Drive Node - Version 2 * Discriminator: resource=file, operation=copy */ interface Credentials { googleApi: CredentialReference; googleDriveOAuth2Api: CredentialReference; } /** Copy a file */ export type GoogleDriveV2FileCopyParams = { resource: 'file'; operation: 'copy'; /** * Authentication * @default oAuth2 */ authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * The ID of the file * @default {"mode":"list","value":""} */ fileId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string }; }; export type GoogleDriveV2FileCopyNode = { type: 'n8n-nodes-base.googleDrive'; version: 2; credentials?: Credentials; config: NodeConfig; };