@BetaApi(
      "The surface for long-running operations is not stable yet and may change in the future.")
  public final OperationFuture<Empty, OperationMetadata> exportDataAsync(
      ExportDataRequest request) {
    return exportDataOperationCallable().futureCall(request);
  }
@ BetaApi ( "The surface for long-running operations is not stable yet and may change in the future." ) public final OperationFuture < Empty , OperationMetadata > exportDataAsync ( ExportDataRequest request ) { return exportDataOperationCallable ( ) . futureCall ( request ) ; }
Exports dataset's data to the provided output location. 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()) {
DatasetName name = DatasetName.of("[PROJECT]", "[LOCATION]", "[DATASET]");
OutputConfig outputConfig = OutputConfig.newBuilder().build();
ExportDataRequest request = ExportDataRequest.newBuilder()
.setName(name.toString())
.setOutputConfig(outputConfig)
.build();
autoMlClient.exportDataAsync(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