[SDK reference](../../index.md) / [Models](../index.md)

# Models.Events namespace

## Types

| Type | Kind | Description |
|---|---|---|
| [PublishTopicEvent](PublishTopicEvent.md) | class | One CloudEvent to publish (CloudEvents 1.0 attributes; `source` is fixed by the platform to the topic's project and location). |
| [PublishTopicEvent_data](PublishTopicEvent_data.md) | class | The event's data: any JSON object. |
| [PublishTopicEvent_extensions](PublishTopicEvent_extensions.md) | class | Extension attributes (lower-case letters and digits; string values). |
| [PublishTopicEventsRequest](PublishTopicEventsRequest.md) | class | Request for `:publish` on a Topic (1..32 events, each at most 64 KiB). |
| [PublishTopicEventsResponse](PublishTopicEventsResponse.md) | class | Response from `:publish`. |
| [PublishedTopicEvent](PublishedTopicEvent.md) | class | Where one published event went. |
| [PullTopicEventsRequest](PullTopicEventsRequest.md) | class | Request for `:pull` on a TopicSubscription. |
| [PullTopicEventsResponse](PullTopicEventsResponse.md) | class | Response from `:pull`. |
| [PulledTopicEvent](PulledTopicEvent.md) | class | A leased event. |
| [PulledTopicEvent_event](PulledTopicEvent_event.md) | class | The CloudEvent in structured JSON form (`specversion`, `id`, `source`, `type`, `subject`, `time`, `data` and extensions). |
| [ReplayTopicEventsRequest](ReplayTopicEventsRequest.md) | class | Request for `:replay` on a TopicSubscription. |
| [ReplayTopicEventsResponse](ReplayTopicEventsResponse.md) | class | Result of `:replay`. |
| [TestTopicFilterRequest](TestTopicFilterRequest.md) | class | Request for `:testFilter`: a filter and an event to try it on. |
| [TestTopicFilterRequest_event](TestTopicFilterRequest_event.md) | class | The CloudEvent to try, in structured JSON form: `type`, `subject`, `data`, extension attributes. |
| [TestTopicFilterResponse](TestTopicFilterResponse.md) | class | The result of `:testFilter`. |
| [Topic](Topic.md) | class | A topic: a named, durable log of CloudEvents published to it, fanned out to its subscriptions (MSG-4; ADR-0805 §4). |
| [TopicLeaseResponse](TopicLeaseResponse.md) | class | Response from `:acknowledge`, `:nack` and `:extendLease`. |
| [TopicLeaseTokensRequest](TopicLeaseTokensRequest.md) | class | Request naming leases (1..32). |
| [TopicState](TopicState.md) | enum | Topic lifecycle states (MSG-4). |
| [TopicSubscription](TopicSubscription.md) | class | A pull subscription to a topic (MSG-4): consumers lease events with `:pull`, then `:acknowledge`, `:nack` or `:extendLease`. |
| [TopicSubscriptionState](TopicSubscriptionState.md) | enum | Topic subscription lifecycle states (MSG-4). |
| [TopicSubscription_annotations](TopicSubscription_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [TopicSubscription_labels](TopicSubscription_labels.md) | class | At most 64. |
| [Topic_annotations](Topic_annotations.md) | class | At most 256 KiB in all; never policy input. |
| [Topic_labels](Topic_labels.md) | class | At most 64. |
