Class: Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::BatchUpdateSpreadsheetRequest
- 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
-
#include_spreadsheet_in_response ⇒ Boolean
(also: #include_spreadsheet_in_response?)
Determines if the update response should include the spreadsheet resource.
-
#requests ⇒ Array<Google::Apis::SheetsV4::Request>
A list of updates to apply to the spreadsheet.
-
#response_include_grid_data ⇒ Boolean
(also: #response_include_grid_data?)
True if grid data should be returned.
-
#response_ranges ⇒ Array<String>
Limits the ranges included in the response spreadsheet.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateSpreadsheetRequest
constructor
A new instance of BatchUpdateSpreadsheetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchUpdateSpreadsheetRequest
Returns a new instance of BatchUpdateSpreadsheetRequest
6440 6441 6442 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6440 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_spreadsheet_in_response ⇒ Boolean Also known as: include_spreadsheet_in_response?
Determines if the update response should include the spreadsheet
resource.
Corresponds to the JSON property includeSpreadsheetInResponse
6416 6417 6418 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6416 def include_spreadsheet_in_response @include_spreadsheet_in_response end |
#requests ⇒ Array<Google::Apis::SheetsV4::Request>
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
6438 6439 6440 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6438 def requests @requests end |
#response_include_grid_data ⇒ Boolean Also known as: response_include_grid_data?
True if grid data should be returned. Meaningful only if
if include_spreadsheet_response is 'true'.
This parameter is ignored if a field mask was set in the request.
Corresponds to the JSON property responseIncludeGridData
6430 6431 6432 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6430 def response_include_grid_data @response_include_grid_data end |
#response_ranges ⇒ Array<String>
Limits the ranges included in the response spreadsheet.
Meaningful only if include_spreadsheet_response is 'true'.
Corresponds to the JSON property responseRanges
6423 6424 6425 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6423 def response_ranges @response_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6445 6446 6447 6448 6449 6450 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 6445 def update!(**args) @include_spreadsheet_in_response = args[:include_spreadsheet_in_response] if args.key?(:include_spreadsheet_in_response) @response_ranges = args[:response_ranges] if args.key?(:response_ranges) @response_include_grid_data = args[:response_include_grid_data] if args.key?(:response_include_grid_data) @requests = args[:requests] if args.key?(:requests) end |