diff --git a/healthcare/hl7v2/patchHl7v2Store.js b/healthcare/hl7v2/patchHl7v2Store.js index 8b685c87d3..31ced56340 100644 --- a/healthcare/hl7v2/patchHl7v2Store.js +++ b/healthcare/hl7v2/patchHl7v2Store.js @@ -42,11 +42,13 @@ const main = ( const name = `projects/${projectId}/locations/${cloudRegion}/datasets/${datasetId}/hl7V2Stores/${hl7v2StoreId}`; const request = { name, - updateMask: 'notificationConfig', + updateMask: 'notificationConfigs', resource: { - notificationConfig: { - pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`, - }, + notificationConfigs: [ + { + pubsubTopic: `projects/${projectId}/topics/${pubsubTopic}`, + } + ] }, };