class Google::Apis::DocsV1::Location
A particular location in the document.
Attributes
index[RW]
The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id. Corresponds to the JSON property `index` @return [Fixnum]
segment_id[RW]
The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. Corresponds to the JSON property `segmentId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 2522 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 2527 def update!(**args) @index = args[:index] if args.key?(:index) @segment_id = args[:segment_id] if args.key?(:segment_id) end