ee.data.setWorkloadTag
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Définit le tag de charge de travail, utilisé pour libeller les calculs et les exportations.
Le tag de charge de travail doit comporter entre 1 et 63 caractères. Il doit commencer et se terminer par un caractère alphanumérique ([a-z0-9A-Z]), et contenir des tirets (-), des traits de soulignement (_), des points
(.), et des caractères alphanumériques entre les caractères spéciaux, ou une chaîne vide pour effacer le tag de charge de travail.
Utilisation | Renvoie |
---|
ee.data.setWorkloadTag(tag) | |
Argument | Type | Détails |
---|
tag | Chaîne | |
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\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 | |"]]