Class ModerateTextResponse (2.12.0)

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

The document moderation response message.

Attribute

NameDescription
moderation_categories MutableSequence[google.cloud.language_v1beta2.types.ClassificationCategory]
Harmful and sensitive categories representing the input document.