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.
Namespace
Google.Cloud.SecretManager.V1Assembly
Google.Cloud.SecretManager.V1.dll
Constructors
Topic()
public Topic()
Topic(Topic)
public Topic(Topic other)
Parameter | |
---|---|
Name | Description |
other | Topic |
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 | |
---|---|
Type | Description |
string |
TopicName
public TopicName TopicName { get; set; }
Property Value | |
---|---|
Type | Description |
TopicName |