code: @BetaApi(
        "The surface for long-running operations is not stable yet and may change in the future.")
    public final OperationFuture<Empty, OperationMetadata> undeployModelAsync(
        UndeployModelRequest request) {
      return undeployModelOperationCallable().futureCall(request);
    }
docs: Undeploys a model. If the model is not deployed this method has no effect.
  
  <p>Only applicable for Text Classification, Image Object Detection and Tables; all other
  domains manage deployment automatically.
  
  <p>Returns an empty response in the [response][google.longrunning.Operation.response] field
  when it completes.
  
  <p>Sample code:
  
  <pre><code>
  try (AutoMlClient autoMlClient = AutoMlClient.create()) {
  ModelName name = ModelName.of("[PROJECT]", "[LOCATION]", "[MODEL]");
  UndeployModelRequest request = UndeployModelRequest.newBuilder()
  .setName(name.toString())
  .build();
  autoMlClient.undeployModelAsync(request).get();
  }
  </code></pre>
  
  @param request The request object containing all of the parameters for the API call.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails