@swamp/gcp/pubsublite
v2026.04.23.1
Google Cloud pubsublite infrastructure models
Repository
https://github.com/systeminit/swamp-extensions
Labels
gcpgoogle-cloudpubsublitecloudinfrastructure
Contents
Quality score
Verified by SwampHow well-documented and verifiable this extension is.
Grade A
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
Install
$ swamp extension pull @swamp/gcp/pubsublite@swamp/gcp/pubsublite/admin-projects-reservationsv2026.04.23.1admin_projects_reservations.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id} |
| throughputCapacity? | string | The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually. |
| reservationId? | string | Required. The ID to use for the reservation, which will become the final component of the reservation's name. This value is structured like: `my-reservation-name`. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a reservations
getGet a reservations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservations |
updateUpdate reservations attributes
deleteDelete the reservations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reservations |
syncSync reservations state from GCP
Resources
state(infinite)— Metadata about a reservation resource.
@swamp/gcp/pubsublite/admin-projects-reservations-topicsv2026.04.23.1admin_projects_reservations_topics.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a topics
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the topics |
syncSync topics state from GCP
Resources
state(infinite)— Lists the topics attached to the specified reservation.
@swamp/gcp/pubsublite/admin-projects-subscriptionsv2026.04.23.1admin_projects_subscriptions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| deliveryConfig? | object | The settings for a subscription's message delivery. |
| exportConfig? | object | Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription. |
| name? | string | The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id} |
| topic? | string | The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} |
| skipBacklog? | string | If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false. |
| subscriptionId? | string | Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: `my-sub-name`. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a subscriptions
getGet a subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
updateUpdate subscriptions attributes
deleteDelete the subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
syncSync subscriptions state from GCP
seekseek
| Argument | Type | Description |
|---|---|---|
| namedTarget? | any | |
| timeTarget? | any |
Resources
state(infinite)— Metadata about a subscription resource.
@swamp/gcp/pubsublite/admin-projects-topicsv2026.04.23.1admin_projects_topics.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name? | string | The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} |
| partitionConfig? | object | The settings for a topic's partitions. |
| reservationConfig? | object | The settings for this topic's Reservation usage. |
| retentionConfig? | object | The settings for a topic's message retention. |
| topicId? | string | Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a topics
getGet a topics
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the topics |
updateUpdate topics attributes
deleteDelete the topics
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the topics |
syncSync topics state from GCP
get_partitionsget partitions
Resources
state(infinite)— Metadata about a topic resource.
@swamp/gcp/pubsublite/admin-projects-topics-subscriptionsv2026.04.23.1admin_projects_topics_subscriptions.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
syncSync subscriptions state from GCP
Resources
state(infinite)— Lists the subscriptions attached to the specified topic.
@swamp/gcp/pubsublite/cursor-projects-subscriptions-cursorsv2026.04.23.1cursor_projects_subscriptions_cursors.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
getGet a cursors
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the cursors |
syncSync cursors state from GCP
Resources
state(infinite)— A pair of a Cursor and the partition it is for.
2026.04.03.323.9 KBApr 3, 2026
Google Cloud pubsublite infrastructure models
Release Notes
- Updated: admin_projects_reservations, admin_projects_reservations_topics, admin_projects_subscriptions, admin_projects_topics, admin_projects_topics_subscriptions, cursor_projects_subscriptions_cursors
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpubsublitecloudinfrastructure
2026.04.03.122.4 KBApr 3, 2026
Google Cloud pubsublite infrastructure models
Release Notes
- Updated: admin_projects_reservations, admin_projects_reservations_topics, admin_projects_subscriptions, admin_projects_topics, admin_projects_topics_subscriptions, cursor_projects_subscriptions_cursors
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpubsublitecloudinfrastructure
2026.04.02.222.4 KBApr 2, 2026
Google Cloud pubsublite infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpubsublitecloudinfrastructure
2026.03.27.121.4 KBMar 27, 2026
Google Cloud pubsublite infrastructure models
Release Notes
- Added: admin_projects_reservations, admin_projects_reservations_topics, admin_projects_subscriptions, admin_projects_topics, admin_projects_topics_subscriptions, cursor_projects_subscriptions_cursors
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudpubsublitecloudinfrastructure