Files
retoorandClaude Sonnet 5.5 0e3816691b feat(clients): enterprise: Discovery Engine, Dialogflow, Retail, Insights, CES, Recommendations
1080-row Discovery-derived call table, validating Caller, typed facades,
demo under /google/enterprise, Discovery checker, live read checks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-25 15:04:37 +01:00

15 lines
747 B
C++

// Route: POST /google/enterprise/search
#include "google/enterprise/cases.hpp"
using namespace molo::example::test;
int main() {
const std::string sc =
"projects/p1/locations/global/collections/default_collection/engines/e1/servingConfigs/default_search";
check_enterprise_post_route("/google/enterprise/search", "{\"serving_config\":\"" + sc + "\",\"query\":\"refunds\"}",
"{\"serving_config\":\"" + sc + "\",\"query\":\"x\",\"page_size\":0}", "page_size 0");
check_enterprise_dry_run("/google/enterprise/search", "{\"serving_config\":\"" + sc + "\",\"query\":\"refunds\"}",
"engines/e1/servingConfigs/default_search:search");
return finish("google/enterprise/search");
}