OptionalblockedOutput only. Indicates whether the content was blocked because of this rating.
OptionalcategoryOutput only. The harm category of this rating.
OptionaloverwrittenOutput 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.
OptionalprobabilityOutput only. The probability of harm for this category.
OptionalprobabilityOutput only. The probability score of harm for this category. This field is not supported in Gemini API.
OptionalseverityOutput only. The severity of harm for this category. This field is not supported in Gemini API.
OptionalseverityOutput only. The severity score of harm for this category. This field is not supported in Gemini API.
A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level.