TopicArgs

data class TopicArgs(val location: Output<String>? = null, val name: Output<String>? = null, val partitionConfig: Output<PartitionConfigArgs>? = null, val project: Output<String>? = null, val reservationConfig: Output<ReservationConfigArgs>? = null, val retentionConfig: Output<RetentionConfigArgs>? = null, val topicId: Output<String>? = null) : ConvertibleToJava<TopicArgs>

Creates a new topic.

Constructors

Link copied to clipboard
fun TopicArgs(location: Output<String>? = null, name: Output<String>? = null, partitionConfig: Output<PartitionConfigArgs>? = null, project: Output<String>? = null, reservationConfig: Output<ReservationConfigArgs>? = null, retentionConfig: Output<RetentionConfigArgs>? = null, topicId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TopicArgs

Properties

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Link copied to clipboard

The settings for this topic's partitions.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

The settings for this topic's Reservation usage.

Link copied to clipboard

The settings for this topic's message retention.

Link copied to clipboard
val topicId: Output<String>? = null

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.