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
.
AutoML Video Intelligence writes a CSV file named videoClassification.csv
in the Google Cloud Storage bucket specified in gcsDestination
.
The output file has the following fields:
ML_USE,GCS_FILE_PATH
ML_USE
- Identifies the data set that the current row (file) applies to. This value can be one of the following:TRAIN
- Rows in this file are used to train the model.TEST
- Rows in this file are used to test the model during training.UNASSIGNED
- Rows in this file are not categorized. They are Automatically divided into train and test data. 80% for training and 20% for testing.
GCS_FILE_PATH
- Identifies a file stored in Google Cloud Storage that contains the model training information. AutoML Video Intelligence writes this file to the Google Cloud Storage bucket specified ingcsDestination
.
Each CSV file identified with a GCS_FILE_PATH
value has the following format:
GCS_FILE_PATH,LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END
GCS_FILE_PATH
- The path to the original, imported video stored in Google Cloud Storage.LABEL
- The label that identifies the object of the imported video segment.TIME_SEGMENT_START
andTIME_SEGMENT_END
- The start and end timestamps in seconds for the segment of video to be annotated. The values must be within the length of the video, andTIME_SEGMENT_END
must be after theTIME_SEGMENT_START
.
JSON representation | |
---|---|
{
"gcsDestination": {
object( |
Fields | |
---|---|
gcsDestination |
The Google Cloud Storage location where the output from the |