Notification class

A subscription to receive Google PubSub notifications.

Constructors

Notification()
Notification.fromJson(Map _json)

Properties

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: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
read / write

Methods

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

Operators

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