ee.data.setWorkloadTag
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Ustawia tag zadania, który służy do oznaczania obliczeń i eksportów.
Tag obciążenia musi mieć od 1 do 63 znaków, musi rozpoczynać się i kończyć znakiem alfanumerycznym ([a-z0-9A-Z]) oraz składać się z łączników (-), podkreśleń (_), kropek
(.), i znaki alfanumeryczne, lub pusty ciąg znaków, aby wyczyścić tag obciążenia.
Wykorzystanie | Zwroty |
---|
ee.data.setWorkloadTag(tag) | |
Argument | Typ | Szczegóły |
---|
tag | Ciąg znaków | |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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 | |"]]