Class: Google::Apis::SheetsV4::BatchUpdateValuesRequest

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 updating 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) ⇒ BatchUpdateValuesRequest

Returns a new instance of BatchUpdateValuesRequest.



1562
1563
1564
# File 'generated/google/apis/sheets_v4/classes.rb', line 1562

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

Instance Attribute Details

#dataArray<Google::Apis::SheetsV4::ValueRange>

The new values to apply to the spreadsheet. Corresponds to the JSON property data



1560
1561
1562
# File 'generated/google/apis/sheets_v4/classes.rb', line 1560

def data
  @data
end

#value_input_optionString

How the input data should be interpreted. Corresponds to the JSON property valueInputOption

Returns:

  • (String)


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

def value_input_option
  @value_input_option
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1567
1568
1569
1570
# File 'generated/google/apis/sheets_v4/classes.rb', line 1567

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