TriggerTransportPubsubArgs

data class TriggerTransportPubsubArgs(val subscription: Output<String>? = null, val topic: Output<String>? = null) : ConvertibleToJava<TriggerTransportPubsubArgs>

Constructors

Link copied to clipboard
constructor(subscription: Output<String>? = null, topic: Output<String>? = null)

Properties

Link copied to clipboard
val subscription: Output<String>? = null

Output only. The name of the Pub/Sub subscription created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/subscriptions/{SUBSCRIPTION_NAME}.

Link copied to clipboard
val topic: Output<String>? = null

Optional. The name of the Pub/Sub topic created and managed by Eventarc system as a transport for the event delivery. Format: projects/{PROJECT_ID}/topics/{TOPIC_NAME}. You may set an existing topic for triggers of the type google.cloud.pubsub.topic.v1.messagePublished only. The topic you provide here will not be deleted by Eventarc at trigger deletion.

Functions

Link copied to clipboard
open override fun toJava(): TriggerTransportPubsubArgs