公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.data.setWorkloadTag
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
设置工作负载标记,用于标记计算和导出。
工作负载标记必须为 1-63 个字符,以字母数字字符 ([a-z0-9A-Z]) 开头和结尾,中间可以有短划线 (-)、下划线 (_)、点
(.) 和字母数字字符,也可以使用空字符串来清除工作负载标记。
用法 | 返回 |
---|
ee.data.setWorkloadTag(tag) | |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eSets a workload tag to label computations and exports for tracking and management purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe tag must adhere to specific length and character restrictions, including alphanumeric start and end, with dashes, underscores, dots, and alphanumerics allowed in between.\u003c/p\u003e\n"],["\u003cp\u003eAn empty string can be used to clear any existing workload tag.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eee.data.setWorkloadTag(tag)\u003c/code\u003e function is utilized to set the desired workload tag.\u003c/p\u003e\n"]]],["The `ee.data.setWorkloadTag(tag)` function sets a workload tag, used for labeling computations and exports. The tag must be a string of 1-63 characters. It must start and end with an alphanumeric character and can include dashes, underscores, and dots in between. Alternatively, an empty string clears the current tag. The function doesn't return any value.\n"],null,["# ee.data.setWorkloadTag\n\n\u003cbr /\u003e\n\nSets the workload tag, used to label computation and exports.\n\n\u003cbr /\u003e\n\nWorkload tag must be 1 - 63 characters, beginning and ending with an alphanumeric character (\\[a-z0-9A-Z\\]) with dashes (-), underscores (_), dots\n\n(.), and alphanumerics between, or an empty string to clear the workload tag.\n\n| Usage | Returns |\n|-------------------------------|---------|\n| `ee.data.setWorkloadTag(tag)` | |\n\n| Argument | Type | Details |\n|----------|--------|---------|\n| `tag` | String | |"]]