class Google::Apis::SecretmanagerV1::Topic
A Pub/Sub topic which Secret
Manager will publish to when control plane events occur on this secret.
Attributes
name[RW]
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 P4SA must have `pubsub.publisher` permissions on the topic. Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 1057 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/secretmanager_v1/classes.rb, line 1062 def update!(**args) @name = args[:name] if args.key?(:name) end