1.1.0 (latest) 1.0.0

    public enum Guardrail.Types.LlmPolicy.Types.PolicyScope

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API enum Guardrail.Types.LlmPolicy.Types.PolicyScope.

Defines when to apply the policy check during the conversation.

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `AgentResponse` | Policy check is triggered on agent response. Applying this policy scope will introduce additional latency before the agent can respond. |
| `Unspecified` | Policy scope is not specified. |
| `UserQuery` | Policy check is triggered on user input. |
| `UserQueryAndAgentResponse` | Policy check is triggered on both user input and agent response. Applying this policy scope will introduce additional latency before the agent can respond. |