Class ModerateTextResponse (2.10.1)

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.