Skip to main content

@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 Swamp

How well-documented and verifiable this extension is.

100%

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

ArgumentTypeDescription
name?stringThe name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
throughputCapacity?stringThe 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?stringRequired. 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?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a reservations
getGet a reservations
ArgumentTypeDescription
identifierstringThe name of the reservations
updateUpdate reservations attributes
deleteDelete the reservations
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a topics
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
deliveryConfig?objectThe settings for a subscription's message delivery.
exportConfig?objectConfiguration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.
name?stringThe name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
topic?stringThe name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
skipBacklog?stringIf 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?stringRequired. 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?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a subscriptions
getGet a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
updateUpdate subscriptions attributes
deleteDelete the subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
syncSync subscriptions state from GCP
seekseek
ArgumentTypeDescription
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

ArgumentTypeDescription
name?stringThe name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partitionConfig?objectThe settings for a topic's partitions.
reservationConfig?objectThe settings for this topic's Reservation usage.
retentionConfig?objectThe settings for a topic's message retention.
topicId?stringRequired. 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?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a topics
getGet a topics
ArgumentTypeDescription
identifierstringThe name of the topics
updateUpdate topics attributes
deleteDelete the topics
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a subscriptions
ArgumentTypeDescription
identifierstringThe 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

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a cursors
ArgumentTypeDescription
identifierstringThe name of the cursors
syncSync cursors state from GCP

Resources

state(infinite)— A pair of a Cursor and the partition it is for.