Topic(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Metadata about a topic resource.
Attributes | |
---|---|
Name | Description |
name |
str
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} |
partition_config |
google.cloud.pubsublite_v1.types.Topic.PartitionConfig
The settings for this topic's partitions. |
retention_config |
google.cloud.pubsublite_v1.types.Topic.RetentionConfig
The settings for this topic's message retention. |
reservation_config |
google.cloud.pubsublite_v1.types.Topic.ReservationConfig
The settings for this topic's Reservation usage. |
Classes
PartitionConfig
PartitionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The settings for a topic's partitions.
ReservationConfig
ReservationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The settings for this topic's Reservation usage.
RetentionConfig
RetentionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The settings for a topic's message retention.