- release_tracks: [ALPHA, BETA, GA]

  help_text:
    brief: List Cloud Healthcare API FHIR stores.
    description: List Cloud Healthcare API FHIR stores.
    examples: |
      To list the FHIR stores in 'test-dataset', run:

        $ {command} --dataset=test-dataset

  request:
    collection: healthcare.projects.locations.datasets.fhirStores
    ALPHA:
      api_version: v1alpha2
    BETA:
      api_version: v1beta1
    GA:
      api_version: v1

  response:
    id_field: name

  arguments:
    resource:
      help_text: Parent Cloud Healthcare API dataset to list all contained Cloud Healthcare API FHIR stores.
      spec: !REF googlecloudsdk.command_lib.healthcare.resources:dataset

  output:
    format: |
      table(
          name.scope("fhirStores"):label=ID,
          name.scope("locations").segment(0):label=LOCATION,
          disableReferentialIntegrity:label=DISABLE_REF_INT,
          disableResourceVersioning:label=DISABLE_RES_VER,
          enableUpdateCreate:label=UPDATE_CREATE,
          notificationConfig.pubsubTopic:label=TOPIC
      )
