Class: Google::Apis::SheetsV4::BatchClearValuesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb

Overview

The request for clearing more than one range of values in a spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchClearValuesRequest

Returns a new instance of BatchClearValuesRequest.



1550
1551
1552
# File 'lib/google/apis/sheets_v4/classes.rb', line 1550

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rangesArray<String>

The ranges to clear, in A1 notation or R1C1 notation. Corresponds to the JSON property ranges

Returns:

  • (Array<String>)


1548
1549
1550
# File 'lib/google/apis/sheets_v4/classes.rb', line 1548

def ranges
  @ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1555
1556
1557
# File 'lib/google/apis/sheets_v4/classes.rb', line 1555

def update!(**args)
  @ranges = args[:ranges] if args.key?(:ranges)
end