NotificationArgs class

The set of arguments for Notification. The set of arguments for Notification.

Constructors

NotificationArgs({required Input<String> bucket, Input<Map<String, String>>? customAttributes, Input<String>? etag, Input<List<String>>? eventTypes, Input<String>? id, Input<String>? kind, Input<String>? objectNamePrefix, Input<String>? payloadFormat, Input<String>? selfLink, Input<String>? topic, Input<String>? userProject})
Creates a new NotificationArgs. bucket Required. customAttributes An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription. etag HTTP 1.1 Entity tag for this subscription notification. eventTypes If present, only send notifications about listed event types. If empty, sent notifications for all event types. id The ID of the notification. kind The kind of item this is. For notifications, this is always storage#notification. objectNamePrefix If present, only apply this notification configuration to object names that begin with this prefix. payloadFormat The desired content of the Payload. selfLink The canonical URL of this notification. topic The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' userProject The project to be billed for this request. Required for Requester Pays buckets.
const
NotificationArgs.fromMap(Map<String, dynamic> map)
factory

Properties

bucket → Input<String>
final
customAttributes → Input<Map<String, String>>?
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
final
etag → Input<String>?
HTTP 1.1 Entity tag for this subscription notification.
final
eventTypes → Input<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
id → Input<String>?
The ID of the notification.
final
kind → Input<String>?
The kind of item this is. For notifications, this is always storage#notification.
final
objectNamePrefix → Input<String>?
If present, only apply this notification configuration to object names that begin with this prefix.
final
payloadFormat → Input<String>?
The desired content of the Payload.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The canonical URL of this notification.
final
topic → Input<String>?
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
final
userProject → Input<String>?
The project to be billed for this request. Required for Requester Pays buckets.
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