Class: Google::Apis::SheetsV4::AddSlicerRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddSlicerRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb
Overview
Adds a slicer to a sheet in the spreadsheet.
Instance Attribute Summary collapse
-
#slicer ⇒ Google::Apis::SheetsV4::Slicer
A slicer in a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddSlicerRequest
constructor
A new instance of AddSlicerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddSlicerRequest
Returns a new instance of AddSlicerRequest.
349 350 351 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 349 def initialize(**args) update!(**args) end |
Instance Attribute Details
#slicer ⇒ Google::Apis::SheetsV4::Slicer
A slicer in a sheet.
Corresponds to the JSON property slicer
347 348 349 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 347 def slicer @slicer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
354 355 356 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 354 def update!(**args) @slicer = args[:slicer] if args.key?(:slicer) end |