isLegacyProject =
      (id) => [ee.rpc_convert.DEFAULT_PROJECT, ee.rpc_convert.PUBLIC_PROJECT]
                  .includes(id)
Returns the asset ID without the 'projects/PROJECT/assets/' prefix. If
`name` is not in this form or PROJECT is the default or public project,
it is returned unmodified.
@param {string} name asset name
@return {string} asset id