GetSubscriptionPubsubV1beta1aResult class

Result data returned by getSubscription.

Constructors

GetSubscriptionPubsubV1beta1aResult({required int ackDeadlineSeconds, required String name, required PushConfigResponsePubsubV1beta1a pushConfig, required String topic})
Creates a new GetSubscriptionPubsubV1beta1aResult. ackDeadlineSeconds For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed. For push delivery, this value is used to set the request timeout for the call to the push endpoint. For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for each message using its corresponding ack_id with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis). name Name of the subscription. pushConfig If push delivery is used with this subscription, this field is used to configure it. topic The name of the topic from which this subscription is receiving messages.
const
GetSubscriptionPubsubV1beta1aResult.fromMap(Map<String, dynamic> map)
factory

Properties

ackDeadlineSeconds → int
For either push or pull delivery, the value is the maximum time after a subscriber receives a message before the subscriber should acknowledge or Nack the message. If the Ack deadline for a message passes without an Ack or a Nack, the Pub/Sub system will eventually redeliver the message. If a subscriber acknowledges after the deadline, the Pub/Sub system may accept the Ack, but it is possible that the message has been already delivered again. Multiple Acks to the message are allowed and will succeed. For push delivery, this value is used to set the request timeout for the call to the push endpoint. For pull delivery, this value is used as the initial value for the Ack deadline. It may be overridden for each message using its corresponding ack_id with ModifyAckDeadline. While a message is outstanding (i.e. it has been delivered to a pull subscriber and the subscriber has not yet Acked or Nacked), the Pub/Sub system will not deliver that message to another pull subscriber (on a best-effort basis).
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Name of the subscription.
final
pushConfig → PushConfigResponsePubsubV1beta1a
If push delivery is used with this subscription, this field is used to configure it.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic → String
The name of the topic from which this subscription is receiving messages.
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