Class: Google::Apis::SheetsV4::FilterSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::FilterSpec
- 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
The filter criteria associated with a specific column.
Instance Attribute Summary collapse
-
#column_index ⇒ Fixnum
The zero-based column index.
-
#data_source_column_reference ⇒ Google::Apis::SheetsV4::DataSourceColumnReference
An unique identifier that references a data source column.
-
#filter_criteria ⇒ Google::Apis::SheetsV4::FilterCriteria
Criteria for showing/hiding rows in a filter or filter view.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FilterSpec
constructor
A new instance of FilterSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FilterSpec
Returns a new instance of FilterSpec.
5666 5667 5668 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_index ⇒ Fixnum
The zero-based column index.
Corresponds to the JSON property columnIndex
5654 5655 5656 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5654 def column_index @column_index end |
#data_source_column_reference ⇒ Google::Apis::SheetsV4::DataSourceColumnReference
An unique identifier that references a data source column.
Corresponds to the JSON property dataSourceColumnReference
5659 5660 5661 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5659 def data_source_column_reference @data_source_column_reference end |
#filter_criteria ⇒ Google::Apis::SheetsV4::FilterCriteria
Criteria for showing/hiding rows in a filter or filter view.
Corresponds to the JSON property filterCriteria
5664 5665 5666 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5664 def filter_criteria @filter_criteria end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5671 5672 5673 5674 5675 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 5671 def update!(**args) @column_index = args[:column_index] if args.key?(:column_index) @data_source_column_reference = args[:data_source_column_reference] if args.key?(:data_source_column_reference) @filter_criteria = args[:filter_criteria] if args.key?(:filter_criteria) end |