Enum DataSourceType
数据源类型
数据源类型的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
SpreadsheetApp.DataSourceType.BIGQUERY
。
属性
属性 | 类型 | 说明 |
DATA_SOURCE_TYPE_UNSUPPORTED | Enum | Apps 脚本中不支持该数据源类型。 |
BIGQUERY | Enum | BigQuery 数据源。 |
LOOKER | Enum | Looker 数据源。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-03。
[null,null,["最后更新时间 (UTC):2024-12-03。"],[[["`DataSourceType` is used to specify the type of data source used within Google Apps Script."],["The enum includes options for unsupported data sources, BigQuery, and Looker."],["To reference a specific data source type, use the syntax: `SpreadsheetApp.DataSourceType.[DataSourceType]`."]]],["The document defines `DataSourceType`, an enumeration of data source types used in Apps Script. It lists three properties: `DATA_SOURCE_TYPE_UNSUPPORTED` (a type not supported), `BIGQUERY` (a BigQuery data source), and `LOOKER` (a Looker data source). To use an enum, you must call it through its parent class, for example: `SpreadsheetApp.DataSourceType.BIGQUERY`. The property's `type` is `Enum`, and a short description is given for each property.\n"]]