diff --git a/document-ai/quickstart.js b/document-ai/quickstart.js index d282047cb3..a1fe28e1ad 100644 --- a/document-ai/quickstart.js +++ b/document-ai/quickstart.js @@ -29,6 +29,8 @@ async function main(projectId, location, processorId, filePath) { require('@google-cloud/documentai').v1; // Instantiates a client + // apiEndpoint regions available: eu-documentai.googleapis.com, us-documentai.googleapis.com (Required if using eu based processor) + // const client = new DocumentProcessorServiceClient({apiEndpoint: 'eu-documentai.googleapis.com'}); const client = new DocumentProcessorServiceClient(); async function quickstart() {