Class: Google::Apis::SheetsV4::MatchedValueRange

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

A value range that was matched by one or more data filers.

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

Returns a new instance of MatchedValueRange.



6635
6636
6637
# File 'generated/google/apis/sheets_v4/classes.rb', line 6635

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

Instance Attribute Details

#data_filtersArray<Google::Apis::SheetsV4::DataFilter>

The DataFilters from the request that matched the range of values. Corresponds to the JSON property dataFilters



6628
6629
6630
# File 'generated/google/apis/sheets_v4/classes.rb', line 6628

def data_filters
  @data_filters
end

#value_rangeGoogle::Apis::SheetsV4::ValueRange

Data within a range of the spreadsheet. Corresponds to the JSON property valueRange



6633
6634
6635
# File 'generated/google/apis/sheets_v4/classes.rb', line 6633

def value_range
  @value_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6640
6641
6642
6643
# File 'generated/google/apis/sheets_v4/classes.rb', line 6640

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