gcloud beta healthcare dicom-stores export gcs

NAME
gcloud beta healthcare dicom-stores export gcs - export a Cloud Healthcare API DICOM store to Google Cloud Storage
SYNOPSIS
gcloud beta healthcare dicom-stores export gcs (DICOM_STORE : --dataset=DATASET --location=LOCATION) --gcs-uri-prefix=GCS_URI_PREFIX [--async] [--filter-config-gcs-uri=FILTER_CONFIG_GCS_URI] [--mime-type=MIME_TYPE] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) 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:
gcloud beta healthcare dicom-stores export gcs test-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 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.
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 in uri_prefix.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--filter-config-gcs-uri=FILTER_CONFIG_GCS_URI
Cloud Storage location of the filter configuration file. The FILTER_CONFIG_GCS_URI must be in the format gs://bucket/path/to/object. The filter configuration file must contain a list of resource paths separated by newline characters (\n or \r\n). Each resource path must be in the format "/studies/{studyUID}[/series/{seriesUID}[/instances/{instanceUID}]]"

Cloud Healthcare API service account must have the roles/storage.objectViewer Cloud IAM role for this Cloud Storage location.

--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: --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 the healthcare/v1beta1 API. The full documentation for this API can be found at: https://cloud.google.com/healthcare
NOTES
This command is currently in beta and might change without notice. These variants are also available:
gcloud healthcare dicom-stores export gcs
gcloud alpha healthcare dicom-stores export gcs