class Google::Apis::SheetsV4::BatchGetValuesByDataFilterRequest

The request for retrieving a range of values in a spreadsheet selected by a set of DataFilters.

Attributes

data_filters[RW]

The data filters used to match the ranges of values to retrieve. Ranges that match any of the specified data filters are included in the response. Corresponds to the JSON property `dataFilters` @return [Array<Google::Apis::SheetsV4::DataFilter>]

date_time_render_option[RW]

How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER. Corresponds to the JSON property `dateTimeRenderOption` @return [String]

major_dimension[RW]

The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then a request that selects that range and sets `majorDimension=ROWS` returns `[[1,2],]`, whereas a request that sets `majorDimension=COLUMNS` returns `[[1,3],]`. Corresponds to the JSON property `majorDimension` @return [String]

value_render_option[RW]

How values should be represented in the output. The default render option is FORMATTED_VALUE. Corresponds to the JSON property `valueRenderOption` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 1617
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 1622
def update!(**args)
  @data_filters = args[:data_filters] if args.key?(:data_filters)
  @date_time_render_option = args[:date_time_render_option] if args.key?(:date_time_render_option)
  @major_dimension = args[:major_dimension] if args.key?(:major_dimension)
  @value_render_option = args[:value_render_option] if args.key?(:value_render_option)
end