Show / Hide Table of Contents

Class Hl7V2NotificationConfig

Specifies where and whether to send notifications upon changes to a data store.

Inheritance
System.Object
Hl7V2NotificationConfig
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudHealthcare.v1.Data
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class Hl7V2NotificationConfig : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Filter

Declaration
[JsonProperty("filter")]
public virtual string Filter { get; set; }
Property Value
Type Description
System.String

PubsubTopic

The Cloud Pub/Sub topic that notifications of changes are published on. Supplied by the client.

The notification is a PubsubMessage with the following fields:

  • PubsubMessage.Data contains the resource name. * PubsubMessage.MessageId is the ID of this notification. It's guaranteed to be unique within the topic. * PubsubMessage.PublishTime is the time when the message was published.

Note that notifications are only sent if the topic is non-empty. Topic names must be scoped to a project.

The Cloud Healthcare API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.gserviceaccount.com, must have publisher permissions on the given Pub/Sub topic. Not having adequate permissions causes the calls that send notifications to fail.

If a notification cannot be published to Cloud Pub/Sub, errors are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging).

Declaration
[JsonProperty("pubsubTopic")]
public virtual string PubsubTopic { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top