Class: Google::Cloud::AutoML::V1beta1::TextSegment
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::TextSegment
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_segment.rb
Overview
A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding.
Instance Attribute Summary collapse
-
#content ⇒ String
Output only.
-
#end_offset ⇒ Integer
Required.
-
#start_offset ⇒ Integer
Required.
Instance Attribute Details
#content ⇒ String
Returns Output only. The content of the TextSegment.
33 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_segment.rb', line 33 class TextSegment; end |
#end_offset ⇒ Integer
Returns Required. Zero-based character index of the first character past the end of the text segment (counting character from the beginning of the text). The character at the end_offset is NOT included in the text segment.
33 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_segment.rb', line 33 class TextSegment; end |
#start_offset ⇒ Integer
Returns Required. Zero-based character index of the first character of the text segment (counting characters from the beginning of the text).
33 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_segment.rb', line 33 class TextSegment; end |