returnVerdict property

String? returnVerdict
getter/setter pair

If set, the verdict will be returned to the user.

Optional. Possible string values are:

  • "CONTENT_POLICY_VERDICT_UNSPECIFIED" : Not used.
  • "ALLOW" : The policy allows the provided content to be used.
  • "BLOCK" : The policy prevents the provided content from being used. This should result in a blocked file upload, exclusion from training dataset, or other similar block action. (specific action will depend on the caller).

Implementation

core.String? returnVerdict;