Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

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
Link copied to clipboard

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
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