class Google::Apis::LanguageV1::ClassifyTextRequest

The document classification request message.

Attributes

document[RW]

################################################################ # Represents the input to API methods. Corresponds to the JSON property `document` @return [Google::Apis::LanguageV1::Document]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/language_v1/classes.rb, line 374
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/language_v1/classes.rb, line 379
def update!(**args)
  @document = args[:document] if args.key?(:document)
end