SDK reference / Models / Events

PublishTopicEvent

Kind: class

Namespace: Egulu.Sdk.Models.Events

One CloudEvent to publish (CloudEvents 1.0 attributes; source is fixed by the platform to the topic's project and location).

Properties

NameTypeJSON nameDescription
DataModels.Events.PublishTopicEvent_data?dataThe event's data: any JSON object.
EventIdstring?eventIdOptional publisher-chosen event ID, deduplicated for one hour per topic.
ExtensionsModels.Events.PublishTopicEvent_extensions?extensionsExtension attributes (lower-case letters and digits; string values).
OrderingKeystring?orderingKeyEvents with the same ordering key reach a subscription's consumers in publish order, one lease at a time.
Subjectstring?subjectCloudEvents `subject`.
Typestring?typeCloudEvents `type`, for example `com.example.order.created`.