public final OperationFuture<DatasetConfig, OperationMetadata> updateDatasetConfigAsync(
      DatasetConfig datasetConfig, FieldMask updateMask) {
    UpdateDatasetConfigRequest request =
        UpdateDatasetConfigRequest.newBuilder()
            .setDatasetConfig(datasetConfig)
            .setUpdateMask(updateMask)
            .build();
    return updateDatasetConfigAsync(request);
  }
Updates a dataset configuration in a given project for a given location.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (StorageInsightsClient storageInsightsClient = StorageInsightsClient.create()) {
  DatasetConfig datasetConfig = DatasetConfig.newBuilder().build();
  FieldMask updateMask = FieldMask.newBuilder().build();
  DatasetConfig response =
      storageInsightsClient.updateDatasetConfigAsync(datasetConfig, updateMask).get();
}
}</pre>

@param datasetConfig Required. The resource being updated
@param updateMask Required. Field mask is used to specify the fields to be overwritten in the
    `DatasetConfig` resource by the update. The fields specified in the `update_mask` are
    relative to the resource, not the full request. A field is overwritten if it is in the
    mask. If the user does not provide a mask then it returns an "Invalid Argument" error.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-storageinsights/google-cloud-storageinsights/src/main/java/com/google/cloud/storageinsights/v1/StorageInsightsClient.java