Reference documentation and code samples for the Cloud Natural Language V2 API class Google::Cloud::Language::V2::ClassifyTextRequest.
The document classification request message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#document
def document() -> ::Google::Cloud::Language::V2::Document
Returns
- (::Google::Cloud::Language::V2::Document) — Required. Input document.
#document=
def document=(value) -> ::Google::Cloud::Language::V2::Document
Parameter
- value (::Google::Cloud::Language::V2::Document) — Required. Input document.
Returns
- (::Google::Cloud::Language::V2::Document) — Required. Input document.