NotificationArgs class
The set of arguments for Notification. The set of arguments for Notification.
Constructors
-
NotificationArgs({required Input<
String> bucket, Input<Map< ? customAttributes, Input<String, String> >String> ? etag, Input<List< ? eventTypes, Input<String> >String> ? id, Input<String> ? kind, Input<String> ? objectNamePrefix, Input<String> ? payloadFormat, Input<String> ? selfLink, Input<String> ? topic, Input<String> ? userProject}) -
Creates a new NotificationArgs.
bucketRequired.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.idThe ID of the notification.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}'userProjectThe 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
-
selfLink
→ Input<
String> ? -
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