Class Topic

Metadata about a topic resource.

Attributes
NameDescription
strname
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
google.cloud.pubsublite_v1.types.Topic.PartitionConfigpartition_config
The settings for this topic's partitions.
google.cloud.pubsublite_v1.types.Topic.RetentionConfigretention_config
The settings for this topic's message retention.
google.cloud.pubsublite_v1.types.Topic.ReservationConfigreservation_config
The settings for this topic's Reservation usage.

Inheritance

builtins.object > proto.message.Message > Topic

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.