public sealed class Topic : IMessage<Topic>, IEquatable<Topic>, IDeepCloneable<Topic>, IBufferMessage, IMessageReference documentation and code samples for the Secret Manager v1beta2 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.V1Beta2Assembly
Google.Cloud.SecretManager.V1Beta2.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 service agent must have the pubsub.topic.publish
permission on the topic. The Pub/Sub Publisher role
(roles/pubsub.publisher) includes this permission.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TopicName
public TopicName TopicName { get; set; }| Property Value | |
|---|---|
| Type | Description |
TopicName |
|