Send feedback
Class Pubsub (1.15.3) Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
Pubsub
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
Represents a Pub/Sub transport.
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}
.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Class Pubsub (1.15.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.3 (latest)](/python/docs/reference/eventarc/latest/google.cloud.eventarc_v1.types.Pubsub)\n- [1.15.1](/python/docs/reference/eventarc/1.15.1/google.cloud.eventarc_v1.types.Pubsub)\n- [1.14.0](/python/docs/reference/eventarc/1.14.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.13.2](/python/docs/reference/eventarc/1.13.2/google.cloud.eventarc_v1.types.Pubsub)\n- [1.12.0](/python/docs/reference/eventarc/1.12.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.11.5](/python/docs/reference/eventarc/1.11.5/google.cloud.eventarc_v1.types.Pubsub)\n- [1.10.0](/python/docs/reference/eventarc/1.10.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.9.2](/python/docs/reference/eventarc/1.9.2/google.cloud.eventarc_v1.types.Pubsub)\n- [1.8.1](/python/docs/reference/eventarc/1.8.1/google.cloud.eventarc_v1.types.Pubsub)\n- [1.7.0](/python/docs/reference/eventarc/1.7.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.6.3](/python/docs/reference/eventarc/1.6.3/google.cloud.eventarc_v1.types.Pubsub)\n- [1.5.1](/python/docs/reference/eventarc/1.5.1/google.cloud.eventarc_v1.types.Pubsub)\n- [1.4.2](/python/docs/reference/eventarc/1.4.2/google.cloud.eventarc_v1.types.Pubsub)\n- [1.3.0](/python/docs/reference/eventarc/1.3.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.2.1](/python/docs/reference/eventarc/1.2.1/google.cloud.eventarc_v1.types.Pubsub)\n- [1.1.0](/python/docs/reference/eventarc/1.1.0/google.cloud.eventarc_v1.types.Pubsub)\n- [1.0.2](/python/docs/reference/eventarc/1.0.2/google.cloud.eventarc_v1.types.Pubsub)\n- [0.2.4](/python/docs/reference/eventarc/0.2.4/google.cloud.eventarc_v1.types.Pubsub)\n- [0.1.0](/python/docs/reference/eventarc/0.1.0/google.cloud.eventarc_v1.types.Pubsub) \n\n Pubsub(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRepresents a Pub/Sub transport."]]