Class: Google::Apis::SheetsV4::DeleteFilterViewRequest

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

Deletes a particular filter view.

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) ⇒ DeleteFilterViewRequest

Returns a new instance of DeleteFilterViewRequest



157
158
159
# File 'generated/google/apis/sheets_v4/classes.rb', line 157

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

Instance Attribute Details

#filter_idFixnum

The ID of the filter to delete. Corresponds to the JSON property filterId

Returns:

  • (Fixnum)


155
156
157
# File 'generated/google/apis/sheets_v4/classes.rb', line 155

def filter_id
  @filter_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



162
163
164
# File 'generated/google/apis/sheets_v4/classes.rb', line 162

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