Class: Google::Apis::SheetsV4::ChipRun
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::ChipRun
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb
Overview
The run of a chip. The chip continues until the start index of the next run.
Instance Attribute Summary collapse
-
#chip ⇒ Google::Apis::SheetsV4::Chip
The Smart Chip.
-
#start_index ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChipRun
constructor
A new instance of ChipRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ChipRun
Returns a new instance of ChipRun.
3337 3338 3339 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#chip ⇒ Google::Apis::SheetsV4::Chip
The Smart Chip.
Corresponds to the JSON property chip
3329 3330 3331 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3329 def chip @chip end |
#start_index ⇒ Fixnum
Required. The zero-based character index where this run starts, in UTF-16 code
units.
Corresponds to the JSON property startIndex
3335 3336 3337 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3335 def start_index @start_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3342 3343 3344 3345 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 3342 def update!(**args) @chip = args[:chip] if args.key?(:chip) @start_index = args[:start_index] if args.key?(:start_index) end |