Class Topic (0.3.0)

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

Metadata about a topic resource.

Attributes

NameDescription
name str
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
partition_config .common.Topic.PartitionConfig
The settings for this topic's partitions.
retention_config .common.Topic.RetentionConfig
The settings for this topic's message retention.

Classes

PartitionConfig

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

The settings for a topic's partitions.

RetentionConfig

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

The settings for a topic's message retention.