def ResolveNetworkURI(project, network, resource_parser):
  """Resolves the URI of a network."""
  if project and network and resource_parser:
    return str(
        resource_parser.Parse(
            network, collection='compute.networks',
            params={'project': project}))
  return None