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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchClearValuesRequest

Returns a new instance of BatchClearValuesRequest.



1825
1826
1827
# File 'generated/google/apis/sheets_v4/classes.rb', line 1825

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

Instance Attribute Details

#rangesArray<String>

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

Returns:

  • (Array<String>)


1823
1824
1825
# File 'generated/google/apis/sheets_v4/classes.rb', line 1823

def ranges
  @ranges
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1830
1831
1832
# File 'generated/google/apis/sheets_v4/classes.rb', line 1830

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