code: def get_existing_services():
      services = json.loads(
          check_output(
              "gcloud run services list --platform=managed --format json",
              shell=True,
              universal_newlines=True,
          )
      )
      return [
          {
              "name": service["metadata"]["name"],
              "created": service["metadata"]["creationTimestamp"],
              "url": service["status"]["address"]["url"],
          }
          for service in services
      ]
  
file_path: datasette/datasette/publish/cloudrun.py
imports: from datasette import hookimpl
  import click
  import json
  import os
  import re
  from subprocess import check_call, check_output
  from .common import add_common_publish_arguments_and_options, fail_if_publish_binary_not_installed
  from ..utils import temporary_docker_directory
label_desc: Use image node_id 2 for calling a global function with example usage: get_existing_services() and returns: unknown