class Google::Apis::SheetsV4::BatchUpdateValuesRequest

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

Attributes

data[RW]

The new values to apply to the spreadsheet. Corresponds to the JSON property `data` @return [Array<Google::Apis::SheetsV4::ValueRange>]

include_values_in_response[RW]

Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The ` updatedData` field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range ( excluding trailing empty rows and columns). Corresponds to the JSON property `includeValuesInResponse` @return [Boolean]

include_values_in_response?[RW]

Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. The ` updatedData` field within each of the BatchUpdateValuesResponse.responses contains the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range ( excluding trailing empty rows and columns). Corresponds to the JSON property `includeValuesInResponse` @return [Boolean]

response_date_time_render_option[RW]

Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is SERIAL_NUMBER. Corresponds to the JSON property `responseDateTimeRenderOption` @return [String]

response_value_render_option[RW]

Determines how values in the response should be rendered. The default render option is FORMATTED_VALUE. Corresponds to the JSON property `responseValueRenderOption` @return [String]

value_input_option[RW]

How the input data should be interpreted. Corresponds to the JSON property `valueInputOption` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 1899
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sheets_v4/classes.rb, line 1904
def update!(**args)
  @data = args[:data] if args.key?(:data)
  @include_values_in_response = args[:include_values_in_response] if args.key?(:include_values_in_response)
  @response_date_time_render_option = args[:response_date_time_render_option] if args.key?(:response_date_time_render_option)
  @response_value_render_option = args[:response_value_render_option] if args.key?(:response_value_render_option)
  @value_input_option = args[:value_input_option] if args.key?(:value_input_option)
end