Package-level declarations
Types
Link copied to clipboard
object Pubsub_v1beta1aFunctions
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
class SubscriptionArgsBuilder
Builder for SubscriptionArgs.
Link copied to clipboard
Link copied to clipboard
Builder for Subscription.
Link copied to clipboard
class TopicArgsBuilder
Builder for TopicArgs.
Link copied to clipboard
Link copied to clipboard
class TopicResourceBuilder
Builder for Topic.
Functions
Link copied to clipboard
suspend fun subscription(name: String, block: suspend SubscriptionResourceBuilder.() -> Unit): Subscription