PubsubResponse

data class PubsubResponse(val subscription: String, val topic: String)

Represents a Pub/Sub transport.

Constructors

Link copied to clipboard
fun PubsubResponse(subscription: String, topic: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

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