@BetaApi(
      "The surface for long-running operations is not stable yet and may change in the future.")
  public final OperationFuture<Empty, OperationMetadata> exportDataAsync(
      String name, OutputConfig outputConfig) {

    ExportDataRequest request =
        ExportDataRequest.newBuilder().setName(name).setOutputConfig(outputConfig).build();
    return exportDataAsync(request);
  }
@ BetaApi ( "The surface for long-running operations is not stable yet and may change in the future." ) public final OperationFuture < Empty , OperationMetadata > exportDataAsync ( String name , OutputConfig outputConfig ) { ExportDataRequest request = ExportDataRequest . newBuilder ( ) . setName ( name ) . setOutputConfig ( outputConfig ) . build ( ) ; return exportDataAsync ( 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();
autoMlClient.exportDataAsync(name.toString(), outputConfig).get();
}
</code></pre>

@param name Required. The resource name of the dataset.
@param outputConfig Required. The desired output location.
@throws com.google.api.gax.rpc.ApiException if the remote call fails