public static class PubsubIO.PubsubTopic extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
asPath()
Returns the string representation of this topic as a path used in the Cloud Pub/Sub
API.
|
String |
asV1Beta1Path()
Deprecated.
the v1beta1 API for Cloud Pub/Sub is deprecated.
|
String |
asV1Beta2Path()
Deprecated.
the v1beta2 API for Cloud Pub/Sub is deprecated.
|
static PubsubIO.PubsubTopic |
fromPath(String path)
Creates a class representing a Cloud Pub/Sub topic from the specified topic path.
|
String |
toString() |
public static PubsubIO.PubsubTopic fromPath(String path)
Cloud Pub/Sub topic names should be of the form
/topics/<project>/<topic>, where <project> is the name of
the publishing project. The <topic> component must comply with
the following requirements:
@Deprecated public String asV1Beta1Path()
@Deprecated public String asV1Beta2Path()
public String asPath()
Copyright © 2016–2017 The Apache Software Foundation. All rights reserved.