Regional and multi-regional support

You must specify either a regional or multi-regional location for data storage and document processing.

Document AI supports the following multi-region locations:

  • us (United States)
  • eu (Europe)

Document AI currently provides limited support for the following single-region locations:

  • asia-south1 (Mumbai)
  • asia-southeast1 (Singapore)
  • australia-southeast1 (Sydney)
  • europe-west2 (London)
  • europe-west3 (Frankfurt)
  • northamerica-northeast1 (Montréal)

Locations

Document AI offers you some control over where the resources for your project are stored and processed. In particular, when you create a processor, you must choose a location to store and process your data.

By default Document AI stores and processes resources in a US location. If you choose the European Union location, Google will store your data and process it only in the European Union. You and your users can access the data from any location.

Setting the location using the API

You must specify your processor's location whenever you send a processing request via the API.

For example, if your processor is configured to store and process your data in the European Union, then use the URI eu-documentai.googleapis.com:

Method / endpoint format
process
  • https://eu-documentai.googleapis.com/v1/projects/$PROJECT_ID/locations/eu/processors/$PROCESSOR_ID:process
  • https://eu-documentai.googleapis.com/v1beta3/projects/$PROJECT_ID/locations/eu/processors/$PROCESSOR_ID:process
batchProcess
  • https://eu-documentai.googleapis.com/v1/projects/$PROJECT_ID/locations/eu/processors/$PROCESSOR_ID:batchProcess
  • https://eu-documentai.googleapis.com/v1beta3/projects/$PROJECT_ID/locations/eu/processors/$PROCESSOR_ID:batchProcess