class Google::Apis::CloudsearchV1::MatchRange
Matched range of a snippet [start, end).
Attributes
end[RW]
End of the match in the snippet. Corresponds to the JSON property `end` @return [Fixnum]
start[RW]
Starting position of the match in the snippet. Corresponds to the JSON property `start` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2340 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 2345 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end