SubscriptionState constructor

const SubscriptionState({
  1. Input<int?>? ackDeadlineSeconds,
  2. Input<SubscriptionBigqueryConfig?>? bigqueryConfig,
  3. Input<SubscriptionCloudStorageConfig?>? cloudStorageConfig,
  4. Input<SubscriptionDeadLetterPolicy?>? deadLetterPolicy,
  5. Input<String?>? deletionPolicy,
  6. Input<Map<String, String>?>? effectiveLabels,
  7. Input<bool?>? enableExactlyOnceDelivery,
  8. Input<bool?>? enableMessageOrdering,
  9. Input<SubscriptionExpirationPolicy?>? expirationPolicy,
  10. Input<String?>? filter,
  11. Input<Map<String, String>?>? labels,
  12. Input<String?>? messageRetentionDuration,
  13. Input<List<SubscriptionMessageTransform>?>? messageTransforms,
  14. Input<String?>? name,
  15. Input<String?>? project,
  16. Input<Map<String, String>?>? pulumiLabels,
  17. Input<SubscriptionPushConfig?>? pushConfig,
  18. Input<bool?>? retainAckedMessages,
  19. Input<SubscriptionRetryPolicy?>? retryPolicy,
  20. Input<Map<String, String>?>? tags,
  21. Input<String?>? topic,
})

Creates a new SubscriptionState. 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. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. 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. pulumiLabels The combination of labels configured directly on the resource 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 SubscriptionState({
  this.ackDeadlineSeconds,
  this.bigqueryConfig,
  this.cloudStorageConfig,
  this.deadLetterPolicy,
  this.deletionPolicy,
  this.effectiveLabels,
  this.enableExactlyOnceDelivery,
  this.enableMessageOrdering,
  this.expirationPolicy,
  this.filter,
  this.labels,
  this.messageRetentionDuration,
  this.messageTransforms,
  this.name,
  this.project,
  this.pulumiLabels,
  this.pushConfig,
  this.retainAckedMessages,
  this.retryPolicy,
  this.tags,
  this.topic,
});