Package | Description |
---|---|
com.google.api.services.storage | |
com.google.api.services.storage.model |
Modifier and Type | Method and Description |
---|---|
Storage.Notifications.Insert |
Storage.Notifications.insert(String bucket,
Notification content)
Creates a notification subscription for a given bucket.
|
Constructor and Description |
---|
Insert(String bucket,
Notification content)
Creates a notification subscription for a given bucket.
|
Modifier and Type | Method and Description |
---|---|
Notification |
Notification.clone() |
Notification |
Notification.set(String fieldName,
Object value) |
Notification |
Notification.setCustomAttributes(Map<String,String> customAttributes)
An optional list of additional attributes to attach to each Cloud PubSub message published for
this notification subscription.
|
Notification |
Notification.setEtag(String etag)
HTTP 1.1 Entity tag for this subscription notification.
|
Notification |
Notification.setEventTypes(List<String> eventTypes)
If present, only send notifications about listed event types.
|
Notification |
Notification.setId(String id)
The ID of the notification.
|
Notification |
Notification.setKind(String kind)
The kind of item this is.
|
Notification |
Notification.setObjectNamePrefix(String objectNamePrefix)
If present, only apply this notification configuration to object names that begin with this
prefix.
|
Notification |
Notification.setPayloadFormat(String payloadFormat)
The desired content of the Payload.
|
Notification |
Notification.setSelfLink(String selfLink)
The canonical URL of this notification.
|
Notification |
Notification.setTopic(String topic)
The Cloud PubSub topic to which this subscription publishes.
|
Modifier and Type | Method and Description |
---|---|
List<Notification> |
Notifications.getItems()
The list of items.
|
Modifier and Type | Method and Description |
---|---|
Notifications |
Notifications.setItems(List<Notification> items)
The list of items.
|