Class Pubsub (1.6.2)

Pubsub(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Pub/Sub transport.

Attributes

NameDescription
topic str
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.
subscription str
Output only. 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}``.

Inheritance

builtins.object > proto.message.Message > Pubsub