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

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

Duplicates a particular filter view.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DuplicateFilterViewRequest

Returns a new instance of DuplicateFilterViewRequest.



5078
5079
5080
# File 'generated/google/apis/sheets_v4/classes.rb', line 5078

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)


5076
5077
5078
# File 'generated/google/apis/sheets_v4/classes.rb', line 5076

def filter_id
  @filter_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5083
5084
5085
# File 'generated/google/apis/sheets_v4/classes.rb', line 5083

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