Package com.google.genai.types
Class ProminentPeople
-
- All Implemented Interfaces:
public class ProminentPeopleControls 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 Classes Modifier and Type Class Description public enumProminentPeople.KnownEnum representing the known values for ProminentPeople.
-
Constructor Summary
Constructors Constructor Description ProminentPeople(String value)ProminentPeople(ProminentPeople.Known knownValue)
-
Method Summary
-
-
Constructor Detail
-
ProminentPeople
ProminentPeople(String value)
-
ProminentPeople
ProminentPeople(ProminentPeople.Known knownValue)
-
-
-
-