class Google::Apis::HealthcareV1::TextSpan

A span of text in the provided document.

Attributes

begin_offset[RW]

The unicode codepoint index of the beginning of this span. Corresponds to the JSON property `beginOffset` @return [Fixnum]

content[RW]

The original text contained in this span. Corresponds to the JSON property `content` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/healthcare_v1/classes.rb, line 4064
def update!(**args)
  @begin_offset = args[:begin_offset] if args.key?(:begin_offset)
  @content = args[:content] if args.key?(:content)
end