SubscriptionArgs constructor
- Input<
int?> ? ackDeadlineSeconds, - Input<
SubscriptionBigqueryConfig?> ? bigqueryConfig, - Input<
SubscriptionCloudStorageConfig?> ? cloudStorageConfig, - Input<
SubscriptionDeadLetterPolicy?> ? deadLetterPolicy, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? enableExactlyOnceDelivery, - Input<
bool?> ? enableMessageOrdering, - Input<
SubscriptionExpirationPolicy?> ? expirationPolicy, - Input<
String?> ? filter, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? messageRetentionDuration, - Input<
List< ? messageTransforms,SubscriptionMessageTransform> ?> - Input<
String?> ? name, - Input<
String?> ? project, - Input<
SubscriptionPushConfig?> ? pushConfig, - Input<
bool?> ? retainAckedMessages, - Input<
SubscriptionRetryPolicy?> ? retryPolicy, - Input<
Map< ? tags,String, String> ?> - required Input<
String> topic,
Creates a new SubscriptionArgs.
ackDeadlineSeconds This value is the maximum time after a subscriber receives a message
bigqueryConfig If delivery to BigQuery is used with this subscription, this field is used to configure it.
cloudStorageConfig If delivery to Cloud Storage is used with this subscription, this field is used to configure it.
deadLetterPolicy A policy that specifies the conditions for dead lettering messages in
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
enableExactlyOnceDelivery If true, Pub/Sub provides the following guarantees for the delivery
enableMessageOrdering If true, messages published with the same orderingKey in PubsubMessage will be delivered to
expirationPolicy A policy that specifies the conditions for this subscription's expiration.
filter The subscription only delivers the messages that match the filter.
labels A set of key/value label pairs to assign to this Subscription.
messageRetentionDuration How long to retain unacknowledged messages in the subscription's
messageTransforms Transforms to be applied to messages published to the topic. Transforms are applied in the
name Name of the subscription.
project The ID of the project in which the resource belongs.
pushConfig If push delivery is used with this subscription, this field is used to
retainAckedMessages Indicates whether to retain acknowledged messages. If true, then
retryPolicy A policy that specifies how Pub/Sub retries message delivery for this subscription.
tags Input only. Resource manager tags to be bound to the subscription. Tag
topic A reference to a Topic resource, of the form projects/{project}/topics/{{name}}
Implementation
const SubscriptionArgs({
this.ackDeadlineSeconds,
this.bigqueryConfig,
this.cloudStorageConfig,
this.deadLetterPolicy,
this.deletionPolicy,
this.enableExactlyOnceDelivery,
this.enableMessageOrdering,
this.expirationPolicy,
this.filter,
this.labels,
this.messageRetentionDuration,
this.messageTransforms,
this.name,
this.project,
this.pushConfig,
this.retainAckedMessages,
this.retryPolicy,
this.tags,
required this.topic,
});