class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1SequentialSegment
Start and end position in a sequence (e.g. text segment).
Attributes
end[RW]
End position (exclusive). Corresponds to the JSON property `end` @return [Fixnum]
start[RW]
Start position (inclusive). Corresponds to the JSON property `start` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4235 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4240 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end