Secret Manager v1beta2 API - Class Topic (1.0.0-beta03)

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

Reference 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.

Inheritance

object > Topic

Namespace

Google.Cloud.SecretManager.V1Beta2

Assembly

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; }

TopicName-typed view over the Name resource name property.

Property Value
Type Description
TopicName