enum

Gemini::HarmProbability

Inherits Enum < Comparable < Value < Object

The probability that a piece of content is harmful.

API Reference

Constants

HarmProbabilityUnspecified = 0
Negligible = 1
Low = 2
Medium = 3
High = 4

Instance methods

harm_probability_unspecified?

Returns true if this enum value equals HarmProbabilityUnspecified

Source
high?

Returns true if this enum value equals High

Source
low?

Returns true if this enum value equals Low

Source
medium?

Returns true if this enum value equals Medium

Source
negligible?

Returns true if this enum value equals Negligible

Source