GetNotificationResult constructor
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,
});