Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback::BlockedReason (v0.36.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback::BlockedReason.

Blocked reason enumeration.

Constants

BLOCKED_REASON_UNSPECIFIED

value: 0
Unspecified blocked reason.

SAFETY

value: 1
Candidates blocked due to safety.

OTHER

value: 2
Candidates blocked due to other reason.