Class NotificationImpl (0.151.0-beta)

public class NotificationImpl implements Notification

Inheritance

java.lang.Object > NotificationImpl

Implements

Notification

Methods

create(Storage storage)

public Notification create(Storage storage)
Parameter
NameDescription
storagecom.google.cloud.storage.Storage
Returns
TypeDescription
Notification

createNotification(String bucket, NotificationInfo notification)

public NotificationInfo createNotification(String bucket, NotificationInfo notification)
Parameters
NameDescription
bucketString
notificationNotificationInfo
Returns
TypeDescription
NotificationInfo

deleteNotification(String bucket, String notification)

public boolean deleteNotification(String bucket, String notification)
Parameters
NameDescription
bucketString
notificationString
Returns
TypeDescription
boolean

listNotifications(String bucket)

public List<NotificationInfo> listNotifications(String bucket)
Parameter
NameDescription
bucketString
Returns
TypeDescription
List<NotificationInfo>