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
| Name | Type | JSON name | Description |
|---|---|---|---|
Data | Models.Events.PublishTopicEvent_data? | data | The event's data: any JSON object. |
EventId | string? | eventId | Optional publisher-chosen event ID, deduplicated for one hour per topic. |
Extensions | Models.Events.PublishTopicEvent_extensions? | extensions | Extension attributes (lower-case letters and digits; string values). |
OrderingKey | string? | orderingKey | Events with the same ordering key reach a subscription's consumers in publish order, one lease at a time. |
Subject | string? | subject | CloudEvents `subject`. |
Type | string? | type | CloudEvents `type`, for example `com.example.order.created`. |