Class ModerateTextResponse (2.16.0)

ModerateTextResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The document moderation response message.

Attribute

Name Description
moderation_categories MutableSequence[google.cloud.language_v1.types.ClassificationCategory]
Harmful and sensitive categories representing the input document.