getModels

Retrieves a collection of models available in the Gemini API.

Return

The collection of models as a ModelCollection object.