GetSubscriptionResult constructor
const
GetSubscriptionResult({
- required DeliveryConfigResponse deliveryConfig,
- required ExportConfigResponse exportConfig,
- required String name,
- required String topic,
Creates a new GetSubscriptionResult.
deliveryConfig The settings for this subscription's message delivery.
exportConfig If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
name The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
topic The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
Implementation
const GetSubscriptionResult({
required this.deliveryConfig,
required this.exportConfig,
required this.name,
required this.topic,
});