public static class PubsubIO.PubsubSubscription
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
asPath()
Returns the string representation of this subscription as a path used in the Cloud Pub/Sub
 API. 
 | 
java.lang.String | 
asV1Beta1Path()
Deprecated. 
 
the v1beta1 API for Cloud Pub/Sub is deprecated. 
 | 
java.lang.String | 
asV1Beta2Path()
Deprecated. 
 
the v1beta2 API for Cloud Pub/Sub is deprecated. 
 | 
static PubsubIO.PubsubSubscription | 
fromPath(java.lang.String path)
Creates a class representing a Pub/Sub subscription from the specified subscription path. 
 | 
public static PubsubIO.PubsubSubscription fromPath(java.lang.String path)
Cloud Pub/Sub subscription names should be of the form
 projects/<project>/subscriptions/<subscription>, where <project> is the name
 of the project the subscription belongs to. The <subscription> component must comply
 with the following requirements:
 
'goog' prefix.@Deprecated public java.lang.String asV1Beta1Path()
@Deprecated public java.lang.String asV1Beta2Path()
public java.lang.String asPath()