Class HarmBlockThreshold (1.55.0)

HarmBlockThreshold(value)

Probability based thresholds levels for blocking.

Enums

NameDescription
HARM_BLOCK_THRESHOLD_UNSPECIFIEDUnspecified harm block threshold.
BLOCK_LOW_AND_ABOVEBlock low threshold and above (i.e. block more).
BLOCK_MEDIUM_AND_ABOVEBlock medium threshold and above.
BLOCK_ONLY_HIGHBlock only high threshold (i.e. block less).
BLOCK_NONEBlock none.