Testing guardrails
A guardrail you haven't tested is only a hope. Test it at three levels. Unit-test the Model Armor template against a known corpus, prove the ADK plugin blocks real turns, and check that it fails closed when the service is down.
10 minPro
Checking your access…
Inside this lesson
- An animation you play, pause and step through, with each part saying what it is doing.
- The real code beside it, with the lines for each step lit up.
- Practice mode, where you route each message yourself, and a short quiz.
- About 10 minutes.