This sample is a simple Cloud Run service written in Python. It converts Euros to USD.
Build and deploy this service by running the following commands:
$ gcloud builds submit --tag gcr.io/PROJECT_ID/euro-to-usd
$ gcloud run deploy --image gcr.io/PROJECT_ID/euro-to-usd
--platform managed
If you don't want to deploy a new Cloud Run service, install the Cloud Code plugin (VS Code | JetBrains) and run it in a Cloud Run emulator (VS Code | JetBrains).
For more info, check out this sample's accompanying Serverless Expeditions video.