Class: Google::Apis::SheetsV4::BatchClearValuesRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchClearValuesRequest
- 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 clearing more than one range of values in a spreadsheet.
Instance Attribute Summary collapse
-
#ranges ⇒ Array<String>
The ranges to clear, in A1 notation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchClearValuesRequest
constructor
A new instance of BatchClearValuesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchClearValuesRequest
Returns a new instance of BatchClearValuesRequest
1464 1465 1466 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1464 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ranges ⇒ Array<String>
The ranges to clear, in A1 notation.
Corresponds to the JSON property ranges
1462 1463 1464 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1462 def ranges @ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1469 1470 1471 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1469 def update!(**args) @ranges = args[:ranges] if args.key?(:ranges) end |