class PubsubClient implements Closeable {

  public static SubscriptionPath subscriptionPathFromName(
      String projectId, String subscriptionName) {
    return new SubscriptionPath(String.format("projects/%s/subscriptions/%s",
                                              projectId, subscriptionName));
  }

}