Class DataSourceTableColumn
Tài liệu chi tiết
getDataSourceColumn()
Lấy cột nguồn dữ liệu.
Cầu thủ trả bóng
DataSourceColumn
– Cột nguồn dữ liệu.
Ủy quyền
Các tập lệnh sử dụng phương thức này yêu cầu được uỷ quyền với một hoặc nhiều phạm vi sau:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
remove()
Xoá cột khỏi DataSourceTable
.
Ủy quyền
Các tập lệnh sử dụng phương thức này yêu cầu được uỷ quyền với một hoặc nhiều phạm vi sau:
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-12-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]