Interface SafetyRating

A safety rating associated with a GenerateContentCandidate

interface SafetyRating {
    category: HarmCategory;
    probability: HarmProbability;
}

Properties

category: HarmCategory
probability: HarmProbability