Secret Manager v1 API - Class Topic (2.2.0)

public sealed class Topic : IMessage<Topic>, IEquatable<Topic>, IDeepCloneable<Topic>, IBufferMessage, IMessage

Reference documentation and code samples for the Secret Manager v1 API class Topic.

A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.

Inheritance

object > Topic

Namespace

Google.Cloud.SecretManager.V1

Assembly

Google.Cloud.SecretManager.V1.dll

Constructors

Topic()

public Topic()

Topic(Topic)

public Topic(Topic other)
Parameter
NameDescription
otherTopic

Properties

Name

public string Name { get; set; }

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.

Property Value
TypeDescription
string

TopicName

public TopicName TopicName { get; set; }

TopicName-typed view over the Name resource name property.

Property Value
TypeDescription
TopicName