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 |
Required. The resource name of the dataset. Authorization requires the following Google IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"outputConfig": {
object( |
Fields | |
---|---|
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.
As destination the gcsDestination
must be set. Only ground truth annotations are exported (not approved annotations are not exported).
The outputs correspond to how the data was imported, and may be used as input to import data. The output formats are represented as EBNF with literal commas and same non-terminal symbols definitions as the InputConfig
for import data.
The outputs are contained within a CSV file named videoObjectTracking.csv
, with each line in the following format and may have multiple lines per a single ML_USE
:
ML_USE,GCS_FILE_PATH
Each GCS_FILE_PATH
leads to another CSV file that describes examples that have given ML_USE
, using the following row format:
GCS_FILE_PATH,LABEL,INSTANCE_ID,TIMESTAMP,BOUNDING_BOX
Here the data in the GCS_FILE_PATH
column point at the original, source locations of the imported videos.
JSON representation | |
---|---|
{
"gcsDestination": {
object( |
Fields | |
---|---|
gcsDestination |
The Google Cloud Storage location where the output is to be written to. In the given directory a new directory is created similar to the following where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format:
All export output will be written into that directory. |