Exports data from a Dataset.
HTTP request
POST http://{service-endpoint}/v1/{name}:export
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the Dataset resource. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"exportConfig": {
object ( |
Fields | |
---|---|
exportConfig |
Required. The desired output location. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
http://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
aiplatform.datasets.export
For more information, see the IAM documentation.
ExportDataConfig
Describes what part of the Dataset is to be exported, the destination of the export and how to export.
JSON representation |
---|
{ "annotationsFilter": string, // Union field |
Fields | |
---|---|
annotationsFilter |
An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in |
Union field destination . The destination of the output. destination can be only one of the following: |
|
gcsDestination |
The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: |