Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::Topic.
A Pub/Sub topic which Secret Manager will publish to when control plane events occur on this secret.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — 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 thepubsub.topic.publish
permission on the topic. The Pub/Sub Publisher role (roles/pubsub.publisher
) includes this permission.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — 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 thepubsub.topic.publish
permission on the topic. The Pub/Sub Publisher role (roles/pubsub.publisher
) includes this permission.
Returns
-
(::String) — 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 thepubsub.topic.publish
permission on the topic. The Pub/Sub Publisher role (roles/pubsub.publisher
) includes this permission.