ee.data.setDefaultWorkloadTag
Sets the workload tag, and as the default for which to reset back to.
For 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.
Workload tag must be 1 - 63 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots
(.), and alphanumerics between, or an empty string to reset the default back to none.
Usage | Returns |
---|
ee.data.setDefaultWorkloadTag(tag) | |
Argument | Type | Details |
---|
tag | String | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Sets the default workload tag used by Earth Engine for tracking and managing API requests."],["Calling `ee.data.resetWorkloadTag()` will revert the workload tag to this default."],["The workload tag can be reset to none by providing an empty string or using `ee.data.resetWorkloadTag(true)`."],["Valid 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."]]],[]]