GoogleApi.Sheets.V4.Api.Spreadsheets.sheets_spreadsheets_batch_update
sheets_spreadsheets_batch_update
, go back to GoogleApi.Sheets.V4.Api.Spreadsheets module for more information.
sheets_spreadsheets_batch_update(connection, spreadsheet_id, optional_params \\ [], opts \\ [])
View SourceSpecs
sheets_spreadsheets_batch_update( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Sheets.V4.Model.BatchUpdateSpreadsheetResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Applies one or more updates to the spreadsheet. Each request is validated before being applied. If any request is not valid then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. The replies will mirror the requests. For example, if you applied 4 updates and the 3rd one had a reply, then the response will have 2 empty replies, the actual reply, and another empty reply, in that order. Due to the collaborative nature of spreadsheets, it is not guaranteed that the spreadsheet will reflect exactly your changes after this completes, however it is guaranteed that the updates in the request will be applied together atomically. Your changes may be altered with respect to collaborator changes. If there are no collaborators, the spreadsheet should reflect your changes.
Parameters
-
connection
(type:GoogleApi.Sheets.V4.Connection.t
) - Connection to server -
spreadsheet_id
(type:String.t
) - The spreadsheet to apply the updates to. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:body
(type:GoogleApi.Sheets.V4.Model.BatchUpdateSpreadsheetRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Sheets.V4.Model.BatchUpdateSpreadsheetResponse{}}
on success -
{:error, info}
on failure