TriggerTransportPubsub

data class TriggerTransportPubsub(val subscription: String? = null, val topic: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val subscription: 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: 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.