Topic(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Metadata about a topic resource.
Attributes | |
---|---|
Name | Description |
name
:noindex: |
str
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} |
partition_config
:noindex: |
google.cloud.pubsublite_v1.types.Topic.PartitionConfig
The settings for this topic's partitions. |
retention_config
:noindex: |
google.cloud.pubsublite_v1.types.Topic.RetentionConfig
The settings for this topic's message retention. |
reservation_config
:noindex: |
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.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
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.