/** * Google Cloud Firestore Node - Version 1 * Discriminator: resource=document, operation=get */ interface Credentials { googleFirebaseCloudFirestoreOAuth2Api: CredentialReference; googleApi: CredentialReference; } /** Get a document */ export type GoogleFirebaseCloudFirestoreV1DocumentGetParams = { resource: 'document'; operation: 'get'; authentication?: 'googleFirebaseCloudFirestoreOAuth2Api' | 'serviceAccount' | Expression; /** * As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ projectId?: string | Expression; /** * Usually the provided default value will work * @default (default) */ database?: string | Expression | PlaceholderValue; /** * Collection name */ collection?: string | Expression | PlaceholderValue; /** * Document ID */ documentId?: string | Expression | PlaceholderValue; /** * Whether to return a simplified version of the response instead of the raw data * @default true */ simple?: boolean | Expression; }; export type GoogleFirebaseCloudFirestoreV1DocumentGetOutput = { _createTime?: string; _id?: string; _name?: string; _updateTime?: string; }; export type GoogleFirebaseCloudFirestoreV1DocumentGetNode = { type: 'n8n-nodes-base.googleFirebaseCloudFirestore'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };