Class DataSourceTableColumn
詳細なドキュメント
getDataSourceColumn()
データソースの列を取得します。
戻る
DataSourceColumn
- データソースの列。
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
remove()
DataSourceTable
から列を削除します。
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/spreadsheets.currentonly
-
https://www.googleapis.com/auth/spreadsheets
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-02 UTC。
[null,null,["最終更新日 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"]]