Class DataSourceTableColumn
Szczegółowa dokumentacja
getDataSourceColumn()
Pobiera kolumnę źródła danych.
Powrót
DataSourceColumn
– kolumna źródła danych.
Autoryzacja
Skrypty, które korzystają z tej metody, wymagają autoryzacji z co najmniej jednym z tych zakresów:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
remove()
Usuwa kolumnę z DataSourceTable
.
Autoryzacja
Skrypty, które korzystają z tej metody, wymagają autoryzacji z co najmniej jednym z tych zakresów:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-02 UTC."],[[["`DataSourceTableColumn` enables access and modification of existing columns within a `DataSourceTable` linked to a database."],["Use `DataSourceTable.addColumns(columnNames)` to add new columns to the table, instead of this class."],["It provides methods to retrieve the data source column (`getDataSourceColumn()`) and remove it from the table (`remove()`)."],["Both methods require authorization with specific scopes related to spreadsheet access."]]],["This class manages existing columns in a DataSourceTable, which is linked to a database. Key actions include retrieving a specific column using `getDataSourceColumn()` and removing a column entirely with `remove()`. Adding new columns is done through `DataSourceTable.addColumns(columnNames)`. The methods require authorization with specific scopes related to spreadsheet access: `https://www.googleapis.com/auth/spreadsheets.currentonly` and `https://www.googleapis.com/auth/spreadsheets`. It is used with data connected to a database.\n"]]