class Google::Apis::SheetsV4::DataFilterValueRange

A range of values whose location is specified by a DataFilter.

Attributes

data_filter[RW]

Filter that describes what data should be selected or returned from a request. Corresponds to the JSON property `dataFilter` @return [Google::Apis::SheetsV4::DataFilter]

major_dimension[RW]

The major dimension of the values. Corresponds to the JSON property `majorDimension` @return [String]

values[RW]

The data to be written. If the provided values exceed any of the ranges matched by the data filter then the request fails. If the provided values are less than the matched ranges only the specified values are written, existing values in the matched ranges remain unaffected. Corresponds to the JSON property `values` @return [Array<Array<Object>>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 3707
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 3712
def update!(**args)
  @data_filter = args[:data_filter] if args.key?(:data_filter)
  @major_dimension = args[:major_dimension] if args.key?(:major_dimension)
  @values = args[:values] if args.key?(:values)
end