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"]],[["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-07-09 UTC."],[[["The `Topic` class in the Secret Manager v1beta2 API is used for specifying a Pub/Sub topic for control plane event notifications."],["This class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["`Topic` has two constructors: a default constructor and one that accepts another `Topic` object for initialization."],["The `Name` property of the `Topic` class specifies the Pub/Sub topic's resource name in the format `projects/*/topics/*`, requiring the Secret Manager service agent to have `pubsub.topic.publish` permissions."],["`Topic` also features the `TopicName` property, which is a typed view over the Name resource property."]]],[]]