Class Topic (1.6.0)

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

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