Class: Google::Apis::SheetsV4::SetBasicFilterRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::SetBasicFilterRequest
- 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
-
#filter ⇒ Google::Apis::SheetsV4::BasicFilter
The default filter associated with a sheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetBasicFilterRequest
constructor
A new instance of SetBasicFilterRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetBasicFilterRequest
Returns a new instance of SetBasicFilterRequest.
8627 8628 8629 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8627 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ Google::Apis::SheetsV4::BasicFilter
The default filter associated with a sheet.
Corresponds to the JSON property filter
8625 8626 8627 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8625 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8632 8633 8634 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 8632 def update!(**args) @filter = args[:filter] if args.key?(:filter) end |