Class: Google::Apis::SheetsV4::DuplicateFilterViewRequest

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

Duplicates a particular filter view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DuplicateFilterViewRequest

Returns a new instance of DuplicateFilterViewRequest.



5174
5175
5176
# File 'lib/google/apis/sheets_v4/classes.rb', line 5174

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

Instance Attribute Details

#filter_idFixnum

The ID of the filter being duplicated. Corresponds to the JSON property filterId

Returns:

  • (Fixnum)


5172
5173
5174
# File 'lib/google/apis/sheets_v4/classes.rb', line 5172

def filter_id
  @filter_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5179
5180
5181
# File 'lib/google/apis/sheets_v4/classes.rb', line 5179

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