ee.data.createFolder
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo một thư mục thành phần.
Trả về nội dung mô tả về thư mục mới tạo.
Cách sử dụng | Giá trị trả về |
---|
ee.data.createFolder(path, force, callback) | Đối tượng |
Đối số | Loại | Thông tin chi tiết |
---|
path | Chuỗi | Đường dẫn của thư mục cần tạo. |
force | Boolean, không bắt buộc | Buộc ghi đè. |
callback | Hàm, không bắt buộc | Một lệnh gọi lại không bắt buộc. Nếu không được cung cấp, lệnh gọi sẽ được thực hiện đồng bộ. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a new folder for storing assets within Google Earth Engine.\u003c/p\u003e\n"],["\u003cp\u003eReturns a description object containing information about the newly created folder.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the folder path as a required argument and optional parameters for force overwriting and a callback function.\u003c/p\u003e\n"]]],["Creates a new asset folder at the specified `path`. The `path` argument is required and defines the folder's location. An optional `force` argument, a boolean, allows overwriting existing folders. An optional `callback` function allows for asynchronous operation. The function returns an Object describing the newly created folder. The operation can be synchronous if no callback is provided.\n"],null,["# ee.data.createFolder\n\n\u003cbr /\u003e\n\nCreates an asset folder.\n\n\u003cbr /\u003e\n\nReturns a description of the newly created folder.\n\n| Usage | Returns |\n|--------------------------------------------------------|---------|\n| `ee.data.createFolder(path, `*force* `, `*callback*`)` | Object |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `path` | String | The path of the folder to create. |\n| `force` | Boolean, optional | Force overwrite. |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]