class Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest

The request for updating any aspect of a spreadsheet.

Attributes

include_spreadsheet_in_response[RW]

Determines if the update response should include the spreadsheet resource. Corresponds to the JSON property `includeSpreadsheetInResponse` @return [Boolean]

include_spreadsheet_in_response?[RW]

Determines if the update response should include the spreadsheet resource. Corresponds to the JSON property `includeSpreadsheetInResponse` @return [Boolean]

requests[RW]

A list of updates to apply to the spreadsheet. Requests will be applied in the order they are specified. If any request is not valid, no requests will be applied. Corresponds to the JSON property `requests` @return [Array<Google::Apis::SheetsV4::Request>]

response_include_grid_data[RW]

True if grid data should be returned. Meaningful only if include_spreadsheet_in_response is 'true'. This parameter is ignored if a field mask was set in the request. Corresponds to the JSON property `responseIncludeGridData` @return [Boolean]

response_include_grid_data?[RW]

True if grid data should be returned. Meaningful only if include_spreadsheet_in_response is 'true'. This parameter is ignored if a field mask was set in the request. Corresponds to the JSON property `responseIncludeGridData` @return [Boolean]

response_ranges[RW]

Limits the ranges included in the response spreadsheet. Meaningful only if include_spreadsheet_in_response is 'true'. Corresponds to the JSON property `responseRanges` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 1713
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 1718
def update!(**args)
  @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response)
  @requests = args[:requests] if args.key?(:requests)
  @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data)
  @response_ranges = args[:response_ranges] if args.key?(:response_ranges)
end