Package | Description |
---|---|
com.google.api.client.googleapis.notifications |
Beta Support for notification channels to listen for changes to watched Google API resources. |
Modifier and Type | Class and Description |
---|---|
class |
TypedNotification<T>
Beta Notification metadata and parsed content sent to this client about a watched resource. |
class |
UnparsedNotification
Beta Notification metadata and unparsed content stream sent to this client about a watched resource. |
Modifier and Type | Method and Description |
---|---|
AbstractNotification |
AbstractNotification.setChanged(String changed)
Sets the type of change performed on the resource or
null for none. |
AbstractNotification |
AbstractNotification.setChannelExpiration(String channelExpiration)
Sets the notification channel expiration time or
null for none. |
AbstractNotification |
AbstractNotification.setChannelId(String channelId)
Sets the notification channel UUID provided by the client in the watch request.
|
AbstractNotification |
AbstractNotification.setChannelToken(String channelToken)
Sets the notification channel token (an opaque string) provided by the client in the watch
request or
null for none. |
AbstractNotification |
AbstractNotification.setMessageNumber(long messageNumber)
Sets the message number (a monotonically increasing value starting with 1).
|
AbstractNotification |
AbstractNotification.setResourceId(String resourceId)
Sets the opaque ID for the watched resource that is stable across API versions.
|
AbstractNotification |
AbstractNotification.setResourceState(String resourceState)
Sets the
resource state . |
AbstractNotification |
AbstractNotification.setResourceUri(String resourceUri)
Sets the opaque ID (in the form of a canonicalized URI) for the watched resource that is
sensitive to the API version.
|
Constructor and Description |
---|
AbstractNotification(AbstractNotification source)
Copy constructor based on a source notification object.
|
Copyright © 2010–2022 Google. All rights reserved.