This document describes how locations apply to App Optimize API.
API endpoint and resource locations
App Optimize API uses a global API endpoint for report management. All API
requests for creating and managing reports are directed to the global location
in the URL path—for example:
https://appoptimize.googleapis.com/v1beta/projects/PROJECT_ID/locations/global/reports
Replace PROJECT_ID with the ID of the Google Cloud project you're using with App Optimize API.
Despite the API endpoint being global, App Optimize API takes into account
the regions and zones of your Google Cloud resources. This means you can
analyze your cost and usage data by location, by including the location
dimension in your reports.
App Hub locations
App Optimize API can report on your App Hub applications, including those created using Application Design Center. App Hub supports both global and regional applications, and where they are deployed is reflected in your report data.
To understand the difference between global and regional applications in App Hub, see Global and regional applications. The Google Cloud regions that support regional App Hub resources are listed in App Hub Locations.
For more information about Google Cloud regions and zones, see Geography and regions.