- 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.
- POSITIONAL ARGUMENTS
-
-
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 argumentdicom_store
on the command line with a fully specified 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
the
dicom_store
attribute: provide the argumentdicom_store
on the command line. This positional 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 argumentdicom_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 argumentdicom_store
on the command line with a fully specified name; provide the argument--location
on the command line; set the propertyhealthcare/location
.
-
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
- 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 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 inuri_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 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.'
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--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 the
healthcare/v1
API. The full documentation for this API can be found at: https://cloud.google.com/healthcare - 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:
gcloud healthcare dicom-stores export gcs test-dicom-store --gcs-uri-prefix=gs://testGcsBucket/someFolder --mime-type=application/dicom --dataset=test-dataset
- NOTES
-
These variants are also available:
gcloud alpha healthcare dicom-stores export gcs
gcloud beta healthcare dicom-stores export gcs
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-09 UTC.