ee.data.setDefaultWorkloadTag
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تگ بار کاری را به عنوان پیشفرض تنظیم میکند که به آن بازنشانی شود.
برای مثال، فراخوانی ee.data.resetWorkloadTag()
، تگ بار کاری را به حالت پیش فرض انتخاب شده در اینجا بازنشانی می کند. برای بازنشانی پیشفرض به هیچ، یک رشته خالی ارسال کنید یا true را به ee.data.resetWorkloadTag(true)
ارسال کنید.
برچسب بار کاری باید 1 تا 63 کاراکتر باشد که با یک نویسه الفبایی ([a-z0-9A-Z]) با خط تیره (-)، زیرخط (_)، نقطه شروع و پایان می یابد.
(.)، و حروف عددی بین، یا یک رشته خالی برای بازنشانی پیش فرض به هیچ.
استفاده | برمی گرداند | ee.data.setDefaultWorkloadTag(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 the default workload tag used by Earth Engine for tracking and managing API requests.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003eee.data.resetWorkloadTag()\u003c/code\u003e will revert the workload tag to this default.\u003c/p\u003e\n"],["\u003cp\u003eThe workload tag can be reset to none by providing an empty string or using \u003ccode\u003eee.data.resetWorkloadTag(true)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eValid workload tags are 1-63 characters long and follow specific formatting rules with alphanumeric start and end, allowing dashes, underscores, dots and alphanumerics in between.\u003c/p\u003e\n"]]],[],null,["# ee.data.setDefaultWorkloadTag\n\n\u003cbr /\u003e\n\nSets the workload tag, and as the default for which to reset back to.\n\n\u003cbr /\u003e\n\nFor example, calling `ee.data.resetWorkloadTag()` will reset the workload tag back to the default chosen here. To reset the default back to none, pass in an empty string or pass in true to `ee.data.resetWorkloadTag(true)`, like so.\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 reset the default back to none.\n\n| Usage | Returns |\n|--------------------------------------|---------|\n| `ee.data.setDefaultWorkloadTag(tag)` | |\n\n| Argument | Type | Details |\n|----------|--------|---------|\n| `tag` | String | |"]]