public class Storage.Notifications
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Storage.Notifications.Delete |
class |
Storage.Notifications.Get |
class |
Storage.Notifications.Insert |
class |
Storage.Notifications.List |
| Constructor and Description |
|---|
Notifications() |
| Modifier and Type | Method and Description |
|---|---|
Storage.Notifications.Delete |
delete(java.lang.String bucket,
java.lang.String notification)
Permanently deletes a notification subscription.
|
Storage.Notifications.Get |
get(java.lang.String bucket,
java.lang.String notification)
View a notification configuration.
|
Storage.Notifications.Insert |
insert(java.lang.String bucket,
Notification content)
Creates a notification subscription for a given bucket.
|
Storage.Notifications.List |
list(java.lang.String bucket)
Retrieves a list of notification subscriptions for a given bucket.
|
public Storage.Notifications.Delete delete(java.lang.String bucket, java.lang.String notification) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.notification - ID of the notification to delete.java.io.IOExceptionpublic Storage.Notifications.Get get(java.lang.String bucket, java.lang.String notification) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.notification - Notification IDjava.io.IOExceptionpublic Storage.Notifications.Insert insert(java.lang.String bucket, Notification content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.content - the Notificationjava.io.IOExceptionpublic Storage.Notifications.List list(java.lang.String bucket) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a Google Cloud Storage bucket.java.io.IOException