Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::GenerateContentResponse::PromptFeedback::BlockedReason (v0.57.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.

BLOCKLIST

value: 3
Candidates blocked due to the terms which are included from the terminology blocklist.

PROHIBITED_CONTENT

value: 4
Candidates blocked due to prohibited content.