Class: Google::Apis::SheetsV4::AddSlicerResponse
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::AddSlicerResponse
- 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 result of adding a slicer to a spreadsheet.
Instance Attribute Summary collapse
-
#slicer ⇒ Google::Apis::SheetsV4::Slicer
A slicer in a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddSlicerResponse
constructor
A new instance of AddSlicerResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddSlicerResponse
Returns a new instance of AddSlicerResponse.
417 418 419 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 417 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
415 416 417 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 415 def slicer @slicer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 422 def update!(**args) @slicer = args[:slicer] if args.key?(:slicer) end |