NotificationArgs constructor

const NotificationArgs({
  1. required Input<String> bucket,
  2. Input<Map<String, String>>? customAttributes,
  3. Input<String>? etag,
  4. Input<List<String>>? eventTypes,
  5. Input<String>? id,
  6. Input<String>? kind,
  7. Input<String>? objectNamePrefix,
  8. Input<String>? payloadFormat,
  9. Input<String>? selfLink,
  10. Input<String>? topic,
  11. 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.

Implementation

const NotificationArgs({
  required this.bucket,
  this.customAttributes,
  this.etag,
  this.eventTypes,
  this.id,
  this.kind,
  this.objectNamePrefix,
  this.payloadFormat,
  this.selfLink,
  this.topic,
  this.userProject,
});