I used this code, straight from the Javadocs, to delete a VertexAI Training Pipeline
try (PipelineServiceClient pipelineServiceClient = PipelineServiceClient.create()) {
TrainingPipelineName name =
TrainingPipelineName.of("[PROJECT]", "[LOCATION]", "[TRAINING_PIPELINE]");
pipelineServiceClient.deleteTrainingPipelineAsync(name).get();
}
I get this error. From what I can see, this means that this API, though officially documented, is simply unimplemented. How do we delete Training Pipelines using Java?
Error in deleting //aiplatform.googleapis.com/projects/746859988231/locations/us-central1/trainingPipelines/186468439399187392:
java.util.concurrent.ExecutionException:
com.google.api.gax.rpc.UnimplementedException: io.grpc.StatusRuntimeException:
UNIMPLEMENTED: HTTP status code 404
...
<!DOCTYPE html>
<html lang=en>
....
<p>The requested URL <code>/google.cloud.aiplatform.v1.PipelineService
/DeleteTrainingPipeline</code> was not found on this server.
<ins>That’s all we know.</ins>