Supported IBM AI Gateway policies for Google Gemini

The list of policies that are supported by IBM DataPower Interact Gateway for Google Gemini platform are as follows.

Table 1. Interact Gateway policies for Google Gemini platform
Policy Description
Invoke Gemini Batch Embed Contents API endpoint call for Gemini backend server, POST Embeddings URI
Invoke Gemini Count Tokens API endpoint call for Gemini backend server, POST Count Tokens URI
Invoke Gemini Embed Content API endpoint call for Gemini backend server, POST Embeddings URI
Invoke Gemini Generate Content API endpoint call for Gemini backend server, POST Generate Content URI
Invoke Gemini Models ID API endpoint call for Gemini backend server, GET Models/{model_id} URI
Invoke Gemini Models API endpoint call for Gemini backend server, GET Models URI
IBM Cloud Login Log in to IBM Cloud using pre-configured credentials.
Parse Parse the payload of a message.
Operation Switch Enforce a series of policies conditioned on API path and/or verb.
Switch Run the first assembly that matched the given expressions.