お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.data.getAssetRootQuota
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定された ID のアセットルートの割り当て使用量の詳細を返します。
使用上の注意:
- ID は「users/foo」のようなルートフォルダでなければなりません(「users/foo/bar」は不可)。
- 認証されたユーザーが割り当て使用量を確認するには、アセット ルートを所有している必要があります。
用途 | 戻り値 |
---|
ee.data.getAssetRootQuota(rootId, callback) | AssetQuotaDetails |
引数 | タイプ | 詳細 |
---|
rootId | 文字列 | 確認するアセットルートの ID(「users/foo」など)。 |
callback | 関数(省略可) | オプションのコールバック。指定しない場合、呼び出しは同期的に行われます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eProvides quota usage details for a specified asset root folder, such as "users/foo".\u003c/p\u003e\n"],["\u003cp\u003eRequires authentication and ownership of the asset root by the user to view quota usage.\u003c/p\u003e\n"],["\u003cp\u003eAccepts the asset root ID and an optional callback function as arguments.\u003c/p\u003e\n"],["\u003cp\u003eReturns an object containing asset quota details.\u003c/p\u003e\n"],["\u003cp\u003eOnly applies to the top-level folder (root folder) and does not work with nested folders.\u003c/p\u003e\n"]]],[],null,["# ee.data.getAssetRootQuota\n\n\u003cbr /\u003e\n\nReturns quota usage details for the asset root with the given ID.\n\n\u003cbr /\u003e\n\nUsage notes:\n\n- The id *must* be a root folder like \"users/foo\" (not \"users/foo/bar\").\n\n- The authenticated user must own the asset root to see its quota usage.\n\n| Usage | Returns |\n|---------------------------------------------------|-------------------|\n| `ee.data.getAssetRootQuota(rootId, `*callback*`)` | AssetQuotaDetails |\n\n| Argument | Type | Details |\n|------------|--------------------|------------------------------------------------------------------------|\n| `rootId` | String | The ID of the asset root to check, e.g. \"users/foo\". |\n| `callback` | Function, optional | An optional callback. If not supplied, the call is made synchronously. |"]]