Safety Rating
A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level.
Constructors
Properties
Output only. The harm category of this rating.
Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold. This field is not supported in Gemini API.
Output only. The probability of harm for this category.
Output only. The probability score of harm for this category. This field is not supported in Gemini API.
Output only. The severity of harm for this category. This field is not supported in Gemini API.
Output only. The severity score of harm for this category. This field is not supported in Gemini API.