Show / Hide Table of Contents

Class Subscription

A subscription resource.

Inheritance
object
Subscription
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Pubsub.v1beta1a.Data
Assembly: Google.Apis.Pubsub.v1beta1a.dll
Syntax
public class Subscription : IDirectResponseSchema

Properties

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).

Declaration
[JsonProperty("ackDeadlineSeconds")]
public virtual int? AckDeadlineSeconds { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

Name of the subscription.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PushConfig

If push delivery is used with this subscription, this field is used to configure it.

Declaration
[JsonProperty("pushConfig")]
public virtual PushConfig PushConfig { get; set; }
Property Value
Type Description
PushConfig

Topic

The name of the topic from which this subscription is receiving messages.

Declaration
[JsonProperty("topic")]
public virtual string Topic { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX