Remember to run these permissions in the second last cell before you try out the deployed Reasoning ENGINE!!!
PROJECT_NUMBER = !gcloud projects describe {PROJECT_ID} --format="value(projectNumber)" SERVICE_ACCOUNT = f"service-{PROJECT_NUMBER[0]}@gcp-sa-aiplatform-re.iam.gserviceaccount.com"
!gcloud projects add-iam-policy-binding {PROJECT_ID}
--member=serviceAccount:{SERVICE_ACCOUNT}
--role=roles/alloydb.databaseUser
!gcloud projects add-iam-policy-binding {PROJECT_ID}
--member=serviceAccount:{SERVICE_ACCOUNT}
--role=roles/alloydb.client
!gcloud projects add-iam-policy-binding {PROJECT_ID}
--member=serviceAccount:{SERVICE_ACCOUNT}
--role=roles/aiplatform.user
!gcloud projects add-iam-policy-binding {PROJECT_ID}
--member=serviceAccount:{SERVICE_ACCOUNT}
--role=roles/serviceusage.serviceUsageConsumer