#pragma once // Google Cloud API demos beyond the Agent Platform. One register function per // package, each in its own file under example/app/google/. Every route lives // under /google/ and is excluded from locust (paid or private // APIs). Same rules as AgentDemos.hpp: GET pages and status routes answer 2xx // without a credential; a route that would call Google is a POST (or DELETE) // and answers 503 google_not_configured without a credential, 422 on bad // input; costly or destructive routes are dry runs unless the body has // "confirm":true. State lives inside the register function; do not edit // Services. The client is services.google (null: GoogleClient::from_env()). #include "App.hpp" namespace molo::example::app { void register_google_discovery_demo(fw::Router& router, Services& services); void register_google_cloudai_demo(fw::Router& router, Services& services); void register_google_enterprise_demo(fw::Router& router, Services& services); void register_google_data_demo(fw::Router& router, Services& services); void register_google_maps_demo(fw::Router& router, Services& services); void register_google_workspace_demo(fw::Router& router, Services& services); void register_google_ops_demo(fw::Router& router, Services& services); // Mounts every package's router at "" (called once from build_application). void register_google_demos(std::shared_ptr app, Services& services); } // namespace molo::example::app