GetSubscriptionResult class
Result data returned by getSubscription.
Constructors
- GetSubscriptionResult({required DeliveryConfigResponse deliveryConfig, required ExportConfigResponse exportConfig, required String name, required String topic})
-
Creates a new GetSubscriptionResult.
deliveryConfigThe settings for this subscription's message delivery.exportConfigIf present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.nameThe name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}topicThe name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}const -
GetSubscriptionResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- deliveryConfig → DeliveryConfigResponse
-
The settings for this subscription's message delivery.
final
- exportConfig → ExportConfigResponse
-
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topic → String
-
The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited