public class SubscribeResponse extends Object
| Constructor and Description |
|---|
SubscribeResponse(com.google.api.client.http.HttpResponse response,
Subscription subscription) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientToken()
Returns the client token (an opaque string) provided by the client or
null for none. |
com.google.api.client.http.HttpResponse |
getHttpResponse()
Returns the HTTP response.
|
Subscription |
getSubscription()
Returns the subscription or
null for none. |
String |
getSubscriptionExpires()
Returns the HTTP Date indicating the time at which the subscription will expire returned in the
subscribe response or
null for an infinite TTL. |
String |
getSubscriptionId()
Returns the subscription UUID.
|
String |
getTopicId()
Returns the opaque ID for the subscribed resource that is stable across API versions.
|
String |
getTopicUri()
Returns the opaque ID (in the form of a canonicalized URI) for the subscribed resource that is
sensitive to the API version.
|
public SubscribeResponse(com.google.api.client.http.HttpResponse response,
Subscription subscription)
response - HTTP responsesubscription - subscription or null for nonepublic final String getTopicId()
public final String getTopicUri()
public final String getSubscriptionId()
public final String getSubscriptionExpires()
null for an infinite TTL.public final String getClientToken()
null for none.public final com.google.api.client.http.HttpResponse getHttpResponse()
public final Subscription getSubscription()
null for none.Copyright © 2010-2012 Google. All Rights Reserved.