getTopic

suspend fun getTopic(argument: GetTopicPlainArgs): GetTopicResult

Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here.

Return

null

Parameters

argument

null


suspend fun getTopic(topicId: String): GetTopicResult

Return

null

Parameters

topicId

See also


suspend fun getTopic(argument: suspend GetTopicPlainArgsBuilder.() -> Unit): GetTopicResult

Return

null

Parameters

argument

Builder for com.pulumi.googlenative.pubsub.v1beta1a.kotlin.inputs.GetTopicPlainArgs.

See also