GetTopicResult class

Result data returned by getTopic.

Constructors

GetTopicResult({required String name, required PartitionConfigResponse partitionConfig, required ReservationConfigResponse reservationConfig, required RetentionConfigResponse retentionConfig})
Creates a new GetTopicResult. name The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} partitionConfig The settings for this topic's partitions. reservationConfig The settings for this topic's Reservation usage. retentionConfig The settings for this topic's message retention.
const
GetTopicResult.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
final
partitionConfig → PartitionConfigResponse
The settings for this topic's partitions.
final
reservationConfig → ReservationConfigResponse
The settings for this topic's Reservation usage.
final
retentionConfig → RetentionConfigResponse
The settings for this topic's message retention.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited