Official Documentation:
https://developers.google.com/maps/documentation/routes/reference/restNote: Requires a Google Cloud Platform account and API key with Routes API enabled.See how in the official documentation:https://developers.google.com/maps/documentation/routes/get-api-keyThen set in the ODC Portal the Site Setting API_KEY to the value of the Google API Key.