Class: Google::Apis::SheetsV4::AddSlicerRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AddSlicerRequest

Returns a new instance of AddSlicerRequest.



390
391
392
# File 'generated/google/apis/sheets_v4/classes.rb', line 390

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#slicerGoogle::Apis::SheetsV4::Slicer

A slicer in a sheet. Corresponds to the JSON property slicer



388
389
390
# File 'generated/google/apis/sheets_v4/classes.rb', line 388

def slicer
  @slicer
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



395
396
397
# File 'generated/google/apis/sheets_v4/classes.rb', line 395

def update!(**args)
  @slicer = args[:slicer] if args.key?(:slicer)
end