Class ModerateTextResponse (2.11.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.