/** * Google Docs Node - Version 2 * Discriminator: resource=document, operation=get */ interface Credentials { googleApi: CredentialReference; googleDocsOAuth2Api: CredentialReference; } export type GoogleDocsV2DocumentGetParams = { resource: 'document'; operation: 'get'; /** * Authentication * @default oAuth2 */ authentication?: 'oAuth2' | 'serviceAccount' | Expression; /** * The ID in the document URL (or just paste the whole URL) */ documentURL?: string | Expression | PlaceholderValue; /** * Whether to return a simplified version of the response instead of the raw data * @default true */ simple?: boolean | Expression; }; export type GoogleDocsV2DocumentGetOutput = { content?: string; documentId?: string; }; export type GoogleDocsV2DocumentGetNode = { type: 'n8n-nodes-base.googleDocs'; version: 2; credentials?: Credentials; config: NodeConfig; output?: Items; };