| 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(String bucket,
String notification)
Permanently deletes a notification subscription.
|
Storage.Notifications.Get |
get(String bucket,
String notification)
View a notification configuration.
|
Storage.Notifications.Insert |
insert(String bucket,
Notification content)
Creates a notification subscription for a given bucket.
|
Storage.Notifications.List |
list(String bucket)
Retrieves a list of notification subscriptions for a given bucket.
|
public Storage.Notifications.Delete delete(String bucket, String notification) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.notification - ID of the notification to delete.IOExceptionpublic Storage.Notifications.Get get(String bucket, String notification) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.notification - Notification IDIOExceptionpublic Storage.Notifications.Insert insert(String bucket, Notification content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - The parent bucket of the notification.content - the NotificationIOExceptionpublic Storage.Notifications.List list(String bucket) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.bucket - Name of a Google Cloud Storage bucket.IOExceptionCopyright © 2011–2025 Google. All rights reserved.