Class TopicPath (1.9.1)

Stay organized with collections Save and categorize content based on your preferences.
public abstract class TopicPath implements Serializable

A string wrapper representing a topic. Should be structured like:

projects/<project number>/locations/<cloud region or zone>/topics/<id>

Inheritance

java.lang.Object > TopicPath

Implements

Serializable

Static Methods

newBuilder()

public static TopicPath.Builder newBuilder()

Create a new TopicPath builder.

Returns
TypeDescription
TopicPath.Builder

parse(String path)

public static TopicPath parse(String path)
Parameter
NameDescription
pathString
Returns
TypeDescription
TopicPath
Exceptions
TypeDescription
ApiException

Constructors

TopicPath()

public TopicPath()

Methods

location()

public abstract CloudRegionOrZo