Class: Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest

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 any aspect of 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) ⇒ BatchUpdateSpreadsheetRequest

Returns a new instance of BatchUpdateSpreadsheetRequest.



2676
2677
2678
# File 'generated/google/apis/sheets_v4/classes.rb', line 2676

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

Instance Attribute Details

#requestsArray<Google::Apis::SheetsV4::Request>

A list of updates to apply to the spreadsheet. Corresponds to the JSON property requests



2674
2675
2676
# File 'generated/google/apis/sheets_v4/classes.rb', line 2674

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2681
2682
2683
# File 'generated/google/apis/sheets_v4/classes.rb', line 2681

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