Class: Google::Apis::SheetsV4::PivotFilterSpec
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::PivotFilterSpec
- 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 pivot table filter criteria associated with a specific source column offset.
Instance Attribute Summary collapse
-
#column_offset_index ⇒ Fixnum
The column offset of the source range.
-
#data_source_column_reference ⇒ Google::Apis::SheetsV4::DataSourceColumnReference
An unique identifier that references a data source column.
-
#filter_criteria ⇒ Google::Apis::SheetsV4::PivotFilterCriteria
Criteria for showing/hiding rows in a pivot table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PivotFilterSpec
constructor
A new instance of PivotFilterSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PivotFilterSpec
Returns a new instance of PivotFilterSpec.
7155 7156 7157 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_offset_index ⇒ Fixnum
The column offset of the source range.
Corresponds to the JSON property columnOffsetIndex
7143 7144 7145 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7143 def column_offset_index @column_offset_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
7148 7149 7150 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7148 def data_source_column_reference @data_source_column_reference end |
#filter_criteria ⇒ Google::Apis::SheetsV4::PivotFilterCriteria
Criteria for showing/hiding rows in a pivot table.
Corresponds to the JSON property filterCriteria
7153 7154 7155 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7153 def filter_criteria @filter_criteria end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7160 7161 7162 7163 7164 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 7160 def update!(**args) @column_offset_index = args[:column_offset_index] if args.key?(:column_offset_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 |