Interface Action.PublishToPubSubOrBuilder (3.53.0)

public static interface Action.PublishToPubSubOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTopic()

public abstract String getTopic()

Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}.

string topic = 1;

Returns
Type Description
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Cloud Pub/Sub topic to send notifications to. The topic must have given publishing access rights to the DLP API service account executing the long running DlpJob sending the notifications. Format is projects/{project}/topics/{topic}.

string topic = 1;

Returns
Type Description
ByteString

The bytes for topic.