code: public final AlertPolicy getAlertPolicy(AlertPolicyName name) {
  
      GetAlertPolicyRequest request =
          GetAlertPolicyRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      return getAlertPolicy(request);
    }
docs: Gets a single alerting policy.
  
  <p>Sample code:
  
  <pre><code>
  try (AlertPolicyServiceClient alertPolicyServiceClient = AlertPolicyServiceClient.create()) {
  AlertPolicyName name = AlertPolicyName.of("[PROJECT]", "[ALERT_POLICY]");
  AlertPolicy response = alertPolicyServiceClient.getAlertPolicy(name);
  }
  </code></pre>
  
  @param name The alerting policy to retrieve. The format is
  <p>projects/[PROJECT_ID]/alertPolicies/[ALERT_POLICY_ID]
  @throws com.google.api.gax.rpc.ApiException if the remote call fails