Files
moloapp/tests/example/google/enterprise/ces_run_test.cpp
T
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
693 B
C++

// Route: POST /google/enterprise/ces/run
#include "google/enterprise/cases.hpp"
using namespace molo::example::test;
int main() {
const std::string good = "{\"session\":\"projects/p1/locations/us/apps/a1/sessions/s1\",\"text\":\"hello\"}";
check_enterprise_post_route("/google/enterprise/ces/run", good,
"{\"session\":\"projects/p1/locations/us/apps/a1/sessions/s1\",\"text\":\"\"}",
"empty text");
check_enterprise_dry_run("/google/enterprise/ces/run", good,
"ces.us.rep.googleapis.com/v1/projects/p1/locations/us/apps/a1/sessions/s1:runSession");
return finish("google/enterprise/ces_run");
}