safetyRatings

@CanIgnoreReturnValue()
public GenerateContentResponsePromptFeedback.Builder safetyRatings(Array<SafetyRating> safetyRatings)

Setter for safetyRatings.

safetyRatings: Output only. A list of safety ratings for the prompt. There is one rating per category.


@CanIgnoreReturnValue()
public GenerateContentResponsePromptFeedback.Builder safetyRatings(Array<SafetyRating.Builder> safetyRatingsBuilders)

Setter for safetyRatings builder.

safetyRatings: Output only. A list of safety ratings for the prompt. There is one rating per category.