GetNotificationConfigResult constructor
- required String description,
- required String name,
- required String pubsubTopic,
- required String serviceAccount,
- required StreamingConfigResponse streamingConfig,
Creates a new GetNotificationConfigResult.
description The description of the notification config (max of 1024 characters).
name The relative resource name of this notification config. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/notificationConfigs/notify_public_bucket", "folders/{folder_id}/notificationConfigs/notify_public_bucket", or "projects/{project_id}/notificationConfigs/notify_public_bucket".
pubsubTopic The Pub/Sub topic to send notifications to. Its format is "projects/project_id/topics/topic".
serviceAccount The service account that needs "pubsub.topics.publish" permission to publish to the Pub/Sub topic.
streamingConfig The config for triggering streaming-based notifications.
Implementation
const GetNotificationConfigResult({
required this.description,
required this.name,
required this.pubsubTopic,
required this.serviceAccount,
required this.streamingConfig,
});