gcloud healthcare dicom-stores export gcs - export a Cloud Healthcare API DICOM store to Google Cloud Storage
gcloud healthcare dicom-stores export gcs (DICOM_STORE : --dataset=DATASET --location=LOCATION) --gcs-uri-prefix=GCS_URI_PREFIX [--async] [--mime-type=MIME_TYPE] [GCLOUD_WIDE_FLAG ...]
Export a Cloud Healthcare API DICOM store to Google Cloud Storage.
To export the dicom-store 'test-dicom-store' to the existing bucket 'testGcsBucket' in the folder 'someFolder', with the mime-type 'application/dicom', run:
$ gcloud healthcare dicom-stores export gcs test-dicom-store \ --gcs-uri-prefix=gs://testGcsBucket/someFolder \ --mime-type=application/dicom --dataset=test-dataset
- DicomStore resource - Cloud Healthcare API DICOM store to export. The arguments
in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument dicom_store on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- DICOM_STORE
ID of the dicomStore or fully qualified identifier for the dicomStore. To set the dicom_store attribute:
provide the argument dicom_store on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --dataset=DATASET
Cloud Healthcare dataset. To set the dataset attribute:
provide the argument dicom_store on the command line with a fully specified name;
provide the argument --dataset on the command line.
- --location=LOCATION
Google Cloud location. To set the location attribute:
provide the argument dicom_store on the command line with a fully specified name;
provide the argument --location on the command line;
set the property healthcare/location.
- --gcs-uri-prefix=GCS_URI_PREFIX
URI for a Google Cloud Storage directory to which result files should be written (for example, gs://bucket-id/path/to/destination/dir). If there is no trailing slash, the service will append one when composing the object path. The user is responsible for creating the Google Cloud Storage bucket referenced in uri_prefix.
- --async
Return immediately, without waiting for the operation in progress to complete.
- --mime-type=MIME_TYPE
'MIME types supported by DICOM spec. Each file will be written in the following format: .../{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension} The frame_number component will exist only for multi-frame instances. Refer to the DICOM conformance statement for permissible MIME types: https://cloud.google.com/healthcare/docs/dicom#wado-rs The following extensions will be used for output files:
- —
application/dicom -> .dcm
- —
image/jpeg -> .jpg
- —
image/png -> .png
If unspecified, the instances will be exported in their original DICOM format.'
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This command uses the healthcare/v1 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
These variants are also available:
$ gcloud alpha healthcare dicom-stores export gcs
$ gcloud beta healthcare dicom-stores export gcs