Class Topic (2.18.0)

Topic(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attribute

NameDescription
name str
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.