ee.data.setWorkloadTag
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برچسب بار کاری را که برای برچسب زدن محاسبات و صادرات استفاده می شود، تنظیم می کند.
برچسب بار کاری باید 1 تا 63 کاراکتر باشد که با یک نویسه الفبایی ([a-z0-9A-Z]) با خط تیره (-)، زیرخط (_)، نقطه شروع و پایان می یابد.
(.)، و حروف عددی بین، یا یک رشته خالی برای پاک کردن تگ بار کاری.
استفاده | برمی گرداند | ee.data.setWorkloadTag(tag) | |
استدلال | تایپ کنید | جزئیات | tag | رشته | |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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 | |"]]