HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/healthcare/dicom_stores/export/gcs.yaml
- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief:  Export a Cloud Healthcare API DICOM store to Google Cloud Storage.
    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:

        $ {command} test-dicom-store --gcs-uri-prefix=gs://testGcsBucket/someFolder --mime-type=application/dicom --dataset=test-dataset

  request:
    collection: healthcare.projects.locations.datasets.dicomStores
    method: export
    ALPHA:
      api_version: v1alpha2
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1

  arguments:
    resource:
      help_text: Cloud Healthcare API DICOM store to export.
      spec: !REF googlecloudsdk.command_lib.healthcare.resources:dicom_store

    params:
    - arg_name: gcs-uri-prefix
      api_field: exportDicomDataRequest.gcsDestination.uriPrefix
      required: true
      help_text: |
        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`.
    - arg_name: mime-type
      api_field: exportDicomDataRequest.gcsDestination.mimeType
      help_text: |
        '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.'
    - arg_name: filter-config-gcs-uri
      release_tracks: [ALPHA, BETA]
      api_field: exportDicomDataRequest.filterConfig.resourcePathsGcsUri
      help_text: |
        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.
  async:
    collection: healthcare.projects.locations.datasets.operations