Class: Google::Apis::SheetsV4::BatchGetValuesByDataFilterResponse

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

The response when retrieving more than one range of values in a spreadsheet selected by DataFilters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchGetValuesByDataFilterResponse

Returns a new instance of BatchGetValuesByDataFilterResponse.



1645
1646
1647
# File 'generated/google/apis/sheets_v4/classes.rb', line 1645

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

Instance Attribute Details

#spreadsheet_idString

The ID of the spreadsheet the data was retrieved from. Corresponds to the JSON property spreadsheetId

Returns:

  • (String)


1638
1639
1640
# File 'generated/google/apis/sheets_v4/classes.rb', line 1638

def spreadsheet_id
  @spreadsheet_id
end

#value_rangesArray<Google::Apis::SheetsV4::MatchedValueRange>

The requested values with the list of data filters that matched them. Corresponds to the JSON property valueRanges



1643
1644
1645
# File 'generated/google/apis/sheets_v4/classes.rb', line 1643

def value_ranges
  @value_ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1650
1651
1652
1653
# File 'generated/google/apis/sheets_v4/classes.rb', line 1650

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