class Google::Apis::SheetsV4::Slicer

A slicer in a sheet.

Attributes

position[RW]

The position of an embedded object such as a chart. Corresponds to the JSON property `position` @return [Google::Apis::SheetsV4::EmbeddedObjectPosition]

slicer_id[RW]

The ID of the slicer. Corresponds to the JSON property `slicerId` @return [Fixnum]

spec[RW]

The specifications of a slicer. Corresponds to the JSON property `spec` @return [Google::Apis::SheetsV4::SlicerSpec]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 8921
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 8926
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