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