Enum ColumnType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
列类型
DataTable
中列的有效数据类型的枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
Charts.ColumnType.DATE
。
属性
属性 | 类型 | 说明 |
DATE | Enum | 对应于日期值。 |
NUMBER | Enum | 对应于数值。 |
STRING | Enum | 对应于字符串值。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eUpdateDraftActionResponse\u003c/code\u003e allows you to programmatically modify email drafts, such as adding recipients, subject lines, and content.\u003c/p\u003e\n"],["\u003cp\u003eIt supports inserting various types of content including plain text, HTML, and immutable HTML (non-editable).\u003c/p\u003e\n"],["\u003cp\u003eYou can specify where the content should be inserted within the draft using \u003ccode\u003eUpdateDraftBodyType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateDraftActionResponse\u003c/code\u003e includes a \u003ccode\u003eprintJson()\u003c/code\u003e method for debugging purposes.\u003c/p\u003e\n"],["\u003cp\u003eIt provides specific actions for updating recipients (To, CC, BCC) and the email subject.\u003c/p\u003e\n"]]],["The `ColumnType` enumeration defines valid data types for `DataTable` columns. It includes three properties: `DATE`, representing date values; `NUMBER`, representing numerical values; and `STRING`, representing string values. To use a specific type, reference it through `Charts.ColumnType`, followed by the desired property name (e.g., `Charts.ColumnType.DATE`). These are the only types allowed in the table.\n"],null,["# Enum ColumnType\n\nColumnType\n\nAn enumeration of the valid data types for columns in a [DataTable](/apps-script/reference/charts/data-table).\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.ColumnType.DATE`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------------------------|\n| `DATE` | `Enum` | Corresponds to date values. |\n| `NUMBER` | `Enum` | Corresponds to number values. |\n| `STRING` | `Enum` | Corresponds to string values. |"]]