Required. The DICOM store resource name from which to export the data. For example, projects/{projectId}/locations/{locationId}/datasets/{datasetId}/dicomStores/{dicomStoreId}.
Authorization requires the following IAM permission on the specified resource name:
healthcare.dicomStores.export
Request body
The request body contains data with the following structure:
JSON representation
{"filterConfig": {object(DicomFilterConfig)},// 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.}
Union field destination. Specifies the destination of the output.
To enable the Cloud Healthcare API to write to resources in your project, such as Cloud Storage buckets, you must give the Cloud Healthcare API service account the proper permissions. The service account is: service-{PROJECT_NUMBER}@gcp-sa-healthcare.iam.gserviceaccount.com. The PROJECT_NUMBER identifies the project that the DICOM store resides in. To get the project number, go to the Cloud Console Dashboard. destination can be only one of the following:
The Cloud Storage location where the server writes the output and the export configuration.
JSON representation
{"uriPrefix": string,"mimeType": string}
Fields
uriPrefix
string
The Cloud Storage destination to export to.
URI for a Cloud Storage directory where the server writes the result files, in the format gs://{bucket-id}/{path/to/destination/dir}). If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced in uriPrefix.
mimeType
string
MIME types supported by DICOM spec. Each file is written in the following format: .../{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension} The frame_number component exists only for multi-frame instances.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["This API endpoint, `projects.locations.datasets.dicomStores.export`, is used to export data from a DICOM store to a specified destination."],["Data can be exported to either a Cloud Storage location (using `gcsDestination`) or a BigQuery dataset (using `bigqueryDestination`), each requiring specific IAM roles for the Cloud Healthcare Service Agent."],["The export process logs errors to Cloud Logging, and detailed information about the export operation is provided in the `OperationMetadata` field."],["The `filterConfig` field can be used to filter the data being exported, and the `uriPrefix` and `mimeType` fields within `GcsDestination` define the output location and file format of exported data, respectively."],["The DICOM data exported can have a variety of mime types such as application/dicom, application/octet-stream, image/jpeg, and image/png."]]],[]]