We don't want an open endpoint for the gemini model. We are securing the endpoint by using a shared secret in the cloud function and the extension framework app. The secret is used to sign the request body on the extension framework side, and is verified on the cloud function side.
Added
Shared secret for the cloud function and explore assistant extension
Terraform code for managing the token in the GCP Secrets Manager
We don't want an open endpoint for the gemini model. We are securing the endpoint by using a shared secret in the cloud function and the extension framework app. The secret is used to sign the request body on the extension framework side, and is verified on the cloud function side.
Added