Enumeration HarmBlockThreshold

The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked.

Enumeration Members

BLOCK_LOW_AND_ABOVE: "BLOCK_LOW_AND_ABOVE"

Block content with a low harm probability or higher.

BLOCK_MEDIUM_AND_ABOVE: "BLOCK_MEDIUM_AND_ABOVE"

Block content with a medium harm probability or higher.

BLOCK_NONE: "BLOCK_NONE"

Do not block any content, regardless of its harm probability.

BLOCK_ONLY_HIGH: "BLOCK_ONLY_HIGH"

Block content with a high harm probability.

HARM_BLOCK_THRESHOLD_UNSPECIFIED: "HARM_BLOCK_THRESHOLD_UNSPECIFIED"

The harm block threshold is unspecified.

OFF: "OFF"

Turn off the safety filter entirely.