getResponse = (asset) => {
    if (!(asset instanceof ee.api.EarthEngineAsset) || !asset.quota) {
      throw new Error(rootId + ' is not a root folder.');
    }
    /** @type {!ee.api.FolderQuota} */
    const quota = asset.quota;
    return /** @type {!ee.data.AssetQuotaDetails} */ (
        ee.rpc_convert.folderQuotaToAssetQuotaDetails(quota));
  }
@type {function(!Object):!ee.data.AssetQuotaDetails}