Class PubsubDestination
The Pub/Sub output destination. The Cloud Healthcare Service Agent requires the roles/pubsub.publisher
Cloud
IAM role on the Pub/Sub topic.
Implements
Inherited Members
Namespace: Google.Apis.CloudHealthcare.v1.Data
Assembly: Google.Apis.CloudHealthcare.v1.dll
Syntax
public class PubsubDestination : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PubsubTopic
The Pub/Sub topic that Pub/Sub messages are published on. Supplied
by the client. The PubsubMessage
contains the following fields: * PubsubMessage.Data
contains the
resource name. * PubsubMessage.MessageId
is the ID of this notification. It is guaranteed to be unique
within the topic. * PubsubMessage.PublishTime
is the time when the message was published. 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.
Declaration
[JsonProperty("pubsubTopic")]
public virtual string PubsubTopic { get; set; }
Property Value
Type | Description |
---|---|
string |