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 v1beta2 API is used for specifying a Pub/Sub topic for control plane event notifications.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTopic\u003c/code\u003e has two constructors: a default constructor and one that accepts another \u003ccode\u003eTopic\u003c/code\u003e object for initialization.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of the \u003ccode\u003eTopic\u003c/code\u003e class specifies the Pub/Sub topic's resource name in the format \u003ccode\u003eprojects/*/topics/*\u003c/code\u003e, requiring the Secret Manager service agent to have \u003ccode\u003epubsub.topic.publish\u003c/code\u003e permissions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTopic\u003c/code\u003e also features the \u003ccode\u003eTopicName\u003c/code\u003e property, which is a typed view over the Name resource property.\u003c/p\u003e\n"]]],[],null,[]]