Class: Google::Apis::SheetsV4::PivotFilterCriteria

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

Criteria for showing/hiding rows in a pivot table.

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

Returns a new instance of PivotFilterCriteria.



6799
6800
6801
# File 'generated/google/apis/sheets_v4/classes.rb', line 6799

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

Instance Attribute Details

#visible_valuesArray<String>

Values that should be included. Values not listed here are excluded. Corresponds to the JSON property visibleValues

Returns:

  • (Array<String>)


6797
6798
6799
# File 'generated/google/apis/sheets_v4/classes.rb', line 6797

def visible_values
  @visible_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6804
6805
6806
# File 'generated/google/apis/sheets_v4/classes.rb', line 6804

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