Package com.google.genai.types
Class ProminentPeople
java.lang.Object
com.google.genai.types.ProminentPeople
Controls whether prominent people (celebrities) generation is allowed. If used with
personGeneration, personGeneration enum would take precedence. For instance, if ALLOW_NONE is
set, all person generation would be blocked. If this field is unspecified, the default behavior
is to allow prominent people. This enum is not supported in Gemini API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum representing the known values for ProminentPeople. -
Constructor Summary
ConstructorsConstructorDescriptionProminentPeople(ProminentPeople.Known knownValue) ProminentPeople(String value) -
Method Summary