Method: projects.locations.datasets.exportData

Exports dataset's data to the provided output location. Returns an empty response in the response field when it completes.

HTTP request

POST https://automl.googleapis.com/v1beta1/{name}:exportData

Path parameters

Parameters
name

string

Required. The resource name of the dataset.

Authorization requires the following Google IAM permission on the specified resource name:

  • automl.datasets.export

Request body

The request body contains data with the following structure:

JSON representation
{
  "outputConfig": {
    object(OutputConfig)
  }
}
Fields
outputConfig

object(OutputConfig)

Required. The desired output location.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

OutputConfig

Output configuration for datasets.exportData. Does not apply to this product.

JSON representation
{

  // Union field destination can be only one of the following:
  "gcsDestination": {
    object(GcsDestination)
  },
  "bigqueryDestination": {
    object(BigQueryDestination)
  }
  // End of list of possible types for union field destination.
}
Fields
Union field destination. Required. The destination of the output. destination can be only one of the following:
gcsDestination

object(GcsDestination)

The Google Cloud Storage location where the output from the predict command is to be written to. Does not apply for this product.

bigqueryDestination

object(BigQueryDestination)

The BigQuery location where the output is to be written to.

BigQueryDestination

The BigQuery location for the output content.

JSON representation
{
  "outputUri": string
}
Fields
outputUri

string

Required. BigQuery URI to a project, up to 2000 characters long. Accepted forms: * BigQuery path e.g. bq://projectId

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud AutoML Vision
Need help? Visit our support page.