Subscription Args
data class SubscriptionArgs(val deliveryConfig: Output<DeliveryConfigArgs>? = null, val exportConfig: Output<ExportConfigArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val skipBacklog: Output<Boolean>? = null, val subscriptionId: Output<String>? = null, val topic: Output<String>? = null) : ConvertibleToJava<SubscriptionArgs>
Creates a new subscription.
Constructors
Link copied to clipboard
constructor(deliveryConfig: Output<DeliveryConfigArgs>? = null, exportConfig: Output<ExportConfigArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, skipBacklog: Output<Boolean>? = null, subscriptionId: Output<String>? = null, topic: Output<String>? = null)
Properties
Link copied to clipboard
The settings for this subscription's message delivery.
Link copied to clipboard
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
Link copied to clipboard
If true, the newly created subscription will only receive messages published after the subscription was created. Otherwise, the entire message backlog will be received on the subscription. Defaults to false.
Link copied to clipboard
Required. The ID to use for the subscription, which will become the final component of the subscription's name. This value is structured like: my-sub-name
.