Interface protos.google.pubsub.v1.ISubscription (4.0.3)

Properties of a Subscription.

Package

@google-cloud/pubsub

Properties

ackDeadlineSeconds

ackDeadlineSeconds?: (number|null);

Subscription ackDeadlineSeconds

bigqueryConfig

bigqueryConfig?: (google.pubsub.v1.IBigQueryConfig|null);

Subscription bigqueryConfig

cloudStorageConfig

cloudStorageConfig?: (google.pubsub.v1.ICloudStorageConfig|null);

Subscription cloudStorageConfig

deadLetterPolicy

deadLetterPolicy?: (google.pubsub.v1.IDeadLetterPolicy|null);

Subscription deadLetterPolicy

detached

detached?: (boolean|null);

Subscription detached

enableExactlyOnceDelivery

enableExactlyOnceDelivery?: (boolean|null);

Subscription enableExactlyOnceDelivery

enableMessageOrdering

enableMessageOrdering?: (boolean|null);

Subscription enableMessageOrdering

expirationPolicy

expirationPolicy?: (google.pubsub.v1.IExpirationPolicy|null);

Subscription expirationPolicy

filter

filter?: (string|null);

Subscription filter

labels

labels?: ({ [k: string]: string }|null);

Subscription labels

messageRetentionDuration

messageRetentionDuration?: (google.protobuf.IDuration|null);

Subscription messageRetentionDuration

name

name?: (string|null);

Subscription name

pushConfig

pushConfig?: (google.pubsub.v1.IPushConfig|null);

Subscription pushConfig

retainAckedMessages

retainAckedMessages?: (boolean|null);

Subscription retainAckedMessages

retryPolicy

retryPolicy?: (google.pubsub.v1.IRetryPolicy|null);

Subscription retryPolicy

state

state?: (google.pubsub.v1.Subscription.State|keyof typeof google.pubsub.v1.Subscription.State|null);

Subscription state

topic

topic?: (string|null);

Subscription topic

topicMessageRetentionDuration

topicMessageRetentionDuration?: (google.protobuf.IDuration|null);

Subscription topicMessageRetentionDuration