private GoogleCloudRunV2WorkerPool getWorkerPool()

in src/main/java/com/google/cloud/run/kafkascaler/clients/CloudRunClientWrapper.java [314:324]


  private GoogleCloudRunV2WorkerPool getWorkerPool(String workerpoolName) throws IOException {
    return this.cloudRun
        .projects()
        .locations()
        .workerPools()
        .get(
            String.format(
                "projects/%s/locations/%s/workerPools/%s",
                this.projectId, this.region, workerpoolName))
        .execute();
  }