GetNotificationResult class
Result data returned by getNotification.
Constructors
-
GetNotificationResult({required Map<
String, String> customAttributes, required String etag, required List<String> eventTypes, required String kind, required String objectNamePrefix, required String payloadFormat, required String selfLink, required String topic}) -
Creates a new GetNotificationResult.
customAttributesAn optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.etagHTTP 1.1 Entity tag for this subscription notification.eventTypesIf present, only send notifications about listed event types. If empty, sent notifications for all event types.kindThe kind of item this is. For notifications, this is always storage#notification.objectNamePrefixIf present, only apply this notification configuration to object names that begin with this prefix.payloadFormatThe desired content of the Payload.selfLinkThe canonical URL of this notification.topicThe Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'const -
GetNotificationResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
customAttributes
→ Map<
String, String> -
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
final
- etag → String
-
HTTP 1.1 Entity tag for this subscription notification.
final
-
eventTypes
→ List<
String> -
If present, only send notifications about listed event types. If empty, sent notifications for all event types.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
The kind of item this is. For notifications, this is always storage#notification.
final
- objectNamePrefix → String
-
If present, only apply this notification configuration to object names that begin with this prefix.
final
- payloadFormat → String
-
The desired content of the Payload.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink → String
-
The canonical URL of this notification.
final
- topic → String
-
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited