The fastest way to clean up is to delete the entire Google Cloud project. Follow the steps below if you want to keep the project but delete resources created through this demo.
-
Set your PROJECT_ID environment variable:
export PROJECT_ID=<YOUR_PROJECT_ID>
-
Delete the Cloud Run service deployed:
gcloud run services delete retrieval-service
-
Delete service account:
gcloud iam service-accounts delete \ retrieval-identity@$PROJECT_ID.iam.gserviceaccount.com