Moderations accepts additional properties.
Optional
hapThe properties specific to HAP.
Optional
input_If set, then only these ranges will be applied to the moderations. This is useful in the case that certain parts of the input text have already been checked.
Optional
piiThe properties specific to PII.
Properties that control the moderations, for usages such as
Hate and profanity
(HAP) andPersonal identifiable information
(PII) filtering. This list can be extended with new types of moderations.