code: @BetaApi
    public final Commitment getRegionCommitment(String commitment) {
  
      GetRegionCommitmentHttpRequest request =
          GetRegionCommitmentHttpRequest.newBuilder().setCommitment(commitment).build();
      return getRegionCommitment(request);
    }
docs: Returns the specified commitment resource. Gets a list of available commitments by making a
  list() request.
  
  <p>Sample code:
  
  <pre><code>
  try (RegionCommitmentClient regionCommitmentClient = RegionCommitmentClient.create()) {
  ProjectRegionCommitmentName commitment = ProjectRegionCommitmentName.of("[PROJECT]", "[REGION]", "[COMMITMENT]");
  Commitment response = regionCommitmentClient.getRegionCommitment(commitment.toString());
  }
  </code></pre>
  
  @param commitment Name of the commitment to return.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails