TopicArgs

data class TopicArgs(val name: Output<String>? = null, val project: Output<String>? = null, val topicId: Output<String>? = null) : ConvertibleToJava<TopicArgs>

Creates the given topic with the given name.

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, project: Output<String>? = null, topicId: Output<String>? = null)

Properties

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

The name of the topic. It must have the format "projects/{project}/topics/{topic}". {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9]), dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with "goog".

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

Functions

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