Class: Google::Apis::SheetsV4::SetBasicFilterRequest

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

Sets the basic filter associated with a sheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetBasicFilterRequest

Returns a new instance of SetBasicFilterRequest.



9064
9065
9066
# File 'lib/google/apis/sheets_v4/classes.rb', line 9064

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

Instance Attribute Details

#filterGoogle::Apis::SheetsV4::BasicFilter

The default filter associated with a sheet. For more information, see Manage data visibility with filters. Corresponds to the JSON property filter



9062
9063
9064
# File 'lib/google/apis/sheets_v4/classes.rb', line 9062

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9069
9070
9071
# File 'lib/google/apis/sheets_v4/classes.rb', line 9069

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