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

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 request for retrieving a Spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetSpreadsheetByDataFilterRequest

Returns a new instance of GetSpreadsheetByDataFilterRequest.



5807
5808
5809
# File 'generated/google/apis/sheets_v4/classes.rb', line 5807

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



5798
5799
5800
# File 'generated/google/apis/sheets_v4/classes.rb', line 5798

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)


5804
5805
5806
# File 'generated/google/apis/sheets_v4/classes.rb', line 5804

def include_grid_data
  @include_grid_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5812
5813
5814
5815
# File 'generated/google/apis/sheets_v4/classes.rb', line 5812

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