Required. The resource name of the Pub/Sub topic that will be published to,
in the following format: projects/*/topics/*. For publication to succeed,
the Secret Manager service agent must have the pubsub.topic.publish
permission on the topic. The Pub/Sub Publisher role
(roles/pubsub.publisher) includes this permission.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eTopic\u003c/code\u003e class in the Secret Manager v1 API represents a Pub/Sub topic for publishing control plane events.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 2.5.0, and version 2.4.0 is the current version being documented, with older versions down to 1.3.0 available as well.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopic\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eName\u003c/code\u003e property, which is a string representing the resource name of the associated Pub/Sub topic, and a \u003ccode\u003eTopicName\u003c/code\u003e property, which provides a strongly-typed view of the resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe Secret Manager service agent needs the \u003ccode\u003epubsub.topic.publish\u003c/code\u003e permission to successfully publish the topic, which can be granted through the Pub/Sub Publisher role.\u003c/p\u003e\n"]]],[],null,[]]