Class: Google::Apis::SheetsV4::Slicer
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::Slicer
- 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
A slicer in a sheet.
Instance Attribute Summary collapse
-
#position ⇒ Google::Apis::SheetsV4::EmbeddedObjectPosition
The position of an embedded object such as a chart.
-
#slicer_id ⇒ Fixnum
The ID of the slicer.
-
#spec ⇒ Google::Apis::SheetsV4::SlicerSpec
The specifications of a slicer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Slicer
constructor
A new instance of Slicer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Slicer
Returns a new instance of Slicer.
9089 9090 9091 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9089 def initialize(**args) update!(**args) end |
Instance Attribute Details
#position ⇒ Google::Apis::SheetsV4::EmbeddedObjectPosition
The position of an embedded object such as a chart.
Corresponds to the JSON property position
9077 9078 9079 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9077 def position @position end |
#slicer_id ⇒ Fixnum
The ID of the slicer.
Corresponds to the JSON property slicerId
9082 9083 9084 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9082 def slicer_id @slicer_id end |
#spec ⇒ Google::Apis::SheetsV4::SlicerSpec
The specifications of a slicer.
Corresponds to the JSON property spec
9087 9088 9089 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9087 def spec @spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9094 9095 9096 9097 9098 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 9094 def update!(**args) @position = args[:position] if args.key?(:position) @slicer_id = args[:slicer_id] if args.key?(:slicer_id) @spec = args[:spec] if args.key?(:spec) end |