code: def _configure_project(config):
      
      project_id = config["provider"].get("project_id")
      assert config["provider"]["project_id"] is not None, (
          "'project_id' must be set in the 'provider' section of the autoscaler"
          " config. Notice that the project id must be globally unique.")
      project = _get_project(project_id)
  
      if project is None:
          #  Project not found, try creating it
          _create_project(project_id)
          project = _get_project(project_id)
  
      assert project is not None, "Failed to create project"
      assert project["lifecycleState"] == "ACTIVE", (
          "Project status needs to be ACTIVE, got {}".format(
              project["lifecycleState"]))
  
      config["provider"]["project_id"] = project["projectId"]
  
      return config
docs: Setup a Google Cloud Platform Project.
  
      Google Compute Platform organizes all the resources, such as storage
      buckets, users, and instances under projects. This is different from
      aws ec2 where everything is global.