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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetSpreadsheetByDataFilterRequest

Returns a new instance of GetSpreadsheetByDataFilterRequest.



5518
5519
5520
# File 'generated/google/apis/sheets_v4/classes.rb', line 5518

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



5509
5510
5511
# File 'generated/google/apis/sheets_v4/classes.rb', line 5509

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)


5515
5516
5517
# File 'generated/google/apis/sheets_v4/classes.rb', line 5515

def include_grid_data
  @include_grid_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5523
5524
5525
5526
# File 'generated/google/apis/sheets_v4/classes.rb', line 5523

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