Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Subscription : KotlinCustomResource

Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.

Link copied to clipboard
data class SubscriptionArgs(val ackDeadlineSeconds: Output<Int>? = null, val name: Output<String>? = null, val pushConfig: Output<PushConfigArgs>? = null, val topic: Output<String>? = null) : ConvertibleToJava<SubscriptionArgs>

Creates a subscription on a given topic for a given subscriber. If the subscription already exists, returns ALREADY_EXISTS. If the corresponding topic doesn't exist, returns NOT_FOUND. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.

Link copied to clipboard
Link copied to clipboard
object SubscriptionMapper : ResourceMapper<Subscription>
Link copied to clipboard
Link copied to clipboard
class Topic : KotlinCustomResource

Creates the given topic with the given name.

Link copied to clipboard
data class TopicArgs(val name: Output<String>? = null) : ConvertibleToJava<TopicArgs>

Creates the given topic with the given name.

Link copied to clipboard

Builder for TopicArgs.

Link copied to clipboard
object TopicMapper : ResourceMapper<Topic>
Link copied to clipboard

Builder for Topic.

Functions

Link copied to clipboard
Link copied to clipboard
fun topic(name: String): Topic
suspend fun topic(name: String, block: suspend TopicResourceBuilder.() -> Unit): Topic