Cloud Natural Language V2 API - Class Google::Cloud::Language::V2::AnnotateTextRequest (v0.3.0)

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

The request message for the text annotation API, which can perform multiple analysis types in one call.

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

#encoding_type

def encoding_type() -> ::Google::Cloud::Language::V2::EncodingType
Returns

#encoding_type=

def encoding_type=(value) -> ::Google::Cloud::Language::V2::EncodingType
Parameter
Returns

#features

def features() -> ::Google::Cloud::Language::V2::AnnotateTextRequest::Features
Returns

#features=

def features=(value) -> ::Google::Cloud::Language::V2::AnnotateTextRequest::Features
Parameter
Returns