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.



5809
5810
5811
# File 'lib/google/apis/sheets_v4/classes.rb', line 5809

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



5800
5801
5802
# File 'lib/google/apis/sheets_v4/classes.rb', line 5800

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)


5806
5807
5808
# File 'lib/google/apis/sheets_v4/classes.rb', line 5806

def include_grid_data
  @include_grid_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5814
5815
5816
5817
# File 'lib/google/apis/sheets_v4/classes.rb', line 5814

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