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\u003eThis document provides reference information for the \u003ccode\u003eTopic\u003c/code\u003e class within the Secret Manager v1beta2 API, specifically version 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopic\u003c/code\u003e class is used to specify a Pub/Sub topic that Secret Manager will publish to when control plane events occur on a secret.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopic\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two properties: \u003ccode\u003eName\u003c/code\u003e, which is a string representing the resource name of the Pub/Sub topic, and \u003ccode\u003eTopicName\u003c/code\u003e, which is a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eTo publish successfully, the Secret Manager service agent needs the \u003ccode\u003epubsub.topic.publish\u003c/code\u003e permission, which is included in the Pub/Sub Publisher role.\u003c/p\u003e\n"]]],[],null,[]]