class Google::Apis::SlidesV1::Range
Specifies a contiguous range of an indexed collection, such as characters in text.
Attributes
end_index[RW]
The optional zero-based index of the end of the collection. Required for ` FIXED_RANGE` ranges. Corresponds to the JSON property `endIndex` @return [Fixnum]
start_index[RW]
The optional zero-based index of the beginning of the collection. Required for `FIXED_RANGE` and `FROM_START_INDEX` ranges. Corresponds to the JSON property `startIndex` @return [Fixnum]
type[RW]
The type of range. Corresponds to the JSON property `type` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 2503 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 2508 def update!(**args) @end_index = args[:end_index] if args.key?(:end_index) @start_index = args[:start_index] if args.key?(:start_index) @type = args[:type] if args.key?(:type) end