Class: Google::Apis::SheetsV4::DataFilterValueRange
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DataFilterValueRange
- 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
A range of values whose location is specified by a DataFilter.
Instance Attribute Summary collapse
-
#data_filter ⇒ Google::Apis::SheetsV4::DataFilter
Filter that describes what data should be selected or returned from a request.
-
#major_dimension ⇒ String
The major dimension of the values.
-
#values ⇒ Array<Array<Object>>
The data to be written.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataFilterValueRange
constructor
A new instance of DataFilterValueRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DataFilterValueRange
Returns a new instance of DataFilterValueRange
3376 3377 3378 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_filter ⇒ Google::Apis::SheetsV4::DataFilter
Filter that describes what data should be selected or returned from a
request.
Corresponds to the JSON property dataFilter
3361 3362 3363 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3361 def data_filter @data_filter end |
#major_dimension ⇒ String
The major dimension of the values.
Corresponds to the JSON property majorDimension
3366 3367 3368 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3366 def major_dimension @major_dimension end |
#values ⇒ Array<Array<Object>>
The data to be written. If the provided values exceed any of the ranges
matched by the data filter then the request will fail. If the provided
values are less than the matched ranges only the specified values will be
written, existing values in the matched ranges will remain unaffected.
Corresponds to the JSON property values
3374 3375 3376 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3374 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3381 3382 3383 3384 3385 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3381 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 |