Class Subscription (1.6.0)

Subscription(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata about a subscription resource.

Attributes

NameDescription
name str
The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
topic str
The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
delivery_config google.cloud.pubsublite_v1.types.Subscription.DeliveryConfig
The settings for this subscription's message delivery.
export_config google.cloud.pubsublite_v1.types.ExportConfig
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.

Classes

DeliveryConfig

DeliveryConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The settings for a subscription's message delivery.