Identifier. 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 Google Cloud Secret Manager v1 API is used for defining a Pub/Sub topic that receives notifications about control plane events related to secrets.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.5.0 is the latest release, and there are multiple previous versions available, going back to version 1.3.0, each with its own documentation.\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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\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 and requires the Secret Manager service agent to have \u003ccode\u003epubsub.topic.publish\u003c/code\u003e permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTopicName\u003c/code\u003e property provides a strongly-typed view over the \u003ccode\u003eName\u003c/code\u003e resource property.\u003c/p\u003e\n"]]],[],null,[]]