Class: Google::Apis::SheetsV4::GetSpreadsheetByDataFilterRequest

Inherits:
Object
  • Object
show all
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 request for retrieving a Spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetSpreadsheetByDataFilterRequest

Returns a new instance of GetSpreadsheetByDataFilterRequest.



5903
5904
5905
# File 'lib/google/apis/sheets_v4/classes.rb', line 5903

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

Instance Attribute Details

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

The DataFilters used to select which ranges to retrieve from the spreadsheet. Corresponds to the JSON property dataFilters



5894
5895
5896
# File 'lib/google/apis/sheets_v4/classes.rb', line 5894

def data_filters
  @data_filters
end

#include_grid_dataBoolean Also known as: include_grid_data?

True if grid data should be returned. This parameter is ignored if a field mask was set in the request. Corresponds to the JSON property includeGridData

Returns:

  • (Boolean)


5900
5901
5902
# File 'lib/google/apis/sheets_v4/classes.rb', line 5900

def include_grid_data
  @include_grid_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5908
5909
5910
5911
# File 'lib/google/apis/sheets_v4/classes.rb', line 5908

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