gcloud healthcare dicom-stores export gcs

NAME
gcloud healthcare dicom-stores export gcs - export a Cloud Healthcare API DICOM store to Google Cloud Storage
SYNOPSIS
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]
DESCRIPTION
Export a Cloud Healthcare API DICOM store to Google Cloud Storage.
EXAMPLES
To export the dicom-store 'test-dicom-store' to the existing bucket'testGcsBucket' in the folder 'someFolder', with the mime-type'application/dicom', run:
gcloudhealthcaredicom-storesexportgcstest-dicom-store--gcs-uri-prefix=gs://testGcsBucket/someFolder--mime-type=application/dicom--dataset=test-dataset
POSITIONAL ARGUMENTS
DicomStore resource - Cloud Healthcare API DICOM store to export. The argumentsin 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 otherways.

To set theproject attribute:

  • provide the argumentdicom_store on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

DICOM_STORE
ID of the dicomStore or fully qualified identifier for the dicomStore.

To set thedicom_store attribute:

  • provide the argumentdicom_store on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--dataset=DATASET
Cloud Healthcare dataset.

To set thedataset attribute:

  • provide the argumentdicom_store on the command line with a fullyspecified name;
  • provide the argument--dataset on the command line.
--location=LOCATION
Google Cloud location.

To set thelocation attribute:

  • provide the argumentdicom_store on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertyhealthcare/location.
REQUIRED FLAGS
--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 isno trailing slash, the service will append one when composing the object path.The user is responsible for creating the Google Cloud Storage bucket referencedinuri_prefix.
OPTIONAL FLAGS
--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 followingformat:…/{study_id}/{series_id}/{instance_id}[/{frame_number}].{extension}The frame_number component will exist only for multi-frame instances. Refer tothe DICOM conformance statement for permissible MIME types:https://cloud.google.com/healthcare/docs/dicom#wado-rsThe 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.'

GCLOUD WIDE FLAGS
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.

API REFERENCE
This command uses thehealthcare/v1 API. The full documentation forthis API can be found at:https://cloud.google.com/healthcare
NOTES
These variants are also available:
gcloudalphahealthcaredicom-storesexportgcs
gcloudbetahealthcaredicom-storesexportgcs

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.