공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ee.data.updateTask
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
하나 이상의 작업 속성을 업데이트합니다. 현재는 상태 (취소됨)만 업데이트할 수 있습니다.
업데이트된 작업의 배열을 반환하거나 콜백이 지정된 경우 null을 반환합니다.
사용 | 반환 값 |
---|
ee.data.updateTask(taskId, action, callback) | List<TaskStatus> |
인수 | 유형 | 세부정보 |
---|
taskId | List<String>|String | 작업의 제출된 ID 또는 여러 작업 ID의 배열입니다. 작업 이름도 포함될 수 있습니다. |
action | TaskUpdateActions | 작업에 대해 실행된 작업입니다. |
callback | 함수(선택사항) | 선택적 콜백입니다. 제공되지 않으면 호출이 동기적으로 이루어집니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eee.data.updateTask\u003c/code\u003e function allows for updating the state of one or more Earth Engine tasks to 'CANCELLED'.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a task ID (or an array of IDs), an action object, and an optional callback function for asynchronous execution.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the function returns an array of updated tasks if a callback is not provided; otherwise, it returns null.\u003c/p\u003e\n"],["\u003cp\u003eThe function is limited to updating the task state only, other properties are not currently modifiable.\u003c/p\u003e\n"]]],[],null,["# ee.data.updateTask\n\n\u003cbr /\u003e\n\nUpdate one or more tasks' properties. For now, only the following properties may be updated: State (to CANCELLED)\n\n\u003cbr /\u003e\n\nReturns an array of updated tasks, or null if a callback is specified.\n\n| Usage | Returns |\n|----------------------------------------------------|--------------------|\n| `ee.data.updateTask(taskId, action, `*callback*`)` | List\\\u003cTaskStatus\\\u003e |\n\n| Argument | Type | Details |\n|------------|------------------------|----------------------------------------------------------------------------------------------|\n| `taskId` | List\\\u003cString\\\u003e\\|String | Submitted ID of the task or an array of multiple task IDs. May also contain operation names. |\n| `action` | TaskUpdateActions | Action performed on tasks. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]