GetTopicResult constructor

const GetTopicResult({
  1. required String name,
  2. required PartitionConfigResponse partitionConfig,
  3. required ReservationConfigResponse reservationConfig,
  4. 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.

Implementation

const GetTopicResult({
  required this.name,
  required this.partitionConfig,
  required this.reservationConfig,
  required this.retentionConfig,
});