Gemini Enterprise for Customer Experience V1BETA API - Module Google::Cloud::Ces::V1beta::Guardrail::LlmPolicy::PolicyScope (v0.3.1)
Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API module Google::Cloud::Ces::V1beta::Guardrail::LlmPolicy::PolicyScope.
Defines when to apply the policy check during the conversation.
Constants
POLICY_SCOPE_UNSPECIFIED
value: 0 Policy scope is not specified.
USER_QUERY
value: 1 Policy check is triggered on user input.
AGENT_RESPONSE
value: 2 Policy check is triggered on agent response. Applying this policy
scope will introduce additional latency before the agent can respond.
USER_QUERY_AND_AGENT_RESPONSE
value: 3 Policy check is triggered on both user input and agent response.
Applying this policy scope will introduce additional latency before
the agent can respond.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-07-01 UTC."],[],[]]