Cloud Natural Language V2 API - Class Google::Cloud::Language::V2::ModerateTextRequest (v0.5.0)

Reference documentation and code samples for the Cloud Natural Language V2 API class Google::Cloud::Language::V2::ModerateTextRequest.

The document moderation request message.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#document

def document() -> ::Google::Cloud::Language::V2::Document
Returns

#document=

def document=(value) -> ::Google::Cloud::Language::V2::Document
Parameter
Returns

#model_version

def model_version() -> ::Google::Cloud::Language::V2::ModerateTextRequest::ModelVersion
Returns

#model_version=

def model_version=(value) -> ::Google::Cloud::Language::V2::ModerateTextRequest::ModelVersion
Parameter
Returns