class Google::Apis::SheetsV4::UpdateSlicerSpecRequest
Updates a slicer's specifications. (This does not move or resize a slicer. To move or resize a slicer use UpdateEmbeddedObjectPositionRequest
.
Attributes
fields[RW]
The fields that should be updated. At least one field must be specified. The root `SlicerSpec` is implied and should not be specified. A single “*”` can be used as short-hand for listing every field. Corresponds to the JSON property `fields` @return [String]
slicer_id[RW]
The id of the slicer to update. 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 10874 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 10879 def update!(**args) @fields = args[:fields] if args.key?(:fields) @slicer_id = args[:slicer_id] if args.key?(:slicer_id) @spec = args[:spec] if args.key?(:spec) end