Notification class

A subscription to receive Google PubSub notifications.


Notification.fromJson(Map _json)


customAttributes Map<String, String>
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
read / write
etag String
HTTP 1.1 Entity tag for this subscription notification.
read / write
eventTypes List<String>
If present, only send notifications about listed event types. If empty, sent notifications for all event types.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The ID of the notification.
read / write
kind String
The kind of item this is. For notifications, this is always storage#notification.
read / write
objectNamePrefix String
If present, only apply this notification configuration to object names that begin with this prefix.
read / write
payloadFormat String
The desired content of the Payload.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
The canonical URL of this notification.
read / write
topic String
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//{project-identifier}/topics/{my-topic}'
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]