#pragma once // A Google service is a name plus a base URL (host and version prefix). // New Google APIs are one constant here and one Service subclass. #include #include namespace molo::google { struct ServiceEndpoint { std::string name; std::string base_url; // No trailing slash. // Express-mode endpoints accept only an API key: never send OAuth there. bool prefer_key = false; }; namespace endpoints { ServiceEndpoint text_to_speech(); ServiceEndpoint speech_to_text(); ServiceEndpoint generative(); // Gemini through Vertex AI (express-mode API keys start with "AQ."). ServiceEndpoint vertex_generative(); // Every endpoint this build knows, for status pages. std::vector catalog(); } // namespace endpoints } // namespace molo::google