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



4499
4500
4501
# File 'generated/google/apis/sheets_v4/classes.rb', line 4499

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



4490
4491
4492
# File 'generated/google/apis/sheets_v4/classes.rb', line 4490

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)


4496
4497
4498
# File 'generated/google/apis/sheets_v4/classes.rb', line 4496

def include_grid_data
  @include_grid_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4504
4505
4506
4507
# File 'generated/google/apis/sheets_v4/classes.rb', line 4504

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