code: @BetaApi
    public final Operation setBackupTargetPool(
        String targetPool, Float failoverRatio, TargetReference targetReferenceResource) {
  
      SetBackupTargetPoolHttpRequest request =
          SetBackupTargetPoolHttpRequest.newBuilder()
              .setTargetPool(targetPool)
              .setFailoverRatio(failoverRatio)
              .setTargetReferenceResource(targetReferenceResource)
              .build();
      return setBackupTargetPool(request);
    }
docs: Changes a backup target pool's configurations.
  
  <p>Sample code:
  
  <pre><code>
  try (TargetPoolClient targetPoolClient = TargetPoolClient.create()) {
  ProjectRegionTargetPoolName targetPool = ProjectRegionTargetPoolName.of("[PROJECT]", "[REGION]", "[TARGET_POOL]");
  Float failoverRatio = 0;
  TargetReference targetReferenceResource = TargetReference.newBuilder().build();
  Operation response = targetPoolClient.setBackupTargetPool(targetPool.toString(), failoverRatio, targetReferenceResource);
  }
  </code></pre>
  
  @param targetPool Name of the TargetPool resource to set a backup pool for.
  @param failoverRatio New failoverRatio value for the target pool.
  @param targetReferenceResource
  @throws com.google.api.gax.rpc.ApiException if the remote call fails