def _get_invoker_url(platform: str,
                     location: str,
                     project: str,
                     deployment_name: str,
                     solution_prefix: str) -> str:

  """Returns the url to invoke the cloud function for the specific platform.

  Args:
      platform: the target platform
      location: the project location of the cloud function
      project: the project where the cloud function is deployed
      deployment_name: the name given to the deployment
      solution_prefix: the prefix to identify the solution deployed

  Returns:
      The URL to invoke the cloud function
  """
  return f'https://{location}-{project}.cloudfunctions.net/{deployment_name}_{solution_prefix}_{platform}_invoker'