/** * Google Docs Node - Version 2 * Discriminator: resource=document, operation=create */ interface Credentials { googleApi: CredentialReference; googleDocsOAuth2Api: CredentialReference; } export type GoogleDocsV2DocumentCreateParams = { resource: 'document'; operation: 'create'; /** * Authentication * @default oAuth2 */ authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> * @default myDrive */ driveId?: string | Expression; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ folderId?: string | Expression; /** * Title */ title?: string | Expression | PlaceholderValue; }; export type GoogleDocsV2DocumentCreateOutput = { id?: string; kind?: string; mimeType?: string; name?: string; }; export type GoogleDocsV2DocumentCreateNode = { type: 'n8n-nodes-base.googleDocs'; version: 2; credentials?: Credentials; config: NodeConfig; output?: Items; };