Class: Google::Cloud::Language::V1beta2::TextSpan
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::TextSpan
- Defined in:
- lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
Overview
Represents an output piece of text.
Instance Attribute Summary collapse
-
#begin_offset ⇒ Integer
The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.
-
#content ⇒ String
The content of the output text.
Instance Attribute Details
#begin_offset ⇒ Integer
Returns The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.
772 |
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 772 class TextSpan; end |
#content ⇒ String
Returns The content of the output text.
772 |
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 772 class TextSpan; end |