Class HarmBlockMethod (1.49.0)

HarmBlockMethod(value)

Probability vs severity.

Values: HARM_BLOCK_METHOD_UNSPECIFIED (0): The harm block method is unspecified. SEVERITY (1): The harm block method uses both probability and severity scores. PROBABILITY (2): The harm block method uses the probability score.

Methods

HarmBlockMethod

HarmBlockMethod(value)

Probability vs severity.

Values: HARM_BLOCK_METHOD_UNSPECIFIED (0): The harm block method is unspecified. SEVERITY (1): The harm block method uses both probability and severity scores. PROBABILITY (2): The harm block method uses the probability score.