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/deidentify.yaml
- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: |
      De-identify data from the source store and write it to the destination store.
    description: |
      De-identify data from the source store and write it to the destination store.
    examples: |
      To generate a de-identified version of the DICOM store 'test-dicom-store', run the command below.

        $ {command} test-dicom-store --destination-store=projects/{projectId}/locations/us-central1/datasets/{datasetId}/dicomStores/test-deid-dicom-store --dicom-filter-tags=MediaStorageSOPClassUID,SeriesInstanceUID,StudyInstanceUID
  request:
    collection: healthcare.projects.locations.datasets.dicomStores
    ALPHA:
      api_version: v1alpha2
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1
    method: deidentify

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

    params:
    - arg_name: destination-store
      api_field: deidentifyDicomStoreRequest.destinationStore
      required: true
      help_text: |
        The name of the DICOM store to which the redacted data should be written
        (e.g., projects/{projectId}/locations/{locationId}/datasets/{datasetId}/dicomStores/{dicomStoreId}).
        The destination DICOM store must already exist, or the request will fail.
    - arg_name: dicom-filter-tags
      api_field: deidentifyDicomStoreRequest.config.dicom.keepList.tags
      help_text: |
        Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or
        Directory Structuring Elements, as defined at:
        http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
        They may be provided by "Keyword" or "Tag". For example "PatientID", "0010,0010".
    - arg_name: text-redaction-mode
      api_field: deidentifyDicomStoreRequest.config.image.textRedactionMode
      choices:
      - arg_value: all
        enum_value: REDACT_ALL_TEXT
        help_text: |
          Redact all text.
      help_text: |
        Determines how to redact text from image.

  async:
    collection: healthcare.projects.locations.datasets.operations