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

  help_text:
    brief:  Update a Cloud Healthcare API FHIR store.
    description: Update a Cloud Healthcare API FHIR store.
    examples: |
      To update the Cloud Pub/Sub topic on a FHIR store 'test-fhir-store', run:

        $ {command} test-fhir-store --pubsub-topic=projects/my-project/topics/test-pubsub-topic

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

  arguments:
    resource:
      help_text: The Cloud Healthcare API FHIR store you want to update.
      spec: !REF googlecloudsdk.command_lib.healthcare.resources:fhir_store

    params:
    - arg_name: enable-update-create
      api_field: fhirStore.enableUpdateCreate
      action: store_true
      default: false
      help_text: |
        Whether this FHIR store has the [updateCreate]
        (https://www.hl7.org/fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.updateCreate)
        capability. Determines if the client can use an Update operation to create
        a new resource with a client-specified ID. If false, all IDs are
        server-assigned through the Create operation and attempts to Update
        a non-existent resource will return errors.
    - arg_name: pubsub-topic
      api_field: fhirStore.notificationConfig.pubsubTopic
      help_text: |
        Google Cloud Pub/Sub topic to send updates to.

        Note, a topic needs to be created before publishing or subscribing to it. For instructions
        on creating topics, refer to: https://cloud.google.com/pubsub/docs/admin#create_a_topic
    - arg_name: enable-history-modifications
      release_tracks: [ALPHA, BETA]
      api_field: fhirStore.enableHistoryModifications
      action: store_true
      default: false
      help_text: |
        Whether this FHIR store has history modifications enabled.
        Enabling history modifications is required to use FHIR history bundles
        with the
        [executeBundle](https://cloud.google.com/healthcare-api/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores.fhir/executeBundle)
        and
        [importHistory](https://cloud.google.com/healthcare-api/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores/importHistory)
        APIs.