GetNotificationResult constructor

const GetNotificationResult({
  1. required Map<String, String> customAttributes,
  2. required String etag,
  3. required List<String> eventTypes,
  4. required String kind,
  5. required String objectNamePrefix,
  6. required String payloadFormat,
  7. required String selfLink,
  8. required String topic,
})

Creates a new GetNotificationResult. 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. 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}'

Implementation

const GetNotificationResult({
  required this.customAttributes,
  required this.etag,
  required this.eventTypes,
  required this.kind,
  required this.objectNamePrefix,
  required this.payloadFormat,
  required this.selfLink,
  required this.topic,
});