TopicArgs constructor

const TopicArgs({
  1. Input<String>? location,
  2. Input<String>? name,
  3. Input<PartitionConfig>? partitionConfig,
  4. Input<String>? project,
  5. Input<ReservationConfig>? reservationConfig,
  6. Input<RetentionConfig>? retentionConfig,
  7. required Input<String> topicId,
})

Creates a new TopicArgs. location Optional. name The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id} partitionConfig The settings for this topic's partitions. project Optional. reservationConfig The settings for this topic's Reservation usage. retentionConfig The settings for this topic's message retention. topicId Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: my-topic-name.

Implementation

const TopicArgs({
  this.location,
  this.name,
  this.partitionConfig,
  this.project,
  this.reservationConfig,
  this.retentionConfig,
  required this.topicId,
});