code: public final Subscription getSubscription(ProjectSubscriptionName subscription) {
  
      GetSubscriptionRequest request =
          GetSubscriptionRequest.newBuilder()
              .setSubscription(subscription == null ? null : subscription.toString())
              .build();
      return getSubscription(request);
    }
docs: Gets the configuration details of a subscription.
  
  <p>Sample code:
  
  <pre><code>
  try (SubscriptionAdminClient subscriptionAdminClient = SubscriptionAdminClient.create()) {
  ProjectSubscriptionName subscription = ProjectSubscriptionName.of("[PROJECT]", "[SUBSCRIPTION]");
  Subscription response = subscriptionAdminClient.getSubscription(subscription);
  }
  </code></pre>
  
  @param subscription The name of the subscription to get. Format is
  `projects/{project}/subscriptions/{sub}`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails