Natural Language V1beta2 API - Class Google::Cloud::Language::V1beta2::ModerateTextResponse (v0.8.1)

Reference documentation and code samples for the Natural Language V1beta2 API class Google::Cloud::Language::V1beta2::ModerateTextResponse.

The document moderation response message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#moderation_categories

def moderation_categories() -> ::Array<::Google::Cloud::Language::V1beta2::ClassificationCategory>
Returns

#moderation_categories=

def moderation_categories=(value) -> ::Array<::Google::Cloud::Language::V1beta2::ClassificationCategory>
Parameter
Returns