GoogleApi.Sheets.V4.Api.Spreadsheets.sheets_spreadsheets_values_append
You're seeing just the function
sheets_spreadsheets_values_append
, go back to GoogleApi.Sheets.V4.Api.Spreadsheets module for more information.
Link to this function
sheets_spreadsheets_values_append(connection, spreadsheet_id, range, optional_params \\ [], opts \\ [])
View SourceSpecs
sheets_spreadsheets_values_append( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Sheets.V4.Model.AppendValuesResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The valueInputOption
only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
Parameters
-
connection
(type:GoogleApi.Sheets.V4.Connection.t
) - Connection to server -
spreadsheet_id
(type:String.t
) - The ID of the spreadsheet to update. -
range
(type:String.t
) - The A1 notation of a range to search for a logical table of data. Values are appended after the last row of the table. -
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"). -
:includeValuesInResponse
(type:boolean()
) - Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values. -
:insertDataOption
(type:String.t
) - How the input data should be inserted. -
:responseDateTimeRenderOption
(type:String.t
) - 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 [DateTimeRenderOption.SERIAL_NUMBER]. -
:responseValueRenderOption
(type:String.t
) - Determines how values in the response should be rendered. The default render option is ValueRenderOption.FORMATTED_VALUE. -
:valueInputOption
(type:String.t
) - How the input data should be interpreted. -
:body
(type:GoogleApi.Sheets.V4.Model.ValueRange.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.Sheets.V4.Model.AppendValuesResponse{}}
on success -
{:error, info}
on failure