FhirStoreNotificationConfigArgs

data class FhirStoreNotificationConfigArgs(val pubsubTopic: Output<String>, val sendFullResource: Output<Boolean>? = null, val sendPreviousResourceOnDelete: Output<Boolean>? = null) : ConvertibleToJava<FhirStoreNotificationConfigArgs>

Constructors

Link copied to clipboard
constructor(pubsubTopic: Output<String>, sendFullResource: Output<Boolean>? = null, sendPreviousResourceOnDelete: Output<Boolean>? = null)

Properties

Link copied to clipboard
val pubsubTopic: Output<String>

The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client. PubsubMessage.Data will contain the resource name. PubsubMessage.MessageId is the ID of this message. It is guaranteed to be unique within the topic. PubsubMessage.PublishTime is the time at which the message was published. Notifications are only sent if the topic is non-empty. Topic names must be scoped to a project. service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com must have publisher permissions on the given Cloud Pub/Sub topic. Not having adequate permissions will cause the calls that send notifications to fail.

Link copied to clipboard
val sendFullResource: Output<Boolean>? = null

Whether to send full FHIR resource to this Pub/Sub topic for Create and Update operation. Note that setting this to true does not guarantee that all resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full resource as a separate operation.

Link copied to clipboard

Whether to send full FHIR resource to this Pub/Sub topic for deleting FHIR resource. Note that setting this to true does not guarantee that all previous resources will be sent in the format of full FHIR resource. When a resource change is too large or during heavy traffic, only the resource name will be sent. Clients should always check the "payloadType" label from a Pub/Sub message to determine whether it needs to fetch the full previous resource as a separate operation.

Functions

Link copied to clipboard
open override fun toJava(): FhirStoreNotificationConfigArgs